/* ==========================================================================
   MazariTech redesign — stylesheet
   Design tokens + components. No build step, no dependencies.
   Fonts: Libre Franklin (UI/body), IBM Plex Mono (labels/wordmark) via Google Fonts.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Steel ramp (raw palette — prefer the semantic tokens below) */
  --steel-950: #10151a;
  --steel-900: #1a212a;
  --steel-800: #26303b;
  --steel-600: #4d5c6b;
  --steel-400: #8b98a5;
  --steel-200: #ccd3da;
  --steel-100: #e3e8ec;
  --steel-50:  #f1f4f6;

  /* Accents — one structural hue (green) + one warm pop (copper) */
  --green: #3f9b6d;
  --green-deep: #2b6d4c;
  --copper: #d98544;

  /* Type scale (fluid, 360px -> 1440px+) */
  --t-1:  clamp(11.5px, 0.72vw, 13px);   /* mono labels */
  --t-0:  clamp(15px, 1vw, 16.5px);      /* body */
  --t-1x: clamp(17px, 1.25vw, 20px);     /* lead body */
  --t-2:  clamp(21px, 1.7vw, 26px);      /* h3 */
  --t-3:  clamp(27px, 2.6vw, 38px);      /* service row h3 */
  --t-4:  clamp(34px, 4.4vw, 60px);      /* h2 */
  --t-5:  clamp(44px, 8.4vw, 96px);      /* h1 / closing h2 */

  /* Spacing scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: clamp(48px, 6vw, 80px);
  --s-6: clamp(64px, 9vw, 120px);
  --gut: clamp(20px, 4vw, 64px);   /* page gutter */
  --measure: 1320px;               /* max content width */

  /* Lines */
  --hair: 1px solid var(--line);
  --hair-dark: 1px solid rgba(203, 214, 224, 0.18); /* hairline on dark panels */

  /* Semantic — LIGHT THEME (default) */
  --bg: var(--steel-50);
  --surface: #ffffff;
  --band: var(--steel-100);
  --ink: var(--steel-950);
  --ink-soft: var(--steel-600);
  --line: rgba(77, 92, 107, 0.28);
  --edge: var(--steel-200);
  --panel: #282c34;        /* call-demo panel (Atom One Dark ground) */
  --pill: #21252b;         /* selected client pill — one step darker than panel */
  --inverse: #282c34;      /* contact band + footer */
  --inverse-ink: #dfe3ea;
  --header-bg: rgba(241, 244, 246, 0.9);
  --header-solid: #f1f4f6;
  --accent-text: var(--green-deep);
  color-scheme: light;
}

/* Semantic — DARK THEME (Atom One Dark derived) */
:root[data-theme="dark"] {
  --bg: #282c34;
  --surface: #2f343d;
  --band: #21252b;
  --ink: #dfe3ea;
  --ink-soft: #abb2bf;
  --line: rgba(171, 178, 191, 0.20);
  --edge: rgba(171, 178, 191, 0.28);
  --panel: #1b1f24;
  --pill: #12161a;
  --inverse: #21252b;
  --inverse-ink: #dfe3ea;
  --header-bg: rgba(40, 44, 52, 0.9);
  --header-solid: #282c34;
  --accent-text: #7fc99f;
  color-scheme: dark;
}

/* --- 2. Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:target, [id] { scroll-margin-top: 86px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, li { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-text); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--green); color: #fff; }

.wrap { max-width: var(--measure); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { color: var(--ink-soft); }
.lead { font-size: var(--t-1x); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
.body { font-size: var(--t-0); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }

/* --- 3. Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-solid);       /* intentional solid bar when blur is unavailable */
  border-bottom: var(--hair);
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header {
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
.site-header__inner {
  max-width: var(--measure); margin: 0 auto;
  padding: 12px var(--gut);
  min-height: 70px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px var(--s-3);
}
.wordmark {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.wordmark span { color: var(--green); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.site-nav a.nav-link {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.site-nav a.nav-link:hover { color: var(--ink); }
.pill-link {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1); letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid var(--edge); border-radius: 999px;
  padding: 9px 16px; background: var(--surface);
}
.pill-link:hover { border-color: var(--green); color: var(--accent-text); }
.theme-toggle {
  display: flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--edge); border-radius: 999px;
  padding: 8px 14px; background: var(--surface);
  transition: border-color .18s ease, color .18s ease;
}
.theme-toggle:hover { border-color: var(--green); color: var(--accent-text); }
.theme-toggle__dot {
  width: 9px; height: 9px; border-radius: 999px;
  border: 1px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

/* --- 4. Hero ------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; padding: var(--s-6) 0 var(--s-5); }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent-text); margin-bottom: var(--s-4); }
.status-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--green); animation: ring 2.4s ease-in-out infinite; }
.hero h1 { font-size: var(--t-5); line-height: 0.94; letter-spacing: -0.038em; font-weight: 600; max-width: 15ch; text-wrap: balance; }
.hero h1 .muted { color: var(--ink-soft); }
.hero__lead { max-width: 48ch; margin-top: var(--s-4); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-4); }
.btn {
  font-size: var(--t-0); font-weight: 500;
  padding: 16px 26px; border-radius: 2px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--primary { background: var(--copper); color: var(--steel-950); font-weight: 600; }
.btn--primary:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--edge); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-soft); transform: translateY(-1px); }
.btn--onDark { background: var(--copper); color: #10151a; font-weight: 600; }
.btn--onDark:hover { background: #fff; transform: translateY(-1px); }
.btn--onDarkGhost { border: 1px solid rgba(203, 214, 224, 0.32); color: var(--inverse-ink); }
.btn--onDarkGhost:hover { border-color: var(--copper); color: var(--copper); }

/* --- 5. Call demo (hero panel) ------------------------------------------- */
.demo { min-width: 0; display: grid; gap: 10px; }
.demo__tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.demo__tabsLabel { color: var(--ink-soft); margin-right: 6px; }
.demo__tab {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--edge); background: var(--surface); color: var(--ink-soft);
  transition: all .18s ease;
}
.demo__tab:hover { border-color: var(--green); color: var(--accent-text); }
.demo__tab[aria-pressed="true"] { border-color: var(--pill); background: var(--pill); color: #dfe3ea; }
.panel {
  background: var(--panel); border-radius: 4px; overflow: hidden; position: relative;
  box-shadow: 0 28px 56px -32px rgba(16, 21, 26, 0.55);
}
.panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent); opacity: .7;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-bottom: var(--hair-dark);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-400);
}
.panel__live { display: flex; align-items: center; gap: 8px; color: var(--green); }
.panel__live .status-dot { animation-duration: 1.6s; }
.transcript {
  height: clamp(210px, 26vh, 260px);
  overflow-y: auto;
  padding: 16px 18px 22px;
  display: grid; gap: 12px; align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(203, 214, 224, 0.28) rgba(203, 214, 224, 0.06);
}
.transcript::-webkit-scrollbar { width: 8px; }
.transcript::-webkit-scrollbar-thumb { background: rgba(203, 214, 224, 0.28); border-radius: 8px; }
.transcript::-webkit-scrollbar-track { background: rgba(203, 214, 224, 0.06); }
.line { display: grid; gap: 3px; animation: lineIn .45s ease-out both; }
.line--ai { padding-left: 13px; border-left: 2px solid var(--green); }
.line__who { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: var(--t-1); letter-spacing: 0.1em; color: var(--steel-600); }
.line--ai .line__who { color: var(--green); }
.line__text { font-size: var(--t-0); line-height: 1.45; color: var(--steel-200); }
.line--ai .line__text { color: #fff; }
.panel__foot {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 18px; border-top: var(--hair-dark); background: rgba(38, 48, 59, 0.55);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1); letter-spacing: 0.1em; text-transform: uppercase;
}
.panel__foot::before { /* fade hinting more transcript above */
  content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 34px;
  background: linear-gradient(to top, var(--panel), transparent); pointer-events: none;
}
.panel__progress { color: var(--steel-400); }
.panel__replay { display: flex; align-items: center; gap: 7px; color: var(--copper); padding: 3px 2px; letter-spacing: 0.1em; text-transform: uppercase; }
.panel__replay:hover { color: #fff; }
.summary { border-top: var(--hair-dark); background: rgba(38, 48, 59, 0.55); }
.summary__title { color: var(--copper); padding: 12px 18px 0; }
.summary__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(14px, 2vw, 28px); padding: 8px 18px 15px; }
.summary__k { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: var(--t-1); letter-spacing: 0.1em; color: var(--steel-400); padding: 6px 0; border-top: var(--hair-dark); }
.summary__v { font-size: var(--t-0); color: #fff; padding: 6px 0; border-top: var(--hair-dark); }
.summary__v--accent { color: var(--copper); font-weight: 600; }

/* --- 6. Week-one strip --------------------------------------------------- */
.strip { border-top: var(--hair); padding: var(--s-3) 0 var(--s-6); }
.strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: clamp(20px, 3vw, 48px); }
.strip__label { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: var(--t-1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }

/* --- 7. Services rows --------------------------------------------------- */
.services { background: var(--surface); border-top: var(--hair); border-bottom: var(--hair); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2); padding-bottom: var(--s-4); }
.section-head h2 { font-size: var(--t-4); line-height: 1; letter-spacing: -0.032em; font-weight: 600; max-width: 20ch; }
.section-head .mono { color: var(--copper); }
.rows { border-top: 2px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(14px, 3vw, 56px);
  padding: var(--s-4) clamp(8px, 1.2vw, 18px);
  border-bottom: var(--hair);
  transition: background .25s ease;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--band); }
.row__num { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: var(--t-1); letter-spacing: 0.14em; color: var(--accent-text); }
.row h3 { font-size: var(--t-3); line-height: 1.04; letter-spacing: -0.025em; font-weight: 600; }
.row p { font-size: var(--t-1x); line-height: 1.5; color: var(--ink-soft); max-width: 52ch; text-wrap: pretty; }

/* Packages block: the same service-row pattern, a second time in the section.
   Only spacing rules are new — type, color, hover, and grid all come from .row. */
.packages__head { padding-top: var(--s-6); }
.packages__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) clamp(8px, 1.2vw, 18px) 0;
}
.packages__note p {
  font-size: var(--t-1x);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
  text-wrap: pretty;
}
.packages__note strong { color: var(--ink); font-weight: 600; }

/* --- 8. Process --------------------------------------------------------- */
.process__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(20px, 4vw, 64px); align-items: end; padding-bottom: var(--s-5); }
.process__head h2 { font-size: var(--t-4); line-height: 1; letter-spacing: -0.032em; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(24px, 3vw, 44px); }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step__num { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: var(--t-1); letter-spacing: 0.14em; color: var(--copper); margin-bottom: 12px; }
.step h3 { font-size: var(--t-2); line-height: 1.12; letter-spacing: -0.018em; font-weight: 600; margin-bottom: 10px; }

/* --- 9. Who it's for ---------------------------------------------------- */
.fit { background: var(--surface); border-top: var(--hair); }
.fit__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 5vw, 80px); }
.fit h2 { font-size: var(--t-4); line-height: 1; letter-spacing: -0.032em; font-weight: 600; margin-bottom: var(--s-3); }
.fit__lead { max-width: 42ch; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; align-content: flex-start; }
.chip { font-size: var(--t-0); border: 1px solid var(--edge); border-radius: 999px; padding: 8px 15px; transition: border-color .2s ease, color .2s ease; }
.chip:hover { border-color: var(--green); color: var(--accent-text); }
.chip--aside { /* deliberately borderless: reads as an aside, not a category */
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-1); line-height: 1.45; color: var(--ink-soft);
  border: 0; padding: 8px 4px; max-width: 32ch;
}

/* --- 10. Advisory / about / contact / footer ---------------------------- */
.advisory { border-top: var(--hair); }
/* The "Also on the table" label is an <h2> so the three <h3>s below it have a parent in
   the document outline. It was a <p>; this keeps it rendering exactly as it always has. */
.advisory .eyebrow { font-weight: 400; }
.advisory__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(24px, 3.5vw, 56px); }
.advisory h3 { font-size: var(--t-2); line-height: 1.12; letter-spacing: -0.018em; font-weight: 600; margin-bottom: 10px; }
.advisory__note { margin-top: var(--s-4); padding-top: var(--s-3); border-top: var(--hair); font-size: var(--t-1x); line-height: 1.5; max-width: 64ch; text-wrap: pretty; }
.about { background: var(--band); border-top: var(--hair); }
.about__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about h2 { font-size: var(--t-4); line-height: 1.02; letter-spacing: -0.032em; font-weight: 600; max-width: 18ch; }
.about__copy { display: grid; gap: var(--s-2); max-width: 54ch; }
.contact { background: var(--inverse); color: var(--inverse-ink); }
.contact h2 { font-size: var(--t-5); line-height: 0.96; letter-spacing: -0.038em; font-weight: 600; max-width: 19ch; text-wrap: balance; color: #fff; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: end; margin-top: var(--s-4); }
.contact__lead { font-size: var(--t-1x); line-height: 1.5; color: var(--steel-400); max-width: 46ch; text-wrap: pretty; }
.site-footer { background: var(--inverse); border-top: var(--hair-dark); }
.site-footer__inner {
  max-width: var(--measure); margin: 0 auto; padding: 24px var(--gut);
  display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between; align-items: center;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: var(--t-1); letter-spacing: 0.08em;
}
.site-footer__brand { text-transform: uppercase; color: var(--steel-400); }
.site-footer__links { display: flex; gap: 20px; }
.site-footer__links a { color: var(--steel-200); }
.site-footer__links a:hover { color: var(--copper); }

/* --- 11. Motion --------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
[data-reveal][data-shown] { opacity: 1; transform: none; }
@keyframes ring { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
@keyframes lineIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --- 12. Section rhythm ------------------------------------------------- */
.section { padding-top: var(--s-6); padding-bottom: var(--s-6); }
.section--tight { padding-top: var(--s-5); }

/* --- 13. Production adjustments -----------------------------------------
   Added during integration, on top of the approved design system. Each rule
   exists to fix a real-device problem, not to restyle: touch-target sizing,
   a compact sticky header on phones, and narrow-viewport safety. The visual
   language, tokens, spacing scale, and section order are unchanged.
   ------------------------------------------------------------------------ */

/* 13a-0. Focus ring coverage.
   The base rule matches only a:focus-visible / button:focus-visible, so the
   scrollable transcript (tabindex="0", role="log") fell back to the browser's
   default 1px outline. docs/02-animation-and-states.md requires the copper ring
   on every interactive element "including the scrollable transcript". */
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 13a. Touch targets — interactive controls only, >= 44px.
   The industry chips are intentionally excluded: they are non-interactive
   <li> elements, not links or buttons, and are not focusable. */
.wordmark,
.nav-link,
.pill-link,
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.theme-toggle { min-height: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.demo__tab { min-height: 44px; }
.demo__tabs { gap: 8px; }
/* Replay reaches 44px by absorbing the foot's padding, so the bar keeps its height. */
.panel__foot { padding: 0 18px; min-height: 44px; }
.panel__replay { min-height: 44px; }

/* 13a-1. Location / reach line at the end of the About copy. */
.about__base {
  color: var(--ink-soft);
  padding-top: var(--s-2);
  border-top: var(--hair);
}

/* 13b. Compact sticky header on phones.
   The wrapping multi-row header ate too much of a 390px viewport. Below 640px
   the three in-page section links are hidden — this is a one-page site, those
   sections are immediately below, and the phone number is the conversion
   action, so it stays visible alongside the wordmark and theme toggle. */
@media (max-width: 640px) {
  .site-header__inner {
    min-height: 56px;
    padding: 6px var(--gut);
    flex-wrap: nowrap;
    gap: 10px;
  }
  .site-nav { gap: 10px; flex-wrap: nowrap; }
  .site-nav a.nav-link { display: none; }
  .wordmark { font-size: 20px; }
  .pill-link { padding: 9px 13px; }
  .theme-toggle { padding: 8px 12px; }
  [id] { scroll-margin-top: 72px; }
}

/* 13c. Narrowest phones: keep the header on one row without crowding.
   The toggle's text label drops; the button keeps its aria-label, so the
   control stays fully described to assistive tech. */
@media (max-width: 430px) {
  /* The wordmark stays at 20px: below 18.66px bold, WCAG stops treating it as
     large text and --green on the light ground would need 4.5:1 (it is 3.1:1).
     Keeping the size preserves the approved brand green without a contrast fail. */
  .theme-toggle [data-theme-label] {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .theme-toggle { padding: 8px 11px; }
}

/* 13d. Landscape phones: the sticky header must not eat a short viewport. */
@media (max-height: 460px) and (orientation: landscape) {
  .site-header__inner { min-height: 48px; padding: 4px var(--gut); }
  [id] { scroll-margin-top: 60px; }
}
