/* ================================================================
   Artisan Hydroponics — shared styles
   Editorial cream-paper aesthetic: cobalt ink, chartreuse, terracotta
   ================================================================ */

:root {
  --paper: #f5eedf;
  --ink: #22315f;
  --ink-soft: #3a4a80;
  --terra: #c05433;
  --coral: #cf5a38;
  --chart: #c8e62f;
  --chart-deep: #8aa71b;
  --peach: #f2c9a9;
  --peach-soft: #f6d9c0;
  --line: #d8ccb4;
  --line-soft: #e4dac6;
  --navy-fill: #23407c;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Alegreya", Georgia, serif;
  --font-label: "Jost", "Avenir Next", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  background-color: var(--paper);
  background-image: url("../assets/paper.webp");
  background-size: 512px 512px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body[data-route="research"],
body[data-route="cultivation"],
body[data-route="insights"] {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.frame {
  max-width: 1480px;
  margin: 0 auto;
  padding: 26px 40px 48px;
  position: relative;
}

/* ---------------- header ---------------- */

.site-header {
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 26px;
  position: relative;
  z-index: 5;
  background: rgba(245, 238, 223, 0.6);
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 52px; height: 52px; }

.wordmark { line-height: 1.05; }
.wordmark .wm-top {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.13em;
  color: var(--ink);
}
.wordmark .wm-sub {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.42em;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 44px;
  margin: 0 auto;
}
.nav a {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--terra); }
.nav a.active { border-bottom-color: var(--chart); }

.btn {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--chart);
  padding: 14px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.04); }

.arrow { font-family: var(--font-label); font-weight: 400; }

/* ---------------- shared text atoms ---------------- */

.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.24em;
  color: var(--coral);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.06;
}

.rule-chart {
  width: 58px;
  height: 3px;
  background: var(--chart);
  border: none;
  position: relative;
}
.rule-chart::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chart);
}

.lede { color: var(--ink-soft); font-size: 19.5px; }

.cta {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta:hover { color: var(--coral); }
.cta.green { color: var(--chart-deep); }
.cta.navy { color: var(--ink); }

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-circle svg { width: 28px; height: 28px; }
.icon-circle.navy { background: var(--navy-fill); color: #f2ecdd; }
.icon-circle.chart { background: var(--chart); color: var(--ink); }
.icon-circle.terra { background: var(--coral); color: #f6ead8; }

/* ---------------- landing hero ---------------- */

.hero {
  position: relative;
  min-height: 850px;
}

.hero-art {
  position: absolute;
  top: -1px;
  /* Pin to the viewport’s right edge, not the centered .frame */
  right: calc(-40px - max(0px, (100vw - 1480px) / 2));
  width: 56%;
  height: calc(100% + 302px); /* extends beside the quote band to the page foot */
  overflow: hidden;
  pointer-events: none;
}
/* parallax layers: js/hero-parallax.js sets each layer's transform directly
   from the mouse x once the entry cascade ends — no CSS transform/transition
   here, so parallax responds with zero lag */
.hero-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* blend lives on the layer, not the img: the layer's transform creates a
   stacking context that would isolate a child's blend from the page paper */
.layer-bg {
  --depth: 8px;
  /* oversize horizontally so ±depth parallax never exposes a gap */
  inset: 0 -24px;
  mix-blend-mode: multiply; /* white collage ground melts into the paper */
}
.layer-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* left — center was cropping ~175px off the collage's left edge */
  object-position: left top;
}

/* cutouts: fixed px sizes anchored to the art's right edge so viewport
   resizing never rescales or reflows them.
   Woman keeps CSS slide parallax; height-map UV shift is separate (subtle). */
.layer-woman { --depth: 18px; }
.layer-woman img,
.layer-woman canvas.woman-gl {
  position: absolute;
  top: 34px;
  right: -324px;
  width: 1120px;
  max-width: none;
  height: auto;
  aspect-ratio: 1936 / 2048;
  display: block;
}
.layer-woman.is-webgl img {
  visibility: hidden;
  pointer-events: none;
}
/* Until the first lit frame, keep the canvas out of the way so the img
   fallback remains the visible entrance subject. */
.layer-woman:not(.is-webgl) canvas.woman-gl {
  opacity: 0;
}

.layer-lettuce { --depth: 8px; } /* match bg parallax speed */
.layer-lettuce img {
  position: absolute;
  bottom: -8px;
  right: -176px;
  width: 450px;
  max-width: none;
  height: auto;
}

/* staggered entrance: bg, then woman (lettuce stays put — no slide-in) */
.layer-bg img,
.layer-woman img,
.layer-woman canvas.woman-gl { animation: hero-in 950ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.layer-bg img { animation-delay: 0ms; }
.layer-woman img,
.layer-woman canvas.woman-gl { animation-delay: 100ms; }

@keyframes hero-in {
  from { opacity: 0; translate: 90px 0; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-layer { transition: none; transform: none; }
  .hero-layer img,
  .layer-woman canvas.woman-gl { animation: none; }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 46%;
  padding-top: 118px;
}

.hero-copy .display {
  font-size: clamp(46px, 4.6vw, 66px);
  margin: 26px 0 30px;
}

.hero-copy .rule-chart { margin-bottom: 34px; }

.hero-copy .lede { max-width: 480px; }
.hero-copy .lede + .lede { margin-top: 14px; }

.pillar-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 268px));
  gap: 26px;
  margin-top: 64px;
  width: 62%;
  min-width: 780px;
}

.pillar {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: rgba(245, 238, 223, 0.94);
}

.pillar h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-top: 6px;
}
.pillar .mini-rule {
  width: 26px;
  height: 2px;
  background: var(--coral);
}
.pillar p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.pillar .cta { margin-top: auto; padding-top: 10px; }

/* ---------------- quote band ---------------- */

.quote-band {
  border: 1px solid var(--line);
  margin-top: 56px;
  padding: 40px 52px;
  display: grid;
  grid-template-columns: 1.3fr auto 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
  background: rgba(245, 238, 223, 0.75);
}

/* landing: band sits left of the full-height hero art */
.quote-band.beside-art {
  width: 60%;
  min-width: 720px;
  background: rgb(245, 238, 223);
  grid-template-columns: 1.2fr auto auto;
}

.quote-band .qmark {
  font-family: var(--font-display);
  font-size: 74px;
  line-height: 0.4;
  color: var(--navy-fill);
  display: block;
  margin-bottom: 26px;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 23px;
  line-height: 1.5;
  color: var(--ink);
}

.quote-center {
  display: flex;
  align-items: center;
  gap: 44px;
}
.quote-center .vrule {
  width: 1px;
  height: 110px;
  background: var(--line);
}
.quote-center .vrule.green { background: var(--chart); width: 2px; }
.quote-center img {
  height: 128px;
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.values {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink);
  line-height: 2.3;
  justify-self: start;
}

/* ---------------- cultivation page ---------------- */

.cult-top {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 70px;
  padding-top: 64px;
  position: relative;
  z-index: 1;
}

.cult-intro .display {
  font-size: clamp(54px, 5.2vw, 78px);
  margin: 24px 0 30px;
}
.cult-intro .rule-chart { margin-bottom: 34px; }
.cult-intro .lede { max-width: 500px; }

.aside-note {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 48px;
}
.aside-note img {
  width: 96px;
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.aside-note .vrule { width: 1px; align-self: stretch; background: var(--line); }
.aside-note p { font-size: 16.5px; color: var(--ink-soft); max-width: 280px; }

.section-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head h2 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--ink);
  white-space: nowrap;
}
.section-head .hrule { flex: 1; height: 1px; background: var(--line); }
.section-head .cta { white-space: nowrap; }

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.system-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px 22px;
  background: rgba(245, 238, 223, 0.75);
  display: flex;
  flex-direction: column;
}
.system-card h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 10px;
}
.system-card > p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; min-height: 72px; }
.system-card figure { margin: 8px 0 18px; }
.system-card figure img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-radius: 4px;
}
.system-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.system-foot .icon-circle { width: 44px; height: 44px; }
.system-foot .icon-circle svg { width: 22px; height: 22px; }
.system-foot p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }

/* Full-bleed lettuce tank under the systems grid */
.cult-bottom-art {
  margin-top: -372px;
  margin-bottom: -88px;
  position: relative;
  z-index: 1;
  width: calc(100% + 80px);
  margin-left: -40px;
  margin-right: -40px;
  translate: 0 3%;
  opacity: 0;
  transition:
    translate 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.85s ease;
}

.cult-bottom-art.is-enter {
  translate: 0 0;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cult-bottom-art {
    translate: none;
    opacity: 1;
    transition: none;
  }
}

.layer-cult-lettuce {
  position: relative;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.layer-cult-lettuce img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2048 / 1440;
}

.layer-cult-lettuce canvas.cult-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.layer-cult-lettuce.is-webgl img {
  visibility: hidden;
  pointer-events: none;
}

.layer-cult-lettuce:not(.is-webgl) canvas.cult-gl {
  opacity: 0;
  pointer-events: none;
}

.cult-bottom {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 30px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.methods-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 36px;
  background: rgba(245, 238, 223, 0.75);
}
.methods-panel .panel-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}
.methods-panel .panel-head h2 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.2em;
  color: var(--terra);
  white-space: nowrap;
}
.methods-panel .panel-head .hrule { flex: 1; height: 1px; background: var(--line); }

.methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.method {
  padding: 0 22px;
  border-left: 1px solid var(--line-soft);
}
.method:first-child { border-left: none; padding-left: 0; }
.method .icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--coral);
  color: #f6ead8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.method .icon-ring svg { width: 26px; height: 26px; }
.method h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
}
.method p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.method .tags {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--terra);
  margin-top: 14px;
}

.care-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(245, 238, 223, 0.75);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.care-inner { padding: 32px 34px 10px; flex: 1; }
.care-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.care-head h2 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--ink);
  padding-top: 8px;
}
.care-head img { width: 110px; mix-blend-mode: multiply; }

.care-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.care-row:first-of-type { border-top: none; }
.care-row .chip {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e6ecc2;
  color: #5d7413;
  display: flex;
  align-items: center;
  justify-content: center;
}
.care-row .chip svg { width: 24px; height: 24px; }
.care-row h3 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 4px;
}
.care-row p { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.care-stat {
  text-align: left;
  border-left: 1px solid var(--line-soft);
  padding-left: 22px;
  min-width: 118px;
}
.care-stat .stat-lbl {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.care-stat .stat-val {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--chart-deep);
}
.care-stat .stat-val.navy { color: var(--ink); }

.care-foot {
  background: var(--peach-soft);
  padding: 20px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.care-foot p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
}
.care-foot .arrow { font-size: 20px; color: var(--ink); }

/* ---------------- insights page ---------------- */

.feature {
  display: grid;
  grid-template-columns: 30% 1fr 27%;
  gap: 54px;
  padding-top: 56px;
  position: relative;
  z-index: 1;
}

.feature-copy .display {
  font-size: clamp(36px, 3.1vw, 46px);
  margin: 22px 0 26px;
}
.feature-copy .rule-chart { margin-bottom: 30px; }
.feature-copy .lede { font-size: 18.5px; }

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  font-size: 15px;
  color: var(--ink-soft);
}
.meta-row .meta-item { display: inline-flex; align-items: center; gap: 8px; }
.meta-row svg { width: 16px; height: 16px; opacity: 0.75; }
.meta-row .vsep { width: 1px; height: 18px; background: var(--line); }

.feature-art img {
  width: 100%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 62%, transparent 98%);
  mask-image: radial-gradient(120% 120% at 50% 50%, #000 62%, transparent 98%);
}

.highlights h2 {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 28px;
}
.highlight {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.highlight:first-of-type { border-top: none; padding-top: 0; }
.highlight .hl-eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--terra);
  margin-bottom: 6px;
}
.highlight h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.15;
}
.highlight p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.highlight .cta { margin-top: 14px; font-size: 12px; }

.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
  position: relative;
  z-index: 1;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 22px;
  background: rgba(245, 238, 223, 0.75);
}
.article-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  mix-blend-mode: multiply;
}
.article-card .cat {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--terra);
  margin-bottom: 8px;
}
.article-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 10px;
}
.article-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.article-card .meta-row { margin-top: 14px; font-size: 13.5px; gap: 10px; }
.article-card .meta-row svg { width: 14px; height: 14px; }
.article-card .cta { margin-top: 16px; font-size: 12px; }

.insights-foot {
  border: 1px solid var(--line);
  margin-top: 44px;
  padding: 30px 44px;
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
  background: rgba(245, 238, 223, 0.75);
}
.insights-foot img { height: 92px; mix-blend-mode: multiply; opacity: 0.9; }
.insights-foot .foot-copy p:first-child {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
}
.insights-foot .foot-copy p:last-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
}
.insights-foot .cta { margin-left: auto; font-size: 13px; }

/* ---------------- SPA views ---------------- */

.view[hidden],
.view:not(.is-active) {
  display: none;
}

.view.is-active {
  display: block;
}

/* ---------------- painterly splashes ---------------- */

.splash {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: color-burn;
  filter: blur(0.6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}

body[data-route="cultivation"] .splash.is-visible,
.splash.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ---------------- ink mode toast ---------------- */

.ink-toast {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 50;
  background: var(--navy-fill);
  color: #f2ecdd;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(34, 49, 95, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ink-toast.show { opacity: 1; transform: translateY(0); }
.ink-toast b { color: var(--chart); font-weight: 600; }

.tilt-enable {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 70;
  appearance: none;
  border: none;
  background: var(--navy-fill);
  color: var(--chart);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(34, 49, 95, 0.35);
  cursor: pointer;
}
.tilt-enable:disabled {
  opacity: 0.7;
  cursor: wait;
}
.tilt-enable:not(:disabled):active {
  transform: translateX(-50%) scale(0.98);
}

/* ---------------- soak curve editor ---------------- */

.ink-curve {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 60;
  width: 256px;
  padding: 14px 16px 12px;
  background: var(--navy-fill);
  color: #f2ecdd;
  font-family: var(--font-label);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(34, 49, 95, 0.35);
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.ink-curve.is-active { opacity: 1; }

.ink-curve-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ink-curve-title {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chart);
  font-weight: 600;
}
.ink-curve-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.ink-curve-tab {
  appearance: none;
  flex: 1;
  border: 1px solid rgba(242, 236, 221, 0.22);
  background: transparent;
  color: rgba(242, 236, 221, 0.65);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.ink-curve-tab.is-on {
  border-color: var(--chart);
  color: var(--chart);
  background: rgba(200, 230, 47, 0.08);
}
.ink-curve-reset {
  appearance: none;
  border: 1px solid rgba(242, 236, 221, 0.28);
  background: transparent;
  color: #f2ecdd;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.ink-curve-reset:hover {
  border-color: var(--chart);
  color: var(--chart);
}

.ink-curve-canvas {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 4px;
  cursor: crosshair;
  touch-action: none;
}

.ink-curve-meta {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(242, 236, 221, 0.7);
  font-variant-numeric: tabular-nums;
}
.ink-curve-vals {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(200, 230, 47, 0.75);
  line-height: 1.35;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}
.ink-curve-hint {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(242, 236, 221, 0.45);
}

/* ---------------- responsive ---------------- */

@media (max-width: 1180px) {
  .hero-copy { width: 54%; }
  .pillar-cards { min-width: 0; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .cult-top { grid-template-columns: 1fr; }
  .cult-bottom { grid-template-columns: 1fr; }
  .cult-bottom-art { margin-top: -372px; }
  .feature { grid-template-columns: 1fr 1fr; }
  .highlights { grid-column: 1 / -1; }
  .articles { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .frame { padding: 18px 20px 40px; }
  .nav { display: none; }
  .site-header { gap: 16px; justify-content: space-between; padding: 14px 18px; }
  .brand img { width: 40px; height: 40px; }
  .wordmark .wm-top { font-size: 20px; }
  .wordmark .wm-sub { font-size: 8.5px; letter-spacing: 0.3em; }
  .btn { padding: 11px 16px; font-size: 12px; gap: 8px; }
  .hero { min-height: 0; }
  .hero-art { position: relative; width: 100%; right: 0; height: 420px; margin-top: 40px; }
  .cult-bottom-art {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
  .layer-woman img,
  .layer-woman canvas.woman-gl { width: 300px; top: 10px; right: 20px; }
  .layer-lettuce img { width: 200px; right: 10px; bottom: 0; }
  .quote-band.beside-art { width: 100%; min-width: 0; }
  .hero-copy { width: 100%; padding-top: 48px; }
  .pillar-cards { grid-template-columns: 1fr; }
  .quote-band { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: 1fr; }
  .methods-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .method { border-left: none; padding: 0; }
}
