/* ============================================================
   Orion Tech Solutions — style.css
   Single theme: OTS Green page, white text, #FFA500 accent.
   Two block colors total: green (page) and cream.

   Accent inversion rule: #FFA500 passes on green surfaces
   (5.1:1 page, 6.6:1 deep, 3.9:1 raised — components only there)
   and FAILS on cream/white (1.5–2.0:1). Inside .block-cream the
   scoped tokens swap the accent role to OTS Green — orange never
   crosses into a light field as text, hairline, or ring.
   ============================================================ */

/* ------------------------------------------------------------
   Montserrat — self-hosted (variable font, weights 400–700)
   ------------------------------------------------------------ */
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-var-latin.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;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-var-latin-ext.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;
}

/* ------------------------------------------------------------
   Design Tokens — one set
   ------------------------------------------------------------ */
:root {
  /* Type */
  --font-stack: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "Montserrat", var(--font-stack);
  --font-body: "Montserrat", var(--font-stack);

  /* Brand */
  --ots-green: #154854;
  --ots-accent: #FFA500; /* the one orange on this site */

  /* Motion & shape */
  --transition-speed: 0.6s;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* App icons (projects page) — one knob for all four */
  --app-icon-size: 64px;

  /* Surfaces — sections are lines and type on the page green; the one
     component surface left is deep (drawer, inputs, footer) */
  --bg: var(--ots-green);
  --surface-deep: #0E3540; /* accent text reads 6.6:1 here */

  /* Text */
  --text: #FFFFFF;         /* 10.1:1 page · 7.7:1 raised · 13.1:1 deep */
  --heading: #FFFFFF;
  --muted-text: #B9CCD2;   /* 6.1:1 page · 4.6:1 raised · 7.9:1 deep */

  /* Accent roles — all resolve to green inside .block-cream */
  --accent: var(--ots-accent); /* text: page 5.1:1, deep 6.6:1; raised 3.9:1 = components only */
  --on-accent: #000000;        /* 10.6:1 on the accent fill */
  --link: var(--accent);
  --eyebrow-cell: var(--accent);
  --focus-ring: var(--accent); /* 5.1:1 vs page — ≥3:1 everywhere it can appear */

  /* Hairlines */
  --hairline: rgba(255, 255, 255, 0.16);

  /* Header */
  --header-bg: rgba(21, 72, 84, 0.9);

  /* Forms */
  --error: #FF9E8A; /* 5.0:1 page · 6.6:1 deep */
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B9CCD2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

  /* Block: cream — the only light field */
  --block-cream: #F5EFE3;
  --ink: #16323B; /* 11.8:1 on cream */
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  /* Full-bleed cream blocks span 100vw; clip the scrollbar-width
     overhang without creating a scroll container (sticky-safe) */
  overflow-x: clip;
  /* Pin the footer to the viewport bottom on short pages */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 1024px) {
  body {
    font-size: 1.0625rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--heading);
}

a {
  color: var(--link);
}

a:hover {
  text-decoration-thickness: 2px;
}

/* ------------------------------------------------------------
   Accessibility utilities
   ------------------------------------------------------------ */

/* Skip link — visually hidden until keyboard focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background-color: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Visible keyboard focus — ring token is surface-aware via .block-cream */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Respect the user's reduced-motion preference */
@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;
  }
}

/* ------------------------------------------------------------
   Inline SVG icons
   ------------------------------------------------------------ */
.icon {
  display: block;
  width: 24px;
  height: 24px;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--hairline);
  /* No filter/transform/backdrop-filter on this element: any of them
     would become the containing block for the fixed-position drawer
     inside it, pinning the drawer to the header box instead of the
     viewport. The blur lives on ::before, which has no descendants. */
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.site-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--text);
}

.site-mark {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem;
  background: none;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
}

.header-controls button:hover {
  opacity: 0.7;
}

/* ------------------------------------------------------------
   Navigation — desktop
   ------------------------------------------------------------ */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.2rem 0;
}

/* Active/hover indicator grows in from the left — accent on green, 5.1:1 */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease-out;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.mobile-close-btn {
  display: none;
}

/* Must outrank `.header-controls button` (0,1,1) — keep this ≥ (0,2,0),
   and its show counterpart in the drawer media block likewise */
.header-controls .nav-toggle {
  display: none;
}

/* Backdrop behind the mobile drawer (created by script.js) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background-color: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}

.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------------------
   Navigation — drawer (phones AND tablets; desktop nav ≥1024)
   Seam is mirrored in script.js (min-width: 1024px) — change together.
   ------------------------------------------------------------ */
@media (max-width: 1023.98px) {
  .header-controls .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(78vw, 320px);
    background-color: var(--surface-deep);
    box-shadow: -1px 0 0 var(--hairline);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) calc(1.5rem + env(safe-area-inset-right, 0px)) 2rem 1.5rem;
    transform: translateX(105%);
    transition: transform 240ms cubic-bezier(0.4, 0, 1, 1); /* exit */
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
    transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1); /* enter */
  }

  /* Drawer items enter with a short stagger (7 items: close + 6 links) */
  .nav-menu li {
    width: 100%;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 220ms ease-out, transform 220ms ease-out;
  }

  .nav-menu.open li {
    opacity: 1;
    transform: none;
  }

  .nav-menu.open li:nth-child(2) { transition-delay: 30ms; }
  .nav-menu.open li:nth-child(3) { transition-delay: 60ms; }
  .nav-menu.open li:nth-child(4) { transition-delay: 90ms; }
  .nav-menu.open li:nth-child(5) { transition-delay: 120ms; }
  .nav-menu.open li:nth-child(6) { transition-delay: 150ms; }
  .nav-menu.open li:nth-child(7) { transition-delay: 180ms; }

  .nav-menu a {
    display: block;
    padding: 0.9rem 0; /* ≥44px touch targets */
    font-size: 1.05rem;
  }

  .nav-menu a::after {
    display: none; /* the drawer marks the current page with color */
  }

  /* Accent text on the deep drawer surface reads 6.6:1 */
  .nav-menu a[aria-current="page"] {
    color: var(--accent);
  }

  .header-controls button {
    padding: 0.625rem; /* 24px icon + padding ≈ 44px touch target */
  }

  .mobile-close-btn {
    display: block;
    position: absolute;
    top: 0.9rem;
    left: 1.1rem;
    width: auto;
  }

  .mobile-close-btn button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.625rem;
    background: none;
    border: 0;
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* Small phones — wider drawer */
@media (max-width: 479.98px) {
  .nav-menu {
    width: min(85vw, 320px);
  }
}

/* Tablet — drawer nav persists; more generous frame */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .nav-menu {
    width: 360px;
  }

  main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .block-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Landscape phones — trim drawer chrome */
@media (max-height: 500px) {
  .nav-menu {
    padding-top: 3.5rem;
  }
}

/* ------------------------------------------------------------
   Main content
   ------------------------------------------------------------ */
main {
  flex: 1 0 auto; /* fills the viewport so the footer stays at the bottom */
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 4.5rem;
  scroll-margin-top: 5rem; /* skip-link target clears the sticky header */
}

main > section + section {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

main p {
  max-width: 68ch;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted-text);
  max-width: 62ch;
}

.hero h1 {
  max-width: 24ch;
}

/* Eyebrow — uppercase letterspaced label; the small filled square is the
   mark's lit cell quoted at text scale */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
}

.eyebrow-cell {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background-color: var(--eyebrow-cell);
}

/* One horizontal rule per page, where a section break needs weight
   (accent on green: 5.1:1) */
.rule-accent {
  border: 0;
  height: 3px;
  width: 56px;
  background-color: var(--accent);
  margin: 2.25rem 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.arrow {
  flex-shrink: 0;
  transition: transform 150ms ease-out;
}

.link-arrow:hover .arrow,
.link-arrow:focus-visible .arrow,
.button-secondary:hover .arrow,
.button-secondary:focus-visible .arrow {
  transform: translateX(3px);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.button-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--on-accent); /* 10.6:1 on the fill */
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: transform 100ms ease;
}

.button-primary:hover {
  color: var(--on-accent);
  transform: translateY(-1px);
}

.button-primary:active {
  transform: translateY(1px);
}

/* Secondary: white text/border on the page green; accent appears on
   hover as the border (component, 5.1:1 on the page). */
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 100ms ease;
}

.button-secondary:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.button-secondary:active {
  transform: translateY(1px);
}

/* ------------------------------------------------------------
   Homepage services accordion — lines, not surfaces. Rows sit on
   the page green separated by hairlines; hierarchy comes from
   type. Expanding reads as more content in the same plane.
   ------------------------------------------------------------ */
.service-accordion {
  border-top: 1px solid var(--hairline);
}

.service-item {
  border-bottom: 1px solid var(--hairline);
}

.service-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 1.15rem 0;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading);
}

.service-preview {
  grid-column: 1;
  font-size: 0.95rem;
  color: var(--muted-text);
}

.accordion-chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted-text);
  transition: transform 150ms ease-out;
}

.service-item[open] .accordion-chevron {
  transform: rotate(180deg);
}

.service-detail {
  padding: 0 0 1.2rem;
}

.service-detail p {
  margin: 0 0 0.75rem;
}

/* ------------------------------------------------------------
   Projects app rows — same flat language as the accordion and
   client rows: icon left, type right, hairline seams
   ------------------------------------------------------------ */
.app-rows {
  margin-top: 2.25rem;
  border-top: 1px solid var(--hairline);
}

.app-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--hairline);
}

.app-row h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.app-row p {
  margin: 0 0 0.75rem;
  max-width: 62ch;
}

.card-cta {
  margin-bottom: 0;
}

@media (max-width: 559.98px) {
  .app-row {
    flex-direction: column;
    gap: 1rem;
  }
}

.status-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-text);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  margin-bottom: 0.7rem;
}

.app-icon {
  display: block;
  flex-shrink: 0;
  width: var(--app-icon-size);
  height: var(--app-icon-size);
  border-radius: 22.5%; /* uniform rounding regardless of source artwork */
  border: 1px solid var(--hairline); /* edge definition — heather/meld art
    sits near the page green's luminance (measured ~1.2–1.5:1 mean) */
}

/* ------------------------------------------------------------
   Cream block — the only light field. Full-bleed over the green
   page; every accent role swaps to OTS Green inside it, so orange
   never lands on cream (1.7:1). Grid hairlines continue in ink.
   ------------------------------------------------------------ */
.block-cream {
  --text: var(--ink);
  --heading: var(--ots-green);   /* 8.8:1 on cream */
  --muted-text: #5F5B52;         /* 5.9:1 on cream */
  --link: var(--ots-green);
  --eyebrow-cell: var(--ots-green);
  --focus-ring: var(--ots-green);
  --hairline: rgba(22, 50, 59, 0.16);

  color: var(--text);
  background-color: var(--block-cream);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.block-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.block-inner > p {
  max-width: 68ch;
}

/* ------------------------------------------------------------
   Home page
   ------------------------------------------------------------ */
.app-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  max-width: 68ch;
}

.closing-cta {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.closing-cta .eyebrow {
  justify-content: center;
}

.closing-cta h2 {
  margin-bottom: 0.5rem;
}

.closing-cta p {
  margin: 0 auto 1.5rem;
}

/* ------------------------------------------------------------
   About page
   ------------------------------------------------------------ */
.about-mark {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0.5rem 0 2rem;
  color: var(--text); /* white ghosts/belt; lit cell reads the accent */
}

.signature {
  font-weight: 600;
  margin-top: 2.25rem;
}

/* ------------------------------------------------------------
   Clients page
   ------------------------------------------------------------ */
.client-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.client {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Logos float directly on the page green — no chips, frames, fills,
   or rings. All three are white artwork on transparency (10.1:1);
   the span is a sizing box only. */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 132px;
  height: 92px;
}

.client-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.client h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.client-body p {
  margin: 0;
  font-size: 0.98rem;
}

@media (max-width: 559.98px) {
  .client {
    flex-direction: column;
  }
}

/* ------------------------------------------------------------
   Contact page & form — inputs on the deep surface
   ------------------------------------------------------------ */
.contact-email {
  font-size: 1.05rem;
}

.contact-form {
  max-width: 560px;
  margin-top: 2.5rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-form input:not([type="hidden"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--text);
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.contact-form ::placeholder {
  color: var(--muted-text);
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
  border-color: var(--focus-ring);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Only fields the user has interacted with get the error tint */
.contact-form input:user-invalid,
.contact-form select:user-invalid,
.contact-form textarea:user-invalid {
  border-color: var(--error);
}

.contact-form button[type="submit"] {
  display: inline-block;
  background-color: var(--accent);
  color: var(--on-accent); /* 10.6:1 on the fill */
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 100ms ease;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-1px);
}

.contact-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* ------------------------------------------------------------
   Scroll reveals — html.reveals-on is added by script.js only when
   IntersectionObserver exists and reduced motion is off. Without JS
   (or under reduced motion) nothing is ever hidden.
   ------------------------------------------------------------ */
html.reveals-on [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.reveals-on [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------
   Footer — deep surface
   ------------------------------------------------------------ */
.site-footer {
  background-color: var(--surface-deep);
  border-top: 1px solid var(--hairline);
}

.footer-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}

/* Accent text on the deep surface reads 6.6:1 */
.footer-nav a:hover {
  color: var(--accent);
}

.footer-dot {
  color: var(--muted-text);
}

.footer-identity {
  margin: 1.2rem 0 0;
  font-weight: 600;
}

.footer-tagline {
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted-text);
}

.footer-copyright {
  margin: 1.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-text);
}
