/* Long Run Textile — demo site. Ink-green + ivory, logo green #09ca33 as the single accent. */
:root {
  --ink: #06110b; --ink-2: #0b1a12; --ink-3: #12261b;
  --ivory: #f3f0e8; --paper: #faf8f3; --stone: #d9d3c4;
  --text: #17201a; --muted: #5f675f; --mute-d: #9aa69c;
  --line: #e2ddd0; --line-d: rgba(243,240,232,.12);
  --green: #09ca33; --green-d: #00a845; --glow: rgba(9,202,51,.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", "Songti SC", STSong, "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.7 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1240px, 100% - 40px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 58px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { margin: 0 0 1em; }
.kicker { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--green-d); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .kicker { color: var(--green); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--muted); max-width: 640px; }
.dark { background: var(--ink); color: var(--ivory); }
.dark .lead, .dark p { color: #c4ccc5; }

/* demo strip + header */
.demo-bar { background: #000; color: #9aa69c; font-size: 12px; text-align: center; padding: 6px 12px; position: relative; z-index: 60; }
.demo-bar strong { color: var(--green); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,17,11,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); color: var(--ivory); }
.nav { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand span { font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); border-left: 1px solid var(--line-d); padding-left: 12px; }
.menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.menu a { text-decoration: none; color: #d8ddd6; padding: 6px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--green); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.menu a[aria-current] { color: #fff; }
.lang { display: flex; border: 1px solid var(--line-d); border-radius: 999px; padding: 3px; font-size: 12.5px; }
.lang button { background: none; border: 0; color: #c4ccc5; font: inherit; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ivory); color: var(--ink); font-weight: 600; }
.lang button:not([aria-pressed="true"]):hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 14.5px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, translate .25s var(--ease); }
.btn-primary { background: var(--green); color: #031207; }
.btn-primary:hover { background: #2ee055; }
.btn-ghost { border-color: rgba(243,240,232,.32); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--ink-3); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.nav .btn { padding: 11px 20px; font-size: 13.5px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-d); color: var(--ivory); border-radius: 999px; width: 44px; height: 40px; cursor: pointer; }
.menu-toggle i { display: block; width: 16px; height: 1px; background: currentColor; margin: 4px auto; }

/* toast (RU / 中文) */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 90; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; background: rgba(6,17,11,.94); color: var(--ivory); border: 1px solid rgba(9,202,51,.45); border-radius: 14px; padding: 16px 22px; max-width: min(460px, calc(100% - 32px)); font-size: 14px; line-height: 1.6; box-shadow: 0 24px 60px rgba(0,0,0,.4); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--green); display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }

/* hero */
.hero { position: relative; min-height: clamp(620px, calc(100svh - 110px), 900px); display: flex; align-items: center; overflow: hidden; background: radial-gradient(1200px 700px at 78% 40%, #10291b 0%, var(--ink) 62%); color: var(--ivory); isolation: isolate; }
.hero.sub { min-height: 560px; }
.spin-canvas { position: absolute; inset: 0; z-index: 0; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6,17,11,.92) 0%, rgba(6,17,11,.55) 38%, rgba(6,17,11,0) 60%); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; padding: 64px 0 80px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero.sub h1 { font-size: clamp(38px, 5vw, 70px); }
.hero .lead { color: #c4ccc5; margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.spin-hud { position: absolute; z-index: 2; right: max(20px, calc((100% - 1240px) / 2)); top: calc(var(--hv, 100%) - 30px); translate: 0 -100%; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.spin-now { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-d); text-align: right; }
.spin-now b { display: block; font: 400 26px/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ivory); margin-top: 4px; }
.spin-now span { display: block; letter-spacing: .04em; text-transform: none; font-size: 13px; color: #c4ccc5; }
.spin-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 240px; }
.spin-chips button { background: rgba(243,240,232,.06); border: 1px solid var(--line-d); color: #c4ccc5; font: 600 11px/1 var(--sans); letter-spacing: .08em; padding: 8px 11px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.spin-chips button[aria-pressed="true"] { border-color: var(--green); color: #fff; background: rgba(9,202,51,.14); }
.spin-hint { font-size: 11.5px; color: #7f8b81; letter-spacing: .06em; }

/* stats + marquee */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-d); }
.stat { padding: 34px 22px 30px; border-right: 1px solid var(--line-d); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 400 clamp(34px, 3.6vw, 52px)/1 var(--serif); color: var(--ivory); font-variant-numeric: tabular-nums; }
.stat b i { font-style: normal; color: var(--green); }
.stat > span { display: block; margin-top: 10px; font-size: 13px; color: var(--mute-d); line-height: 1.45; }
.marquee { overflow: hidden; border-top: 1px solid var(--line-d); padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: italic 400 clamp(24px, 3vw, 40px)/1.1 var(--serif); color: transparent; -webkit-text-stroke: 1px #5d6d61; white-space: nowrap; transition: color .3s; }
.marquee span:hover { color: var(--ivory); }
.marquee i { font-style: normal; color: var(--green); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
section { padding: clamp(80px, 10vw, 140px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.sec-head p { margin: 0; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split figure { margin: 0; overflow: hidden; border-radius: 4px; }
.split figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split figcaption, .cap-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 20px; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 400 20px/1.3 var(--serif); }

/* series swatches */
.series { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.serie { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.serie figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.serie figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.serie:hover figure img { transform: scale(1.05); }
.serie .tag { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(6,17,11,.82); color: var(--ivory); font-size: 11px; letter-spacing: .14em; padding: 6px 10px; border-radius: 999px; }
.serie .cap { padding: 22px 22px 26px; }
.serie .cap::before { content: ""; display: block; width: 0; height: 2px; background: var(--green); margin-bottom: 14px; transition: width .4s var(--ease); }
.serie:hover .cap::before { width: 46px; }
.serie h3 { margin-bottom: 6px; }
.serie p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (hover: hover) { .series:hover .serie:not(:hover) img { filter: grayscale(.8) brightness(.6); } .series:hover .serie:not(:hover) { opacity: .78; } }

/* technology */
.tech { background: var(--ink-2); color: var(--ivory); position: relative; overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-d); counter-reset: s; }
.steps div { padding: 34px 28px 30px 0; border-right: 1px solid var(--line-d); counter-increment: s; }
.steps div + div { padding-left: 28px; }
.steps div:last-child { border-right: 0; }
.steps div::before { content: "0" counter(s); display: block; font: italic 400 15px/1 var(--serif); color: var(--green); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; color: var(--ivory); }
.steps p { color: #b4bdb6; font-size: 15px; margin: 0; }
.adv { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 46px; padding: 0; list-style: none; }
.adv li { border: 1px solid var(--line-d); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; color: #d8ddd6; transition: border-color .3s, color .3s; }
.adv li:hover { border-color: var(--green); color: #fff; }
.tech-figure { margin: 60px 0 0; position: relative; border-radius: 4px; overflow: hidden; }
.tech-figure img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* certifications */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.certs figure { margin: 0; background: #fff; padding: 22px 18px 18px; text-align: center; }
.certs img { width: 100%; max-width: 180px; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 auto 10px; }
.certs figcaption { font-size: 13px; color: var(--muted); }

/* mill */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 4px; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.gallery .wide { grid-column: span 2; }
.equip { width: 100%; border-collapse: collapse; margin-top: 10px; }
.equip th, .equip td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.equip th { font: 400 19px/1.3 var(--serif); width: 38%; }
.equip td { color: var(--muted); font-size: 15px; }
.equip td b { color: var(--text); font-weight: 600; display: block; }

/* yarn detail */
.yarn { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.yarn:nth-of-type(even) figure { order: 2; }
.yarn figure { margin: 0; overflow: hidden; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.yarn figure img { width: 100%; aspect-ratio: 31 / 20; object-fit: cover; }
.yarn .claim { font: italic 400 21px/1.4 var(--serif); color: var(--green-d); margin: 8px 0 18px; }
.yarn h2 { font-size: clamp(36px, 4vw, 54px); }
.yarn h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.app { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.app img { width: 160px; aspect-ratio: 32 / 29; object-fit: cover; border-radius: 4px; }
.app p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.matrix th, .matrix td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: top; }
.matrix thead th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.matrix tbody th { font: 400 19px/1.3 var(--serif); white-space: nowrap; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 20px/1.4 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--green-d); border-bottom: 1.5px solid var(--green-d); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { color: var(--muted); margin: 0 0 22px; max-width: 680px; }

/* contact + inquiry */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 6px; overflow: hidden; margin-top: 30px; }
.people div { background: var(--ink-2); padding: 20px; }
.people h3 { font-size: 19px; color: var(--ivory); margin-bottom: 8px; }
.people p { margin: 0; font-size: 14px; line-height: 1.7; }
.people a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(9,202,51,.5); }
.inquiry { background: var(--ivory); color: var(--text); border-radius: 8px; padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: start; }
.inquiry h3 { grid-column: 1 / -1; margin-bottom: 4px; }
.inquiry label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.inquiry .full { grid-column: 1 / -1; }
.inquiry input, .inquiry select, .inquiry textarea { width: 100%; font: 15px/1.5 var(--sans); color: var(--text); background: #fff; border: 1px solid var(--stone); border-radius: 6px; padding: 11px 13px; letter-spacing: 0; text-transform: none; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: 2px solid rgba(9,202,51,.5); border-color: var(--green-d); }
.inquiry textarea { min-height: 120px; resize: vertical; }
.inquiry .note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); margin: 0; }
.cta-band { background: var(--ink); color: var(--ivory); padding: clamp(60px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { max-width: 760px; }
.cta-band p { color: #b4bdb6; margin: 14px 0 0; }

/* footer */
footer { background: #030a06; color: #9aa69c; font-size: 14px; padding: 70px 0 34px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img { height: 44px; width: auto; margin-bottom: 18px; }
.foot h4 { color: var(--ivory); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: #c4ccc5; }
.foot a:hover { color: var(--green); }
.foot-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }

/* ===== Motion layer — active with html.motion (set by site.js) ===== */
@keyframes rise { from { opacity: 0; transform: translateY(.55em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.motion .hero h1 .w { display: inline-block; opacity: 0; animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 1200ms); }
.motion .hero .kicker { animation: fadeUp .8s 1s both; }
.motion .hero .lead { animation: fadeUp .9s 1.9s both; }
.motion .hero .cta-row { animation: fadeUp .9s 2.1s both; }
.motion .spin-hud { animation: fadeUp .9s 2.4s both; }
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal h2 { clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 1s .12s var(--ease), transform 1s .12s var(--ease); }
.motion .reveal.in h2 { clip-path: inset(-10% -5% -25% -5%); transform: none; }
.motion .curtain img { clip-path: inset(100% 0 0 0); scale: 1.15; transition: clip-path 1.3s cubic-bezier(.7,0,.2,1), scale 1.8s var(--ease); }
.motion .curtain.in img { clip-path: inset(0); scale: 1; }
.motion [data-count].counted { text-shadow: 0 0 28px rgba(9,202,51,.35); }
.motion .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), opacity .9s var(--ease), border-color .3s; }
.motion .tilt.reveal:not(.in) { transform: perspective(900px) translateY(28px); }
.motion .tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--gx, 50%) var(--gy, 50%), var(--glow), transparent 62%); z-index: 3; }
.motion .tilt:hover::after { opacity: 1; }
.motion .tilt:hover { border-color: rgba(9,202,51,.5); }
.motion .btn { translate: var(--bx, 0px) var(--by, 0px); }
.motion .site-header { transition: background .3s, box-shadow .3s; }
.motion .site-header .nav { transition: height .3s; }
.motion .site-header.scrolled { background: rgba(6,17,11,.95); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.motion .site-header.scrolled .nav { height: 62px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; z-index: 100; pointer-events: none; }

/* responsive */
@media (max-width: 1080px) {
  .menu, .nav > .btn { display: none; }
  .menu-toggle { display: block; }
  .menu.open { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 18px 20px 24px; gap: 4px; border-bottom: 1px solid var(--line-d); }
  .menu.open a { display: block; padding: 12px 0; font-size: 17px; }
  .series { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line-d); }
}
@media (max-width: 820px) {
  .nav { height: 66px; gap: 12px; }
  .brand img { height: 32px; }
  .brand span { display: none; }
  .hero { min-height: 0; align-items: flex-end; }
  .hero.sub { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(6,17,11,0) 0%, rgba(6,17,11,0) 34%, rgba(6,17,11,.9) 58%, var(--ink) 100%); }
  .hero-copy { padding: 50vh 0 210px; }
  .hero.sub .hero-copy { padding: 42vh 0 200px; }
  .spin-hud { left: 20px; right: 20px; top: auto; bottom: 26px; translate: none; align-items: flex-start; }
  .spin-now { text-align: left; }
  .spin-chips { justify-content: flex-start; max-width: none; }
  .sec-head, .split, .faq, .contact-grid, .yarn { grid-template-columns: 1fr; }
  .sec-head { gap: 18px; margin-bottom: 40px; }
  .yarn:nth-of-type(even) figure { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps div, .steps div + div { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .tech-figure img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .lang button { padding: 5px 8px; }
  .series { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 14px; }
  .stat:nth-child(3) { border-right: 1px solid var(--line-d); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .stat:last-child { grid-column: 1 / -1; }
  .inquiry { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { padding-right: 0; }
  .app { grid-template-columns: 110px 1fr; gap: 14px; }
  .app img { width: 110px; }
  .gallery .wide { grid-column: span 2; }
}

img[src$="ecofushion.jpg"] { object-fit: contain !important; background: #fff; }
