/* =========================================================
   BASE.CSS — shared chrome for the whole site
   (tokens, reset, grain, navigation, mobile menu,
    reveal animations, footer)

   Source of truth: home.css (canonical version).
   Linked globally in head.php: fonts → base → page-specific.
   ========================================================= */

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --navy:        #101c29;
  --navy-soft:   #16273a;
  --navy-deep:   #0a121b;
  --orange:      #ec592c;
  --amber:       #ec8432;
  --white:       #ffffff;
  --paper:       #f4e6cc;  /* warm cream for inverted sections; harmonises with brand */
  --paper-deep:  #e8d4a8;
  --ink-on-paper:#15212e;

  --line-white:  rgba(255,255,255,0.16);
  --line-paper:  rgba(21,33,46,0.18);
  --white-dim:   rgba(255,255,255,0.62);
  --white-mute:  rgba(255,255,255,0.40);

  --ff-display:  'Fraunces', 'Newsreader', serif;
  --ff-body:     'Newsreader', 'Fraunces', serif;
  --ff-label:    'Recursive', ui-monospace, monospace;
  --ff-script:   'Caveat', 'Newsreader', cursive;

  --ease:        cubic-bezier(0.65, 0, 0.2, 1);
  --ease-sharp:  cubic-bezier(0.85, 0, 0.15, 1);

  --max-w:       1480px;
  --pad-x:       clamp(20px, 4.2vw, 64px);
  --section-y:   clamp(96px, 14vh, 200px);

  /* added from randomness-post.css */
  --read-w:      720px;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-variation-settings: "opsz" 14;
  background: var(--navy);
  color: var(--white);
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; font-feature-settings: "ss01", "ss02"; }

::selection { background: var(--orange); color: var(--white); }

/* =========================================================
   GRAIN OVERLAY
   ========================================================= */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.085;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad-x);
  background: linear-gradient(to bottom, rgba(16,28,41,0.92) 0%, rgba(16,28,41,0.78) 70%, rgba(16,28,41,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo .mono {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  font-variation-settings: "MONO" 1, "CASL" 0;
  font-weight: 600;
}
.nav-logo .mark {
  font-family: var(--ff-display);
  font-size: 22px;
  font-variation-settings: "opsz" 24, "SOFT" 80, "wght" 700;
  font-style: italic;
  line-height: 1;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.2vw, 36px);
}
.nav-links > a,
.nav-links .nav-trigger {
  font-family: var(--ff-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 2px;
  position: relative;
  color: var(--white);
  font-variation-settings: "MONO" 0.3, "CASL" 0.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a::after,
.nav-links .nav-trigger::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--amber);
  transition: right 0.45s var(--ease);
}
.nav-links > a:hover::after,
.nav-links .nav-trigger:hover::after,
.nav-links > a[aria-current="page"]::after { right: 0; }
.nav-links > a[aria-current="page"] { color: var(--amber); }
.nav-item:hover .nav-trigger::after,
.nav-item:focus-within .nav-trigger::after { right: 0; }

/* Portfolio dropdown */
.nav-item {
  position: relative;
}
.nav-trigger .caret {
  display: inline-block;
  font-size: 8px;
  color: var(--amber);
  transition: transform 0.35s var(--ease);
  transform: translateY(-1px);
}
.nav-item:hover .nav-trigger .caret,
.nav-item:focus-within .nav-trigger .caret { transform: translateY(0) rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, -10px);
  min-width: 280px;
  background: var(--navy-deep);
  border: 1px solid var(--line-white);
  padding: 16px 0 14px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 220;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--navy-deep);
  border-top: 1px solid var(--line-white);
  border-left: 1px solid var(--line-white);
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -22px;
  left: 0; right: 0;
  height: 22px;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown .d-eyebrow {
  display: block;
  font-family: var(--ff-label);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  font-variation-settings: "MONO" 0.5;
  padding: 0 22px 10px;
  border-bottom: 1px solid var(--line-white);
  margin-bottom: 8px;
}
.nav-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 22px;
  font-family: var(--ff-display);
  font-size: 19px;
  font-style: italic;
  font-variation-settings: "opsz" 24, "SOFT" 80, "wght" 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), padding-left 0.25s var(--ease);
  position: relative;
}
.nav-dropdown a::after { content: none; }
.nav-dropdown a .d-meta {
  font-family: var(--ff-label);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-mute);
  font-variation-settings: "MONO" 0.5;
}
.nav-dropdown a:hover {
  background: rgba(236,132,50,0.08);
  color: var(--amber);
  padding-left: 28px;
}
.nav-dropdown a:hover .d-meta { color: var(--amber); }
.nav-dropdown .d-divider {
  height: 1px;
  background: var(--line-white);
  margin: 8px 0;
}
.nav-dropdown .d-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 22px 2px;
  font-family: var(--ff-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-mute);
  font-variation-settings: "MONO" 0.5;
}

/* Hire Me CTA in header */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  border: 1px solid var(--amber);
  padding: 11px 20px;
  font-variation-settings: "MONO" 0.3;
  position: relative;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(236,89,44,0.22);
  animation: pulse 2.4s var(--ease) infinite;
}
.nav-cta .arrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 0.35s var(--ease);
}
.nav-cta:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.nav-cta:hover .arrow { transform: translateX(4px); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236,89,44,0.30); }
  50%      { box-shadow: 0 0 0 8px rgba(236,89,44,0.00); }
}

.nav-menu-btn { display: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; gap: 16px; }
  .nav-cta { display: none; }
  .nav-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-label);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    font-variation-settings: "MONO" 0.3;
    border: 1px solid var(--amber);
    padding: 10px 14px 10px 16px;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
  }
  .nav-menu-btn .bars {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    width: 16px;
  }
  .nav-menu-btn .bars span {
    height: 1.5px;
    background: var(--amber);
    width: 100%;
    transition: transform 0.3s var(--ease);
  }
  .nav-menu-btn .bars span:nth-child(2) { width: 70%; align-self: flex-end; }
  .nav-menu-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
  .nav-menu-btn:hover .bars span { background: var(--white); }
}

/* =========================================================
   MOBILE MENU OVERLAY  (reversed: paper bg, navy ink)
   ========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--paper);
  color: var(--ink-on-paper);
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease-sharp), visibility 0s linear 0.7s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
  isolation: isolate;
}
.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.7s var(--ease-sharp), visibility 0s linear 0s;
}
.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(236,89,44,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(236,132,50,0.10) 0%, transparent 55%);
}
.mobile-menu::after {
  /* grain on the paper */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}
.mobile-menu-inner {
  position: relative;
  padding: 22px var(--pad-x) 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100dvh;
}
.mobile-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}
.mobile-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink-on-paper);
}
.mobile-logo .mono {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-variation-settings: "MONO" 1, "CASL" 0;
  font-weight: 600;
}
.mobile-logo .mark {
  font-family: var(--ff-display);
  font-size: 22px;
  font-variation-settings: "opsz" 24, "SOFT" 80, "wght" 700;
  font-style: italic;
  line-height: 1;
}
.mobile-close {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-on-paper);
  font-family: var(--ff-display);
  font-size: 26px;
  line-height: 1;
  color: var(--ink-on-paper);
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.4s var(--ease);
}
.mobile-close:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: rotate(90deg);
}
.mobile-meta {
  font-family: var(--ff-label);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-on-paper);
  opacity: 0.7;
  font-variation-settings: "MONO" 0.5;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.mobile-meta::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}
.mobile-nav > a,
.mobile-disclose > summary {
  font-family: var(--ff-display);
  font-size: clamp(38px, 9.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 90, "wght" 600;
  color: var(--ink-on-paper);
  padding: 14px 0;
  border-bottom: 1px solid rgba(21,33,46,0.16);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}
.mobile-disclose > summary { outline: none; }
.mobile-disclose > summary::-webkit-details-marker { display: none; }
.mobile-disclose > summary::marker { content: ''; }
.mobile-nav > a:hover,
.mobile-disclose > summary:hover { color: var(--orange); font-style: italic; }
.mobile-nav-num {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-variation-settings: "MONO" 0.5;
  font-weight: 600;
  align-self: center;
}
.mobile-disclose > summary .caret {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.55em;
  color: var(--orange);
  transition: transform 0.4s var(--ease);
  margin-left: 14px;
  align-self: center;
}
.mobile-disclose[open] > summary .caret { transform: rotate(45deg); }
.mobile-sub {
  display: grid;
  gap: 2px;
  padding: 10px 0 18px 18px;
  border-left: 2px solid var(--orange);
  margin: 0 0 6px 6px;
}
.mobile-sub a {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(20px, 4.6vw, 26px);
  color: var(--ink-on-paper);
  padding: 6px 0;
  font-variation-settings: "opsz" 24, "SOFT" 90, "wght" 500;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  transition: padding-left 0.25s var(--ease), color 0.25s var(--ease);
}
.mobile-sub a:hover { color: var(--orange); padding-left: 6px; }
.mobile-sub a .num {
  font-family: var(--ff-label);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(21,33,46,0.5);
  font-variation-settings: "MONO" 0.5;
}
.mobile-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(21,33,46,0.22);
}
.mobile-hire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--ink-on-paper);
  color: var(--paper);
  padding: 18px 24px;
  font-family: var(--ff-label);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  font-variation-settings: "MONO" 0.3;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  border: 1px solid var(--ink-on-paper);
}
.mobile-hire:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--ink-on-paper);
}
.mobile-hire .arrow {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
}
.mobile-status {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-on-paper);
  font-variation-settings: "MONO" 0.5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}
.mobile-status .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(236,89,44,0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
.mobile-mark {
  position: absolute;
  right: var(--pad-x);
  bottom: 18px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(140px, 36vw, 280px);
  line-height: 0.8;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 700;
  color: var(--ink-on-paper);
  opacity: 0.05;
  pointer-events: none;
  letter-spacing: -0.04em;
  transform: translateY(20%);
}
body.menu-open { overflow: hidden; }
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.55s; }
.delay-5 { transition-delay: 0.7s; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(80px, 12vh, 140px) var(--pad-x) 32px;
  position: relative;
  border-top: 1px solid var(--line-white);
}

.footer-headline {
  font-family: var(--ff-display);
  font-size: clamp(56px, 10vw, 200px);
  line-height: 0.88;
  font-variation-settings: "opsz" 144, "SOFT" 90, "wght" 600;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: var(--max-w);
  margin: 0 auto clamp(48px, 7vw, 96px);
}
.footer-headline em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 600;
  color: var(--amber);
}
.footer-headline a {
  position: relative;
  white-space: nowrap;
}
.footer-headline a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.footer-headline a:hover::after { transform: scaleX(1); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 56px;
  border-top: 1px solid var(--line-white);
}
.footer-col h4 {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  font-variation-settings: "MONO" 0.5;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col .nav-list a {
  font-family: var(--ff-display);
  font-size: 19px;
  font-variation-settings: "opsz" 24, "SOFT" 60, "wght" 500;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.footer-col .nav-list a:hover {
  color: var(--amber);
  padding-left: 6px;
}
.footer-col .nav-list a .glyph {
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  font-style: italic;
  color: var(--orange);
}
.footer-col .nav-list a:hover .glyph { opacity: 1; }

.randomness-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-white);
}
.randomness-list li:last-child { border-bottom: none; }
.randomness-list a {
  display: grid;
  gap: 4px;
  transition: padding-left 0.4s var(--ease);
}
.randomness-list a:hover { padding-left: 4px; }
.randomness-list .date {
  font-family: var(--ff-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-mute);
  font-variation-settings: "MONO" 0.5;
}
.randomness-list .title {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.35;
  color: var(--white);
  font-variation-settings: "opsz" 18, "wght" 400;
}
.randomness-list a:hover .title { color: var(--amber); }

.contact-block { display: grid; gap: 18px; }
.contact-block .email {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-variation-settings: "opsz" 32, "SOFT" 80, "wght" 600;
  font-style: italic;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.contact-block .email:hover {
  color: var(--white);
}
.contact-block .phone {
  font-family: var(--ff-label);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  font-variation-settings: "MONO" 0.3;
}
.contact-block .city {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--white-dim);
  font-style: italic;
  max-width: 28ch;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-white);
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.3s var(--ease);
  font-variation-settings: "MONO" 0.4;
}
.socials a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}
.socials .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.socials a:hover .dot { background: var(--navy); }

.footer-base {
  max-width: var(--max-w);
  margin: 64px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-white);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-mute);
  font-variation-settings: "MONO" 0.5;
}
.footer-base .center {
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--amber);
  font-variation-settings: "opsz" 32, "SOFT" 100, "wght" 600;
  text-transform: none;
}
.footer-base .right { text-align: right; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-base { grid-template-columns: 1fr; text-align: left; }
  .footer-base .center, .footer-base .right { text-align: left; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PREFERS-REDUCED-MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav-status .dot { animation: none; }
  .hero-scroll::after { animation: none; }
  .testi-progress button.is-active::after { animation: none; transform: scaleX(1); }
}
