:root {
  --ink: #261915;
  --muted: #765f52;
  --red: #981d18;
  --deep-red: #6f100f;
  --gold: #c58b36;
  --pale-gold: #e8c985;
  --ivory: #fbf5e8;
  --paper: #fffaf0;
  --line: rgba(129, 34, 25, 0.2);
  --shadow: 0 30px 70px rgba(72, 34, 19, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(197, 139, 54, 0.12), transparent 26rem),
    linear-gradient(180deg, #fffaf0 0%, #f6ead4 100%);
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--deep-red);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem 0.9rem 0.75rem 1rem;
  border: 1px solid rgba(152, 29, 24, 0.16);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 12px 35px rgba(74, 29, 15, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--pale-gold);
  color: #fff8e9;
  background: var(--red);
  font-size: 1.35rem;
  line-height: 1;
}

.brand strong,
.brand small { display: block; }

.brand strong { color: var(--red); font-size: 1.15rem; letter-spacing: 0.18em; }
.brand small { color: var(--muted); font-family: Georgia, serif; font-size: 0.7rem; letter-spacing: 0.16em; }
.brand .brand-domain { margin-top: 0.12rem; color: var(--red); font-size: 0.58rem; letter-spacing: 0.11em; }

nav { display: flex; align-items: center; gap: 0.45rem; }
nav a { padding: 0.65rem 0.9rem; text-decoration: none; font-size: 0.92rem; }
nav a:hover, nav a:focus-visible { color: var(--red); }
.nav-cta { color: white; background: var(--red); }
.nav-cta:hover, .nav-cta:focus-visible { color: white; background: var(--deep-red); }

main { overflow: hidden; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  width: min(1120px, calc(100% - 2.5rem));
  min-height: calc(100vh - 6rem);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 1.4rem;
  color: var(--red);
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

h1 span {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--ink);
  font-size: 0.42em;
  letter-spacing: 0.2em;
}

.intro { max-width: 34rem; color: var(--muted); font-size: 1.08rem; }
.hero-domain { margin: -0.7rem 0 1.35rem; color: var(--red); font-family: Georgia, serif; font-size: 0.78rem; letter-spacing: 0.13em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--red);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { color: white; background: var(--red); }
.button.primary:hover, .button.primary:focus-visible { background: var(--deep-red); }
.button.secondary { color: var(--red); background: transparent; }
.button.secondary:hover, .button.secondary:focus-visible { background: rgba(152, 29, 24, 0.06); }

.hero-facts { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin: 3rem 0 0; }
.hero-facts div { padding-left: 0.9rem; border-left: 2px solid var(--gold); }
.hero-facts dt { color: var(--red); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.hero-facts dd { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.8rem; }

.poster-frame {
  position: relative;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.poster-frame::before {
  position: absolute;
  inset: -0.7rem;
  z-index: -1;
  border: 1px solid rgba(152, 29, 24, 0.3);
  content: "";
}

.poster-frame img { display: block; width: 100%; height: auto; }
.poster-frame figcaption { padding: 0.7rem 0.25rem 0.2rem; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.16em; text-align: center; }

.products {
  padding: clamp(5rem, 9vw, 8rem) max(1.25rem, calc((100vw - 1120px) / 2));
  border-block: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.78);
}

.section-heading { max-width: 42rem; margin-bottom: 3rem; }
.section-heading h2, .enquiry h2 { margin-bottom: 0.7rem; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.15; }
.section-heading > p:last-child, .enquiry p { color: var(--muted); }

.product-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.product-group {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: #fffaf2;
  box-shadow: 0 16px 34px rgba(75, 36, 21, 0.07);
}

.product-group.featured { color: #fffaf0; background: var(--deep-red); }
.product-group header { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid currentColor; }
.product-group header p { margin-bottom: 0.15rem; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.18em; }
.product-group h3 { margin: 0; font-size: 1.25rem; }
.group-number { color: var(--gold); font-family: Georgia, serif; font-size: 1.8rem; line-height: 1; }
.product-group ul { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.product-group li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(126, 81, 49, 0.16); }
.product-group li:last-child { border-bottom: 0; }
.product-group li span { font-weight: 700; }
.product-group li small { color: var(--muted); white-space: nowrap; }
.product-group.featured li small { color: #e8c985; }

.enquiry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: min(1120px, calc(100% - 2.5rem));
  margin: clamp(4rem, 9vw, 8rem) auto;
  padding: clamp(2rem, 5vw, 4rem);
  color: white;
  background: var(--red);
  box-shadow: var(--shadow);
}

.enquiry .eyebrow, .enquiry p { color: #f2d99f; }
.enquiry h2 { margin-bottom: 0.35rem; }
.enquiry p { margin-bottom: 0; }
.shop-icon { display: grid; width: 5rem; height: 5rem; place-items: center; border: 1px solid var(--pale-gold); }
.shop-icon svg { width: 3.1rem; height: 3.1rem; fill: none; stroke: var(--pale-gold); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.domain-line { margin-top: 0.5rem; }
.domain-line a { color: #fff7df; font-family: Georgia, serif; font-size: 0.9rem; letter-spacing: 0.08em; text-underline-offset: 0.25rem; }
.button.light { border-color: var(--pale-gold); color: var(--deep-red); background: var(--ivory); white-space: nowrap; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  padding: 2.2rem max(1.25rem, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f4e6cf;
}

.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--red); font-size: 1.4rem; letter-spacing: 0.2em; }
.footer-brand span { font-family: Georgia, serif; font-size: 0.72rem; letter-spacing: 0.15em; }
footer p { margin: 0; font-size: 0.82rem; text-align: right; }

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; padding-top: 4.5rem; }
  .hero-copy { text-align: center; }
  .intro { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .poster-frame { width: min(32rem, 92%); margin-inline: auto; transform: none; }
  .product-groups { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: auto 1fr; }
  .enquiry .button { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .site-header { width: calc(100% - 1rem); margin-top: 0.5rem; }
  nav > a:first-child { display: none; }
  .brand small { display: none; }
  .hero { width: min(100% - 2rem, 36rem); min-height: auto; padding-block: 4rem; }
  h1 { font-size: clamp(3.3rem, 18vw, 5.3rem); }
  .hero-facts { gap: 1rem; }
  .hero-facts div { flex: 1; padding-left: 0; border-left: 0; border-top: 2px solid var(--gold); padding-top: 0.6rem; }
  .enquiry { grid-template-columns: 1fr; text-align: center; }
  .shop-icon { margin-inline: auto; }
  footer { align-items: flex-start; flex-direction: column; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
