/* maurorigo.com — shared styles (homepage + /projects/).
   Black and gold, with dark blue as an accent only. */

:root {
  --black: #0a0a0a;
  --surface: #121212;
  --surface-2: #181818;
  --line: #262626;
  --gold: #b08d2a;
  --gold-soft: #c9a53a;
  --text: #f4efe3;
  --muted: #a39e93;
  --blue: #1e3a8a;
  --blue-bright: #5b7be0;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, ui-monospace, monospace;

  --header-h: 68px;
  --radius: 16px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.6rem; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

p { color: var(--muted); }

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-soft); }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--black); }

img, svg { display: block; max-width: 100%; }

/* Code text must read literally: no "--" → "—" style ligatures. */
.kicker, .tag, .chip, .terminal, .step code, .status-card, .pillar .idx {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--black);
  border-radius: 8px;
  font-weight: 500;
}
.skip-link:focus { top: 12px; color: var(--black); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(80px, 12vw, 128px); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }

.kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--blue) 70%, transparent);
  opacity: .45;
}

.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 10, 10, .85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.brand:hover { color: var(--text); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font: 0.85rem var(--mono);
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
}
.nav-menu a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-menu a:not(.btn):hover { color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--black); }

.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: rgba(176, 141, 42, .08); color: var(--gold-soft); }

.btn--sm { padding: 8px 16px; font-size: 0.85rem; }

/* ---------- Projects area tooltip ----------
   A terminal-style speech bubble that drops in under the header button.
   The outer .cta-tip carries a transparent top padding so the pointer can
   travel from the button into the bubble without it closing. It opens to the
   right; main.js sets --tip-shift to pull it back in when the viewport is too
   narrow, and the tail moves the other way to stay under the button. */

.nav-cta { position: relative; }

.cta-tip {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  /* Warm ash gray, clearly lighter than the page so the bubble stands out.
     Text colours below are tuned to keep 4.5:1 contrast on it. */
  --tip-bg: #3a3733;
  --tip-line: #4d4944;
  --tip-muted: #c2bcb0;
  position: absolute;
  top: 100%;
  left: calc(0px - var(--tip-shift, 0px));
  z-index: 60;
  width: 300px;
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(.97);
  transform-origin: calc(60px + var(--tip-shift, 0px)) 0;
  transition:
    opacity .2s ease,
    transform .25s ease,
    visibility 0s linear .25s;
}

.cta-tip-box {
  position: relative;
  background: var(--tip-bg);
  border: 1px solid var(--tip-line);
  border-radius: 14px;
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(30, 58, 138, .25),
    0 0 40px -12px rgba(176, 141, 42, .18);
  font-family: var(--mono);
  font-size: 0.78rem;
}

/* Comic-bubble tail pointing up at the button. */
.cta-tip-box::before {
  content: "";
  position: absolute;
  top: -7px;
  left: calc(54px + var(--tip-shift, 0px));
  width: 12px;
  height: 12px;
  background: var(--tip-bg);
  border-top: 1px solid var(--tip-line);
  border-left: 1px solid var(--tip-line);
  border-top-left-radius: 3px;
  transform: rotate(45deg);
}

.cta-tip-body {
  padding: 14px 16px 15px;
  line-height: 1.65;
  color: var(--text);
}
.cta-tip-body .line {
  display: block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.cta-tip-body .line + .line { margin-top: 6px; }
.cta-tip-body .out { color: var(--tip-muted); }
/* The hint points at the button rather than reading like a link of its own:
   plain text, with only the button's label echoed in gold. */
.cta-tip-body .hint { color: var(--text); white-space: nowrap; }
.cta-tip-body .hint b { color: var(--gold-soft); font-weight: 400; }
.cta-tip-body .hint-arrow { color: var(--gold-soft); }
.cta-tip .cursor { width: .55em; height: 1em; margin-left: 4px; }
/* People still click the bubble itself; main.js forwards that click to the
   button, so the pointer cursor is honest. */
.js .cta-tip-box { cursor: pointer; }

/* Open: on hover (with a short intent delay), keyboard focus, or the
   timed intro after page load (.tip-open, set in main.js). */
.nav-cta:hover .cta-tip,
.nav-cta:has(:focus-visible) .cta-tip,
.nav-cta.tip-open .cta-tip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition:
    opacity .35s ease .12s,
    transform .55s var(--ease-out) .12s,
    visibility 0s linear .12s;
}
.nav-cta:hover .cta-tip-body .line,
.nav-cta:has(:focus-visible) .cta-tip-body .line,
.nav-cta.tip-open .cta-tip-body .line {
  opacity: 1;
  transform: none;
  transition: opacity .4s ease, transform .5s var(--ease-out);
}
.nav-cta:hover .cta-tip-body .line:nth-child(1),
.nav-cta:has(:focus-visible) .cta-tip-body .line:nth-child(1),
.nav-cta.tip-open .cta-tip-body .line:nth-child(1) { transition-delay: .22s; }
.nav-cta:hover .cta-tip-body .line:nth-child(2),
.nav-cta:has(:focus-visible) .cta-tip-body .line:nth-child(2),
.nav-cta.tip-open .cta-tip-body .line:nth-child(2) { transition-delay: .36s; }
.nav-cta:hover .cta-tip .cursor,
.nav-cta:has(:focus-visible) .cta-tip .cursor,
.nav-cta.tip-open .cta-tip .cursor { animation: cursor-blink 1.1s steps(1) .9s infinite; }

/* Escape dismisses it until the pointer/focus leaves (set in main.js). */
.nav-cta.tip-dismissed .cta-tip {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(.97);
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* Touch devices and the stacked mobile menu don't get the bubble. */
@media (hover: none), (max-width: 639.98px) {
  .cta-tip { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 64px;
  background: radial-gradient(ellipse at top, rgba(176, 141, 42, .08), transparent 60%);
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero-lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: 1.15rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---------- Terminal ---------- */

.terminal {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(30, 58, 138, .25);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.88rem;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.terminal-bar span:first-child { background: var(--gold); opacity: .8; }
.terminal-bar em { margin-left: auto; font-style: normal; }

.terminal-body {
  padding: 20px 22px 24px;
  line-height: 1.85;
  color: var(--text);
  min-height: 15em;
}
.terminal-body .line { display: block; min-height: 1.85em; white-space: pre-wrap; }
.terminal-body .out { color: var(--muted); }
.terminal-body .ok { color: var(--gold); }
.prompt { color: var(--muted); }
.prompt b { color: var(--blue-bright); font-weight: 400; }

.cursor {
  display: inline-block;
  width: .6em;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--gold);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--blue), 0 12px 40px -12px rgba(30, 58, 138, .55);
  transform: translateY(-2px);
}
.card h3 { margin-top: 14px; color: var(--text); }
.card p { margin-top: 10px; font-size: 0.98rem; }

.tag {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--gold);
}
.tag i { font-style: normal; color: var(--blue-bright); }

/* ---------- Chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  transition: color .2s ease, border-color .2s ease;
}
.chip:hover { color: var(--gold); border-color: rgba(176, 141, 42, .5); }

/* ---------- Mission ---------- */

.mission-quote {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.25;
  color: var(--text);
}
.mission-quote::before,
.mission-quote::after { color: var(--gold); }
.mission-quote::before { content: "\201C"; }
.mission-quote::after { content: "\201D"; }

.pillars {
  display: grid;
  gap: 20px;
  margin-top: 64px;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
.pillar { padding-top: 20px; border-top: 1px solid var(--line); }
.pillar .idx { font-family: var(--mono); font-size: 0.8rem; color: var(--gold); }
.pillar h3 { margin-top: 6px; font-size: 1.9rem; }
.pillar p { margin-top: 6px; font-size: 0.98rem; }

.process { margin-top: 96px; }
.process h3 { text-align: center; font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
.steps {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
.step {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step code { font-family: var(--mono); font-size: 0.9rem; color: var(--gold); }
.step p { margin-top: 8px; font-size: 0.96rem; }

/* ---------- Contact ---------- */

.contact { text-align: center; }
.contact .section-head { margin-inline: auto; }
.status-card {
  max-width: 520px;
  margin-inline: auto;
  font-family: var(--mono);
  text-align: left;
}
.status-card .cmd { color: var(--muted); font-size: 0.9rem; }
.status-card .cmd b { color: var(--blue-bright); font-weight: 400; }
.status-card .status { margin-top: 10px; color: var(--gold); font-size: 1.35rem; }
.contact-note { margin-top: 20px; font-size: 0.95rem; }

/* ---------- Projects area ---------- */

.projects-page { min-height: calc(100vh - var(--header-h) - 90px); }
.project-list { display: grid; gap: 20px; }
.project { display: grid; gap: 24px; }
.project h3 { margin-top: 6px; font-size: 2rem; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.project-meta dt { display: inline; color: var(--gold); }
.project-meta dt::after { content: " "; }
.project-meta dd { display: inline; margin: 0; }
.hash {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  word-break: break-all;
  font-variant-ligatures: none;
}
.hash b { color: var(--gold); font-weight: 400; }
.notice { margin-top: 28px; font-size: 0.9rem; }
.section-head .signed-in {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  word-break: break-all;
  font-variant-ligatures: none;
}
.project-empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

@media (min-width: 760px) {
  .project { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Access manager (/projects/access-manager/) ---------- */

.am-page [hidden] { display: none !important; }
.am-page button { cursor: pointer; }
.am-page button:disabled { opacity: .6; cursor: progress; transform: none; }
.am-title { font-size: 1.9rem; margin-bottom: 18px; }
.am-panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.am-label { display: block; margin-bottom: 8px; font-size: 0.95rem; }
.am-textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  background: var(--black);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.6;
  resize: vertical;
}
.am-textarea:focus { border-color: var(--gold); }
.am-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.am-fieldset { margin-top: 22px; padding: 0; border: 0; min-width: 0; }
.am-fieldset legend { margin-bottom: 8px; padding: 0; color: var(--text); font-size: 0.95rem; }
.am-options { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.am-option { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); cursor: pointer; }
.am-option input { width: 18px; height: 18px; accent-color: var(--gold); }
.am-status { margin-top: 18px; font-size: 0.95rem; }
.am-status p:empty { display: none; }
.am-status .am-error { color: #f0a58f; }
.am-invalid {
  margin-top: 8px;
  padding-left: 1.2em;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text);
  overflow-wrap: anywhere;
}
.am-notice {
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid rgba(176, 141, 42, .5);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.92rem;
}
.am-notice-text { color: var(--gold); }
.am-notes { padding-left: 1.2em; color: var(--muted); }
.am-notice-text + .am-notes { margin-top: 8px; }
.am-people { margin-top: 64px; }
.am-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.am-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; }
.am-table th, .am-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.am-table tbody tr:last-child td { border-bottom: 0; }
.am-table th {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.am-table td { color: var(--muted); }
.am-table .am-email { color: var(--text); overflow-wrap: anywhere; }
.am-empty { text-align: center; }
.am-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.am-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px 2px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--black);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.78rem;
  white-space: nowrap;
}
.am-chip:not(:has(button)) { padding-right: 12px; }
.am-chip-x {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1rem;
  line-height: 1;
}
.am-chip-x:hover { color: var(--gold); background: rgba(176, 141, 42, .12); }
.am-state { display: block; }
.am-row-btn { margin-top: 8px; }

@media (max-width: 639.98px) {
  .am-panel { padding: 20px; }
  .am-actions .btn { flex: 1 1 auto; }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }
.install-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.install-btn:hover { color: var(--gold); }
.install-btn[hidden], .install-hint[hidden] { display: none; }
.install-hint { flex-basis: 100%; margin: 0; text-align: right; }
.install-hint b { color: var(--gold); font-weight: 500; }

/* ---------- Reveal (only when JS is running) ---------- */

.js .reveal {
  transition: opacity .5s ease, transform .5s ease;
}
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}

@media (max-width: 639.98px) {
  .site-header .container { gap: 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: rgba(10, 10, 10, .97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { margin-top: 16px; }
  .nav-menu .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .terminal { font-size: 0.7rem; }
  .terminal-body { padding: 16px; }
  .card { padding: 24px; }

  /* No JS: keep the menu visible as a plain wrapped list. */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { position: static; height: auto; }
  html:not(.js) .site-header .container { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 0;
    background: none;
    border: 0;
  }
  html:not(.js) .nav-menu li a:not(.btn) { border: 0; padding: 0; }
  html:not(.js) .nav-menu li:last-child { margin-top: 0; }
  html:not(.js) .nav-menu .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
