/* =========================================================================
   Mello Leatherette Pvt. Ltd.
   Every colour, radius and softness value below is read from a custom
   property that script.js interpolates against scroll position ("The
   Softening"). The values declared on :root are the p = 0 state, so the
   page renders correctly and legibly even if JavaScript never runs.
   ========================================================================= */

:root {
  /* --- The Softening: interpolated by script.js --- */
  --bg: #E7E7E4;
  --fg: #141416;
  --muted: #6F706C;
  --line: rgba(20, 20, 22, 0.14);
  --radius: 0px;
  --soft: 0;
  --tracking: -0.035em;
  --logo-radius: 0%;
  --logo-rot: 0deg;
  --surface-mix: 55%;
  --surface-a: 0.55; /* plain-sRGB fallback, kept in step with --surface-mix */
  --surface: rgba(255, 255, 255, var(--surface-a));

  /* --- Footer: fixed, does not participate in the interpolation --- */
  --f-bg: #241610;
  --f-fg: #F2E8D8;
  --f-muted: #B9A28A;
  --f-line: rgba(242, 232, 216, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

@supports (background: color-mix(in oklab, red, white 50%)) {
  :root { --surface: color-mix(in oklab, var(--bg), white var(--surface-mix)); }
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 120ms linear, color 120ms linear;
}

::selection { background: var(--fg); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 12px 20px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* -------------------------------------------------------------- texture */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.045;
  background-image: var(--grain);
  background-repeat: repeat;
}

/* --------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(96px, 14vh, 180px); }

.rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 20px;
}

/* ----------------------------------------------------------- typography */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 7.2vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: var(--tracking);
  font-variation-settings: "opsz" 144, "SOFT" var(--soft), "WONK" 0;
  text-wrap: balance;
}

.display--h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  font-variation-settings: "opsz" 96, "SOFT" var(--soft), "WONK" 0;
}

.lead {
  font-weight: 300;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.45;
  max-width: 62ch;
}

p { max-width: 62ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  max-width: none;
}

.minihead {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.tlink {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 320ms var(--ease);
}
.tlink:hover { text-decoration-color: var(--fg); }

/* ----------------------------------------------------------------- logo */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

/* The mark and the footer lockup are alpha masks filled with the current text
   colour, so they invert with the nav instead of carrying a fixed gold. */
.logomark {
  width: 34px;
  height: 28px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("assets/mark.png") center / contain no-repeat;
  mask: url("assets/mark.png") center / contain no-repeat;
  align-self: center;
  margin-right: 12px;
}

.footer__lockup {
  display: block;
  width: 100%;
  max-width: 232px;
  aspect-ratio: 440 / 387;
  background: var(--gold, #D8B36A);
  -webkit-mask: url("assets/lockup.png") left center / contain no-repeat;
  mask: url("assets/lockup.png") left center / contain no-repeat;
}

/* Without mask support these would paint as solid blocks. */
@supports not ((-webkit-mask-image: url("assets/mark.png")) or (mask-image: url("assets/mark.png"))) {
  .logomark, .footer__lockup { display: none; }
}

.logo__word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36, "SOFT" var(--soft), "WONK" 0;
  line-height: 1;
}

.logo__sub {
  margin-left: 12px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  line-height: 1;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: 72px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 320ms var(--ease), background-color 120ms linear;
  scroll-margin-top: 0;
}
@supports (background: color-mix(in oklab, red 50%, transparent)) {
  .nav {
    background: color-mix(in oklab, var(--bg) 72%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
  }
}
.nav.is-stuck { border-bottom-color: var(--line); }

/* While the nav still sits over the dark hero it inverts to match it. */
.nav, .logo, .logo__word, .logo__sub, .logomark, .btn--nav {
  transition: color 260ms var(--ease), background-color 260ms var(--ease),
              border-color 260ms var(--ease);
}
html.is-hero .nav {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  color: #F2E7CE;
}
html.is-hero .logo__word { color: #F2E7CE; }
html.is-hero .logo__sub  { color: #B4C6B0; }
html.is-hero .logomark   { background: #D8B36A; }
html.is-hero .btn--nav {
  color: #F2E7CE;
  border-color: rgba(216, 179, 106, 0.45);
}
html.is-hero .btn--nav::before { background: #D8B36A; }
html.is-hero .btn--nav:hover   { color: #101E16; border-color: #D8B36A; }

.nav__inner {
  height: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* --------------------------------------------------------------- button */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  isolation: isolate;
  overflow: hidden;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border: 1px solid var(--fg);
  border-radius: var(--radius);
  transition: color 320ms var(--ease), background-color 320ms var(--ease),
              border-radius 120ms linear, transform 120ms var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__label, .btn__arrow { position: relative; }
.btn__arrow { transition: transform 320ms var(--ease); }

.btn--nav {
  height: 44px;
  padding: 0 20px;
  background: transparent;
  color: var(--fg);
  flex: none;
}
.btn--nav::before { background: var(--fg); }
.btn--nav:hover { color: var(--bg); }
.btn--nav:hover::before { transform: scaleX(1); }

.btn--section {
  height: 60px;
  padding: 0 32px;
  font-size: 1.0625rem;
  background: var(--fg);
  color: var(--bg);
}
.btn--section::before { background: var(--bg); }
.btn--section:hover { color: var(--fg); }
.btn--section:hover::before { transform: scaleX(1); }
.btn--section:hover .btn__arrow { transform: translateX(4px); }

.btn__label--short { display: none; }

/* ----------------------------------------------------------------- hero */
/* The hero is a fixed dark block like the footer — it opts out of the
   softening by redefining the same custom properties for its own subtree. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;

  --bg: #101E16;
  --fg: #F2E7CE;
  --muted: #B4C6B0;
  --line: rgba(216, 179, 106, 0.22);
  --gold: #D8B36A;
  --gold-lo: #C6A055;
  --gold-hi: #F7E8BC;

  background: #101E16;
  color: var(--fg);
}

/* Shown until WebGL confirms it can paint; also the permanent no-WebGL state. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 32% 38%, #1F3527 0%, #16281C 45%, #0C1711 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}
.hero__canvas.is-live { opacity: 1; }

/* Shadow pooled behind the type. The lit hide peaks around L≈0.12, which is too
   bright for the eyebrow and metarow to clear 4.5:1; this drops it under the
   text while leaving the corners at full shine. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(7, 15, 10, 0.38) 0%,
      rgba(7, 15, 10, 0.16) 12%,
      rgba(7, 15, 10, 0) 26%),
    radial-gradient(76% 64% at 50% 54%,
      rgba(7, 15, 10, 0.42) 0%,
      rgba(7, 15, 10, 0.30) 48%,
      rgba(7, 15, 10, 0.05) 84%,
      rgba(7, 15, 10, 0) 100%);
}

.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  margin-top: 28px;
  max-width: 16ch;
}

/* Gold foil. --sheen is the light's horizontal position, written by script.js,
   so the highlight on the type tracks the highlight on the surface behind it. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title {
    background-image: linear-gradient(96deg,
      var(--gold-lo)  0%,
      var(--gold)     calc(var(--sheen, 50%) - 26%),
      var(--gold-hi)  var(--sheen, 50%),
      var(--gold)     calc(var(--sheen, 50%) + 26%),
      var(--gold-lo)  100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
@media (min-width: 1200px) { .hero__title { max-width: 83.333%; } } /* cols 1–10 */

.hero__lead { margin-top: 32px; max-width: 58ch; }

.hero__meta { position: relative; z-index: 1; padding-bottom: 40px; }
.hero__rule { height: 1px; background: var(--line); transform-origin: left; }

.metarow {
  display: flex;
  justify-content: space-between;
  gap: clamp(6px, 2vw, 16px);
  padding-top: 18px;
}
/* One row at every width — the four items shrink rather than wrap. */
.metarow__item {
  font-family: var(--mono);
  font-size: clamp(0.5rem, 2.5vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: clamp(0.06em, 0.4vw, 0.14em);
  white-space: nowrap;
  color: var(--muted);
}
.metarow__item--hint { transition: opacity 320ms var(--ease); }
html.is-scrolled .metarow__item--hint { opacity: 0; }

/* --------------------------------------------------------------- about */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 8px;
}
.about__body > * + * { margin-top: 24px; }
.about__body h2 { margin-bottom: 40px; }

.pull {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 72, "SOFT" var(--soft), "WONK" 0;
  color: var(--fg);
  max-width: 24ch;
}

@media (min-width: 769px) {
  .about__grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 40px 24px;
  }
  .about__body { grid-column: 1 / span 7; }
  .pull { grid-column: 8 / span 5; margin-top: calc(clamp(2rem, 4.2vw, 3.5rem) * 1.08 + 40px); }
}

/* ------------------------------------------------------------- swatches */
.minihead { margin-top: clamp(72px, 9vh, 120px); }

.swatches {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 4px;
}
.swatch { flex: none; }

.swatch__chip {
  position: relative;
  display: block;
  width: 72px;
  height: 96px;
  background-color: var(--c);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 320ms var(--ease), border-radius 120ms linear;
}
.swatch__chip::after {
  content: "";
  position: absolute;
  inset: -50%;
  background-image: var(--grain);
  opacity: 0.12;
  animation: drift 40s linear infinite;
}
@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 220px 220px; }
}

.swatch__name {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 320ms var(--ease);
}
.swatch:hover .swatch__chip { transform: translateY(-3px); }
.swatch:hover .swatch__name { color: var(--fg); }

/* --------------------------------------------------------- capabilities */
.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(72px, 9vh, 120px);
  transition: border-radius 120ms linear;
}
.cap {
  padding: 28px;
  background: var(--surface);
}
.cap__index {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.cap__title {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36, "SOFT" var(--soft), "WONK" 0;
}
.cap__text {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------------------------------------------- why vegan leather */
.why__intro { margin-top: 28px; }
.why__head { margin-top: clamp(72px, 9vh, 120px); }

/* The process: a numbered sequence, hairline-separated. The indices carry the
   order, so the rows stay readable when they stack on a phone. */
.flow { margin-top: 28px; }
.flow__step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.flow__step:last-child { border-bottom: 1px solid var(--line); }
.flow__index {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 7px;
}
.flow__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36, "SOFT" var(--soft), "WONK" 0;
}
.flow__text {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Benefits: six short phrases, so they read as tags rather than a list. */
.impact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.impact__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 18px;
  font-size: 0.9375rem;
  transition: border-radius 120ms linear, background-color 320ms var(--ease);
}
.impact__item:hover { background: var(--surface); }

/* ----------------------------------------------------------- durability */
.grade__intro { margin-top: 28px; }
.grade { margin-top: clamp(48px, 7vh, 80px); }

/* Dots sit at the centre of four equal columns, so the rail is inset by half
   a column at each end and starts and finishes on a dot. */
.grade__track {
  position: relative;
  height: 12px;
  margin-bottom: 22px;
}
.grade__rail,
.grade__fill {
  position: absolute;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}
.grade__rail { left: 12.5%; right: 12.5%; background: var(--line); }
.grade__fill {
  left: 12.5%;
  width: calc(var(--v, 0) / 3 * 75%);
  background: var(--fg);
  transition: width 460ms var(--ease);
}

/* The real control: invisible, but it owns drag, click, touch and the arrow
   keys. Everything below is painted from its value. */
.grade__input {
  position: absolute;
  left: 12.5%;
  width: 75%;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.grade__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px; height: 44px; border-radius: 50%;
}
.grade__input::-moz-range-thumb { width: 44px; height: 44px; border: 0; border-radius: 50%; }

.grade__stops,
.grade__names {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.grade__stops { position: absolute; inset: 0; z-index: 2; }
.grade__stop {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.grade__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: background-color 380ms var(--ease), border-color 380ms var(--ease),
              transform 380ms var(--ease);
}
.grade__stop.is-on .grade__dot { background: var(--fg); border-color: var(--fg); }
.grade__stop.is-cur .grade__dot { transform: scale(1.45); }

.grade__name {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: clamp(0.5625rem, 1.7vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  cursor: pointer;
  transition: color 380ms var(--ease);
}
.grade__name.is-cur { color: var(--fg); }

.grade__input:focus-visible ~ .grade__stops .grade__stop.is-cur .grade__dot {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}

/* Reserved height so swapping grades never shifts what is below it. */
.grade__panel {
  margin-top: clamp(36px, 5vh, 56px);
  min-height: 8.5em;
  transition: opacity 220ms var(--ease);
}
.grade.is-turning .grade__panel { opacity: 0; }
.grade__value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: var(--tracking);
  font-variation-settings: "opsz" 96, "SOFT" var(--soft), "WONK" 0;
}
.grade__desc { margin-top: 14px; max-width: 46ch; }

.grade__more { margin-top: 40px; max-width: none; }

/* ------------------------------------------------------------------ cta */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 18vh, 220px);
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: calc(720px + var(--pad) * 2);
  text-align: center;
}
.cta__inner .rule { margin-inline: auto; }
.cta__inner p { max-width: 100%; margin-inline: auto; }
.cta__inner .eyebrow { margin-bottom: 40px; }
.cta__lead { margin-block: 28px 44px; max-width: 56ch; }
.cta__email { margin-top: 24px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted); }

.cta__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28vw;
  aspect-ratio: 1;
  background: var(--fg);
  opacity: 0.04;
  border-radius: var(--logo-radius);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------- footer */
.footer {
  background: var(--f-bg);
  color: var(--f-fg);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  padding-block: 80px 32px;
  transition: border-radius 120ms linear;
}
.footer__inner {
  display: grid;
  /* brand = 4 of 12 columns; the three contact columns share the other 8 */
  grid-template-columns: 4fr repeat(3, 2.6667fr);
  gap: 48px 24px;
}
.footer .logo__sub, .footer__tag, .footer__label { color: var(--f-muted); }

.footer__tag { margin-top: 20px; font-size: 0.9375rem; }

.footer__label {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.footer__list > li + li { margin-top: 14px; }
.person { display: block; }
.person__name { display: block; font-size: 0.9375rem; }
.person__num {
  display: block;
  margin-top: 2px;
  color: var(--f-muted);
  font-size: 0.9375rem;
  transition: color 320ms var(--ease);
}
.person:hover .person__num { color: var(--f-fg); }

.footer__line + .footer__line { margin-top: 14px; }
.footer__line { font-size: 0.9375rem; }
.footer .tlink { text-decoration-color: var(--f-line); }
.footer .tlink:hover { text-decoration-color: var(--f-fg); }

.footer__maps address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--f-muted);
  transition: color 320ms var(--ease);
}
.footer__maps:hover address { color: var(--f-fg); }
.footer__maps + .footer__maps { display: block; margin-top: 18px; }

.footer__bottom {
  grid-column: 1 / -1;
  margin-top: clamp(56px, 8vh, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--f-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--f-muted);
}
.footer__bottom p { max-width: none; }
.footer__bottom a { transition: color 320ms var(--ease); }
.footer__bottom a:hover { color: var(--f-fg); }
.footer :focus-visible { outline-color: var(--f-fg); }

/* Instagram. Sits under the lockup and inverts on hover like the nav button. */
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--f-line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--f-muted);
  transition: color 320ms var(--ease), border-color 320ms var(--ease),
              background-color 320ms var(--ease);
}
.social:hover { color: var(--f-bg); background: var(--f-fg); border-color: var(--f-fg); }
.social__icon { width: 15px; height: 15px; display: block; flex: none; }

/* Credentials strip. Five supplied badges, each a different house style, so
   they are knocked back to one warm tone to read as a single row. Swap
   .creds--mono for .creds--plate in the markup to show them in full colour. */
.creds {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--f-line);
}
.creds__label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--f-muted);
  margin-bottom: 20px;
}
.creds__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 2.4vw, 52px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.creds__item { display: flex; }
.creds__img {
  height: clamp(30px, 8vw, 54px);
  width: auto;
  display: block;
}

.creds--mono .creds__img {
  filter: grayscale(1) brightness(0) invert(78%) sepia(16%) saturate(420%)
          hue-rotate(346deg) brightness(94%);
  opacity: 0.72;
  transition: opacity 320ms var(--ease);
}
.creds--mono .creds__item:hover .creds__img { opacity: 1; }

/* The plate's padding and the row gap have to shrink with the badges, or the
   five stop fitting on one line on a phone. */
.creds--plate .creds__item {
  background: #F4EFE6;
  border-radius: clamp(6px, 1.6vw, 10px);
  padding: clamp(5px, 1.6vw, 10px) clamp(7px, 2.2vw, 14px);
}

/* Six badges, one of them (PETA) nearly twice as wide as the square marks, stop
   fitting on one line below tablet width. A 3x2 grid reads as deliberate where
   a 5 + 1 wrap reads as broken, and leaves each badge bigger than cramming six
   onto one row would. */
@media (max-width: 767px) {
  .creds__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: clamp(10px, 3vw, 18px);
  }
  .creds__img { height: clamp(30px, 9vw, 48px); }
}

/* ------------------------------------------------------- reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------- hero entrance (load) */
.js .w { display: inline-block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; vertical-align: bottom; }
.js .w-i { display: inline-block; transform: translateY(110%); }
.js.is-loaded .w-i {
  transform: none;
  transition: transform 900ms var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}

/* The nav and the headline arrive as one gesture; everything else in the hero
   follows once the last word has landed. */
.js .nav__inner { opacity: 0; transform: translateY(-8px); }
.js.is-loaded .nav__inner {
  opacity: 1; transform: none;
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.js .hero__eyebrow { opacity: 0; }
.js.is-loaded .hero__eyebrow { opacity: 1; transition: opacity 600ms var(--ease) 700ms; }

.js .hero__lead { opacity: 0; transform: translateY(10px); }
.js.is-loaded .hero__lead {
  opacity: 1; transform: none;
  transition: opacity 700ms var(--ease) 840ms, transform 700ms var(--ease) 840ms;
}

.js .hero__rule { transform: scaleX(0); }
.js.is-loaded .hero__rule { transform: scaleX(1); transition: transform 1100ms var(--ease) 980ms; }

.js .metarow__item { opacity: 0; }
.js.is-loaded .metarow__item { opacity: 1; transition: opacity 600ms var(--ease) 1120ms; }
.js.is-loaded.is-scrolled .metarow__item--hint { opacity: 0; }

/* ===================================================== responsive ======= */
@media (max-width: 1199px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .flow__step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-block: 20px; }
  .impact__item { padding: 9px 14px; font-size: 0.875rem; }

  .nav { height: 64px; }
  .hero { padding-top: 64px; }
  .cta__mark { display: none; }

  .btn__label--full { display: none; }
  .btn__label--short { display: inline; }

  /* The global 7.2vw curve bottoms out at 44px on a phone, which leaves the
     headline floating in a lot of empty screen. Steeper slope, own floor — and
     an svh ceiling, because on a short handset three lines of it would otherwise
     push the lead down into the metarow. */
  .hero__title {
    font-size: clamp(2.75rem, min(14.5vw, 8.4svh), 4rem);
    line-height: 1.0;
    letter-spacing: calc(var(--tracking) - 0.005em);
    max-width: none;
  }
  .hero__lead { margin-top: 24px; }

  /* Narrow viewports put the type higher and edge-to-edge, so the pool of
     shadow has to sit higher and reach wider than it does on desktop. */
  .hero::after {
    background:
      linear-gradient(to top,
        rgba(7, 15, 10, 0.38) 0%,
        rgba(7, 15, 10, 0.16) 12%,
        rgba(7, 15, 10, 0) 26%),
      radial-gradient(100% 78% at 50% 46%,
        rgba(7, 15, 10, 0.46) 0%,
        rgba(7, 15, 10, 0.36) 52%,
        rgba(7, 15, 10, 0.08) 86%,
        rgba(7, 15, 10, 0) 100%);
  }

  .about__grid { display: block; }
  .pull { margin-top: 40px; max-width: none; }

  .swatches {
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .swatches::-webkit-scrollbar { display: none; }
  .swatch { scroll-snap-align: start; }
  .swatch__chip { width: 56px; height: 76px; }

  .caps { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
}

/* SE-class handsets have no room for the full vertical rhythm — without this the
   lead runs into the metarow. */
@media (max-width: 768px) and (max-height: 620px) {
  .hero__title { margin-top: 18px; }
  .hero__lead { margin-top: 16px; }
  .hero__meta { padding-bottom: 28px; }
}

@media (max-width: 479px) {
  .nav .logo__sub { display: none; }
}

/* ============================================== reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  :root {
    /* Static p = 0.5 state — bone sliding into sand. */
    --bg: #EFE4D3;
    --fg: #231C16;
    --muted: #746757;
    --line: rgba(35, 28, 22, 0.135);
    --radius: 15px;
    --soft: 52.5;
    --tracking: -0.025em;
    --logo-radius: 25%;
    --logo-rot: 0deg;
    --surface-mix: 45%;
    --surface-a: 0.45;
    --surface: rgba(255, 255, 255, var(--surface-a));
  }
  @supports (background: color-mix(in oklab, red, white 50%)) {
    :root { --surface: color-mix(in oklab, var(--bg), white var(--surface-mix)); }
  }

  *, *::before, *::after {
    animation: none !important;
    transition-property: color, background-color, border-color, text-decoration-color, outline-color !important;
    transition-duration: 200ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal, .js .hero__eyebrow, .js .hero__lead, .js .metarow__item,
  .js .nav__inner { opacity: 1; transform: none; }
  .js .w-i, .js .hero__rule { transform: none; }
  .js .w { overflow: visible; }
  html.is-scrolled .metarow__item--hint,
  .js.is-loaded.is-scrolled .metarow__item--hint { opacity: 1; }
}
