/* FlatFelld - site styles. Plain CSS, no framework. One theme per page, following the system setting. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #f1f1ef;
  --surface: #e6e6e3;
  --text: #121316;
  --muted: #55575d;
  --line: rgb(18 19 22 / 0.14);
  --accent: #2f3f86;          /* denim indigo, the only accent */
  --accent-text: #f1f1ef;
  --scrim: rgb(10 11 13 / 0.92);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 118%;
  --x-wide: 125%;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e10;
    --surface: #16181b;
    --text: #e8e7e3;
    --muted: #9b9da3;
    --line: rgb(232 231 227 / 0.14);
    --accent: #93a2e0;
    --accent-text: #0d0e10;
    --scrim: rgb(6 7 8 / 0.95);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 420; font-stretch: var(--wide); letter-spacing: -0.025em; line-height: 1.05; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-stretch: var(--wide);
  color: var(--muted);
}
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Text link with an underline that draws in */
.link {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-stretch: var(--wide);
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .arr { transition: transform 0.5s var(--ease); }
.link:hover .arr { transform: translateX(4px); }

/* Buttons: square corners everywhere */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75em;
  min-height: 52px; padding: 0 28px; white-space: nowrap;
  font-size: 13px; font-weight: 560; letter-spacing: 0.16em; text-transform: uppercase; font-stretch: var(--wide);
  border: 1px solid var(--text); background: var(--text); color: var(--bg);
  cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn.block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;   /* z-scale: header 50, menu 60, lightbox 80, skip 100 */
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 26px; height: auto; fill: currentColor; }
.brand span { font-size: 15px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; font-stretch: var(--x-wide); }
.nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-stretch: var(--wide);
  padding-block: 8px; position: relative; color: var(--muted); transition: color 0.3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; }

@media (max-width: 767px) {
  .brand span { font-size: 13px; letter-spacing: 0.2em; }
  /* Without JS the links simply wrap under the brand; with JS they move into a full-screen menu. */
  .site-header { height: auto; min-height: var(--header-h); }
  .site-header .wrap { flex-wrap: wrap; padding-block: 18px; }
  .nav { gap: 18px; flex-wrap: wrap; }
  .js .site-header { height: var(--header-h); }
  .js .site-header .wrap { flex-wrap: nowrap; padding-block: 0; }
  .js .nav { display: none; }
  .js .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
    background: none; border: 0; cursor: pointer;
    font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-stretch: var(--wide);
  }
}

.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-links { margin: auto 0; display: grid; gap: 6px; }
.menu-links a {
  font-size: clamp(40px, 12vw, 64px); font-weight: 420; font-stretch: var(--wide); letter-spacing: -0.03em; line-height: 1.15;
  transform: translateY(16px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.menu.open .menu-links a { transform: none; opacity: 1; }
.menu.open .menu-links a:nth-child(2) { transition-delay: 0.05s; }
.menu.open .menu-links a:nth-child(3) { transition-delay: 0.1s; }
.menu.open .menu-links a:nth-child(4) { transition-delay: 0.15s; }
.menu-foot { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.no-scroll { overflow: hidden; }

/* ---------- Reveal (enhancement only: content is visible unless JS confirms the observer works) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .reveal-ready [data-reveal].in { opacity: 1; transform: none; }
  .reveal-ready .frame[data-reveal] { transform: none; }
  .reveal-ready .frame[data-reveal] img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
  .reveal-ready .frame[data-reveal].in img { transform: none; }
}

.frame { overflow: hidden; background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home: hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px);
  min-height: calc(100dvh - var(--header-h)); align-items: end;
  padding-block: clamp(16px, 3vw, 40px) clamp(32px, 5vw, 64px);
}
.hero-copy { padding-bottom: clamp(8px, 4vw, 56px); }
.hero h1 { font-size: clamp(44px, 5.4vw, 86px); line-height: 1; margin: 22px 0 28px; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero p { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 30ch; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero-media { height: min(82dvh, 980px); min-height: 520px; }
.hero-media img { object-position: 50% 22%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 1.1s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-media img { animation: settle 2.2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes settle { from { transform: scale(1.1); } }
@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .hero-media { order: -1; height: auto; min-height: 0; aspect-ratio: 4 / 5; margin-inline: calc(var(--gutter) * -1); }
}

/* ---------- Home: statement ---------- */
.statement { padding-block: clamp(96px, 14vw, 200px); }
.statement p {
  font-size: clamp(26px, 3.4vw, 50px); line-height: 1.22; font-weight: 340; font-stretch: 108%; letter-spacing: -0.02em;
  max-width: 24ch; margin: 0 0 40px clamp(0px, 16vw, 260px);
}
.statement p span { color: var(--muted); }
.statement .link { margin-left: clamp(0px, 16vw, 260px); }

/* ---------- Home: product rail ---------- */
.rail-sec { padding-bottom: clamp(96px, 12vw, 180px); }
.rail-grid { display: grid; grid-template-columns: minmax(260px, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.rail-info { position: sticky; top: calc(var(--header-h) + 32px); }
.rail-info h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 14px; }
.rail-info .price { font-size: 18px; margin-bottom: 6px; }
.rail-info .sizes { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 38%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 14px;
  scrollbar-color: var(--line) transparent;
}
.rail a { scroll-snap-align: start; }
.rail .frame { aspect-ratio: 2 / 3; }
.rail .frame img { transition: transform 1.2s var(--ease); }
.rail a:hover .frame img { transform: scale(1.03); }
@media (max-width: 767px) {
  .rail-grid { grid-template-columns: 1fr; }
  .rail-info { position: static; }
  .rail { grid-auto-columns: 78%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

/* ---------- Home: full-bleed + mosaic ---------- */
.bleed { height: clamp(380px, 72vh, 860px); }
.bleed img { object-position: 50% 60%; }
.mosaic-sec { padding-block: clamp(96px, 12vw, 180px); }
.mosaic {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px);
  align-items: start;
}
.mosaic .m1 { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.mosaic .m2 { grid-column: 9 / span 4; aspect-ratio: 4 / 3; margin-top: clamp(40px, 10vw, 160px); }
.mosaic .m3 { grid-column: 3 / span 5; aspect-ratio: 4 / 3; margin-top: clamp(8px, 2vw, 24px); }
.mosaic-cap { grid-column: 9 / span 4; align-self: end; }
.mosaic-cap h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 18px; }
.mosaic-cap p { color: var(--muted); max-width: 32ch; }
@media (max-width: 767px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .m1 { grid-column: 1 / -1; }
  .mosaic .m2, .mosaic .m3 { grid-column: auto; margin-top: 0; }
  .mosaic-cap { grid-column: 1 / -1; margin-top: 24px; }
}

/* ---------- Home: commissions ---------- */
.commission { padding-bottom: clamp(96px, 12vw, 180px); }
.commission-inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px);
  background: var(--surface); padding: clamp(28px, 5vw, 80px);
  align-items: center;
}
.commission h2 { font-size: clamp(40px, 6vw, 92px); line-height: 0.98; margin-bottom: 28px; }
.commission p { color: var(--muted); max-width: 40ch; margin-bottom: 36px; font-size: 18px; }
.commission .frame { aspect-ratio: 4 / 5; }
@media (max-width: 767px) { .commission-inner { grid-template-columns: 1fr; } }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(48px, 8vw, 120px) clamp(32px, 5vw, 64px); }
.page-head h1 { font-size: clamp(48px, 8vw, 128px); line-height: 0.95; }
.page-head p { margin-top: 24px; max-width: 46ch; color: var(--muted); font-size: 18px; }

/* ---------- Store ---------- */
.store-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(80px, 10vw, 140px); }
.product-card { display: block; }
.product-card .frame { aspect-ratio: 4 / 5; position: relative; }
.product-card .frame img { position: absolute; inset: 0; transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.product-card .frame img.alt { opacity: 0; }
.product-card:hover .frame img.alt, .product-card:focus-visible .frame img.alt { opacity: 1; }
.product-card:hover .frame img { transform: scale(1.02); }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.product-meta h2 { font-size: clamp(22px, 2vw, 28px); }
.product-meta .price { font-size: 18px; }
.product-card .sizes { color: var(--muted); font-size: 15px; margin-top: 4px; }
.store-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.store-side .frame { aspect-ratio: 2 / 3; }
.coming {
  border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px);
}
.coming h3 { font-size: 22px; margin-bottom: 10px; }
.coming p { color: var(--muted); margin: 0; }
@media (max-width: 767px) { .store-grid { grid-template-columns: 1fr; } }

/* ---------- Product ---------- */
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding-block: 24px; }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 88px); padding-bottom: clamp(80px, 10vw, 140px); align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pdp-gallery .frame { aspect-ratio: 2 / 3; }
.pdp-gallery .frame:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.pdp-gallery a { display: block; cursor: zoom-in; }
.pdp-panel { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-panel h1 { font-size: clamp(36px, 4vw, 60px); margin-bottom: 16px; }
.pdp-panel .price { font-size: 22px; margin-bottom: 28px; }
.pdp-panel .desc { color: var(--muted); max-width: 40ch; }
.size-list { display: flex; gap: 8px; margin: 28px 0 32px; flex-wrap: wrap; }
.size-list li {
  list-style: none; min-width: 64px; height: 44px; padding: 0 14px; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; font-stretch: var(--wide);
}
.size-list { padding: 0; }
.pdp-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.details { margin-top: 40px; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  min-height: 60px; font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-stretch: var(--wide);
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 22px; font-weight: 300; transition: transform 0.4s var(--ease); }
.details details[open] summary::after { transform: rotate(45deg); }
.details .body { padding-bottom: 28px; color: var(--muted); }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { text-align: left; padding: 10px 8px 10px 0; }
.size-table thead th { color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line); }
.size-table tbody th { font-weight: 400; color: var(--muted); }
.size-table td { color: var(--text); }
.size-chart-img { background: #fff; padding: 12px; }
@media (max-width: 899px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-panel { position: static; }
  .pdp-gallery { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .pdp-gallery a { scroll-snap-align: start; }
  .pdp-gallery .frame, .pdp-gallery .frame:first-child { grid-column: auto; aspect-ratio: 2 / 3; }
}

/* ---------- Gallery ---------- */
.gallery { columns: 3 320px; column-gap: clamp(12px, 1.6vw, 24px); padding-bottom: clamp(80px, 10vw, 140px); }
.gallery a { display: block; break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); cursor: zoom-in; }
.gallery .frame img { transition: transform 1.2s var(--ease), opacity 0.6s; }
.gallery a:hover .frame img { transform: scale(1.03); }
.gallery .tall { aspect-ratio: 3 / 4; }
.gallery .wide { aspect-ratio: 4 / 3; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  border: 0; padding: 0; background: var(--scrim); color: #e8e7e3;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: fade 0.4s var(--ease); } }
@keyframes fade { from { opacity: 0; } }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); gap: 16px; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button {
  background: none; border: 0; cursor: pointer; color: inherit; min-height: 44px; padding: 0 4px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-stretch: var(--wide);
}
.lightbox button:hover { color: #fff; }
.lb-count { font-size: 14px; color: #9b9da3; font-variant-numeric: tabular-nums; }
.lb-caption { font-size: 14px; color: #c9c8c4; text-align: center; flex: 1; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 112px); padding-bottom: clamp(80px, 10vw, 140px); align-items: start; }
.about .frame { aspect-ratio: 3 / 4; }
.about-copy p.lead { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.28; font-weight: 340; font-stretch: 108%; letter-spacing: -0.015em; margin-bottom: 64px; max-width: 26ch; }
.about-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.about-pair .frame { aspect-ratio: 4 / 3; }
.contact-list { display: grid; gap: 28px; border-top: 1px solid var(--line); padding-top: 32px; }
.contact-list div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: baseline; }
.contact-list a { font-size: 20px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
@media (max-width: 767px) {
  .about { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 112px); padding-bottom: clamp(80px, 10vw, 140px); align-items: start; }
.form { display: grid; gap: 28px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-stretch: var(--wide); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 45%, transparent);
  padding: 12px 0; font-size: 18px; border-radius: 0; transition: border-color 0.3s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.field .hint { font-size: 14px; color: var(--muted); }
.field .err { font-size: 14px; color: #c0392b; min-height: 0; }
@media (prefers-color-scheme: dark) { .field .err { color: #f08a7e; } }
.field.invalid input, .field.invalid textarea { border-bottom-color: #c0392b; }
.form-status { font-size: 16px; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.form-status[hidden] { display: none; }
.contact-side .frame { aspect-ratio: 4 / 3; margin-bottom: 40px; }
.contact-side .contact-list div { grid-template-columns: 1fr; gap: 4px; }
.contact-list a { overflow-wrap: anywhere; }
@media (max-width: 767px) { .contact { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 68ch; padding-bottom: clamp(80px, 10vw, 140px); }
.prose h2 { font-size: 24px; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(56px, 8vw, 96px); }
.stitch { height: 2px; background: repeating-linear-gradient(90deg, var(--text) 0 22px, transparent 22px 34px); opacity: 0.35; margin-bottom: clamp(48px, 7vw, 88px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-bottom: 56px; }
.foot-grid h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-stretch: var(--wide); color: var(--muted); margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { transition: color 0.3s; }
.foot-grid a:hover { color: var(--accent); }
.foot-lede { font-size: 20px; max-width: 26ch; font-stretch: 108%; }
.wordmark { display: block; width: 100%; height: auto; margin-bottom: 8px; user-select: none; }
.wordmark text { font-family: var(--font); font-size: 160px; font-weight: 600; font-stretch: var(--x-wide); fill: var(--text); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-block: 24px; border-top: 1px solid var(--line); }
.foot-base a:hover { color: var(--text); }
@media (max-width: 767px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60dvh; display: grid; align-content: center; gap: 24px; padding-block: 80px; }
.notfound h1 { font-size: clamp(48px, 8vw, 120px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
