/* Val Techfarms Chennai — site styles. Paper, engraving ink and the ring's two colours, from the client's own sleeve
   (cream ground, engraved green line-art landscape, script "Fresh", VA green/orange ring). Motion is compositor-only
   (transform/opacity) except the one-shot mycelium stroke draw; everything stops under prefers-reduced-motion. */

@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-display.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url('/assets/fonts/alegreya-sans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url('/assets/fonts/alegreya-sans-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Alegreya Sans'; src: url('/assets/fonts/alegreya-sans-700.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/assets/fonts/caveat-var.woff2') format('woff2'); font-weight: 400 700; font-display: swap; /* AD v1 asks optional; kept swap so the H1's script "Fresh" never falls back to a system cursive on a first visit */ }
@font-face { font-family: 'Plex Mono'; src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --paper: #f4eedf;
  --paper-2: #ece3cd;
  --paper-3: #e3d8bd;
  --card: #fbf7ec;
  --ink: #1d2820;
  --ink-2: #485749;
  --forest: #23402f;
  --forest-2: #2f5a3e;
  --deep: #18291f;
  --deep-2: #20372a;
  --cream: #f1ead8;
  --cream-2: #cfd6c3;
  --leaf: #4f9a3a;
  --orange: #ea7d22;
  --orange-ink: #a24f08;
  --rule: rgba(35, 64, 47, 0.18);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --script: 'Caveat', 'Segoe Print', cursive;
  --mono: 'Plex Mono', ui-monospace, Consolas, monospace;
  --wrap: 1200px;
  --pad: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.62 var(--sans); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--forest); }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: 0.95rem; color: var(--ink-2); }
.meta { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-2); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--forest); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* ------------------------------------------------------------ header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(244, 238, 223, 0.96); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.005em; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 400; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--forest); border-bottom-color: var(--leaf); }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--forest); }
.nav .btn-small { border-bottom: 0; }
.nav-toggle { display: none; font: 600 1rem var(--sans); color: var(--forest); background: transparent; border: 1.5px solid var(--forest); border-radius: 999px; padding: 6px 16px; cursor: pointer; }

/* ------------------------------------------------------------ buttons and text links */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #1a1f17; font: 700 1.05rem/1 var(--sans); text-decoration: none; padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .25s ease, background-color .25s ease; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.btn:hover { background: #f08f3c; color: #1a1f17; transform: translateY(-1px); }
.btn-small { padding: 10px 18px; font-size: 0.98rem; }
.nav .btn-small, .nav .btn-small:hover { color: #1a1f17; }
.text-link { font-weight: 700; color: var(--forest); text-decoration: none; border-bottom: 2px solid var(--leaf); padding-bottom: 2px; }
.text-link::after { content: " \2192"; }
.text-link:hover { border-bottom-color: var(--orange); }
.cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 28px; }

/* ------------------------------------------------------------ atmosphere: glow, spores, mycelium, landscape */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow b { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: 0.55; will-change: transform; }
.glow b:first-child { left: -18vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(247, 214, 160, 0.9), rgba(247, 214, 160, 0)); animation: drift-a 46s ease-in-out infinite alternate; }
.glow b:last-child { right: -26vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(196, 220, 170, 0.75), rgba(196, 220, 170, 0)); animation: drift-b 58s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(14vmax, 8vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-12vmax, 10vmax, 0) scale(0.94); } }

.spores { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.spores i { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: rgba(160, 132, 82, 0.55); opacity: 0; will-change: transform, opacity; animation: rise 22s linear infinite; }
.dark .spores i, .spores.light i { background: rgba(244, 236, 214, 0.75); }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.85; }
  70% { opacity: 0.6; }
  100% { transform: translate3d(var(--sx, 30px), -78vh, 0); opacity: 0; }
}

.mycelium { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 0; }
.mycelium .hy { fill: none; stroke: rgba(35, 64, 47, 0.2); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.mycelium .hy.d1 { stroke-width: 0.85; stroke: rgba(35, 64, 47, 0.16); }
.mycelium .hy.d2, .mycelium .hy.d3 { stroke-width: 0.7; stroke: rgba(35, 64, 47, 0.13); }
.m-light .hy { stroke: rgba(241, 234, 216, 0.2) !important; }
.m-bg { bottom: 0; height: 260px; }
.js .mycelium .hy { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 5.5s cubic-bezier(.3,.1,.2,1); }
.js .mycelium .hy.d1 { transition-delay: 1.4s; }
.js .mycelium .hy.d2 { transition-delay: 2.6s; }
.js .mycelium .hy.d3 { transition-delay: 3.4s; }
.js .mycelium.in .hy { stroke-dashoffset: 0; }
.mycelium.in { animation: breathe 14s ease-in-out 6s infinite alternate; }
@keyframes breathe { to { opacity: 0.55; } }
.hyphae-row { position: relative; height: 120px; overflow: hidden; }
.hyphae-row .mycelium { top: 0; height: 120px; }

.land { position: relative; z-index: 2; width: 100%; aspect-ratio: 1420 / 340; pointer-events: none; }
.land .plane { position: absolute; inset: 0; will-change: transform; }
.land .plane img { width: 100%; height: auto; will-change: transform; }
.land .p1 img { animation: sway-a 52s ease-in-out infinite alternate; }
.land .p2 img { animation: sway-b 64s ease-in-out infinite alternate; }
.land .p3 img { animation: sway-a 40s ease-in-out infinite alternate-reverse; }
.land .p4 img { animation: sway-b 46s ease-in-out infinite alternate; }
@keyframes sway-a { from { transform: translate3d(-0.6%, 0, 0); } to { transform: translate3d(0.6%, 0, 0); } }
@keyframes sway-b { from { transform: translate3d(0.5%, 0, 0); } to { transform: translate3d(-0.5%, 0, 0); } }

/* ------------------------------------------------------------ hero (home) */
.hero { position: relative; overflow: hidden; padding-top: clamp(28px, 5vw, 64px); background: linear-gradient(180deg, var(--paper) 0%, #f2e9d4 100%); }
.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-name { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest-2); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.02; color: var(--forest); }
.script { font-family: var(--script); font-weight: 600; color: var(--orange-ink); font-size: 1.18em; letter-spacing: 0; display: inline-block; transform: rotate(-4deg) translateY(-0.04em); margin-right: 0.08em; }
.hero-plate { margin: 0; position: relative; padding: 12px; background: var(--card); border-radius: 3px; box-shadow: 0 1px 0 rgba(35,64,47,.12), 0 24px 50px -24px rgba(35, 50, 30, 0.45); transform: rotate(1.2deg); }
.hero-plate img { border-radius: 1px; }
.land-hero { margin-top: clamp(-120px, -7vw, -40px); }

/* ------------------------------------------------------------ page heads (inner pages) */
.page-head { position: relative; overflow: hidden; padding-top: clamp(26px, 4vw, 52px); background: linear-gradient(180deg, var(--paper) 0%, #f0e6cf 100%); }
.page-head .wrap { z-index: 3; padding-bottom: clamp(6px, 2vw, 22px); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 46ch; color: var(--ink); }
.page-head.tall { min-height: 70vh; }
.land-head { margin-top: clamp(-70px, -4vw, -20px); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--ink-2); }

/* ------------------------------------------------------------ sections */
.sec { position: relative; padding: clamp(48px, 7vw, 104px) 0; }
.sec > .wrap { z-index: 2; }
.eyebrow { font-family: var(--script); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--orange-ink); letter-spacing: 0; margin-bottom: 0.4em; line-height: 1; }
.dark .eyebrow { color: #f2a65d; }
.statement { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.3; color: var(--forest); font-weight: 400; }
.statement-2 { font-size: 1.2rem; color: var(--ink-2); max-width: 52ch; border-left: 3px solid var(--leaf); padding-left: 16px; }
.big { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.3; font-weight: 400; }
.who { overflow: hidden; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.block a { display: block; text-decoration: none; color: inherit; }
.block img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 3px; margin-bottom: 18px; transition: transform .6s ease; }
.block a:hover img { transform: scale(1.015); }
.block h3 { margin-bottom: 0.4em; }
.block a:hover h3 { color: var(--orange-ink); }
.block p { color: var(--ink); }

.band { position: relative; overflow: hidden; }
.dark { background: radial-gradient(120% 90% at 20% 0%, var(--deep-2), var(--deep) 70%); color: var(--cream); }
.dark h2, .dark h3, .dark .big { color: var(--cream); }
.dark a { color: var(--cream); }
.dark .text-link { color: var(--cream); border-bottom-color: #f2a65d; }
.paper-deep { background: var(--paper-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.rev .split-img { order: -1; }
.split.solo { grid-template-columns: 1fr; max-width: 820px; }
.split-img img, .split-img video { width: 100%; border-radius: 3px; }
.split-copy p { max-width: 54ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }

.plate { margin: 0; }
.plate img, .plate video { border-radius: 3px; }
.plate figcaption { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); margin-top: 10px; }
.video-plate { max-width: 420px; margin-left: auto; padding: 10px; background: rgba(241,234,216,.08); border-radius: 4px; }

.gal { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: end; }
.gal .g-b { transform: translateY(clamp(20px, 4vw, 60px)); }

.trade-call { background: var(--paper-2); }
.trade-call .big { margin: 0 auto 28px; max-width: 34ch; color: var(--forest); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.card a { display: block; text-decoration: none; color: inherit; background: var(--card); border-radius: 4px; overflow: hidden; height: 100%; box-shadow: 0 1px 0 rgba(35,64,47,.1); transition: transform .4s ease, box-shadow .4s ease; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(35, 50, 30, .5); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card h3 { padding: 18px 20px 0; font-size: 1.3rem; }
.card p { padding: 0 20px; color: var(--ink); }
.card .meta { padding-bottom: 18px; }
.more { margin-top: 32px; }

.read-on .links, .links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.links a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--leaf); padding-bottom: 2px; }
.links a::after { content: " \2192"; }
.links a:hover { border-bottom-color: var(--orange); }
.big-links { margin-top: 26px; font-size: 1.15rem; }

/* ------------------------------------------------------------ technology list */
.t-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 0; }
.t-item { display: grid; grid-template-columns: 200px 1fr; gap: clamp(18px, 3vw, 40px); padding: 26px 0; border-top: 1px solid var(--rule); align-items: center; }
.t-item:last-child { border-bottom: 1px solid var(--rule); }
.t-item.no-img { grid-template-columns: 200px 1fr; }
.t-item.no-img .t-text { grid-column: 2; }
.t-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 3px; }
.t-text p { max-width: 60ch; margin-bottom: 0.6em; }
.t-text h3 { margin-bottom: 0.3em; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--forest); background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px 6px 10px; }
.status .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.status-run .dot { background: var(--leaf); box-shadow: 0 0 0 3px rgba(79, 154, 58, 0.18); }
.status-built .dot { background: linear-gradient(90deg, var(--orange) 50%, transparent 50%); border: 2px solid var(--orange); }
.status-plan .dot { border: 2px solid var(--ink-2); background: transparent; }
.vision .big { max-width: 30ch; margin: 0 auto; }

/* ------------------------------------------------------------ the form */
.form-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.enquiry h2 { margin-bottom: 0.3em; }
.lead-in { font-size: 1.15rem; }
.trade-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide, .form-foot, .err-sum, .form-state { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 1rem; color: var(--ink); }
.field input, .field select, .field textarea { font: 400 1.05rem/1.4 var(--sans); color: var(--ink); background: #fffdf6; border: 1.5px solid #7e8c78; border-radius: 6px; padding: 12px 13px; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--forest); }
.field [aria-invalid="true"] { border-color: #a3260f; }
.help { font-size: 0.92rem; color: var(--ink-2); margin: 0; }
.ferr { font-size: 0.95rem; color: #a3260f; margin: 0; font-weight: 700; }
.err-sum { background: #fbe9e2; border-left: 4px solid #a3260f; padding: 12px 16px; color: #6e1a0a; }
.err-sum ul { margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.form-foot .small { margin: 0; max-width: 40ch; }
.form-state { font-size: 1.1rem; font-weight: 700; color: var(--forest); background: var(--card); padding: 16px 18px; border-left: 4px solid var(--leaf); }
.btn[disabled] { opacity: .7; cursor: progress; }
.care { align-self: start; background: var(--card); padding: 24px 26px; border-radius: 4px; box-shadow: 0 1px 0 rgba(35,64,47,.1); }
.care h2 { font-size: 1.45rem; }

/* ------------------------------------------------------------ prose and articles */
.prose p, .prose li { font-size: 1.15rem; line-height: 1.7; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.prose-sec { padding-top: clamp(30px, 4vw, 56px); }
.art-head .byline { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.03em; color: var(--ink-2); }
.art-head .byline a { color: var(--ink-2); }
.art-head h1 { max-width: 22ch; font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.art-grid { display: grid; grid-template-columns: 220px minmax(0, 700px); gap: clamp(28px, 5vw, 80px); padding-top: clamp(30px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 90px); justify-content: center; }
.art-toc { position: sticky; top: 100px; align-self: start; font-size: 0.98rem; }
.toc-h { font-family: var(--script); font-size: 1.6rem; color: var(--orange-ink); margin-bottom: 6px; line-height: 1; }
.art-toc ol { padding-left: 1.1em; color: var(--ink-2); }
.art-toc li { margin-bottom: 6px; }
.art-toc a { color: var(--ink); text-decoration: none; }
.art-toc a:hover { color: var(--orange-ink); text-decoration: underline; }
.lead-plate { margin-bottom: 30px; padding: 10px; background: var(--card); box-shadow: 0 18px 40px -28px rgba(35, 50, 30, .5); }
.art-body figure.plate { margin: 26px 0; }
.offer { margin: 2em 0; padding: 20px 24px; background: var(--paper-2); border-left: 4px solid var(--orange); border-radius: 2px; }
.offer p { margin: 0; font-weight: 700; }
.sources { font-size: 1rem; }
.sources li { font-size: 1rem; line-height: 1.55; margin-bottom: 8px; word-break: break-word; }

/* ------------------------------------------------------------ footer */
.site-foot { margin-top: 0; background: var(--paper); }
.land-foot { margin-bottom: -2px; }
.foot-body { background: var(--deep); color: var(--cream); padding: 40px 0 26px; position: relative; z-index: 3; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.foot-id img { width: 56px; height: 56px; margin-bottom: 14px; }
.foot-name { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin-bottom: 4px; }
.foot-desc { color: var(--cream-2); }
.foot-mail a, .foot-nav a { color: var(--cream); }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.foot-nav a { text-decoration: none; padding: 4px 0; }
.foot-nav a:hover { text-decoration: underline; color: #f2a65d; }
.foot-copy { font-family: var(--mono); font-size: 0.78rem; color: var(--cream-2); margin: 26px 0 0; border-top: 1px solid rgba(241,234,216,.16); padding-top: 18px; }

/* ------------------------------------------------------------ reveal (transform-only; content never hidden without JS) */
.js .rv { transform: translate3d(0, 26px, 0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .t-item, .t-item.no-img { grid-template-columns: 140px 1fr; }
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-toc { position: static; border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 12px var(--pad) 22px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.12rem; }
  .hero-grid, .split, .two-col, .form-wrap, .foot-grid { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 0; }
  .three, .cards { grid-template-columns: 1fr; }
  .block img { aspect-ratio: 4 / 3; }
  .gal { grid-template-columns: 1fr; }
  .gal .g-b { transform: none; }
  .trade-form { grid-template-columns: 1fr; }
  .land { width: 170%; margin-left: -35%; }
  .hero-plate { transform: none; }
  .video-plate { margin: 0 auto; }
}
@media (max-width: 520px) {
  .brand span { font-size: 1.02rem; }
  .t-item, .t-item.no-img { grid-template-columns: 1fr; }
  .t-item.no-img .t-text { grid-column: 1; }
  .t-img img { aspect-ratio: 3 / 2; }
  .head-row { min-height: 64px; }
  .nav { top: 64px; }
}

/* ------------------------------------------------------------ reduced motion: everything still, nothing hidden */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .spores { display: none; }
  .js .mycelium .hy { stroke-dashoffset: 0; }
  .js .rv { transform: none; }
}

/* article details */
.art-lede { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem) !important; line-height: 1.45 !important; color: var(--forest); }
.narrow-fig { max-width: 420px; }
sup .fn { font-family: var(--mono); font-size: 0.72rem; text-decoration: none; padding: 0 2px; color: var(--orange-ink); }
sup .fn:hover { text-decoration: underline; }

/* fixes after first look */
.nav a.btn { padding: 10px 18px; border-bottom: 0; color: #1a1f17; }
.hero-grid { padding-bottom: clamp(10px, 3vw, 40px); }
.land-hero { margin-top: clamp(-90px, -5vw, -24px); }
.land-foot { max-width: 1600px; margin: 0 auto -2px; }
.site-foot { overflow: hidden; padding-top: clamp(20px, 4vw, 60px); }

/* lane G assets: drifting engraved clouds, the watercolour wash plane, engraved cluster drawings */
.clouds { position: absolute; inset: 0 0 auto 0; height: 60%; pointer-events: none; z-index: 1; overflow: hidden; }
.clouds img { position: absolute; width: clamp(160px, 20vw, 300px); height: auto; opacity: 0.7; will-change: transform; animation: cloud 140s linear infinite; }
.clouds .c1 { top: 8%; left: -20%; animation-duration: 150s; animation-delay: -40s; }
.clouds .c2 { top: 22%; left: -20%; width: clamp(120px, 14vw, 220px); opacity: 0.55; animation-duration: 190s; animation-delay: -120s; }
.clouds .c3 { top: 2%; left: -20%; width: clamp(140px, 17vw, 260px); opacity: 0.6; animation-duration: 170s; animation-delay: -10s; }
@keyframes cloud { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(140vw, 0, 0); } }
.land .p2w img { opacity: 0.9; animation: sway-b 70s ease-in-out infinite alternate-reverse; }
.page-head { min-height: clamp(260px, 34vw, 420px); padding-bottom: clamp(30px, 5vw, 70px); }
.page-head.art-head { min-height: clamp(240px, 30vw, 380px); }
.m-head { bottom: 0; height: 220px; opacity: 0.9; }
.art { position: absolute; right: max(2vw, calc((100vw - var(--wrap)) / 2)); bottom: -8%; width: clamp(150px, 24vw, 330px); z-index: 2; pointer-events: none; opacity: 0.85; }
.art-in { animation: bob 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes bob { from { transform: translate3d(0, 0, 0) rotate(-1.5deg); } to { transform: translate3d(0, -14px, 0) rotate(1.5deg); } }
.page-head .wrap { padding-right: clamp(0px, 24vw, 340px); }
@media (max-width: 860px) {
  .art { width: 34vw; bottom: -4%; right: 2vw; opacity: 0.5; }
  .page-head .wrap { padding-right: var(--pad); }
  .page-head h1 { padding-right: 18vw; }
}

/* sleeve lane draft-03 painted grounds and paper grain */
body { background: #f4eedf url('/assets/img/paper-grain-400.webp') repeat; }
.land .p0 { top: -55%; bottom: 0; height: auto; }
.land .p0 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%); mask-image: linear-gradient(180deg, transparent 0%, #000 42%); }
.land-foot .p0 img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
.art-painted { opacity: 1; width: clamp(170px, 26vw, 360px); bottom: 4%; }
.art-body figure.plate img { max-height: 540px; width: auto; max-width: 100%; }

/* ===== lane G ART-DIRECTION v1 "Engraved Morning" adoption (30 Oct): sampled palette, type weights, straw paper,
   day-cycle sky in the hero. Ember never carries text; buttons are kiln with cream text. */
:root {
  --ink: #183F30;
  --forest: #183F30;
  --forest-2: #2F5E4A;
  --orange-ink: #A9521A;
  --deep: #1F4A38;
  --deep-2: #2F5E4A;
  --card: #F6EEDC;
  --straw: #E8D3A6;
  --paper-2: #EEE0C2;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
.hero h1 { font-weight: 600; }
.btn, .nav a.btn { background: #A9521A; color: #FFF8EE; }
.btn:hover, .nav a.btn:hover { background: #93461A; color: #FFF8EE; }
.nav .btn-small, .nav .btn-small:hover { color: #FFF8EE; }
.dark { background: radial-gradient(120% 90% at 20% 0%, #3A6B55, var(--deep-2) 55%, var(--deep) 100%); }
.dark .eyebrow { color: #F4C28A; }
.dark .text-link { border-bottom-color: #F4C28A; }
.foot-body { background: var(--deep); }
.card a, .care { background: var(--straw); }
.status { background: #FBF6EA; }
.status-built .dot { background: linear-gradient(90deg, #A9521A 50%, transparent 50%); border-color: #A9521A; }
.trade-call, .paper-deep { background: var(--paper-2); }
.offer { background: var(--straw); border-left-color: #A9521A; }
/* day-cycle sky: dawn -> noon -> dusk over 72 s, opacity cross-fade only */
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sky i { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sky .s-dawn { background: linear-gradient(180deg, #F2C9A4 0%, rgba(243, 235, 221, 0) 68%); opacity: 1; animation: sky-dawn 72s ease-in-out infinite; }
.sky .s-noon { background: linear-gradient(180deg, #E3E7D6 0%, rgba(243, 235, 221, 0) 68%); animation: sky-noon 72s ease-in-out infinite; }
.sky .s-dusk { background: linear-gradient(180deg, #E7A877 0%, rgba(243, 235, 221, 0) 62%); animation: sky-dusk 72s ease-in-out infinite; }
@keyframes sky-dawn { 0%, 8% { opacity: 1; } 33%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sky-noon { 0%, 12% { opacity: 0; } 33%, 55% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes sky-dusk { 0%, 50% { opacity: 0; } 72%, 85% { opacity: 1; } 100% { opacity: 0; } }
.hero { background: linear-gradient(180deg, #F3EBDD 0%, #F1E6D0 100%); }

/* ===== FIX-ROUND-01 (30 Oct, VERIFY-INDEPENDENT P1-3, P1-4, P2-2, P2-3) */
/* P1-4: section rhythm. Two full section paddings plus a 120 px divider left 276-361 px of empty paper at 1440. */
.sec { padding: clamp(44px, 6vw, 80px) 0; }
.hyphae-row { height: 96px; margin: -24px 0; }
.hyphae-row .mycelium { height: 96px; }
.sec:has(+ .hyphae-row) { padding-bottom: 40px; }
.hyphae-row + .sec { padding-top: 40px; }
.t-list { margin-bottom: 0; }
.t-list + .eyebrow { margin-top: 48px; }
@media (max-width: 860px) {
  /* P1-3: the head drawing sat under the H1, lede and byline on phones. It now follows the text, at the right. */
  .page-head { display: flex; flex-direction: column; }
  .page-head > .wrap { width: 100%; }
  .page-head > .art { position: relative; order: 2; right: auto; bottom: auto; align-self: flex-end; width: 42vw; margin: -6px 5vw -14px 0; opacity: 0.8; }
  .page-head > .art.art-painted { width: 46vw; }
  .page-head h1 { padding-right: 0; }
  .page-head { padding-bottom: 0; }
  /* P2-3: the 404 head no longer holds 70vh of empty paper on phones */
  .page-head.tall { min-height: 0; }
  /* P2-2: the open menu reads as a panel over the page */
  .nav { padding-bottom: 32px; box-shadow: 0 26px 40px -22px rgba(24, 63, 48, 0.45); }
}
@media (max-width: 520px) {
  /* the 4:5 technology frames show as 3:2 on phones; keep the upper part (the AC on the far wall stays in view) */
  .t-img img { object-position: 50% 30%; }
}

/* generated: spores */
.spores i:nth-child(1){left:44.9%;width:2.5px;height:2.5px;animation-duration:21.6s;animation-delay:-1.4s;--sx:43px}
.spores i:nth-child(2){left:51.7%;width:4.1px;height:4.1px;animation-duration:24.4s;animation-delay:-14.2s;--sx:-26px}
.spores i:nth-child(3){left:70.5%;width:3.4px;height:3.4px;animation-duration:18.5s;animation-delay:-11.4s;--sx:11px}
.spores i:nth-child(4){left:38.7%;width:5.8px;height:5.8px;animation-duration:17.5s;animation-delay:-6.5s;--sx:28px}
.spores i:nth-child(5){left:55.2%;width:4.9px;height:4.9px;animation-duration:24.6s;animation-delay:-7.0s;--sx:-23px}
.spores i:nth-child(6){left:3.1%;width:5.7px;height:5.7px;animation-duration:19.5s;animation-delay:-17.3s;--sx:26px}
.spores i:nth-child(7){left:38.9%;width:2.6px;height:2.6px;animation-duration:32.0s;animation-delay:-15.7s;--sx:-48px}
.spores i:nth-child(8){left:94.1%;width:4.9px;height:4.9px;animation-duration:21.8s;animation-delay:-27.0s;--sx:-58px}
.spores i:nth-child(9){left:79.6%;width:5.4px;height:5.4px;animation-duration:33.1s;animation-delay:-8.6s;--sx:-40px}
.spores i:nth-child(10){left:93.0%;width:5.7px;height:5.7px;animation-duration:29.2s;animation-delay:-30.0s;--sx:36px}
.spores i:nth-child(11){left:26.5%;width:4.2px;height:4.2px;animation-duration:27.1s;animation-delay:-0.7s;--sx:54px}
.spores i:nth-child(12){left:35.8%;width:5.8px;height:5.8px;animation-duration:31.7s;animation-delay:-0.0s;--sx:20px}
.spores i:nth-child(13){left:54.8%;width:6.3px;height:6.3px;animation-duration:28.2s;animation-delay:-15.3s;--sx:42px}
.spores i:nth-child(14){left:91.0%;width:4.2px;height:4.2px;animation-duration:34.0s;animation-delay:-12.8s;--sx:37px}
.spores i:nth-child(15){left:23.7%;width:4.5px;height:4.5px;animation-duration:16.9s;animation-delay:-1.6s;--sx:39px}
.spores i:nth-child(16){left:35.7%;width:2.9px;height:2.9px;animation-duration:25.9s;animation-delay:-11.3s;--sx:-3px}
.spores i:nth-child(17){left:38.4%;width:2.9px;height:2.9px;animation-duration:19.1s;animation-delay:-17.2s;--sx:6px}
.spores i:nth-child(18){left:11.5%;width:6.2px;height:6.2px;animation-duration:33.6s;animation-delay:-29.8s;--sx:33px}
