@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@900&display=swap");
/* Linea Activewear — shared styles */
:root {
  --ground: #F5F2EC;
  --sand: #EBE6DD;
  --stone: #DCD6CC;
  --line: #CFC8BC;
  --ink: #1F1E1B;
  --body: #3D3A35;
  --muted: #5E5A53;
  --accent: #3E4636;
  --accent-soft: #DCE3DD;
  --dark: #2F3428;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.serif { font-family: var(--serif); }
.eyebrow { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.muted { color: var(--muted); }
.h1 { font-family: var(--serif); font-size: clamp(38px, 5.5vw, 72px); line-height: 1.05; }
.h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.15; }
.section { padding-top: 88px; padding-bottom: 88px; }
.band { background: var(--sand); }
.band-accent { background: var(--accent); color: var(--ground); }
.band-accent .muted, .band-accent .eyebrow { color: var(--accent-soft); }
.band-accent a { color: var(--ground); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; font-size: 14px; letter-spacing: 0.06em; cursor: pointer; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.btn-primary:hover { color: var(--ground); background: #323a2b; }
.btn-light { background: var(--ground); border-color: var(--ground); color: var(--ink); }
.btn-outline-light { border-color: var(--ground); color: var(--ground); }
.btn-block { width: 100%; }
.btn[disabled] { background: var(--muted); border-color: var(--muted); color: var(--ground); cursor: not-allowed; }
.link-btn { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: 14px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; border-radius: 0; }
textarea.input { padding: 12px 14px; resize: vertical; }
.hint { font-size: 12px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* Header */
.announce { background: var(--accent); text-align: center; padding: 10px 16px; font-size: 13px; letter-spacing: 0.04em; }
.announce a { color: var(--ground); text-decoration: none; }
.site-header { border-bottom: 1px solid var(--stone); background: var(--ground); position: relative; z-index: 20; }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.main-nav { display: flex; gap: 28px; font-size: 14px; }
.main-nav a { text-decoration: none; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.logo .rule { display: block; width: 56px; height: 1px; background: var(--ink); }
.logo .word { font-family: var(--serif); font-size: 30px; letter-spacing: 0.08em; line-height: 1; }
.logo .sub { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.header-icons { display: flex; justify-content: flex-end; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 21px; height: 21px; }
.badge { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--accent); color: var(--ground); font-size: 10px; line-height: 17px; text-align: center; padding: 0 4px; }
.menu-toggle { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--stone); padding: 8px 24px 20px; }
.mobile-menu a { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid var(--stone); text-decoration: none; font-size: 16px; }
.mobile-menu.open { display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #E6E0D6; }
.site-footer a { color: #B8B1A5; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer .links { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 6px 32px; font-size: 14px; }
.site-footer .links a { min-height: 32px; display: flex; align-items: center; }
.site-footer .bottom { border-top: 1px solid var(--dark); padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #B8B1A5; }
.newsletter { display: flex; gap: 8px; flex-wrap: wrap; max-width: 420px; }
.newsletter .input { flex: 1 1 200px; background: transparent; border-color: var(--muted); color: var(--ground); }

/* Placeholder imagery */
.ph { background: var(--stone); color: var(--muted); font-size: 12px; display: flex; align-items: flex-end; padding: 14px; }
.ph.dark { background: var(--dark); color: #CFC8BC; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: var(--ground); }
.hero .ph-note { position: absolute; top: 24px; right: 24px; max-width: 320px; font-size: 12px; color: #CFC8BC; text-align: right; }
.hero .inner { padding-bottom: 72px; width: 100%; }
.hero p.lead { margin: 24px 0 36px; font-size: 18px; max-width: 520px; color: #E6E0D6; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.card .media { position: relative; }
.card .tag { position: absolute; top: 12px; left: 12px; background: var(--ground); font-size: 11px; letter-spacing: 0.08em; padding: 4px 10px; }
.card .row { display: flex; justify-content: space-between; gap: 12px; }
.code { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 24px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.steps li { border-top: 1px solid var(--ink); padding: 20px 0 32px; }
.steps .n { font-family: var(--serif); font-size: 22px; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { flex: 0 0 auto; margin-top: 3px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* Accordions */
.acc { border-top: 1px solid var(--stone); }
.acc details { border-bottom: 1px solid var(--stone); padding: 16px 0; }
.acc summary { cursor: pointer; font-size: 16px; min-height: 28px; }
.acc details p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Product page */
.pdp { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.pdp .gallery { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pdp .gallery .wide { grid-column: 1 / -1; }
.pdp .info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 50%; padding: 4px; border: 1.5px solid transparent; background: none; cursor: pointer; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.size { min-height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; }
.size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.size.out { color: #8C877F; text-decoration: line-through; }
.size.out[aria-pressed="true"] { color: var(--ground); }
.notice { border: 1px solid var(--stone); background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.status { padding: 12px 14px; background: var(--sand); font-size: 14px; }

/* Cart */
.layout-2 { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.layout-2 > .main { flex: 999 1 560px; min-width: 0; }
.layout-2 > .side { flex: 1 1 340px; min-width: 0; }
.line-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.line-items li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--stone); }
.line-items .thumb { flex: 0 0 110px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty span { min-width: 28px; text-align: center; }
.summary { border: 1px solid var(--stone); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.summary dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.summary dd { margin: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--stone); padding-top: 16px; }

/* Choice tiles (checkout) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; }
.choice:has(input:checked) { border: 1.5px solid var(--ink); }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 28px; font-weight: 500; }

/* Chips / tabs */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: transparent; border-radius: 20px; cursor: pointer; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--stone); }
.tab { min-height: 52px; padding: 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; cursor: pointer; font-size: 16px; color: var(--muted); }
.tab[aria-selected="true"] { border-color: var(--ink); color: var(--ink); }
.sticky-bar { position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid var(--stone); }

/* Tables */
.table-box { overflow-x: auto; border: 1px solid var(--stone); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; }
thead tr { background: var(--sand); }
tbody tr { border-top: 1px solid var(--sand); }
th { font-weight: 500; }

/* Legal pages */
.legal { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.legal .toc { flex: 1 1 220px; position: sticky; top: 24px; display: flex; flex-direction: column; font-size: 14px; }
.legal .toc a { text-decoration: none; min-height: 34px; display: flex; align-items: center; }
.legal article { flex: 999 1 600px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 48px; color: var(--body); line-height: 1.7; }
.legal article h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--ink); margin-bottom: 12px; }
.legal article ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.callout { background: var(--sand); padding: 32px; }

/* Timeline (track) */
.progress { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.progress li { display: flex; flex-direction: column; gap: 10px; }
.progress .track { display: flex; align-items: center; }
.progress .node { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--ground); }
.progress .bar { flex: 1; height: 2px; background: var(--line); }
.progress li.done .node { background: var(--accent); border-color: var(--accent); }
.progress li.done .bar { background: var(--accent); }
.progress li.current .node { border-color: var(--accent); border-width: 2px; }
.progress li:last-child .bar { visibility: hidden; }
.progress .label { font-size: 15px; padding-right: 12px; }
.progress li.todo .label { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--ground); padding: 12px 20px; font-size: 14px; z-index: 50; }

/* Mobile */
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .announce { font-size: 12px; }
  .site-header .bar { grid-template-columns: 88px 1fr 88px; padding-top: 6px; padding-bottom: 6px; gap: 0; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .logo .word { font-size: 24px; }
  .logo .rule { width: 40px; }
  .logo .sub { font-size: 8px; }
  .header-icons .hide-sm { display: none; }
  .hero { min-height: 580px; }
  .hero .ph-note { left: 20px; right: 20px; top: 16px; text-align: left; max-width: none; }
  .hero .inner { padding-bottom: 40px; }
  .hero p.lead { font-size: 15px; margin: 16px 0 24px; }
  .hero .btn-row .btn { width: 100%; }
  .scroller { grid-auto-columns: 240px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .scroller > * { scroll-snap-align: start; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .pdp .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; gap: 0; scrollbar-width: none; }
  .pdp .gallery > * { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 4; }
  .line-items .thumb { flex-basis: 84px; }
  .progress { grid-template-columns: 1fr; gap: 0; }
  .progress li { flex-direction: row; gap: 14px; }
  .progress .track { flex-direction: column; align-self: stretch; }
  .progress .bar { width: 2px; height: auto; min-height: 28px; }
  .progress .label { padding-bottom: 18px; }
  .legal .toc { position: static; }
  .mobile-sticky { position: sticky; bottom: 0; background: var(--ground); border-top: 1px solid var(--stone); padding: 12px 20px 16px; margin: 0 -20px; }
}

/* ===== Richer look: illustrations, arches, the Linea line ===== */
:root { --oat: #D9CDB8; --oat-light: #EFE8DC; }
.h1 em, .h2 em { font-style: italic; }
.h2 em { color: var(--accent); }
.band-accent .h2 em, .hero .h1 em { color: var(--oat); }

/* Illustrated stand-ins for photos */
.ph.art { padding: 0; font-size: 0; overflow: hidden; position: relative; align-items: stretch; }
.ph.art svg { width: 100%; height: 100%; display: block; }
.arch { border-radius: 50% 50% 0 0 / 40% 40% 0 0; }

/* Product cards: second colourway on hover */
.card .media { overflow: hidden; }
.card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.card-art > svg { transition: transform .6s ease; }
.card:hover .card-alt, .card:focus-visible .card-alt { opacity: 1; }
.card:hover .card-art > svg { transform: scale(1.04); }

/* Hero */
.hero { background: var(--accent); min-height: 680px; overflow: hidden; align-items: stretch; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-top: 88px; padding-bottom: 88px; width: 100%; }
.hero .lead { margin: 24px 0 36px; font-size: 18px; max-width: 520px; color: #E6E0D6; }
.hero-arches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.hero-arches .arch { box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.hero-arches .a1 { aspect-ratio: 1 / 2.1; border-radius: 50% 50% 0 0 / 23.8% 23.8% 0 0; }
.hero-arches .a2 { aspect-ratio: 1 / 2.5; border-radius: 50% 50% 0 0 / 20% 20% 0 0; }
.hero-arches .a3 { aspect-ratio: 1 / 1.7; border-radius: 50% 50% 0 0 / 29.4% 29.4% 0 0; }

/* Moving promise strip */
.marquee { background: var(--ink); color: var(--oat); overflow: hidden; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 18px 0; animation: marquee 50s linear infinite; font-family: var(--serif); font-style: italic; font-size: 22px; white-space: nowrap; }
.marquee-track svg { width: 56px; height: 12px; flex: 0 0 auto; opacity: .7; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Numbers, rules and bands */
.num { display: block; font-variant-numeric: lining-nums; font-family: var(--serif); font-style: italic; font-size: 60px; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.promises .h3 { margin-bottom: 8px; }
.story-num { font-variant-numeric: lining-nums; font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); min-width: 64px; }
.wave-rule { display: flex; align-items: center; gap: 14px; }
.wave-rule::before { content: ''; width: 64px; height: 14px; flex: 0 0 auto; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%2024%22%3E%3Cpath%20d%3D%22M0%2012H44c5%200%206-8%2011-8s5%2016%2010%2016%205-8%2010-8H120%22%20fill%3D%22none%22%20stroke%3D%22%235E5A53%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") no-repeat center / contain; }
.band-accent .wave-rule::before, .hero .wave-rule::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%2024%22%3E%3Cpath%20d%3D%22M0%2012H44c5%200%206-8%2011-8s5%2016%2010%2016%205-8%2010-8H120%22%20fill%3D%22none%22%20stroke%3D%22%23DCE3DD%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E"); }
.band-oat { background: var(--oat-light); }
.lined { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20900%20200%22%3E%3Cpath%20d%3D%22M0%20100H380c30%200%2034-56%2064-56s30%20112%2060%20112%2030-56%2060-56H900%22%20fill%3D%22none%22%20stroke%3D%22rgba%28220%2C227%2C221%2C0.22%29%22%20stroke-width%3D%221.5%22/%3E%3Cpath%20d%3D%22M0%20140H420c30%200%2034-56%2064-56s30%20112%2060%20112%2030-56%2060-56H900%22%20fill%3D%22none%22%20stroke%3D%22rgba%28220%2C227%2C221%2C0.1%29%22%20stroke-width%3D%221%22/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right -120px center; background-size: 980px auto; }

@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 44px; }
  .hero .lead { font-size: 15px; margin: 16px 0 24px; }
  .hero-arches { gap: 10px; max-width: 360px; }
  .marquee-track { font-size: 18px; padding: 14px 0; }
  .num { font-size: 48px; }
  .story-num { font-size: 32px; min-width: 48px; }
}
.band-accent .btn-light, .hero .btn-light { color: var(--ink); }
@media (max-width: 760px) {
  .lined { background-position: right -260px bottom -70px; background-size: 760px auto; }
}
@media (max-width: 760px) { .hero-lines { display: none; } }

/* Line drawings (assets/img/art) */
.figure { padding: 0; overflow: hidden; align-items: stretch; }
.figure img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 18% 0 4%; transform: scale(1.12); transform-origin: center bottom; }
.testers-art { flex: 0 1 340px; min-width: 0; max-width: 340px; width: 100%; height: auto; margin: -40px 0 -88px auto; }
.login-art { position: relative; overflow: hidden; }
.login-art > div { position: relative; z-index: 1; }
.login-figure { position: absolute; right: -40px; bottom: 0; height: 88%; width: auto; opacity: .5; pointer-events: none; }
.login-figure.login-mark { height: auto; width: min(78%, 560px); right: -8%; bottom: -6%; opacity: .07; }
@media (max-width: 760px) {
  .testers-art { flex-basis: 100%; max-width: 260px; margin: 0 auto -56px; }
  .login-figure { height: 70%; right: -70px; opacity: .3; }
  .login-figure.login-mark { height: auto; width: 90%; right: -20%; opacity: .06; }
}

/* Real photos inside arches; white studio backgrounds blend into the section colour */
.photo { padding: 0; overflow: hidden; align-items: stretch; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; mix-blend-mode: multiply; }
.coming-form .input { background: #fff; border-color: var(--line); color: var(--ink); }
.launch-form { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.launch-pick { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--stone); }
.launch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.launch-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--sand); font-size: 14px; }

/* Product detail photos with write-ups (product page) */
.details-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.detail:last-child { margin-bottom: 0; }
.detail:nth-child(even) .d-img { order: 2; }
.d-img { aspect-ratio: 4 / 5; overflow: hidden; background: #EDE7DD; }
.d-img img { width: 100%; height: 100%; object-fit: cover; }
.d-num { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.d-text h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.1; margin: 10px 0 16px; }
.d-text h3 em { color: var(--accent); }
.d-text p { color: var(--body); max-width: 440px; }
.d-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--stone); max-width: 440px; }
.d-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--stone); font-size: 15px; }
.d-list .n { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--accent); color: var(--ground); font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.d-list b { font-weight: 500; display: block; }
.d-list .muted { font-size: 14px; }
@media (max-width: 760px) {
  .detail { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .detail:nth-child(even) .d-img { order: 0; }
  .d-text h3 { font-size: 30px; }
  .d-num { font-size: 48px; }
  .details-head { margin-bottom: 36px; }
}

/* Sizes open for pre-order */
.size.pre { border-style: dashed; border-color: var(--accent); }
.size.pre[aria-pressed="true"] { border-style: solid; }

/* Fabric story card (product page; edited under Fabrics in the admin) */
.fab { padding: 88px 0 96px; }
.fab-head { text-align: center; max-width: 640px; margin: 0 auto; }
.fab-pill { display: inline-block; padding: 6px 18px; border-radius: 999px; background: var(--accent); color: var(--ground); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 22px; }
.fab h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.fab h2 em { color: var(--accent); }
.fab-sub { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 14px 0 26px; }
.fab-copy { color: var(--body); font-size: 16px; line-height: 1.8; }
.fab-card { position: relative; margin: 56px auto 0; max-width: 1080px; border-radius: 24px; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; color: var(--ground); background-size: cover; background-position: center; }
.fab-card::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, rgba(0,0,0,.025) 2px 4px), radial-gradient(140% 22% at 50% 30%, rgba(255,255,255,.16), transparent 70%), radial-gradient(140% 20% at 50% 62%, rgba(0,0,0,.18), transparent 70%), radial-gradient(140% 18% at 50% 85%, rgba(255,255,255,.10), transparent 70%); }
.fab-card.has-photo::before { background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.12) 40%, rgba(0,0,0,.45)); }
.fab-card.tone-green { background-image: radial-gradient(120% 70% at 20% 10%, rgba(255,255,255,.22), transparent 60%), linear-gradient(160deg, #7E8B7F, #5C6B60 45%, #3F4C43); }
.fab-card.tone-stone { background-image: radial-gradient(120% 70% at 20% 10%, rgba(255,255,255,.22), transparent 60%), linear-gradient(160deg, #A9A49B, #8C877F 45%, #615D56); }
.fab-card.tone-oat { background-image: radial-gradient(120% 70% at 20% 10%, rgba(255,255,255,.3), transparent 60%), linear-gradient(160deg, #C9BCA5, #A99A80 45%, #7E705A); }
.fab-card.tone-black { background-image: radial-gradient(120% 70% at 20% 10%, rgba(255,255,255,.14), transparent 60%), linear-gradient(160deg, #4A4842, #2C2A26 45%, #161512); }
.fab-card.tone-brown { background-image: radial-gradient(120% 70% at 20% 10%, rgba(255,255,255,.18), transparent 60%), linear-gradient(160deg, #8A5E48, #6E4A3A 45%, #4A2F24); }
.fab-name { position: relative; font-family: var(--serif); font-size: clamp(40px, 6vw, 76px); line-height: 1; }
.fab-name small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-bottom: 12px; }
.fab-icons { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 40px; }
.fab-ic { text-align: center; }
.fab-ic .c { width: 96px; height: 96px; margin: 0 auto 14px; border: 1.5px solid rgba(245,242,236,.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(245,242,236,.06); }
.fab-ic svg { width: 52px; height: 52px; color: #F5F2EC; }
.fab-ic b { display: block; font-weight: 500; font-size: 16px; }
.fab-ic span { font-size: 13px; opacity: .85; }
.fab-facts { max-width: 1080px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--stone); border: 1px solid var(--stone); }
.fab-facts div { background: var(--ground); padding: 20px 22px; }
.fab-facts dt { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.fab-facts dd { margin: 6px 0 0; font-size: 18px; }
@media (max-width: 760px) {
  .fab { padding: 56px 0 64px; }
  .fab-card { padding: 28px 22px; min-height: 0; border-radius: 18px; }
  .fab-icons { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .fab-ic .c { width: 78px; height: 78px; }
  .fab-ic svg { width: 42px; height: 42px; }
}

/* Product photo viewer */
.pdp .gallery.gv-on { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; overflow: visible; margin: 0; }
.pdp .gallery.gv-on > * { flex: none; aspect-ratio: auto; }
.gv-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: none; }
.gv-thumb { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.gv-thumb[aria-selected="true"] { opacity: 1; border-color: var(--ink); }
.gv-thumb:hover { opacity: 1; }
.gv-mini { aspect-ratio: 4 / 5; width: 100%; padding: 0; overflow: hidden; background: #F3F0EA; }
.gv-mini img, .gv-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gv-main { position: relative; width: 100%; max-width: calc((100vh - 140px) * 0.8); }
.gv-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.gv-track::-webkit-scrollbar, .gv-thumbs::-webkit-scrollbar { display: none; }
.gv-slide { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; padding: 0; background: #F3F0EA; overflow: hidden; }
.gv-slide.art svg, .gv-mini.art svg { width: 100%; height: 100%; }
.gv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(245,242,236,.92); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.gv-arrow.prev { left: 12px; } .gv-arrow.next { right: 12px; }
.gv-arrow:disabled { opacity: 0; pointer-events: none; }
.gv-dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.gv-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: width .2s; }
.gv-dots span.on { width: 18px; border-radius: 3px; background: var(--ink); }
@media (min-width: 761px) { .pdp .info { position: sticky; top: 24px; } }
@media (max-width: 760px) {
  .pdp .gallery.gv-on { display: flex; flex-direction: column-reverse; gap: 12px; margin: 0 -20px; }
  .gv-main { max-width: none; }
  .gv-thumbs { flex-direction: row; max-height: none; overflow-x: auto; padding: 0 20px; }
  .gv-thumb { flex: 0 0 56px; }
  .gv-arrow { display: none; }
  .gv-dots { display: flex; }
}

/* Quiz: Find your Linea */
.quiz-intro .section { padding-top: 96px; padding-bottom: 104px; }
.quiz-body { max-width: 760px; padding-top: 56px; padding-bottom: 96px; min-height: 60vh; }
.quiz-progress { height: 3px; background: var(--stone); border-radius: 2px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.quiz-q .h2 { margin-bottom: 28px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-opt { text-align: left; min-height: 64px; padding: 16px 22px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 17px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.quiz-opt:hover { border-color: var(--ink); transform: translateX(4px); }
.quiz-opt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.quiz-nav { margin-top: 24px; }
.quiz-result .h1 { margin: 8px 0 18px; }
.quiz-lead { font-size: 19px; max-width: 640px; color: var(--body); }
.quiz-why { max-width: 640px; color: var(--muted); margin-top: 14px; }
.quiz-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin: 36px 0 12px; max-width: 760px; }
.quiz-colour { color: var(--accent); font-size: 15px; margin-bottom: 24px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0 40px; }
.quiz-email { border-top: 1px solid var(--line); padding-top: 28px; max-width: 520px; }
@media (max-width: 760px) {
  .quiz-intro .section { padding-top: 64px; padding-bottom: 72px; }
  .quiz-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .quiz-actions .btn { width: 100%; }
}

/* Brand logo (image) */
.logo.logo-img { display: inline-flex; line-height: 0; }
.logo.logo-img img { height: 58px; width: auto; display: block; }
.footer-logo img { height: 60px; }
@media (max-width: 760px) { .logo.logo-img img { height: 42px; } .footer-logo img { height: 46px; } }

/* ===== Design refresh: quieter luxury, matched to the logo ===== */
:root { --accent-soft: #DDE0D3; --olive-deep: #2F3428; }
body { background-color: var(--ground); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22220%22%20height%3D%22220%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%200.24%20%200%200%200%200%200.22%20%200%200%200%200%200.18%20%200%200%200%20.055%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); }
::selection { background: var(--accent); color: var(--ground); }

/* Type */
.h1 { font-weight: 300; letter-spacing: -0.01em; line-height: 1.02; }
.h2 { font-weight: 300; letter-spacing: -0.005em; }
.h3 { font-weight: 400; }
.h1 em, .h2 em { font-weight: 300; }
.eyebrow { font-size: 11px; letter-spacing: 0.32em; font-weight: 500; }

/* Buttons: fine lines, spaced capitals, a soft fill on hover */
.btn { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; min-height: 50px; padding: 0 30px; border-radius: 0; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.btn:not(.btn-primary):not(.btn-light):not(.btn-outline-light):hover { background: var(--ink); color: var(--ground); }
.btn-light:hover { background: transparent; color: var(--ground); border-color: var(--ground); }
.btn-outline-light:hover { background: var(--ground); color: var(--ink); }
.admin .btn { text-transform: none; letter-spacing: .04em; font-size: 14px; }

/* Announcement + header */
.announce { background: var(--olive-deep); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; padding: 9px 16px; }
.site-header { position: sticky; top: 0; background: rgba(245,242,236,.86); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom-color: rgba(207,200,188,.6); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(31,30,27,.35); }
.site-header .bar { transition: padding .3s ease; }
.site-header.scrolled .bar { padding-top: 8px; padding-bottom: 8px; }
.site-header.scrolled .logo.logo-img img { height: 46px; }
.logo.logo-img img { transition: height .3s ease; }
.main-nav { gap: 30px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.main-nav a { position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { text-decoration: none; }

/* Cards and images */
.card .media { border-radius: 2px; }
.card .ph img, .card-art > svg { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph img { transform: scale(1.045); }
.card .tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: rgba(245,242,236,.9); }
.card .row > div:first-child > div:last-child { font-family: var(--serif); font-size: 21px !important; line-height: 1.15; }
.code { font-size: 10px; letter-spacing: .28em; }

/* Bands and footer */
.band-accent { background: var(--accent); }
.site-footer { background: var(--olive-deep); position: relative; overflow: hidden; }
.site-footer::after { content: 'LINEA'; position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%); font-family: var(--serif); font-weight: 300; font-size: clamp(120px, 22vw, 340px); letter-spacing: .12em; color: rgba(245,242,236,.04); pointer-events: none; white-space: nowrap; line-height: 1; }
.site-footer .top, .site-footer .bottom { position: relative; z-index: 1; }
.site-footer .bottom { border-top-color: rgba(245,242,236,.12); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer .links { font-size: 13px; letter-spacing: .04em; }

/* Quiet entrance as sections scroll into view */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card:hover .ph img { transform: none; } }

@media (max-width: 760px) {
  .main-nav { letter-spacing: .18em; }
  .site-header.scrolled .logo.logo-img img { height: 36px; }
  .btn { font-size: 11.5px; }
}

/* ===== Leaf & line: the sweep of the L in the logo, used as the site's motif ===== */
:root { --accent: #3E422E; --olive-deep: #24271B; --dark: #2C3022; --sage: #8E9373; --sage-light: #C3C7A8; --accent-soft: #DCDFCF; }
.btn-primary:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.wave-rule::before { width: 58px; height: 12px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20120%2024%22%3E%3Cpath%20d=%22M2%2020C36%2023%2072%2011%20118%203C74%2014%2038%2025%202%2020Z%22%20fill=%22%236F7457%22/%3E%3Cpath%20d=%22M44%205C62%207%2076%2013%2092%2021C74%2016%2060%2010%2044%205Z%22%20fill=%22%236F7457%22%20opacity=%22.55%22/%3E%3C/svg%3E"); }
.band-accent .wave-rule::before, .hero .wave-rule::before, .brand-band .wave-rule::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20120%2024%22%3E%3Cpath%20d=%22M2%2020C36%2023%2072%2011%20118%203C74%2014%2038%2025%202%2020Z%22%20fill=%22%23C3C7A8%22/%3E%3Cpath%20d=%22M44%205C62%207%2076%2013%2092%2021C74%2016%2060%2010%2044%205Z%22%20fill=%22%23C3C7A8%22%20opacity=%22.55%22/%3E%3C/svg%3E"); }
.lined { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20900%20300%22%3E%3Cpath%20d=%22M0%20290C240%20300%20520%20190%20900%2070C560%20210%20270%20318%200%20300Z%22%20fill=%22%23F5F1EC%22%20opacity=%220.1%22/%3E%3Cpath%20d=%22M260%20330C440%20250%20640%20200%20900%20196C660%20222%20460%20270%20260%20330Z%22%20fill=%22%23F5F1EC%22%20opacity=%220.060%22/%3E%3C/svg%3E"); background-position: right -40px bottom -10px; background-size: 900px auto; }
.eyebrow { font-weight: 400; letter-spacing: .34em; }
.h1 em, .h2 em { color: var(--accent); }
.band-accent .h2 em, .band-accent .h1 em, .hero .h1 em, .brand-band em { color: var(--sage-light); }

/* Hero: deep moss, like the draped fabric behind the logo, with the L drawn large and faint */
.hero { background: radial-gradient(120% 90% at 85% 10%, rgba(195,199,168,.13), transparent 55%), radial-gradient(80% 70% at 0% 100%, rgba(0,0,0,.28), transparent 60%), linear-gradient(165deg, #343A27 0%, #282C1E 55%, #1F2217 100%); }
.hero::before { content: ''; position: absolute; left: -6%; bottom: -14%; width: min(62vw, 820px); aspect-ratio: 837 / 615; background: url("/assets/img/brand/logo-icon-cream.png") no-repeat center / contain; opacity: .05; pointer-events: none; }
.hero-lines path { stroke: none; }
.hero-lines .leaf { fill: rgba(245,241,236,.07); }
.hero-lines .leaf.thin { fill: rgba(195,199,168,.10); }
.hero .eyebrow { color: var(--sage-light) !important; }

/* The promise strip: leaves between the words */
.marquee { background: var(--olive-deep); color: #E9E4D8; border-top: 1px solid rgba(245,241,236,.06); }
.marquee-track svg { width: 46px; height: 10px; opacity: .55; color: var(--sage-light); }

/* Numbers on the promises sit on a small leaf */
.promises .num { position: relative; padding-bottom: 14px; display: inline-block; }
.promises .num::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 10px; background: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20120%2024%22%3E%3Cpath%20d=%22M2%2020C36%2023%2072%2011%20118%203C74%2014%2038%2025%202%2020Z%22%20fill=%22%238E9373%22/%3E%3Cpath%20d=%22M44%205C62%207%2076%2013%2092%2021C74%2016%2060%2010%2044%205Z%22%20fill=%22%238E9373%22%20opacity=%22.55%22/%3E%3C/svg%3E") no-repeat left center / contain; }

/* Brand moment: the logo on draped fabric */
.brand-band { position: relative; color: #F5F1EC; background: #191A0F; overflow: hidden; }
.brand-band picture, .brand-band img { display: block; width: 100%; }
.brand-band img { height: auto; aspect-ratio: 16 / 9; max-height: 760px; object-fit: cover; object-position: center 42%; }
.brand-band .caption { position: relative; margin-top: -1px; padding: 8px 24px 72px; text-align: center; }
.brand-band .caption p { max-width: 560px; margin: 0 auto; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; color: #E9E4D8; }
.brand-band .caption .eyebrow { font-family: var(--sans); font-style: normal; font-size: 11px; color: var(--sage-light); margin-bottom: 12px; justify-content: center; }
@media (max-width: 760px) {
  .brand-band img { aspect-ratio: 1 / 1; }
  .brand-band .caption { padding-bottom: 48px; }
  .hero::before { width: 120vw; left: -30%; bottom: -6%; }
}

/* Footer: the L, faint, in place of the word */
.site-footer { background: radial-gradient(90% 120% at 100% 100%, rgba(195,199,168,.08), transparent 60%), var(--olive-deep); }
.site-footer::after { content: ''; left: auto; right: -4%; bottom: -12%; transform: none; width: min(56vw, 640px); aspect-ratio: 837 / 615; background: url("/assets/img/brand/logo-icon-cream.png") no-repeat center / contain; opacity: .045; font-size: 0; }
.brand-band picture { position: relative; }
.brand-band picture::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(to top, #191A0F, transparent); pointer-events: none; }

/* Language controls remain reachable on desktop and mobile. */
.language-switch{display:flex;justify-content:flex-end;align-items:center;gap:4px;padding:4px max(16px,calc((100vw - 1280px)/2));background:var(--oat,#f5f2ec);border-bottom:1px solid var(--stone,#d9d2c6);position:relative;z-index:30}
.language-switch button{font:inherit;font-size:13px;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--ink,#34372e);cursor:pointer}
.language-switch button[aria-pressed="true"]{border-color:currentColor;font-weight:600}
.language-switch button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
html[lang="zh-Hans"] body{font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}
/* Editorial Chinese titles: heavy Songti, with a webfont fallback across devices. */
html[lang="zh-Hans"] :is(h1,h2,h3,h4,.h1,.h2,.h3,.serif){font-family:"Songti SC","Noto Serif SC","STSong",serif!important;font-weight:900;line-height:1.5;letter-spacing:0}
html[lang="zh-Hans"] :is(h1,h2,h3,h4,.h1,.h2,.h3,.serif) em{font-style:normal;font-weight:inherit}
html[lang="zh-Hans"] .eyebrow{letter-spacing:.08em}
[hidden]{display:none!important}

/* Language toggle, beside the header icons */
.language-toggle { min-width: 44px; height: 44px; padding: 0 8px; border: 0; background: none; color: var(--ink); font-family: var(--sans); font-size: 12px; letter-spacing: .12em; cursor: pointer; }
.language-toggle:hover { color: var(--accent); }
.language-toggle:lang(zh-Hans) { letter-spacing: .04em; font-size: 13px; }

[data-contact-form] { scroll-margin-top: 110px; }
