/* ==========================================================================
   V-i-i.com — Vertex International Inc.
   Skin v3 · "Cupertino mill": Apple-style monochrome — white / #f5f5f7 /
   black sections, SF-first type, bento cards, one dye-bath gradient reserved
   for hero words and key figures. Machinery drawn as glowing line diagrams.
   ========================================================================== */

:root {
  --bg:      #ffffff;
  --alt:     #f5f5f7;          /* Apple's section grey */
  --black:   #000000;
  --card-d:  #151517;
  --ink:     #1d1d1f;          /* Apple text black */
  --grey:    #6e6e73;
  --grey-2:  #86868b;
  --hair:    rgba(0, 0, 0, 0.10);
  --hair-d:  rgba(255, 255, 255, 0.16);
  --blue:    #0071e3;          /* action blue */
  --blue-2:  #2997ff;
  --grad:    linear-gradient(93deg, #2997ff 0%, #7a5fff 48%, #f0399c 100%);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(5.5rem, 11vw, 10.5rem);
  --maxw: 1320px;
  --r: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.028em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 8.6vw, 7.6rem); line-height: 1.01; }
h2 { font-size: clamp(2.1rem, 4.8vw, 4.1rem); line-height: 1.06; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.2; letter-spacing: -0.02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: 0.8rem 1.2rem;
  font-size: 0.9rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 900px; }
.sec { padding-block: var(--sec); }
.sec--alt { background: var(--alt); }
.sec--black { background: var(--black); color: #f5f5f7; }
.sec--black p { color: var(--grey-2); }

.eyebrow {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--grey);
  margin-bottom: 0.9rem;
}
.sec--black .eyebrow { color: var(--grey-2); }

.lede {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: var(--grey);
  max-width: 56ch;
}
.sec--black .lede { color: var(--grey-2); }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 980px;
  border: 0;
  font-family: var(--sans);
  font-size: 1.02rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: transform 0.5s var(--ease), background 0.3s, opacity 0.3s;
}
.btn:hover { transform: scale(1.035); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #0077ed; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }

.link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--blue); text-decoration: none;
  font-size: 1.02rem; font-weight: 500;
}
.link::after { content: "›"; font-size: 1.15em; transition: transform 0.4s var(--ease); }
.link:hover::after { transform: translateX(3px); }
.link:hover { text-decoration: underline; }
.sec--black .link { color: var(--blue-2); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.45s;
}
.nav .brand__v, .nav .brand__sub, .nav .nav__links a { transition: color 0.35s; }
.nav.is-scrolled { border-bottom-color: var(--hair); }

/* Adaptive: over dark sections the bar turns to dark glass, light text. */
.nav--dark {
  background: rgba(10, 10, 12, 0.68);
}
.nav--dark.is-scrolled { border-bottom-color: var(--hair-d); }
.nav--dark .brand__v { color: #f5f5f7; }
.nav--dark .brand__v i { color: var(--blue-2); }
.nav--dark .brand__sub { color: #f5f5f7; }
.nav--dark .nav__links a { color: #f5f5f7; }
.nav--dark .nav__burger span,
.nav--dark .nav__burger span::before,
.nav--dark .nav__burger span::after { background: #f5f5f7; }
.nav--dark .nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 56px;
}
.brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; }
.brand__v { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.brand__v i { font-style: normal; color: var(--blue); }
.brand__sub {
  white-space: nowrap;
  font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--ink);
}
.nav__links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  white-space: nowrap;
  font-size: 0.86rem; font-weight: 500; color: var(--ink);
  opacity: 0.75; text-decoration: none; transition: opacity 0.25s;
}
.nav__links a:hover { opacity: 1; }
.nav .btn { padding: 0.42rem 1rem; font-size: 0.82rem; white-space: nowrap; }

.nav__burger {
  display: none; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent;
  cursor: pointer; position: relative;
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 17px; height: 1.7px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.2s;
}
.nav__burger span::before { transform: translate(-50%, -6px); }
.nav__burger span::after  { transform: translate(-50%, 4.5px); }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translate(-50%, -1px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { transform: translate(-50%, -1px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(251, 251, 253, 0.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: grid; place-content: center; gap: 0.4rem;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav a {
  font-size: clamp(1.9rem, 8vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--ink);
  text-decoration: none; text-align: center; line-height: 1.35;
}
.mnav a:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  background: var(--black); color: #f5f5f7;
  overflow: hidden;
  text-align: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 42% at 50% 62%, transparent 30%, rgba(0,0,0,0.72) 100%);
}
.hero__in {
  position: relative;
  padding: 7rem var(--gut) 6rem;
  max-width: 1100px;
  will-change: transform, opacity;
}
.hero__brand {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f5f5f7;
  margin-bottom: 0.5rem;
}
.hero__eyebrow {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 600; color: var(--grey-2);
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span {
  display: block; transform: translateY(112%);
  animation: rise 1.15s var(--ease) forwards;
}
.hero h1 .ln:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: translateY(0); } }
.hero .lede {
  color: var(--grey-2);
  margin: 1.6rem auto 0;
  max-width: 44ch;
}
.hero__cta {
  display: flex; gap: 1rem; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-top: 2.2rem;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.6px solid rgba(245,245,247,0.35);
  border-radius: 12px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 3px; height: 7px; border-radius: 3px;
  background: #f5f5f7; transform: translateX(-50%);
  animation: wheel 2s var(--ease) infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--bg);
  border-block: 1px solid var(--hair);
  overflow: hidden; padding-block: 1.05rem;
}
.marquee__track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: 2.6rem;
  padding-inline: 1.3rem;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 600; letter-spacing: -0.01em;
  color: var(--grey); white-space: nowrap;
}
.marquee__item::after { content: "✳"; font-size: 0.72em; color: var(--blue); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.stat { text-align: center; }
.stat b {
  display: block; font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1;
  margin-bottom: 0.55rem;
}
.stat span { font-size: 0.95rem; color: var(--grey); display: block; max-width: 22ch; margin-inline: auto; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.9rem, 1.6vw, 1.3rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.bento__card {
  background: var(--bg);
  border-radius: var(--r);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  overflow: hidden; position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.bento__card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.09); }
.bento__card--wide { grid-column: span 2; }
.bento__card--wide .bento__split {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
}
.bento__k {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue);
  display: block; margin-bottom: 0.7rem;
}
.bento__card h3 { margin-bottom: 0.7rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bento__card p { color: var(--grey); font-size: 1.02rem; max-width: 52ch; }
.bento__list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.bento__list li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.98rem; font-weight: 500;
}
.bento__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 700;
}

/* ---------- machinery diagrams ---------- */
.fig { margin-top: 1.8rem; position: relative; }
.fig svg { width: 100%; height: auto; }
.fig__cap {
  margin-top: 0.9rem;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey-2);
}
.fig__cap b { color: var(--blue); font-weight: 600; }

.mk { stroke: #a4a4a9; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mk--thin  { stroke-width: 1; opacity: 0.55; }
.mk--ink   { stroke: var(--ink); }
.mk--blue  { stroke: var(--blue-2); }
.mk--pink  { stroke: #f0399c; }

.is-in .flow  { stroke-dasharray: 5 7; animation: yarnflow 8s linear infinite; }
.is-in .flow2 { stroke-dasharray: 4 6; animation: yarnflow 12s linear infinite reverse; }
@keyframes yarnflow { to { stroke-dashoffset: -240; } }
.is-in .spin { animation: spin 8s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- fabric library ---------- */
.fab-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.fab {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 3 / 3.7; background: var(--card-d); isolation: isolate;
  transition: transform 0.7s var(--ease);
}
.fab:hover { transform: scale(1.025); }
.fab__tex { position: absolute; inset: 0; transition: transform 1.1s var(--ease); opacity: 0.92; }
.fab:hover .fab__tex { transform: scale(1.08); }
.fab__tex::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(41,151,255,0.16), transparent 55%);
  opacity: 0; transition: opacity 0.6s;
}
.fab:hover .fab__tex::after { opacity: 1; }
.fab__body {
  position: absolute; inset: auto 0 0 0; padding: 1.15rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
}
.fab__body h3 { font-size: 1.25rem; margin-bottom: 0.15rem; color: #f5f5f7; }
.fab__body p { font-size: 0.8rem; color: var(--grey-2); margin: 0; }
.fab__gsm {
  position: absolute; top: 0.9rem; right: 0.9rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.32rem 0.62rem; border-radius: 999px;
  background: rgba(245,245,247,0.14); color: #f5f5f7;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* woven textures (CSS only) */
.tex-jersey { background: repeating-linear-gradient(0deg, #3a3a3e 0 3px, #2c2c30 3px 6px),
  repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 4px); }
.tex-rib { background: repeating-linear-gradient(90deg, #29292d 0 10px, #4a4a52 10px 15px, #202024 15px 25px); }
.tex-terry { background: radial-gradient(circle at 4px 4px, #4c4c52 2px, transparent 2.6px), #38383d; background-size: 11px 11px; }
.tex-fleece { background: radial-gradient(circle at 30% 40%, rgba(245,245,247,0.13), transparent 55%),
  radial-gradient(circle at 75% 65%, rgba(245,245,247,0.09), transparent 45%), #333338; }
.tex-interlock { background: repeating-linear-gradient(0deg, #2c2c31 0 4px, #3d3d44 4px 8px),
  repeating-linear-gradient(90deg, rgba(0,0,0,0.2) 0 2px, transparent 2px 8px); }
.tex-waffle { background: repeating-linear-gradient(0deg, rgba(0,0,0,0.5) 0 2px, transparent 2px 16px),
  repeating-linear-gradient(90deg, rgba(0,0,0,0.5) 0 2px, transparent 2px 16px), #3e3e43; }
.tex-pointelle { background: radial-gradient(circle at 8px 8px, rgba(0,0,0,0.65) 2.4px, transparent 3px),
  repeating-linear-gradient(0deg, #47474d 0 3px, #3c3c42 3px 6px); background-size: 22px 22px, auto; }
.tex-jacquard { background: repeating-conic-gradient(from 45deg at 50% 50%, #3c3c46 0% 12.5%, #26262c 12.5% 25%), #26262c;
  background-size: 34px 34px; }

.fab-note { margin-top: 1.6rem; font-size: 0.95rem; color: var(--grey-2); }

/* ---------- yarn map ---------- */
.yarn__grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.yarn svg { width: 100%; height: auto; }
.yarn__routes path { fill: none; stroke: var(--blue-2); stroke-width: 1.5; stroke-dasharray: 5 7; opacity: 0.85; }
.is-in .yarn__routes path { animation: yarnflow 22s linear infinite; }
.yarn__dot { fill: var(--grey-2); }
.yarn__home { fill: var(--blue); }
.yarn__pulse { fill: none; stroke: var(--blue); stroke-width: 1.4; opacity: 0; }
.is-in .yarn__pulse { animation: pulse 3s var(--ease) infinite; }
@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.4); transform-origin: center; transform-box: fill-box; }
  100% { opacity: 0; transform: scale(2.6); transform-origin: center; transform-box: fill-box; }
}
.yarn__list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.yarn__list li {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding-block: 0.9rem; border-bottom: 1px solid var(--hair);
  font-size: 1rem;
}
.yarn__list li:first-child { border-top: 1px solid var(--hair); }
.yarn__list b { font-weight: 600; }
.yarn__list span { color: var(--grey); font-size: 0.9rem; text-align: right; }

/* ---------- process rail ---------- */
.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 30vw, 380px);
  gap: clamp(0.9rem, 1.6vw, 1.3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem var(--gut) 1.5rem;
  margin-inline: calc(-1 * var(--gut));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__card {
  scroll-snap-align: start;
  background: var(--bg); border-radius: var(--r);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 0.6rem;
  min-height: 300px;
}
.rail__num {
  font-size: 3rem; font-weight: 700; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rail__card h3 { font-size: 1.5rem; }
.rail__card p { color: var(--grey); font-size: 0.98rem; }
.rail__hint {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; color: var(--grey-2);
  margin-top: 0.3rem;
}

/* ---------- why grid ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.why {
  background: var(--alt); border-radius: var(--r);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  transition: transform 0.7s var(--ease), background 0.4s;
}
.why:hover { transform: translateY(-5px); background: #efeff1; }
.why b { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.why p { font-size: 0.95rem; color: var(--grey); margin: 0; }
.why__k {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: #fff; color: var(--blue);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}

/* ---------- story ---------- */
.story blockquote {
  margin: 0 0 2rem;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
}
.story p { color: var(--grey); font-size: 1.08rem; max-width: 62ch; margin-inline: auto; }

/* ---------- contact ---------- */
.contact__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--grey-2); }
.field .req { color: var(--blue-2); }
input, select, textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem;
  color: #f5f5f7; background: #1c1c1e;
  border: 1px solid #3a3a3c; border-radius: 12px;
  padding: 0.9rem 1.05rem;
  transition: border-color 0.25s, background 0.25s;
}
input::placeholder, textarea::placeholder { color: #6e6e73; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue-2); background: #232326;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f5f5f7' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
select option { background: #1c1c1e; color: #f5f5f7; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { display: none; padding: 1rem 1.15rem; border-radius: 12px; font-size: 0.93rem; border: 1px solid; }
.form-status.is-visible { display: block; }
.form-status--ok  { border-color: rgba(41,151,255,0.5); background: rgba(41,151,255,0.10); color: var(--blue-2); }
.form-status--err { border-color: rgba(255,105,97,0.5);  background: rgba(255,105,97,0.10); color: #ff8a80; }

.contact__aside { display: grid; gap: 1.8rem; align-content: start; }
.contact__aside dl { margin: 0; display: grid; gap: 1.2rem; }
.contact__aside dt { font-size: 0.78rem; font-weight: 600; color: var(--grey-2); margin-bottom: 0.2rem; }
.contact__aside dd { margin: 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
.contact__aside dd a { text-decoration: none; }
.contact__aside dd a:hover { color: var(--blue-2); }
.contact__note { font-size: 0.9rem; color: var(--grey-2); max-width: 36ch; }

/* ---------- footer ---------- */
.footer { background: var(--alt); padding-block: 2rem; font-size: 0.8rem; color: var(--grey); }
.footer__in { display: flex; flex-wrap: wrap; gap: 0.8rem 2.5rem; justify-content: space-between; align-items: center; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- reveal system ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: 0.07s; }
.rv[data-d="2"] { transition-delay: 0.14s; }
.rv[data-d="3"] { transition-delay: 0.21s; }
.rv--scale { transform: translateY(0) scale(0.96); }
.rv--scale.is-in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .fab-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .yarn__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .bento__card--wide .bento__split { grid-template-columns: 1fr; }
}
@media (max-width: 1150px) {
  .nav__links, .nav .btn { display: none; }
  .nav__burger { display: block; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
}
@media (max-width: 600px) {
  .fab-grid { grid-template-columns: 1fr; }
  .fab { aspect-ratio: 3 / 2; }
  .why-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv, .hero h1 .ln > span { opacity: 1; transform: none; }
}
