:root {
  --ink: #22312e;
  --muted: #66736f;
  --paper: #fff9ed;
  --line: #eadcc4;
  --sea: #4a9aa1;
  --deep-sea: #2f676d;
  --roe: #c8703f;
  --gold: #f2c870;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(93, 119, 114, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf1 0%, #f7fbf8 42%, #fff6e8 100%);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(251, 248, 241, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(93, 119, 114, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--paper);
}

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

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 1px;
  font-size: 11px;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 74, 76, 0.76) 0%, rgba(47, 103, 109, 0.56) 42%, rgba(47, 103, 109, 0.06) 100%),
    linear-gradient(0deg, rgba(94, 75, 55, 0.32) 0%, rgba(255, 249, 237, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 94vh;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 56px;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow.dark {
  color: var(--roe);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 900;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.product-body button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary-button {
  padding: 13px 24px;
  color: var(--deep-sea);
  background: var(--gold);
}

.secondary-button {
  padding: 12px 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.hero-stats {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 62px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-stats div {
  padding: 18px;
  background: rgba(47, 103, 109, 0.34);
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.intro-band,
.products-section,
.freshness-section,
.course-section,
.contact-section,
.order-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: 92px 0 70px;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--roe);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.order-copy h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.intro-grid p,
.order-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.story-copy {
  display: grid;
  gap: 18px;
}

.story-copy p {
  margin: 0;
}

.products-section,
.freshness-section,
.course-section,
.contact-section,
.order-section {
  padding: 74px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 760px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 0 0 rgba(18, 60, 67, 0);
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.product-card.active,
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 120, 0.42);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: flex-end;
  padding: 22px;
  color: var(--white);
  background: var(--deep-sea);
  isolation: isolate;
}

.product-media::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.crab-media::before {
  background:
    radial-gradient(circle at 72% 30%, rgba(233, 186, 103, 0.62), transparent 24%),
    linear-gradient(135deg, rgba(18, 60, 67, 0.3), rgba(18, 60, 67, 0.96)),
    url("assets/cijin-seafood-hero.jpg") center / cover;
}

.roe-media::before {
  background:
    radial-gradient(circle at 78% 32%, rgba(184, 91, 39, 0.72), transparent 22%),
    linear-gradient(135deg, rgba(43, 32, 24, 0.22), rgba(43, 32, 24, 0.9)),
    url("assets/cijin-seafood-hero.jpg") 70% center / cover;
}

.product-media span {
  font-family: "Noto Serif TC", serif;
  font-size: 34px;
  font-weight: 900;
}

.product-body {
  padding: 28px;
}

.tag {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--roe);
  background: #fff0df;
  font-size: 13px;
  font-weight: 900;
}

.product-body h3 {
  font-size: 28px;
}

.product-body p:not(.tag),
.product-body li,
.process-grid p {
  color: var(--muted);
}

.product-body ul {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding-left: 20px;
}

.product-body button {
  width: 100%;
  padding: 12px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep-sea), var(--sea));
}

.freshness-section {
  border-top: 1px solid var(--line);
}

.course-section {
  border-top: 1px solid var(--line);
}

.course-copy {
  display: grid;
  max-width: 900px;
  gap: 22px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(47, 103, 109, 0.88), rgba(200, 112, 63, 0.42)),
    url("assets/cijin-seafood-hero.jpg") center / cover;
  box-shadow: var(--shadow);
}

.course-copy h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
}

.course-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.course-list {
  display: grid;
  max-width: 760px;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.9);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.process-grid span {
  color: var(--sea);
  font-size: 13px;
  font-weight: 900;
}

.process-grid h3 {
  margin-top: 14px;
  font-size: 25px;
}

.testimonial-band {
  margin: 30px 0 0;
  padding: 76px 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(47, 103, 109, 0.96), rgba(74, 154, 161, 0.86)),
    var(--deep-sea);
}

.testimonial-band figure {
  width: min(920px, 100%);
  margin: 0 auto;
}

.testimonial-band blockquote {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.35;
}

.testimonial-band figcaption {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.contact-section h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.contact-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 20px;
  font-size: 30px;
}

.contact-logo {
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card p,
.contact-card address {
  margin: 14px 0 0;
  color: var(--muted);
  font-style: normal;
}

.contact-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--sea);
  font-size: 28px;
  font-weight: 900;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.order-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.order-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid #cfc5b1;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
}

.order-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--sea);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.8);
  background: #2f676d;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    border: 0;
    border-radius: 0;
  }

  .hero,
  .hero-content {
    min-height: 780px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(47, 103, 109, 0.68) 0%, rgba(47, 103, 109, 0.45) 42%, rgba(47, 103, 109, 0.78) 100%),
      linear-gradient(90deg, rgba(47, 103, 109, 0.72), rgba(200, 112, 63, 0.18));
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 42px;
  }

  .hero-stats,
  .intro-grid,
  .product-grid,
  .process-grid,
  .contact-section,
  .order-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .products-section,
  .freshness-section,
  .course-section,
  .contact-section,
  .order-section {
    padding: 54px 0;
  }

  .product-body,
  .process-grid article,
  .course-copy,
  .contact-card,
  .order-form {
    padding: 22px;
  }
}
