/* =========================================================
   SALEXE — Socks knit in Istanbul
   Palette drawn from Iznik tilework: cobalt, turquoise, coral
   ========================================================= */

:root {
  --cobalt: #1E3AA8;
  --cobalt-deep: #12236B;
  --turquoise: #0C7F82;
  --coral: #D9442F;
  --paper: #FFFFFF;
  --mist: #EEF2FA;
  --line: #D5DCEC;
  --ink: #101A3D;
  --muted: #4B5575;

  --font: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --wide: 125%;
  --semi-wide: 112%;

  /* Type scale (perfect fourth, 1.333) */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: 1.777rem;
  --t-xl: clamp(2rem, 3.6vw, 2.75rem);
  --t-2xl: clamp(2.5rem, 5.4vw, 4.2rem);
  --t-hero: clamp(2.9rem, 7.4vw, 6.4rem);

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --radius-img: 6px;
  --radius-btn: 999px;

  --stitch-cobalt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M11 24C9 17 5 12 1.5 3.5c3.6 1.3 7.3 6.4 9.5 13.4z' fill='%231E3AA8'/%3E%3Cpath d='M11 24c2-7 6-12 9.5-20.5-3.6 1.3-7.3 6.4-9.5 13.4z' fill='%231E3AA8'/%3E%3C/svg%3E");
  --stitch-coral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M11 24C9 17 5 12 1.5 3.5c3.6 1.3 7.3 6.4 9.5 13.4z' fill='%23D9442F'/%3E%3Cpath d='M11 24c2-7 6-12 9.5-20.5-3.6 1.3-7.3 6.4-9.5 13.4z' fill='%23D9442F'/%3E%3C/svg%3E");
  --stitch-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='26' viewBox='0 0 22 26'%3E%3Cpath d='M11 24C9 17 5 12 1.5 3.5c3.6 1.3 7.3 6.4 9.5 13.4z' fill='%23FFFFFF' fill-opacity='.9'/%3E%3Cpath d='M11 24c2-7 6-12 9.5-20.5-3.6 1.3-7.3 6.4-9.5 13.4z' fill='%23FFFFFF' fill-opacity='.9'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 800; }

p { margin: 0; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.display {
  font-stretch: var(--wide);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lede { font-size: var(--t-md); line-height: 1.55; color: var(--muted); max-width: 34em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: var(--radius-btn);
  font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-deep); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #B8331F; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--cobalt-deep); }
.btn-white:hover { background: var(--mist); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

.text-link {
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; text-decoration-color: var(--coral);
}
.text-link:hover { color: var(--cobalt); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--cobalt-deep);
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em;
  font-variation-settings: "wdth" 125;
}
.wordmark img { height: 46px; width: auto; flex: none; }
.footer-brand .wordmark img { height: 64px; }
@media (max-width: 560px) { .wordmark img { height: 40px; } }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 36px); }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--cobalt); }
.main-nav a[aria-current="page"] { border-color: var(--coral); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: "";
  transition: transform .25s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  /* backdrop-filter would trap the fixed menu inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 0 0; background: #fff;
    padding: 32px var(--gutter); transform: translateY(-12px); opacity: 0;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s; overflow-y: auto;
    visibility: hidden;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; transition: transform .25s ease, opacity .25s ease; }
  .nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; font-size: 1.6rem; font-weight: 800; padding: 14px 0; font-variation-settings: "wdth" 115; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { color: var(--coral); border-color: var(--line); }
  .main-nav .mobile-cta { display: flex; margin-top: 28px; }
}
@media (min-width: 901px) { .main-nav .mobile-cta { display: none; } }

/* ---------- Stitch band (signature motif) ---------- */
.stitch-band {
  height: 26px;
  background-image: var(--stitch-cobalt);
  background-repeat: repeat-x;
  background-size: 22px 26px;
}
.stitch-band.coral { background-image: var(--stitch-coral); }
.stitch-band.white { background-image: var(--stitch-white); }
.stitch-band.knit-in { animation: knit 1.8s steps(48, end) .3s both; }
@keyframes knit { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Hero (home) ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
.hero h1 { font-size: var(--t-hero); line-height: .95; color: var(--cobalt-deep); }
.hero h1 .line { display: block; }
.hero h1 .line + .line { color: var(--ink); }
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img);
  background: var(--mist);
}
.hero-tag {
  position: absolute; left: -28px; bottom: 32px;
  background: var(--coral); color: #fff;
  padding: 14px 18px; border-radius: 4px;
  font-weight: 700; font-size: .95rem; line-height: 1.3;
  max-width: 200px;
}
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line);
}
.hero-facts div { padding: 22px 24px 26px 0; }
.hero-facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-size: var(--t-md); font-variation-settings: "wdth" 118; }
.hero-facts span { color: var(--muted); font-size: var(--t-sm); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-tag { left: 16px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-mist { background: var(--mist); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 48px; margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 { font-size: var(--t-2xl); max-width: 14ch; }
.section-head p { max-width: 30em; color: var(--muted); }

/* ---------- Category mosaic ---------- */
.mosaic {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.mosaic .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .tile:nth-child(6) { grid-column: span 2; }
.tile { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--radius-img); overflow: hidden; background: var(--cobalt-deep); min-height: 280px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,20,56,.78) 0%, rgba(12,20,56,0) 55%);
}
.tile-label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.tile-label strong { display: block; font-size: var(--t-lg); font-variation-settings: "wdth" 118; line-height: 1.1; }
.tile-label span { font-size: var(--t-sm); opacity: .92; }
.tile:hover .tile-label strong { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 6px; text-decoration-thickness: 3px; }

@media (max-width: 960px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic .tile:nth-child(6) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .tile:nth-child(1) { grid-column: auto; grid-row: auto; min-height: 380px; }
}

/* ---------- Craft feature ---------- */
.feature-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.feature-split.reverse > :first-child { order: 2; }
.feature-split img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-img); background: var(--mist); }
.feature-split h2 { font-size: var(--t-2xl); margin-bottom: 24px; }
.feature-split .lede + .lede { margin-top: 16px; }
@media (max-width: 860px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse > :first-child { order: 0; }
}

/* Process: a true sequence, so it is numbered */
.process { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.process li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.process li::before {
  content: counter(step); grid-row: span 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cobalt); color: #fff; font-weight: 800;
}
.process strong { font-size: var(--t-md); }
.process span { color: var(--muted); }

/* ---------- Lookbook strip ---------- */
.lookbook-controls { display: flex; gap: 10px; }
.icon-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  display: inline-grid; place-items: center; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.icon-btn:hover { background: var(--ink); color: #fff; }
.icon-btn svg { width: 20px; height: 20px; }
.lookbook {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 360px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 18px; scrollbar-width: thin;
  max-width: calc(var(--max) + (100vw - var(--max)) / 2);
  margin-left: auto;
}
@media (max-width: 1320px) { .lookbook { max-width: none; } }
.lookbook figure { margin: 0; scroll-snap-align: start; }
.lookbook img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-img); background: var(--mist); }

/* ---------- Amazon band ---------- */
.amazon-band { background: var(--cobalt); color: #fff; }
.amazon-band .stitch-band { opacity: .35; }
.amazon-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.amazon-grid h2 { font-size: var(--t-2xl); }
.amazon-grid .lede { color: #DCE3FA; margin-top: 20px; }
.amazon-grid .btn { margin-top: 32px; }
.perk-list { list-style: none; margin: 0; padding: 0; }
.perk-list li { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.28); }
.perk-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.perk-list strong { display: block; font-size: var(--t-md); }
.perk-list span { color: #DCE3FA; font-size: .975rem; }
@media (max-width: 860px) { .amazon-grid { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.signup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 72px; align-items: end;
}
.signup h2 { font-size: var(--t-xl); }
.signup p { color: var(--muted); margin-top: 12px; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.field-row input { flex: 1 1 240px; min-width: 0; }
label { font-weight: 700; font-size: .95rem; }
input, textarea, select {
  font: inherit; color: var(--ink);
  min-height: 52px; padding: 12px 18px;
  border: 1.5px solid #8C95B3; border-radius: 10px; background: #fff;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #6A7290; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 1px; border-color: var(--cobalt); }
.field-hint { font-size: var(--t-sm); color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(36px, 5vw, 56px); }
.page-hero h1 { font-size: var(--t-2xl); color: var(--cobalt-deep); max-width: 16ch; }
.page-hero .lede { margin-top: 22px; }

.banner-img { width: 100%; height: clamp(240px, 38vw, 520px); object-fit: cover; background: var(--mist); }

/* ---------- Shop ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 40px 22px; }
.product { display: flex; flex-direction: column; }
.product[hidden] { display: none; }
.product-media { position: relative; border-radius: var(--radius-img); overflow: hidden; background: var(--mist); }
.product-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
.product-body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product h3 { font-size: var(--t-md); font-variation-settings: "wdth" 115; }
.price { font-weight: 800; white-space: nowrap; }
.product .material { font-size: var(--t-sm); color: var(--turquoise); font-weight: 700; }
.product p { color: var(--muted); font-size: .975rem; }
.product .btn { margin-top: 14px; align-self: flex-start; }
.filter-status { color: var(--muted); font-size: var(--t-sm); margin-bottom: 18px; }

/* ---------- Craft page steps ---------- */
.step-rows { display: grid; gap: clamp(56px, 8vw, 104px); }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--coral); color: #fff; font-weight: 800; margin-bottom: 22px;
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.check-list svg { width: 22px; height: 22px; margin-top: 2px; color: var(--turquoise); }

.materials { width: 100%; border-collapse: collapse; }
.table-scroll { overflow-x: auto; }
.materials th, .materials td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.materials th { font-size: var(--t-sm); color: var(--muted); font-weight: 700; }
.materials td:first-child { font-weight: 800; font-size: var(--t-md); font-variation-settings: "wdth" 115; white-space: nowrap; }

.cert-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.cert {
  flex: 1 1 260px; border: 1.5px solid var(--line); border-radius: 10px; padding: 26px;
  background: #fff;
}
.cert strong { display: block; font-size: var(--t-md); margin-bottom: 8px; }
.cert p { color: var(--muted); }
.cert a { display: inline-block; margin-top: 14px; }

/* ---------- About ---------- */
.big-quote {
  font-size: var(--t-xl); line-height: 1.2; font-weight: 700; max-width: 28ch;
  font-variation-settings: "wdth" 112; color: var(--cobalt-deep);
}
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.values div { padding: 28px 28px 8px 0; }
.values div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.values h3 { font-size: var(--t-md); margin-bottom: 10px; }
.values p { color: var(--muted); }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .values div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.stats { display: flex; flex-wrap: wrap; gap: 40px 72px; margin-top: 36px; }
.stats strong { display: block; font-size: var(--t-2xl); font-variation-settings: "wdth" 125; color: var(--cobalt); line-height: 1; }
.stats span { color: var(--muted); }

/* ---------- Help: FAQ, sizes, contact ---------- */
.help-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.help-grid > * { min-width: 0; }
.help-nav { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 4px; }
.help-nav a { text-decoration: none; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); }
.help-nav a:hover { color: var(--cobalt); }
@media (max-width: 860px) {
  .help-grid { grid-template-columns: 1fr; }
  .help-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .help-nav a { border-bottom: 0; }
}
.help-block + .help-block { margin-top: clamp(64px, 8vw, 96px); }
.help-block h2 { font-size: var(--t-xl); margin-bottom: 24px; scroll-margin-top: 110px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 700; font-size: var(--t-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px;
  border-right: 2.5px solid var(--cobalt); border-bottom: 2.5px solid var(--cobalt);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

.size-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.size-table th, .size-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--mist); font-size: var(--t-sm); }
.size-table tbody th { font-weight: 800; font-size: var(--t-md); }

.contact-form { display: grid; gap: 18px; max-width: 640px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .field { display: grid; gap: 8px; }
textarea { min-height: 160px; resize: vertical; }
@media (max-width: 560px) { .contact-form .two { grid-template-columns: 1fr; } }

.note {
  margin-top: 18px; padding: 14px 18px; border-radius: 8px;
  background: #FFF4F1; color: #7A2416; font-size: var(--t-sm);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--cobalt-deep); color: #DCE3FA; }
.site-footer .stitch-band { opacity: .25; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px;
}
.footer-brand .wordmark { color: #fff; font-size: 2.2rem; }
.footer-brand p { margin-top: 16px; max-width: 28ch; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px 32px; border-top: 1px solid rgba(255,255,255,.18); font-size: var(--t-sm);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Product origin, footer address, legal pages ---------- */
.product .origin { font-size: .8125rem; color: var(--muted); }
.site-footer address { font-style: normal; line-height: 1.6; margin-top: 6px; color: #C3CCEA; }
.legal { max-width: 70ch; margin-top: 40px; }
.legal h2 { font-size: var(--t-md); margin: 40px 0 12px; font-variation-settings: "wdth" 112; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 12px 0 0; display: grid; gap: 6px; }
.legal a { color: var(--cobalt); }
