/* GOSOHAE — editorial brand site. Terracotta from the logo ring, warm paper, dark wordmark. */

:root {
  --paper: #f7f3ee;
  --paper-2: #efe6db;
  --white: #fffcf8;
  --ink: #393636;
  --ink-soft: #5e5752;
  --muted: #6f675f;
  --line: rgba(57, 54, 54, 0.14);
  --terra: #c4784c;
  --terra-deep: #8e4e32;
  --night: #2a2422;
  --night-2: #3a312c;
  --header-h: 4.4rem;
  --serif: "Noto Serif KR", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --shadow: 0 18px 50px rgba(57, 54, 54, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

button, input { font: inherit; }

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

h1, h2, .display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

h1 { font-size: clamp(2.45rem, 6.2vw, 4.7rem); }

h2 { font-size: clamp(2rem, 4vw, 3.35rem); }

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

p + p { margin-top: 1rem; }

::selection { background: rgba(196, 120, 76, 0.28); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap { width: min(1120px, calc(100% - 3.5rem)); }
}

.rail {
  display: none;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 60;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.site-header.is-open {
  background: #f7f3ee;
  border-bottom-color: var(--line);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.brand img { height: 46px; width: auto; display: block; }

.site-nav {
  display: none;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a[aria-current="true"] { color: var(--ink); }

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 252, 248, 0.55);
}

.lang a {
  text-decoration: none;
  min-width: 2.6rem;
  min-height: 2.2rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.lang a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -5px; }
.burger::after { top: 5px; }

.is-open .burger { background: transparent; }
.is-open .burger::before { top: 0; transform: rotate(45deg); }
.is-open .burger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 979px) {
  .site-header.is-open { height: auto; }
  .site-header.is-open .header-bar { height: var(--header-h); }
  .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 45;
    inset: var(--header-h) 0 0 0;
    background: #f7f3ee;
    padding: 0.5rem 1.25rem 2rem;
    gap: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .site-header.is-open .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .site-nav a {
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1.2;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.15rem; }
  .brand img { height: 50px; }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 1.5rem) 0 1.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -6%;
  right: 0;
  width: min(58vw, 520px);
  height: min(58vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 120, 76, 0.22), rgba(196, 120, 76, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  flex: 1;
}

.hero-copy > * { animation: rise 0.95s cubic-bezier(0.16, 0.84, 0.32, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--terra-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--terra);
  flex: none;
}

.lead {
  margin-top: 1.15rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn:hover { background: var(--terra-deep); border-color: var(--terra-deep); }

.text-link {
  color: var(--ink);
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
}

.text-link:hover { color: var(--terra-deep); }

.hero-mark {
  position: relative;
  justify-self: center;
  width: min(280px, 68vw);
}

.hero-mark img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  animation: drift 7.5s ease-in-out infinite alternate;
}

.ring-spin {
  position: absolute;
  inset: 6% 10% 22%;
  border: 1px dashed rgba(196, 120, 76, 0.55);
  border-radius: 50%;
  animation: spin 42s linear infinite;
}

.hero-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.scroll-hint {
  display: none;
}

@media (min-width: 960px) {
  .hero { justify-content: center; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; min-height: 62vh; }
  .hero-mark { width: min(340px, 32vw); justify-self: end; }
  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: absolute;
    right: max(1.25rem, calc((100% - 1120px) / 2));
    bottom: 1.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .scroll-hint span {
    width: 1px;
    height: 2.4rem;
    background: linear-gradient(var(--terra), transparent);
    animation: pulse 1.8s ease-in-out infinite;
  }
}

section[id],
#beyuri,
#nutrition { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

.section { padding: clamp(2.35rem, 4.6vw, 3.8rem) 0; }

.section-head { max-width: 40rem; margin-bottom: clamp(1rem, 2.2vw, 1.6rem); }

.section-head .lead { margin-top: 0.9rem; }

.story-grid,
.ceo-grid,
.contact-grid,
.product-layout,
.food-feature {
  display: grid;
  gap: 1.75rem;
}

.prose { max-width: 42rem; color: var(--ink-soft); }

.prose strong { color: var(--ink); font-weight: 600; }

.pull {
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--terra);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink);
}

.name-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.fact-card,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem 0.4rem;
}

.fact-card h3,
.panel h3 { margin-bottom: 0.4rem; }

.fact-row,
.party {
  display: grid;
  gap: 0.15rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.fact-row { grid-template-columns: 6.2rem 1fr; }
.fact-row dt, .k { color: var(--muted); font-size: 0.82rem; }
.fact-row dd, .party p { margin: 0; }

.diff-grid,
.pillar-grid,
.biz-grid,
.point-grid,
.team-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.diff,
.pillar,
.biz,
.point,
.team-card,
.product-card,
.food-feature,
.place {
  background: var(--white);
  border: 1px solid var(--line);
}

.diff, .pillar, .biz, .point, .team-card { padding: 1.2rem 1.15rem 1.3rem; }

.index {
  display: block;
  font-family: var(--serif);
  color: var(--terra);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.pillar h3, .biz h3 { font-size: 1.55rem; }

.aside-note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 46rem;
}

.band-night {
  background: var(--night);
  color: #f7f3ee;
}

.band-night .eyebrow { color: #e7c4ae; }
.band-night .eyebrow::before { background: var(--terra); }
.band-night h2, .band-night .tmo-word { color: var(--terra); }
.band-night .lead, .band-night p { color: rgba(247, 243, 238, 0.86); }
.band-night .point {
  background: transparent;
  border-color: rgba(247, 243, 238, 0.16);
}
.band-night .point h3 { color: #f7f3ee; }
.band-soft { background: #f3ebe3; }

.tmo-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.5rem, 16vw, 8.5rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}

.tmo-kicker {
  margin-top: 0.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #e7c4ae;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.92rem;
}

.steps b { font-weight: 600; color: var(--terra-deep); }

.product-grid {
  display: grid;
  gap: 0.9rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  background: #f3e6d4;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
}

.card-media picture { position: absolute; inset: 0; display: block; }
.product-stage picture,
.place picture,
.hero-mark picture,
.food-visual picture { display: block; }
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

.product-card.is-set .card-media { aspect-ratio: 3 / 2; }
.product-card.is-set .card-media img { object-fit: cover; object-position: center 55%; }
.product-card:hover .card-media img { transform: scale(1.045); }

.card-body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-brand {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--terra-deep);
}
.card-body h3 { font-size: 1.35rem; }
.card-body p { color: var(--ink-soft); font-size: 0.95rem; }
.card-more {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.food-feature { overflow: hidden; align-items: center; }
.food-visual {
  position: relative;
  display: block;
  width: min(340px, 100%);
  margin: 0.4rem auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f6efe6;
  border: 1px solid var(--line);
}
.food-visual picture,
.food-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.food-visual img {
  object-fit: cover;
  object-position: center 62%;
  display: block;
}
.food-copy { padding: 1.3rem 1.2rem 1.45rem; }
.slogan {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terra-deep);
  margin: 0.35rem 0 0.6rem;
}
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}
.highlights li {
  min-width: 5.5rem;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.highlights strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.highlights span { color: var(--muted); font-size: 0.82rem; }
.legal-note { color: var(--muted); font-size: 0.92rem; margin-top: 0.8rem; }

.ceo-intro {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.portrait {
  width: 148px;
  margin: 0;
}
.portrait picture { display: block; }
.portrait-img {
  width: 148px;
  height: 148px;
  max-width: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1.25rem;
  display: block;
  background: #e7e2dc;
  box-shadow: 0 10px 28px rgba(57, 54, 54, 0.08);
}
.portrait figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.bio-title, .team-heading { margin-top: 1.6rem; }
.credential { color: var(--terra-deep); margin: 0.35rem 0 1rem; font-size: 0.95rem; }
.bio { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.bio li {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.bio time { color: var(--muted); font-size: 0.86rem; }

.team-card span { display: block; color: var(--muted); font-size: 0.88rem; }
.team-note { margin-top: 0.7rem; color: var(--muted); font-size: 0.9rem; }

.fold > summary {
  cursor: pointer;
  font-weight: 600;
  margin: 0 0 0.8rem;
  color: var(--terra-deep);
}
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.tl-item { position: relative; padding: 0 0 0.9rem 1.15rem; }
.tl-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terra);
  position: absolute;
  left: -5px;
  top: 0.45rem;
}
.tl-item .when { color: var(--terra-deep); font-size: 0.82rem; letter-spacing: 0.04em; }
.tl-item h3 { font-size: 1.15rem; margin: 0.1rem 0; }
.tl-item p { color: var(--ink-soft); font-size: 0.96rem; }
.kind {
  display: inline-block;
  margin-left: 0.4rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.partners { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; padding: 0; list-style: none; }
.partners li {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.fine { margin-top: 0.8rem; color: var(--muted); font-size: 0.88rem; }

.place { align-self: start; background: transparent; border: 0; padding: 0; }
.place img { width: 100%; height: auto; object-fit: cover; display: block; aspect-ratio: 4 / 3; filter: saturate(0.86); }
.place figcaption { padding: 0.45rem 0 0; color: var(--muted); font-size: 0.88rem; }
.place-address, .nobr { white-space: nowrap; }
.contact-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.contact-list li { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.contact-list a { color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.btn-line {
  background: transparent;
  color: var(--ink);
}
.btn-line:hover { color: var(--paper); }

.site-footer {
  background: var(--night);
  color: rgba(247, 243, 238, 0.86);
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; gap: 1.6rem; }
.site-footer h2 { color: #f7f3ee; font-size: 1.15rem; }
.site-footer a { color: #f7f3ee; }
.site-footer p, .site-footer li { font-size: 0.92rem; }
.site-footer ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.footer-brand img { height: 64px; width: auto; }
.legal-name { margin-top: 0.6rem; color: #f7f3ee; }
.subfoot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 243, 238, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(247, 243, 238, 0.62);
}
.footer-note { max-width: 40rem; }

.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.product-page { padding: calc(var(--header-h) + 2rem) 0 4rem; }
.product-layout { align-items: start; }
.product-stage {
  background: #f3e6d4;
  border: 1px solid var(--line);
}
.product-stage img { width: 100%; display: block; }
.product-stage.is-compact {
  display: flex;
  justify-content: center;
  background: #f6efe6;
  padding: 1rem;
}
.product-stage.is-compact picture { width: min(340px, 100%); }
.product-stage.is-compact img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 62%;
}
.caption { color: var(--muted); font-size: 0.85rem; padding: 0.55rem 0.8rem 0.75rem; }
.stack { display: grid; gap: 1rem; margin-top: 1.1rem; }
.block h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-deep);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.note {
  background: var(--paper-2);
  padding: 0.8rem 0.9rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.ingredients { overflow-wrap: anywhere; word-break: break-word; color: var(--ink-soft); font-size: 0.95rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 280px; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; }
td:last-child, th:last-child { text-align: right; }
.how { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.how li + li { margin-top: 0.3rem; }
.warn { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.label-grid { display: grid; gap: 0.8rem; }
.label-grid img { width: 100%; border: 1px solid var(--line); background: white; }
.related { display: grid; gap: 0.6rem; }
.related a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.related a:hover { color: var(--terra-deep); }

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1rem 3rem;
  text-align: center;
}
.not-found .actions { display: flex; gap: 0.7rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }

@media (max-width: 560px) {
  .bio li,
  .fact-row { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (min-width: 720px) {
  .fact-row { align-items: baseline; }
  .diff-grid, .biz-grid, .point-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .ceo-intro { grid-template-columns: 148px 1fr; gap: 1.75rem; align-items: start; }
  .contact-grid { align-items: start; }
  .fold > summary { display: none; }
  .pillar-grid { grid-template-columns: 1fr 1fr 1fr; }
  .story-grid, .ceo-grid, .contact-grid, .footer-grid { grid-template-columns: 1.15fr 0.85fr; }
  .footer-grid { grid-template-columns: 1.1fr 0.9fr 0.8fr; }
  .product-layout { grid-template-columns: 0.9fr 1.1fr; gap: 2rem; }
  .food-feature { grid-template-columns: 0.82fr 1.18fr; }
  .label-grid { grid-template-columns: 1fr 1fr; }
  .bio li { grid-template-columns: 9.5rem 1fr; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: 1fr 1fr 1fr; }
  .product-card.is-set { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .product-card.is-set .card-media { aspect-ratio: auto; min-height: 280px; height: 100%; }
  .product-card.is-set .card-media img { object-fit: cover; object-position: center 58%; }
  .diff-grid, .biz-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline { columns: 2; column-gap: 2.2rem; border-left: 0; }
  .tl-item { break-inside: avoid; border-left: 1px solid var(--line); margin-bottom: 0.2rem; }
  .point-grid { grid-template-columns: 1fr 1fr; }
  .tmo-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: start; }
}

@media (min-width: 1400px) {
  .rail {
    display: flex;
    position: fixed;
    left: 0.85rem;
    top: 0;
    bottom: 0;
    z-index: 30;
    margin: 0;
    writing-mode: vertical-rl;
    letter-spacing: 0.32em;
    font-size: 0.68rem;
    color: var(--muted);
    align-items: center;
    pointer-events: none;
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.84, 0.32, 1), transform 0.8s cubic-bezier(0.16, 0.84, 0.32, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  main { animation: page-in 0.45s ease; }
  body.is-leaving { opacity: 0; transition: opacity 0.22s ease; }
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: translate3d(0, 8px, 0); }
  to { transform: translate3d(0, -10px, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scaleY(0.7); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *,
  .hero-mark img,
  .ring-spin,
  .scroll-hint span,
  main { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .product-card, .card-media img, .site-nav, .btn, .scroll-progress { transition: none; }
  .product-card:hover { transform: none; }
  .product-card:hover .card-media img { transform: none; }
}

:focus-visible {
  outline: 2px solid var(--terra-deep);
  outline-offset: 3px;
}

@media (scripting: none) {
  .js .reveal { opacity: 1; transform: none; }
}
