/* ============================================================
   WEAR SUPPLY CO. — styles
   Fonts: Bricolage Grotesque (display + body), Instrument Serif (italic accents), DM Mono (labels)
   ============================================================ */
:root {
  --ink: #0d0d0d;
  --ink-2: #161616;
  --paper: #efece6;
  --paper-2: #e4e0d8;
  --violet: #7b5cff;
  --violet-deep: #4a3592;
  --concrete: #8c8c8c;
  --line: rgba(13, 13, 13, 0.14);
  --line-light: rgba(255, 255, 255, 0.12);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
section[id] { scroll-margin-top: 90px; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.wrap { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow--light { color: var(--violet); }
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); display: inline-block; }

.display {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 22px;
}
.display--light { color: var(--paper); }
.display em, .hero__title em, .ps__manifesto em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--violet);
  font-size: 1.08em;
}
/* italic serif lines have taller ascenders/descenders than the bold
   uppercase sans — the 0.94 line-height that works for those crowds
   the serif lines, so loosen it just where an <em> is present */
.display .line:has(em),
.hero__title .line:has(em) {
  line-height: 1.18;
  padding-top: 0.06em;
}
.lead { font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.55; max-width: 520px; margin-top: 28px; color: #3a3a3a; }
.lead--light { color: rgba(239, 236, 230, 0.6); }

/* split lines */
[data-split] .line { display: block; overflow: hidden; }
[data-split] .line > .inner { display: block; transform: translateY(110%); will-change: transform; }
[data-split] .line > .inner em { display: inline-block; padding-right: 0.08em; }

/* generic reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 24px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn i { font-style: normal; transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--violet); color: #fff; }
.btn--outline { border-color: rgba(255,255,255,0.35); color: var(--paper); }
.btn--outline:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { background: var(--paper); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--violet); color: #fff; }
.btn--outline-ink { border-color: rgba(13,13,13,0.35); color: var(--ink); }
.btn--outline-ink:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--big { padding: 22px 32px; font-size: 12px; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink); color: var(--paper);
  display: flex; align-items: flex-end; padding: var(--gutter);
}
.loader__inner { width: 100%; }
.loader__mark { height: clamp(56px, 10vw, 120px); width: auto; margin-bottom: 30px; }
.loader__row { display: flex; justify-content: space-between; align-items: baseline; color: rgba(255,255,255,0.5); }
.loader__count { font-size: clamp(3rem, 10vw, 8rem); font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; color: var(--paper); line-height: 1; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.08); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--violet); }

/* ---------- grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-2%,3%)} 50%{transform:translate(3%,-2%)} 75%{transform:translate(-1%,-3%)} 100%{transform:translate(2%,2%)} }

.cursor { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity 0.3s ease; }
.cursor.is-active { opacity: 1; }
.cursor span { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: width 0.35s var(--ease), height 0.35s var(--ease); }
.cursor.is-hover span { width: 64px; height: 64px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter); color: #fff; transition: transform 0.8s var(--ease), color 0.4s;
  transform: translateY(-100%); transition: transform 0.8s var(--ease);
}
.nav.is-ready { transform: translateY(0); }
.nav.is-ready.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__icon { height: 26px; width: auto; }
.nav__word { height: 30px; width: auto; }
.nav__word--light { display: none; }
.nav.on-paper { color: var(--ink); }
.nav.on-paper .nav__word--dark { display: none; }
.nav.on-paper .nav__word--light { display: block; }
.nav.on-paper .nav__cta { border-color: rgba(13,13,13,0.4); color: var(--ink); }
.nav.on-paper .nav__burger span { background: var(--ink); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav__links a::before { content: "[" attr(data-i) "] "; opacity: 0.45; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { justify-self: end; border-color: rgba(255,255,255,0.4); color: #fff; }
.nav__burger { display: none; justify-self: end; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 6px; align-items: flex-end; justify-content: center; }
.nav__burger span { display: block; height: 2px; background: #fff; width: 28px; transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
.nav__burger span:last-child { width: 18px; }
body.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { width: 28px; transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 790; background: var(--violet); color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease);
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 48px; }
.menu__links a { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; display: flex; align-items: baseline; gap: 16px; }
.menu__links a i { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.14em; }
.menu__cta { align-self: flex-start; background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.12) brightness(0.95) saturate(0.9); transform: scale(1.08); }
.hero__shade { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.2) 0%, rgba(13,13,13,0.05) 40%, rgba(13,13,13,0.8) 100%),
    linear-gradient(90deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.05) 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(123,92,255,0.22), transparent 60%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(36px, 6vh, 72px); width: min(1440px + var(--gutter) * 2, 100%); margin-inline: auto; }
.hero__eyebrow { margin-bottom: 20px; }
.hero__title {
  font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 96;
  font-size: clamp(2.8rem, 8vw, 7.4rem); line-height: 0.9; letter-spacing: -0.05em; text-transform: uppercase; color: var(--paper);
}
.hero__title em { color: var(--violet); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero__sub { max-width: 460px; color: rgba(239,236,230,0.7); font-size: 15px; line-height: 1.6; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.5); animation: pulse 2.4s ease-in-out infinite; }
.hero__corner { position: absolute; right: var(--gutter); top: 96px; z-index: 2; color: rgba(255,255,255,0.5); }
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ---------- marquee ---------- */
.marquee { background: var(--violet); color: var(--ink); overflow: hidden; padding: 18px 0; border-top: 1px solid rgba(0,0,0,0.15); }
.marquee__track { display: flex; gap: 32px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; }
.marquee__track i { font-style: normal; font-size: clamp(1.2rem, 2.6vw, 2.2rem); line-height: 1.4; }

/* ---------- intro ---------- */
.intro { background: var(--paper); color: var(--ink); padding: clamp(96px, 14vh, 180px) 0; }
.intro__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 980px; margin-left: auto; margin-top: 56px; font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.55; color: #3a3a3a; }
.intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 80px; }
.intro__stats > div { padding: 32px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; padding-left: 24px; }
.intro__stats > div:first-child { padding-left: 0; }
.intro__stats > div:last-child { border-right: 0; }
.intro__stats b { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 0.9; letter-spacing: -0.05em; }
.intro__stats .mono { color: var(--concrete); }

/* ---------- problem / solution ---------- */
.ps { background: var(--ink); padding: clamp(96px, 14vh, 180px) 0; }
.ps__list { margin-top: 72px; border-top: 1px solid var(--line-light); }
.ps__list li { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line-light); transition: padding 0.5s var(--ease); position: relative; }
#faq .ps__list, #faq .ps__list li { border-color: var(--line); }
.ps__list li::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.ps__list li:hover::before { transform: scaleX(1); }
.ps__list li:hover { padding-left: 16px; }
.ps__n { color: var(--violet); }
.ps__list h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; }
.ps__a { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--violet); }
.ps__manifesto { margin-top: 120px; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; }

/* ---------- catalog (horizontal) ---------- */
.catalog { background: var(--paper); color: var(--ink); }
.catalog__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; overflow: hidden; }
.catalog__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.catalog__head .display { grid-column: 1; }
.catalog__lead { max-width: 340px; color: #3a3a3a; font-size: 15px; line-height: 1.55; align-self: end; padding-bottom: 8px; }
.catalog__track { display: flex; gap: 20px; padding: 48px var(--gutter) 0; width: max-content; will-change: transform; }
.card { width: clamp(300px, 34vw, 440px); aspect-ratio: 4 / 5; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; flex-shrink: 0; }
.card__img { position: absolute; inset: 0; }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.15) brightness(0.8); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); transform: scale(1.06); }
.card:hover .card__img img { transform: scale(1.14); filter: grayscale(0) contrast(1.1) brightness(0.85); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0.2) 0%, rgba(13,13,13,0.15) 45%, rgba(13,13,13,0.95) 100%), linear-gradient(135deg, rgba(74,53,146,0.35), transparent 60%); mix-blend-mode: normal; }
.card__body { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.card__body .mono { color: var(--violet); margin-bottom: auto; }
.card__body h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; }
.card__body p { color: rgba(239,236,230,0.65); font-size: 14px; margin-bottom: 8px; }
.card--cta { background: var(--violet); color: var(--ink); }
.card--cta .card__body .mono { color: var(--ink); }
.card--cta .card__body p { color: rgba(13,13,13,0.7); }
.card--cta .btn--violet { background: var(--ink); color: var(--paper); }
.card--cta .btn--violet:hover { background: var(--paper); color: var(--ink); }

/* ---------- process ---------- */
.process { background: var(--ink); padding: clamp(96px, 14vh, 180px) 0; }
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.process__sticky { position: sticky; top: 120px; }
.process__progress { width: 100%; height: 1px; background: var(--line-light); margin-top: 48px; position: relative; }
.process__progress span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--violet); }
.process__current { margin-top: 14px; color: rgba(255,255,255,0.45); }
.process__current #processNow { color: var(--paper); font-size: 14px; }
.process__list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--line-light); opacity: 0.28; transition: opacity 0.6s var(--ease); }
.process__list li.is-active { opacity: 1; }
.process__list li .mono { color: var(--violet); font-size: 12px; padding-top: 8px; }
.process__list h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; }
.process__list p { color: rgba(239,236,230,0.6); margin-top: 10px; max-width: 460px; font-size: 15px; line-height: 1.55; }

/* ---------- sample ---------- */
.sample { background: var(--paper); color: var(--ink); padding: clamp(96px, 14vh, 180px) 0; }
.sample__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.sample__steps { margin-top: 48px; border-top: 1px solid var(--line); }
.sample__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sample__steps .mono { color: var(--violet); padding-top: 4px; }
.sample__steps h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; text-transform: uppercase; }
.sample__steps p { color: #54534e; font-size: 14.5px; margin-top: 4px; line-height: 1.5; }
.sample__num { background: var(--ink); color: var(--paper); padding: 72px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; overflow: hidden; }
.sample__num::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(123,92,255,0.35), transparent 70%); }
.sample__num > * { position: relative; }
.sample__num .mono { color: var(--violet); }
.sample__num b { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 10vw, 8.5rem); line-height: 0.85; letter-spacing: -0.06em; }
.sample__num small { color: rgba(255,255,255,0.4); font-size: 10px; max-width: 260px; line-height: 1.6; }

/* ---------- scale ---------- */
.scale { background: var(--ink); padding: clamp(96px, 14vh, 180px) 0 0; overflow: hidden; }
.scale__title { max-width: 900px; }
.scale__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 72px; }
.scale__grid figure { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink-2); }
.scale__grid img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(0.5) contrast(1.15) brightness(0.8); will-change: transform; margin-top: -10%; }
.scale__grid figcaption { position: absolute; left: 18px; bottom: 16px; color: var(--paper); }
.scale__grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13,13,13,0.9) 100%), linear-gradient(135deg, rgba(74,53,146,0.35), transparent 70%); }
.scale__grid figcaption { z-index: 1; }

/* ---------- layers ---------- */
.layers { background: var(--ink); padding: clamp(120px, 16vh, 200px) 0; position: relative; overflow: hidden; }
.layers__bg { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; opacity: 0.14; filter: grayscale(1) contrast(1.2); will-change: transform; }
.layers::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(13,13,13,0.5) 40%, rgba(13,13,13,0.6) 70%, var(--ink) 100%); }
.layers__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.layers__stack { position: relative; height: 480px; }
.layer { position: absolute; left: 0; right: 0; height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: var(--ink-2); border: 1px solid var(--line-light); color: var(--paper); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.layer b { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; text-transform: uppercase; }
.layer .mono { color: rgba(255,255,255,0.5); }
.layer--violet { background: var(--violet); color: var(--ink); }
.layer--violet .mono { color: rgba(13,13,13,0.6); }
.layer:nth-child(1) { z-index: 4; } .layer:nth-child(2) { z-index: 3; background: #202020; } .layer:nth-child(3) { z-index: 2; background: #191919; } .layer:nth-child(4) { z-index: 1; background: #141414; }

/* ---------- contact ---------- */
.contact { background: var(--paper); color: var(--ink); padding: clamp(120px, 18vh, 220px) 0; text-align: center; }
.contact .eyebrow { justify-content: center; }
.contact__title { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.contact .lead { margin-inline: auto; }
.contact__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }

.contact-end { background: var(--paper); color: var(--ink); padding: clamp(80px, 12vh, 140px) 0; text-align: center; }
.contact__form-wrap { max-width: 560px; margin: 0 auto; text-align: left; }
.contact__or { text-align: center; font-size: 11px; letter-spacing: 0.16em; color: rgba(13,13,13,0.4); margin-bottom: 28px; }
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__form .field { position: relative; margin-bottom: 22px; }
.contact__form input, .contact__form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}
.contact__form textarea { padding-top: 14px; }
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--violet); }
.contact__form label {
  position: absolute; left: 2px; top: 10px;
  font-family: 'DM Mono', monospace; font-size: 13px; color: rgba(13,13,13,0.45);
  pointer-events: none; transition: all 0.2s ease;
}
.contact__form textarea ~ label { top: 14px; }
.contact__form input:focus ~ label,
.contact__form input:not(:placeholder-shown) ~ label,
.contact__form textarea:focus ~ label,
.contact__form textarea:not(:placeholder-shown) ~ label {
  top: -14px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet);
}
.contact__form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.contact__form-status { text-align: center; margin-top: 16px; font-size: 12px; letter-spacing: 0.04em; min-height: 16px; }
.contact__form-status.is-ok { color: #2b8a3e; }
.contact__form-status.is-err { color: #c0392b; }
@media (max-width: 640px) {
  .contact__form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: 56px 0 24px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line-light); padding-top: 32px; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__icon { height: 30px; width: auto; }
.footer__word { height: 34px; width: auto; }
.footer__links, .footer__social { display: flex; gap: 24px; }
.footer__links a, .footer__social a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.3s; }
.footer__links a:hover, .footer__social a:hover { color: #fff; }
.footer__big { margin-top: 40px; }
.footer__big img { width: min(60%, 380px); height: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.45); margin-top: 28px; border-top: 1px solid var(--line-light); padding-top: 18px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 850; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.4s, transform 0.4s; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float__label { background: var(--ink); color: var(--paper); padding: 10px 14px; opacity: 0; transform: translateX(8px); transition: 0.3s; }
.wa-float:hover .wa-float__label { opacity: 1; transform: none; }
.wa-float__btn { width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transition: transform 0.3s var(--ease); }
.wa-float:hover .wa-float__btn { transform: scale(1.08); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .process__grid, .sample__grid, .layers__grid { grid-template-columns: 1fr; }
  .process__sticky { position: relative; top: 0; }
  .scale__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__head { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__corner { display: none; }
  .intro__stats { grid-template-columns: 1fr; }
  .intro__stats > div { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .intro__stats > div:last-child { border-bottom: 0; }
  .ps__list li { grid-template-columns: 50px 1fr; }
  .ps__a { grid-column: 2; }
  .catalog__pin { min-height: auto; padding: 96px 0 64px; }
  .catalog__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 16px; }
  .card { width: 78vw; scroll-snap-align: start; }
  .layers__stack { height: 420px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] .line > .inner { transform: none; }
}


/* ---------- catalog: grid on desktop (replaces pinned horizontal scroll, 2026-10-20) ---------- */
@media (min-width: 861px) {
  .catalog__pin { min-height: auto; }
  .catalog__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: auto; transform: none !important; }
  .catalog__track .card { width: auto; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .catalog__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
