/* Inkjet Sign hk-inkjet.com — modern HTML5 (L旗 focus) */
:root {
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --paper: #f7f5f2;
  --white: #ffffff;
  --accent: #c45c26;
  --accent-dark: #9a4518;
  --line: #e2ddd6;
  --hero-bg: #15202b;
  --max: 1100px;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(21, 32, 43, 0.12);
  --font: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; }
.brand-tag { font-size: 0.78rem; color: var(--ink-soft); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  display: inline-block;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }
.site-nav a.nav-lflag {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--hero-bg) 0%, #243447 55%, #2f4054 100%);
  color: var(--white);
  padding: 3.2rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  background: rgba(196, 92, 38, 0.22);
  color: #ffc9a8;
  border: 1px solid rgba(255, 201, 168, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
}
.hero p {
  margin: 0 0 1.4rem;
  color: #d5dde8;
  font-size: 1.08rem;
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0f1620;
}
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--white); }
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
}
.section .lead {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  max-width: 42rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(21,32,43,0.04);
}
.section-alt .card { background: var(--paper); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #dde3ea; }
.card-body { padding: 1.1rem 1.15rem 1.25rem; }
.card h3 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.highlight-card {
  border-color: rgba(196, 92, 38, 0.35);
  box-shadow: 0 8px 24px rgba(196, 92, 38, 0.08);
}
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

/* Tables (data only, not layout) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.data th, table.data td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th { background: #eef1f5; color: var(--ink); font-weight: 700; }
table.data tr:last-child td { border-bottom: none; }
.note {
  background: #fff8f3;
  border-left: 4px solid var(--accent);
  padding: 0.9rem 1rem;
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  margin: 1rem 0 0;
}
.list-clean { margin: 0; padding-left: 1.2rem; }
.list-clean li { margin: 0.35rem 0; }

/* Contact strip */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.contact-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.contact-item strong { display: block; margin-bottom: 0.25rem; }
.contact-item a { word-break: break-all; }

/* Footer */
.site-footer {
  background: var(--hero-bg);
  color: #c9d3df;
  padding: 2.2rem 0;
  margin-top: 1rem;
}
.site-footer a { color: #ffc9a8; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h3 { color: var(--white); margin: 0 0 0.6rem; font-size: 1rem; }
.site-footer p, .site-footer li { margin: 0.25rem 0; font-size: 0.92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-copy { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
}
.page-hero h1 { margin: 0 0 0.4rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.page-hero p { margin: 0; color: var(--ink-soft); max-width: 40rem; }

.prose { max-width: 48rem; }
.prose h2 { margin-top: 2rem; }
.prose p { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .contact-strip, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
}
@media (max-width: 700px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    width: 100%;
  }
  .site-nav.is-open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 0 0.75rem; gap: 0; }
  .site-nav a { padding: 0.75rem 0.2rem; min-height: 44px; display: flex; align-items: center; }
  .grid-3, .grid-2, .contact-strip, .footer-grid { grid-template-columns: 1fr; }
}
