/* ===== Aesthetic — chrome: quiet specimen-archive shell ===== */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(/fonts/archivo-400-900-normal-fa839703.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(/fonts/archivo-400-900-normal-4c18bbf2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-normal-1969f6ff.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-normal-e2661bcc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-normal-93cfae71.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-normal-0bc96cd0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400-normal-b6db4a06.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400-normal-6ab57b19.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-400-normal-b6db4a06.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-400-normal-6ab57b19.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-400-normal-b6db4a06.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-400-normal-6ab57b19.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FAFAFB;
  --ink: #101015;
  --ink-soft: #55555F;
  --accent: #2B32FF;
  --hairline: #E4E4EA;
  --card-bg: #FFFFFF;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 118%;
  font-size: 1.35rem; letter-spacing: -0.02em;
}
.brand-dot { color: var(--accent); }

.header-search { margin-left: auto; margin-right: 0.9rem; }
.header-search input {
  font-family: var(--font-mono); font-size: 0.78rem;
  width: 13rem; padding: 0.42rem 0.95rem;
  border: 1px solid var(--hairline); border-radius: 999px;
  background: var(--card-bg); color: var(--ink);
  transition: width 0.18s ease, border-color 0.18s ease;
}
.header-search input::placeholder { color: var(--ink-soft); }
.header-search input:focus { width: 18rem; border-color: var(--accent); outline: none; }
.header-detail .header-search { visibility: hidden; }

.header-nav { display: flex; gap: 0.4rem; }
.view-toggle {
  font-family: var(--font-mono); font-size: 0.78rem;
  padding: 0.4rem 0.9rem; border: 1px solid var(--hairline);
  background: transparent; color: var(--ink-soft); border-radius: 999px;
  transition: all 0.15s ease;
}
.view-toggle[aria-pressed="true"] {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.header-detail .header-nav { visibility: hidden; }

/* ---- Hero ---- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 5rem 1.5rem 3.5rem;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 122%;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15; letter-spacing: -0.02em;
  max-width: 34ch;
  margin-top: 0.7rem;
  text-wrap: balance;
}
.hero-count {
  margin-top: 2.4rem; max-width: 58ch;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft);
}
.hero-count span { color: var(--accent); font-weight: 500; }

/* ---- Specimen cycler: the catalog demonstrating itself ---- */
.specimen {
  display: block; margin-top: 2.8rem; width: fit-content; max-width: 100%;
}
.specimen-word {
  display: flex; align-items: center;
  width: fit-content;
  /* fixed slot height so faces with different metrics/padding/borders never reflow the page */
  height: clamp(3.6rem, 11.5vw, 8.6rem);
  font-size: clamp(2.6rem, 8.5vw, 6.5rem);
  line-height: 1.1;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.specimen.is-swapping .specimen-word { opacity: 0; transform: translateY(0.35rem); }
.specimen-caption {
  display: flex; gap: 1.2rem; align-items: baseline; margin-top: 0.9rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft);
  transition: opacity 0.22s ease;
}
.specimen.is-swapping .specimen-caption { opacity: 0; }
.specimen-open { color: var(--accent); opacity: 0; transition: opacity 0.15s ease; }
.specimen:hover .specimen-open, .specimen:focus-visible .specimen-open { opacity: 1; }

/* Specimen faces — each aesthetic's name in its own vernacular */
.spec--geocities {
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive;
  font-weight: 700;
  background: linear-gradient(90deg, #FF0000, #FF9900 25%, #009900 50%, #0000EE 75%, #9900CC);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-decoration: underline; text-decoration-color: #0000EE;
}
.spec--terminal {
  font-family: var(--font-mono); font-weight: 500;
  color: #33FF33; background: #0A0F0A;
  padding: 0.1em 0.35em;
  text-shadow: 0 0 8px rgba(51, 255, 51, 0.7);
}
.spec--terminal::after { content: '▮'; animation: spec-blink 1.1s steps(1) infinite; }
@keyframes spec-blink { 50% { opacity: 0; } }
.spec--web20 {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif; font-weight: 700; font-style: italic;
  background: linear-gradient(180deg, #9BD3FF 0%, #2F8DE4 45%, #1063B8 50%, #2F8DE4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 1px rgba(16, 99, 184, 0.35));
}
.spec--flat {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; font-weight: 300;
  color: #FFFFFF; background: #2980B9;
  padding: 0.12em 0.4em; border-radius: 0.08em;
}
.spec--vaporwave {
  font-family: 'Times New Roman', serif; font-style: italic; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: linear-gradient(90deg, #FF71CE, #B967FF 40%, #01CDFE);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec--brutalism {
  font-family: 'Arial Narrow', var(--font-display), sans-serif; font-weight: 900;
  font-stretch: 85%; text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--paper); background: #000;
  padding: 0.06em 0.25em;
}
.spec--neubrutalism {
  font-family: var(--font-display); font-weight: 900; font-stretch: 110%;
  color: #101015; background: #FFDE59;
  border: 3px solid #101015; box-shadow: 0.14em 0.14em 0 #101015;
  padding: 0.05em 0.3em;
}
.spec--aurora {
  font-family: var(--font-body); font-weight: 600; letter-spacing: -0.04em;
  background: linear-gradient(100deg, #7C6CFF, #46C6C2 55%, #B78CFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(124, 108, 255, 0.35));
}
.spec--corporate90s {
  font-family: 'Times New Roman', Times, serif; font-weight: 700;
  color: #000080; background: #C0C0C0;
  border: 2px outset #E8E8E8;
  padding: 0.06em 0.3em;
}
.spec--flash {
  font-family: 'Verdana', 'Tahoma', sans-serif; font-weight: 900; font-style: italic;
  background: linear-gradient(180deg, #FFB300, #FF6D00 55%, #E53935);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 109, 0, 0.35));
}
.spec--grunge {
  font-family: 'Courier New', monospace; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #3B3430;
  text-shadow: 0.05em 0.05em 0 rgba(122, 30, 30, 0.55);
  transform: rotate(-1.2deg);
}
.spec--skeuo {
  font-family: 'Georgia', serif; font-weight: 700;
  color: #F4E9D4;
  background: linear-gradient(180deg, #8A5A33, #5E3A1E);
  border: 1px solid #3E2612; border-radius: 0.18em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 4px rgba(0, 0, 0, 0.3);
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.5);
  padding: 0.08em 0.35em;
}
.spec--frutiger {
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif; font-weight: 600;
  background: linear-gradient(180deg, #C7F464 0%, #4FC3F7 60%, #0288D1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 6px rgba(79, 195, 247, 0.5));
}
.spec--gridmin {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 200;
  letter-spacing: 0.12em; color: #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
}
.spec--swiss {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700;
  letter-spacing: -0.03em; color: #111;
}
.spec--swiss::after { content: '.'; color: #E30613; }
.spec--responsive {
  font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 500;
  color: #1976D2;
  border: 2px solid #1976D2; border-radius: 0.5em;
  padding: 0.08em 0.4em;
}
.spec--metro {
  font-family: 'Segoe UI Light', 'Segoe UI', sans-serif; font-weight: 200;
  color: #FFF; background: #0078D7;
  padding: 0.1em 0.4em;
}
.spec--kinetic {
  font-family: var(--font-display), sans-serif; font-weight: 900; font-style: italic;
  text-transform: uppercase; color: #17171B;
  transform: skewX(-6deg);
  text-shadow: 0.08em 0 0 rgba(23, 23, 27, 0.25), 0.16em 0 0 rgba(23, 23, 27, 0.1);
}
.spec--ghost {
  font-family: 'Montserrat', 'Helvetica Neue', sans-serif; font-weight: 300;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: #5A6570;
  border: 2px solid #5A6570;
  padding: 0.12em 0.5em;
}
.spec--material {
  font-family: 'Roboto', 'Segoe UI', sans-serif; font-weight: 500;
  color: #FFF; background: #6200EE;
  border-radius: 0.12em;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.24);
  padding: 0.1em 0.4em;
}
.spec--synthwave {
  font-family: var(--font-mono); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: linear-gradient(180deg, #FF2975 45%, #00E5FF 55%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 41, 117, 0.4));
}
.spec--memphis {
  font-family: var(--font-display), sans-serif; font-weight: 800;
  color: #17171B;
  text-decoration: underline wavy #FFD400; text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}
.spec--pixel {
  font-family: var(--font-mono); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #2B2B60;
  text-shadow: 0.07em 0.07em 0 #9AD1A6;
}
.spec--corpmemphis {
  font-family: 'Nunito', 'Trebuchet MS', sans-serif; font-weight: 800;
  color: #6C63FF;
  border-bottom: 0.14em solid #FFB86B; border-radius: 0.02em;
}
.spec--darkmode {
  font-family: 'Inter', 'Segoe UI', sans-serif; font-weight: 500;
  color: #E6E8EE; background: #111318;
  border: 1px solid #2A2E38; border-radius: 0.14em;
  padding: 0.1em 0.4em;
}
.spec--maximalism {
  font-family: var(--font-display), sans-serif; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
  background: linear-gradient(90deg, #E53935, #FB8C00 30%, #8E24AA 65%, #00897B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-decoration: underline double #E53935;
}
.spec--handdrawn {
  font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-weight: 700; color: #2B2B2B;
  transform: rotate(-1.5deg);
}
.spec--glass {
  font-family: 'Inter', 'Segoe UI', sans-serif; font-weight: 600;
  color: #1F2A44;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(210, 225, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 0.24em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(31, 42, 68, 0.12);
  padding: 0.1em 0.4em;
}
.spec--neu {
  font-family: 'Nunito', 'Segoe UI', sans-serif; font-weight: 700;
  color: #8A94A8; background: #E0E5EC;
  border-radius: 0.3em;
  box-shadow: 0.12em 0.12em 0.3em #B8BEC7, -0.12em -0.12em 0.3em #FFFFFF;
  padding: 0.1em 0.45em;
}
.spec--y2k {
  font-family: 'Arial Black', 'Arial', sans-serif; font-weight: 900; font-style: italic;
  background: linear-gradient(180deg, #F4F7FA 0%, #9FB6CC 45%, #DDE7F0 50%, #6E87A0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(120, 170, 255, 0.55));
}
.spec--fintech {
  font-family: var(--font-mono); font-weight: 500;
  color: #34D399; background: #0B1220;
  border: 1px solid #1E293B;
  padding: 0.12em 0.4em;
}
.spec--fintech::after { content: ' ▲'; font-size: 0.5em; vertical-align: 0.5em; }
.spec--editorial {
  font-family: 'Georgia', 'Times New Roman', serif; font-weight: 400; font-style: italic;
  letter-spacing: -0.02em; color: #111;
}
.spec--technoir {
  font-family: var(--font-mono); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: #7DF9FF; background: #0A0D14;
  border: 1px solid rgba(125, 249, 255, 0.35);
  text-shadow: 0 0 10px rgba(125, 249, 255, 0.5);
  padding: 0.1em 0.4em;
}
.spec--indieweb {
  font-family: 'Times New Roman', Times, serif; font-weight: 400;
  color: #0000EE; text-decoration: underline;
}
.spec--clay {
  font-family: 'Nunito', 'Trebuchet MS', sans-serif; font-weight: 800;
  color: #7C3AED; background: #F1E8FF;
  border-radius: 0.5em;
  box-shadow: inset -0.1em -0.12em 0.2em rgba(124, 58, 237, 0.2), 0 0.14em 0.3em rgba(124, 58, 237, 0.18);
  padding: 0.1em 0.45em;
}
.spec--popart {
  font-family: 'Arial Black', 'Impact', sans-serif; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.01em;
  color: #FFD400;
  -webkit-text-stroke: 2px #17171B;
  text-shadow: 0.09em 0.09em 0 #E53935;
}
.spec--bento {
  font-family: 'Inter', 'Segoe UI', sans-serif; font-weight: 600;
  color: #1A1D24; background: #F4F5F7;
  border: 1px solid #E3E5EA; border-radius: 0.32em;
  box-shadow: 0 2px 8px rgba(20, 24, 33, 0.06);
  padding: 0.1em 0.45em;
}
.spec--tactile {
  font-family: 'Inter', 'Segoe UI', sans-serif; font-weight: 700;
  color: #FFF;
  background: linear-gradient(180deg, #FF8A65, #E64A19);
  border-radius: 0.45em;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 -3px 4px rgba(0, 0, 0, 0.25), 0 4px 10px rgba(230, 74, 25, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding: 0.1em 0.45em;
}
@media (prefers-reduced-motion: reduce) {
  .spec--terminal::after { animation: none; }
}

/* ---- Footer ---- */
.site-footer {
  max-width: var(--maxw); margin: 4rem auto 0; padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-support a { color: var(--accent); }
.footer-support a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Toast ---- */
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 0.8rem;
  padding: 0.6rem 1.2rem; border-radius: 999px; z-index: 100;
}

@media (max-width: 640px) {
  .hero { padding-top: 3rem; }
  .header-inner { flex-wrap: wrap; row-gap: 0.6rem; padding: 0.75rem 1rem; }
  .header-nav { order: 2; margin-left: auto; }
  .header-search { order: 3; flex: 1 0 100%; margin: 0; }
  .header-search input,
  .header-search input:focus { width: 100%; }
}
