/* ==========================================================================
   Krish Impex — design system
   Paper & ink, oxblood and brass as accents. Instrument Serif / Manrope.
   Deliberately few components: hero, statement, figures, brand cards, split, form.
   ========================================================================== */

:root {
  --ink: #181b1a;
  --ink-2: #212524;
  --paper: #f5f1e9;
  --paper-2: #ece6db;
  --paper-3: #e3dbcd;
  --stone: #b7aa9b;
  --stone-ink: #6b6258;          /* stone, darkened for text on paper (AA) */
  --oxblood: #692c2c;
  --brass: #a88c61;
  --brass-light: #c4ab80;        /* brass for small text on ink (AA) */

  --rule: rgba(24, 27, 26, .14);
  --rule-strong: rgba(24, 27, 26, .45);
  --rule-light: rgba(245, 241, 233, .18);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --jp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --gutter: clamp(1.1rem, 4.5vw, 4rem);
  --max: 1400px;
  --gap: clamp(1rem, 2.4vw, 2.5rem);
  --section: clamp(6rem, 4rem + 8vw, 12rem);
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-cloth: cubic-bezier(.7, 0, .2, 1);
}
@media (max-width: 899px) { :root { --header-h: 68px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 400 1rem/1.7 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
sup { font-size: .45em; line-height: 0; vertical-align: 1em; margin-left: .06em; font-family: var(--sans); }
::selection { background: var(--oxblood); color: var(--paper); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }
.on-ink :focus-visible, .site-footer :focus-visible, .menu :focus-visible, .hero :focus-visible, .site-header.is-over-dark :focus-visible { outline-color: var(--brass-light); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 200; padding: .8rem 1.1rem; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .85rem; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* Pages without a dark hero start below the fixed header */
.page { padding-top: var(--header-h); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-paper-2 { background: var(--paper-2); }

/* ---------- typography ---------- */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 1.1rem + 6.2vw, 7.6rem); line-height: .94; letter-spacing: -.022em; }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem); line-height: 1; letter-spacing: -.018em; }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.7rem); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
.display em, .title em, .statement em { font-style: italic; color: var(--oxblood); }
.on-ink .display em, .on-ink .title em, .on-ink .statement em, .hero em { color: var(--stone); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.4rem); line-height: 1.05; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); line-height: 1.6; color: rgba(24, 27, 26, .78); max-width: 34em; text-wrap: pretty; }
.body { color: rgba(24, 27, 26, .76); max-width: 36em; text-wrap: pretty; }
.body + .body { margin-top: 1.1em; }
.on-ink .lede, .on-ink .body { color: rgba(245, 241, 233, .76); }
.label { display: inline-block; font: 600 .7rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone-ink); }
.on-ink .label { color: var(--brass-light); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.rule-top { border-top: 1px solid var(--rule); }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .95rem;
  min-height: 3.3rem; padding: 0 1.6rem;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 600 .74rem/1 var(--sans); letter-spacing: .17em; text-transform: uppercase;
  cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--oxblood); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-cloth); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { --bd: var(--oxblood); --fg: var(--paper); }
.btn__thread { width: 1.6rem; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.btn:hover .btn__thread { width: 2.6rem; }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--rule-strong); }

.link {
  display: inline-flex; align-items: center; gap: .75rem; padding-block: .5rem;
  font: 600 .74rem/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-cloth);
}
.link::after { content: ""; width: 1.4rem; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.link:hover { background-size: 0 1px; background-position: right bottom; }
.link:hover::after { width: 2.4rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.text-link { background: linear-gradient(currentColor, currentColor) left 92% / 100% 1px no-repeat; transition: background-size .45s var(--ease-cloth), color .3s; }
.text-link:hover { background-size: 0 1px; background-position: right 92%; }

/* ---------- header: transparent over dark heroes, solid elsewhere, tucks away while reading ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  color: var(--ink);
  background: rgba(245, 241, 233, .92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
  transition: transform .5s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.site-header.is-over-dark { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--paper); border-bottom-color: transparent; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex-direction: column; gap: .32rem; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.01em; }
.brand__meta { font: 600 .55rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; opacity: .7; }
.nav { display: flex; align-items: center; gap: clamp(1.6rem, 3vw, 3rem); }
.nav__link { position: relative; padding-block: .5rem; font: 500 .9rem/1 var(--sans); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-cloth); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 2.75rem; padding: 0 1.3rem; }
.is-over-dark .nav__cta { --bg: transparent; --fg: var(--paper); --bd: rgba(245, 241, 233, .55); }
.menu-toggle { display: none; align-items: center; gap: .8rem; padding: .7rem 0 .7rem .7rem; background: none; border: 0; cursor: pointer; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.menu-toggle__lines { position: relative; width: 26px; height: 9px; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-cloth), width .4s var(--ease); }
.menu-toggle__lines::before { top: 0; width: 100%; }
.menu-toggle__lines::after { bottom: 0; width: 65%; }
@media (max-width: 899px) { .nav { display: none; } .menu-toggle { display: inline-flex; } }

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .75s var(--ease-cloth), visibility 0s linear .75s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .75s var(--ease-cloth), visibility 0s; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu__close .menu-toggle__lines::before { top: 4px; transform: rotate(18deg); }
.menu__close .menu-toggle__lines::after { bottom: 3.5px; width: 100%; transform: rotate(-18deg); }
.menu__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(2rem, 8vh, 4rem) 2rem; overflow-y: auto; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--rule-light); }
.menu__list a { display: block; padding-block: 1rem; font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1; transform: translateY(105%); transition: transform .8s var(--ease) calc(.18s + var(--i) * 60ms); }
.menu.is-open .menu__list a { transform: none; }
.menu__list a[aria-current="page"] { font-style: italic; color: var(--stone); }
.menu__foot { display: grid; gap: 1rem; margin-top: 2.5rem; font-size: .95rem; color: rgba(245, 241, 233, .76); }
html.menu-open { overflow: hidden; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.lines .line { display: block; overflow: hidden; padding: 0 .06em .1em 0; margin-bottom: -.1em; }
.lines .line > span { display: inline-block; }
.js .lines .line > span { transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease) calc(var(--d, 0ms) + var(--l, 0) * 110ms); }
.js .lines.is-in .line > span { transform: none; }

/* Weft reveal — images uncover in horizontal bands, alternating direction like a shuttle */
.weft { position: relative; overflow: hidden; background: var(--paper-3); }
.weft > img { width: 100%; height: 100%; object-fit: cover; }
.js .weft > img { transform: scale(1.06); transition: transform 2.2s var(--ease) .15s; }
.js .weft.is-in > img { transform: none; }
.weft__bars { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; pointer-events: none; }
.weft__bars span { flex: 1; background: var(--weft-bg, var(--paper)); box-shadow: 0 0 0 1px var(--weft-bg, var(--paper)); transform-origin: right center; transition: transform .95s var(--ease-cloth) calc(var(--i) * 55ms); }
.weft__bars span:nth-child(even) { transform-origin: left center; }
.weft.is-in .weft__bars span { transform: scaleX(0); }
.on-ink .weft, .hero .weft { --weft-bg: var(--ink); background: var(--ink-2); }
.on-paper-2 .weft { --weft-bg: var(--paper-2); }

/* Smooth cross-page fades where supported */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .lines .line > span, .js .weft > img { opacity: 1; transform: none; }
  .weft__bars { display: none; }
  @view-transition { navigation: none; }
}

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media .weft { height: 100%; }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(24, 27, 26, .86) 0%, rgba(24, 27, 26, .55) 45%, rgba(24, 27, 26, .15) 100%), linear-gradient(0deg, rgba(24, 27, 26, .7) 0%, rgba(24, 27, 26, 0) 45%); }
.hero__content { position: relative; z-index: 4; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero .label { color: var(--brass-light); margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.hero__title { max-width: 11em; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.hero__title .line:nth-child(n+3) { font-style: italic; color: var(--stone); }
.hero__lede { color: rgba(245, 241, 233, .82); max-width: 30em; margin-bottom: 2.4rem; }
.hero .link { color: var(--paper); }
.hero__cue { position: absolute; right: var(--gutter); bottom: clamp(3rem, 8vh, 6rem); z-index: 4; display: flex; align-items: center; gap: 1rem; font: 600 .62rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(245, 241, 233, .7); writing-mode: vertical-rl; }
.hero__cue::after { content: ""; width: 1px; height: 4.5rem; background: linear-gradient(rgba(245, 241, 233, .7), rgba(245, 241, 233, .7)) 0 0 / 100% 40% no-repeat, rgba(245, 241, 233, .2); }
@media (prefers-reduced-motion: no-preference) { .hero__cue::after { animation: cue 2.4s var(--ease-cloth) infinite; } }
@keyframes cue { from { background-position: 0 -40%; } to { background-position: 0 160%; } }
@media (max-width: 759px) { .hero__cue { display: none; } .hero__media::after { background: linear-gradient(0deg, rgba(24, 27, 26, .95) 0%, rgba(24, 27, 26, .82) 60%, rgba(24, 27, 26, .45) 100%); } }

/* Intro statement + figures */
.intro__statement { max-width: 22em; }
.intro__foot { display: flex; justify-content: flex-end; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--rule-strong); }
.figure { padding: 1.8rem 1.5rem 0 0; }
.figure + .figure { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--rule); }
.figure__value { display: block; font-family: var(--serif); font-size: clamp(3.2rem, 2rem + 3.4vw, 5.8rem); line-height: .95; letter-spacing: -.02em; white-space: nowrap; }
.figure__value i { font-style: italic; color: var(--oxblood); }
.figure__label { display: block; margin-top: .9rem; font-size: .92rem; line-height: 1.5; color: rgba(24, 27, 26, .7); }
@media (max-width: 899px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n+3) { margin-top: 1.6rem; border-top: 1px solid var(--rule); }
}

/* Japan */
.japan { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.japan__glyph { grid-column: 1 / span 2; writing-mode: vertical-rl; font-family: var(--jp); font-size: clamp(3.4rem, 2rem + 4.6vw, 7rem); line-height: 1; letter-spacing: .14em; color: var(--stone); }
.japan__text { grid-column: 4 / span 7; }
.japan__text .title { margin: 1.4rem 0 1.6rem; }
.mills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid rgba(245, 241, 233, .4); }
.mill { position: relative; padding: 1.8rem 1rem 0 0; }
.mill + .mill { padding-left: clamp(1rem, 2.5vw, 2.4rem); border-left: 1px solid var(--rule-light); }
.mill__name { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3vw, 5rem); line-height: 1; letter-spacing: -.01em; transition: color .4s; }
.mill .label { display: block; margin-top: .9rem; }
.mill::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-cloth); }
.mill:hover::before { transform: scaleX(1); }
.mill:hover .mill__name { color: var(--brass-light); }
.japan__also { margin-top: clamp(2.4rem, 4vw, 3.2rem); font-size: .95rem; color: rgba(245, 241, 233, .62); max-width: 44em; }
@media (max-width: 899px) {
  .japan__glyph { grid-column: 1 / span 3; }
  .japan__text { grid-column: 4 / -1; }
}
@media (max-width: 599px) {
  .japan__glyph { grid-column: 1 / -1; writing-mode: horizontal-tb; font-size: 3.2rem; margin-bottom: 1.4rem; }
  .japan__text { grid-column: 1 / -1; }
  .mills { grid-template-columns: 1fr; }
  .mill + .mill { padding-left: 0; border-left: 0; margin-top: 1.4rem; border-top: 1px solid var(--rule-light); }
}

/* Section head (title left, short text right) */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.head .title { grid-column: 1 / span 7; }
.head .body { grid-column: 9 / -1; }
.head .label { grid-column: 1 / -1; margin-bottom: 1.4rem; }
@media (max-width: 899px) { .head .title, .head .body { grid-column: 1 / -1; } .head .body { margin-top: 1.4rem; } }

/* Brand cards */
.brand-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.brand-card { position: relative; display: block; }
.brand-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.brand-card__media > img { transition: transform 1.6s var(--ease); }
.brand-card:hover .brand-card__media > img { transform: scale(1.05); }
.brand-card__label { position: absolute; left: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 3; transition: transform .6s var(--ease); }
.brand-card:hover .brand-card__label { transform: translateY(-6px) rotate(-1.2deg); }
.brand-card__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); margin-top: 1.4rem; }
.brand-card__name { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); line-height: 1; }
.brand-card__desc { margin-top: .6rem; color: rgba(24, 27, 26, .72); font-size: .98rem; }
.brand-card__arrow { flex: none; width: 3rem; height: 3rem; border: 1px solid var(--rule-strong); border-radius: 50%; display: grid; place-items: center; transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.brand-card__arrow svg { width: 14px; height: 14px; }
.brand-card:hover .brand-card__arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateX(4px); }
@media (max-width: 759px) { .brand-cards { grid-template-columns: 1fr; row-gap: 3.5rem; } .brand-card__media { aspect-ratio: 4 / 4.2; } }

/* Stitched brand label */
.woven-label {
  position: relative; display: grid; justify-items: center; gap: .8rem;
  width: clamp(11rem, 15vw, 13.5rem); padding: 1.8rem 1.3rem 1.4rem;
  background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  transform: rotate(-1.2deg);
}
.woven-label::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(105, 44, 44, .55); pointer-events: none; }
.woven-label img { width: 74%; }
.woven-label__name { font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.woven-label__name sup { font-size: .3em; vertical-align: 2em; }
.woven-label__line { width: 2.2rem; height: 1px; background: var(--rule-strong); }
.woven-label__meta { font: 600 .55rem/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--stone-ink); }
.woven-label--alt { background: var(--paper-2); transform: rotate(1.4deg); }
.woven-label--alt::before { border-color: rgba(24, 27, 26, .3); }

/* Worn across India */
.worn { text-align: center; }
.worn .statement { max-width: 20em; margin-inline: auto; }
.worn .body { margin: 1.8rem auto 0; text-align: center; }
.worn__mark { display: block; width: 1px; height: 4rem; margin: 0 auto 2.6rem; background: var(--brass); }

/* Closing */
.closing__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.closing__title { grid-column: 1 / span 8; }
.closing__aside { grid-column: 9 / -1; display: grid; gap: 1.6rem; justify-items: start; }
.closing__contact { display: grid; gap: .3rem; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.85rem); line-height: 1.25; }
.closing__contact a { justify-self: start; }
@media (max-width: 1099px) { .closing__title, .closing__aside { grid-column: 1 / -1; } .closing__aside { margin-top: 2.6rem; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.page-hero .label { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.page-hero .display { font-size: clamp(2.9rem, 1.1rem + 5.4vw, 6.8rem); max-width: 12em; }
.page-hero .lede { margin-top: clamp(1.8rem, 3.5vw, 2.8rem); }

.bleed .weft { aspect-ratio: 21 / 9; min-height: 280px; }
@media (max-width: 759px) { .bleed .weft { aspect-ratio: 4 / 3; } }

/* Two-column story */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.story__lead { grid-column: 1 / span 5; }
.story__body { grid-column: 7 / -1; }
.story__body .lede { margin-bottom: 1.4rem; }
@media (max-width: 899px) { .story__lead, .story__body { grid-column: 1 / -1; } .story__body { margin-top: 2rem; } }

/* People */
.people { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); }
.person { padding: 2rem clamp(1rem, 3vw, 3rem) 0 0; }
.person + .person { padding-left: clamp(1rem, 3vw, 3rem); border-left: 1px solid var(--rule); }
.person .label { display: block; margin-bottom: 1rem; }
.person__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.6rem); line-height: 1; }
.team-note { margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--rule); }
@media (max-width: 759px) { .people { grid-template-columns: 1fr; } .person + .person { padding-left: 0; border-left: 0; margin-top: 2rem; border-top: 1px solid var(--rule); } }

/* Band CTA */
.band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-top: clamp(2.6rem, 5vw, 4rem); border-top: 1px solid var(--rule-strong); }

/* Brands page */
.brands-hero { padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem)); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.brands-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.brands-hero__text { grid-column: 1 / span 7; }
.brands-hero__text .label { margin-bottom: 1.8rem; }
.brands-hero__text .lede { margin-top: 2rem; }
.brands-hero__labels { grid-column: 9 / -1; justify-self: end; display: flex; align-items: flex-end; isolation: isolate; }
.brands-hero__labels .woven-label + .woven-label { margin-left: -1.4rem; margin-bottom: -2rem; z-index: -1; }
@media (max-width: 899px) { .brands-hero__text, .brands-hero__labels { grid-column: 1 / -1; justify-self: start; } .brands-hero__labels { margin: 3rem 0 2.4rem; } }

.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.feature__media { grid-column: 1 / span 6; }
.feature__media .weft { aspect-ratio: 4 / 5; }
.feature__text { grid-column: 8 / -1; }
.feature__text .title { margin: 1.4rem 0 1.6rem; }
.feature__text .actions { margin-top: 2.2rem; }
.feature__logo { width: 150px; margin-bottom: .4rem; }
.feature--flip .feature__media { grid-column: 7 / -1; grid-row: 1; }
.feature--flip .feature__text { grid-column: 1 / span 5; grid-row: 1; }
.feature + .feature { margin-top: var(--section); }
@media (max-width: 899px) {
  .feature__media, .feature__text, .feature--flip .feature__media, .feature--flip .feature__text { grid-column: 1 / -1; grid-row: auto; }
  .feature__text { margin-top: 2.6rem; }
  .feature__media .weft { aspect-ratio: 4 / 3.4; }
}

/* Weave viewer: one large pinked swatch, tabs to switch */
.viewer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.viewer__stage { grid-column: 1 / span 6; position: relative; aspect-ratio: 1; background: var(--paper-3);
  --z: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--z) * 2) 51% repeat-x;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--z) * 2) 51% repeat-x;
}
.viewer__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.viewer__stage img.is-leaving { opacity: 0; transform: scale(1.03); }
.viewer__side { grid-column: 8 / -1; }
.viewer__tabs { display: grid; border-top: 1px solid var(--rule-strong); margin-top: 2.4rem; }
.viewer__tab {
  display: flex; align-items: baseline; gap: 1.2rem; width: 100%; padding: 1rem 0; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--rule); cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + .9vw, 2.1rem); line-height: 1.1; color: rgba(24, 27, 26, .45);
  transition: color .35s, padding-left .5s var(--ease);
}
.viewer__tab span { font: 500 .7rem/1 var(--sans); letter-spacing: .18em; color: var(--stone-ink); }
.viewer__tab:hover { color: var(--ink); }
.viewer__tab[aria-selected="true"] { color: var(--ink); padding-left: .9rem; font-style: italic; }
.viewer__tab[aria-selected="true"] span { color: var(--oxblood); }
.viewer__desc { min-height: 3.4em; margin-top: 1.6rem; }
.viewer__note { margin-top: 1rem; font-size: .78rem; color: var(--stone-ink); }
@media (max-width: 899px) { .viewer__stage, .viewer__side { grid-column: 1 / -1; } .viewer__side { margin-top: 2.6rem; } }

/* Contact */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.contact__details { grid-column: 1 / span 4; }
.contact__form { grid-column: 6 / -1; }
.detail { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.detail:first-child { border-top-color: var(--rule-strong); }
.detail .label { display: block; margin-bottom: .7rem; }
.detail__value { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .5vw, 1.75rem); line-height: 1.3; display: grid; justify-items: start; }
.detail .link { margin-top: 1rem; }
@media (max-width: 899px) { .contact__details, .contact__form { grid-column: 1 / -1; } .contact__form { margin-top: 4rem; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem var(--gap); padding: clamp(1.6rem, 4vw, 3rem); background: var(--paper-2); }
.form__intro { grid-column: 1 / -1; }
.form__intro .h3 { margin-bottom: .6rem; }
.field { display: grid; gap: .55rem; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .68rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--stone-ink); }
.field .opt { font-weight: 500; letter-spacing: .06em; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; padding: .7rem 0 .8rem; background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; font-size: 1.05rem; line-height: 1.5; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.field textarea { min-height: 8rem; resize: vertical; }
.field select { cursor: pointer; padding-right: 2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23181b1a' stroke-width='1.2'/%3E%3C/svg%3E") right .2rem center / 12px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--oxblood); box-shadow: 0 1px 0 var(--oxblood); }
.field:focus-within label { color: var(--oxblood); }
.field [aria-invalid="true"] { border-bottom-color: #a3302b; }
.field__error { font-size: .8rem; color: #a3302b; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.form__note { font-size: .82rem; color: var(--stone-ink); }
.form__status { grid-column: 1 / -1; padding: 1.2rem 1.4rem; border-left: 2px solid var(--oxblood); background: var(--paper); font-size: .95rem; }
.form__status[hidden] { display: none; }
.form__status--ok { border-left-color: #4d6b4a; }
.form__status strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin-bottom: .3rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 559px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(4rem, 8vw, 6.5rem) 2.2rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.6rem; }
.site-footer__brand { grid-column: 1 / span 6; }
.site-footer__brand .brand__name { display: block; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; }
.site-footer__brand p { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--stone); }
.site-footer__col { grid-column: span 3; font-size: .93rem; line-height: 1.8; color: rgba(245, 241, 233, .76); }
.site-footer__col .label { display: block; margin-bottom: 1rem; color: var(--brass-light); }
.site-footer__col a { color: var(--paper); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: 1.4rem; border-top: 1px solid var(--rule-light); font-size: .76rem; color: rgba(245, 241, 233, .55); }
@media (max-width: 899px) { .site-footer__brand { grid-column: 1 / -1; } .site-footer__col { grid-column: span 6; } }
@media (max-width: 499px) { .site-footer__col { grid-column: 1 / -1; } }

/* 404 / thank you */
.lost { min-height: 100svh; display: grid; align-items: center; padding-top: var(--header-h); }
.lost .display { margin: 1.6rem 0 1.8rem; }

@media print {
  .site-header, .menu, .weft__bars, .skip-link, .hero__cue { display: none !important; }
  .hero, .on-ink, .site-footer { background: #fff; color: #000; }
}
