/* ==========================================================================
   Audience Push — "The Segment" design system
   Dark audience-intelligence console theme
   ========================================================================== */

:root {
  --graphite: #111318;
  --charcoal: #1C212B;
  --fog: #F2F0EC;
  --coral: #FF5C5C;
  --slate: #8B919C;
  --slate-readable: #5b6068;
  --fog-muted: rgba(242, 240, 236, 0.82);
  --fog-soft: rgba(242, 240, 236, 0.72);
  --coral-dark: #e04848;

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --rail-width: 56px;
  --header-height: 76px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --max-width: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--graphite);
  color: var(--fog);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-weight: 800; }

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Surfaces (paired bg + text)
   -------------------------------------------------------------------------- */

.surface-graphite { background: var(--graphite); color: var(--fog); }
.surface-fog      { background: var(--charcoal); color: var(--fog); }
.surface-charcoal { background: var(--charcoal); color: var(--fog); }
.surface-coral    { background: var(--coral); color: var(--graphite); }

/* Content links — white by default, coral on hover */
main a:not(.btn):not(.site-header__logo):not(.site-footer__logo) {
  color: var(--fog);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(242, 240, 236, 0.45);
  transition: color 0.2s, text-decoration-color 0.2s;
}

main a:not(.btn):not(.site-header__logo):not(.site-footer__logo):hover,
main a:not(.btn):not(.site-header__logo):not(.site-footer__logo):focus-visible {
  color: var(--coral);
  text-decoration-color: var(--coral);
}

.site-footer a {
  color: var(--fog);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--coral);
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

/* Eyebrows — coral on all dark surfaces */
.surface-fog .eyebrow,
.surface-graphite .eyebrow,
.surface-charcoal .eyebrow {
  color: var(--coral);
}

/* Muted body copy — light grey on dark blocks */
.surface-fog .section-head p,
.surface-fog .page-header p.lede,
.surface-fog .metric-note,
.surface-fog .faq-item p,
.surface-fog .cta-band p.lede,
.surface-fog .form-note,
.surface-fog .disclaimer-box,
.surface-fog .legal-content p,
.surface-fog .legal-content li,
.surface-graphite .section-head p,
.surface-charcoal .section-head p,
.surface-graphite .page-header p.lede,
.surface-charcoal .page-header p.lede,
.surface-graphite .metric-note,
.surface-charcoal .metric-note,
.surface-graphite .faq-item p,
.surface-charcoal .faq-item p,
.surface-graphite .cta-band p.lede,
.surface-charcoal .cta-band p.lede,
.surface-graphite .hero__lede,
.surface-graphite .hero__trust,
.surface-graphite .hero__topline span,
.surface-graphite .disclaimer-box,
.surface-charcoal .disclaimer-box,
.surface-graphite .legal-content p,
.surface-charcoal .legal-content p,
.surface-fog .address-body dt {
  color: var(--fog-muted);
}

.surface-graphite .pricing-table th,
.surface-charcoal .pricing-table th,
.surface-fog .pricing-table th {
  color: var(--fog-soft);
}

.surface-graphite .pricing-table th,
.surface-graphite .pricing-table td,
.surface-charcoal .pricing-table th,
.surface-charcoal .pricing-table td,
.surface-fog .pricing-table th,
.surface-fog .pricing-table td {
  border-bottom-color: rgba(242, 240, 236, 0.16);
}

.surface-graphite .capability-card .num,
.surface-charcoal .capability-card .num,
.surface-fog .capability-card .num {
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Segment rail (left, decorative console chrome)
   -------------------------------------------------------------------------- */

.segment-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-width);
  background: var(--graphite);
  border-right: 1px solid rgba(242, 240, 236, 0.08);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.segment-rail__mark {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--coral);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.segment-rail__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.segment-rail__list li {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--fog-soft);
  letter-spacing: 0.05em;
}

.segment-rail__rotated {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--fog-soft);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .segment-rail { display: none; }
  :root { --rail-width: 0px; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: var(--rail-width);
  right: 0;
  z-index: 50;
  background: var(--graphite);
  color: var(--fog);
  border-bottom: 1px solid rgba(242, 240, 236, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--graphite);
  color: var(--fog);
  border-bottom-color: rgba(242, 240, 236, 0.16);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-right: auto;
  white-space: nowrap;
}

.site-header__logo span { color: var(--coral); }

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fog);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--coral); }

.site-nav a[aria-current="page"] {
  color: var(--coral);
}

.site-header__cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .site-header { left: 0; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--graphite);
    color: var(--fog);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .site-nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(242, 240, 236, 0.08);
  }
  .site-header__cta { display: none; }
  .nav-toggle { display: flex; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--coral);
  color: var(--graphite);
}

.btn-primary:hover { opacity: 0.92; }

.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: currentColor;
}

.btn-secondary:hover { border-color: var(--coral); color: var(--coral); }

.btn-ghost {
  background: transparent;
  color: currentColor;
  text-decoration: underline;
  padding: 13px 8px;
}

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Sections & general layout
   -------------------------------------------------------------------------- */

section {
  padding: 96px 0;
}

@media (max-width: 700px) {
  section { padding: 64px 0; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 14px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.section-head p {
  color: var(--fog-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--header-height);
  padding-bottom: 48px;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 700px) {
  .hero { min-height: 82vh; }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 92, 92, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(17, 19, 24, 0.55) 0%, rgba(17, 19, 24, 0.78) 55%, rgba(17, 19, 24, 0.96) 100%);
}

.hero__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 0;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__topline span { color: var(--fog-soft); }

.hero__body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 0;
  width: 100%;
  color: var(--fog);
}

.hero__body h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  max-width: 900px;
  letter-spacing: -0.01em;
}

.hero__body h1 .coral { color: var(--coral); }

.hero__lede {
  font-size: 1.15rem;
  color: var(--fog-muted);
  max-width: 560px;
  margin-top: 20px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero__trust {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 0 24px;
  width: 100%;
  color: var(--fog-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid rgba(242, 240, 236, 0.12);
  padding-top: 20px;
}

.hero__nodes {
  position: absolute;
  bottom: 8%;
  right: 6%;
  display: flex;
  gap: 10px;
  z-index: 1;
}

.node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 92, 92, 0.12);
}

.node:nth-child(2) { opacity: 0.7; margin-top: 18px; }
.node:nth-child(3) { opacity: 0.45; margin-top: 34px; }

@media (max-width: 700px) {
  .hero__nodes { display: none; }
}

/* --------------------------------------------------------------------------
   Metric trio
   -------------------------------------------------------------------------- */

.metric-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 700px) {
  .metric-trio { grid-template-columns: 1fr; }
}

.metric-card {
  padding: 28px;
  border: 1px solid rgba(242, 240, 236, 0.14);
  border-radius: var(--radius-md);
}

.metric-card .value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--coral);
}

.metric-card .label {
  font-weight: 600;
  margin-top: 6px;
}

.metric-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--fog-soft);
}

/* --------------------------------------------------------------------------
   Grids / cards
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.stage-card,
.capability-card,
.disc-card,
.faq-item,
.work-card,
.value-card,
.metric-card {
  border: 1px solid rgba(242, 240, 236, 0.14);
  border-radius: var(--radius-md);
  padding: 28px;
}

.surface-graphite .stage-card,
.surface-charcoal .stage-card,
.surface-fog .stage-card,
.surface-graphite .capability-card,
.surface-charcoal .capability-card,
.surface-fog .capability-card {
  border-color: rgba(242, 240, 236, 0.14);
}

.stage-card .num,
.capability-card .num {
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}

.capability-card .num { opacity: 0.85; }

.card-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
}

.card-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Method / split sections
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.split img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 460px;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.method-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.method-list .tick {
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .plus {
  font-family: var(--font-mono);
  color: var(--coral);
  flex-shrink: 0;
}

.faq-item p {
  margin-top: 14px;
  color: var(--fog-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Closing CTA banner
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 760px;
  margin: 0 auto 20px;
}

.cta-band .hero__ctas {
  justify-content: center;
  margin-top: 28px;
}

.cta-band p.lede {
  max-width: 560px;
  margin: 0 auto;
  color: var(--fog-muted);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-grid {
  display: grid;
  gap: 20px;
}

/* Dark contact form panel */
.contact-form {
  background: var(--graphite);
  border: 1px solid rgba(242, 240, 236, 0.16);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

@media (max-width: 620px) {
  .contact-form { padding: 28px 20px; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--fog);
}

.contact-form .field label {
  color: var(--fog);
}

.field input,
.field textarea,
.field select {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(242, 240, 236, 0.2);
  background: var(--charcoal);
  color: var(--fog);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .field input,
.contact-form .field textarea,
.contact-form .field select {
  background: var(--charcoal);
  color: var(--fog);
  border-color: rgba(242, 240, 236, 0.22);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(242, 240, 236, 0.45);
}

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F2F0EC' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field select option {
  background: var(--charcoal);
  color: var(--fog);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
  border-color: rgba(255, 92, 92, 0.55);
}

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--fog-muted);
}

.contact-form .field-check label {
  color: var(--fog-muted);
}

.contact-form .field-check a {
  color: var(--fog);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form .field-check a:hover,
.contact-form .field-check a:focus-visible {
  color: var(--coral);
}

.field-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--coral);
  cursor: pointer;
}

.contact-form .field input:-webkit-autofill,
.contact-form .field input:-webkit-autofill:hover,
.contact-form .field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--charcoal) inset;
  -webkit-text-fill-color: var(--fog);
  caret-color: var(--fog);
  border-color: rgba(242, 240, 236, 0.22);
}

.contact-form .form-note a {
  color: var(--fog);
}

.contact-form .form-note a:hover {
  color: var(--coral);
}

.contact-aside-note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--fog-muted);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.85rem;
  color: var(--fog-soft);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 72px 0 32px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(242, 240, 236, 0.12);
}

@media (max-width: 700px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

.site-footer__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.site-footer__logo span { color: var(--coral); }

.site-footer__brand p {
  color: var(--fog-muted);
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  align-content: start;
  font-size: 0.92rem;
}

.site-footer__links a:hover { color: var(--coral); }

.site-footer__legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 0 0;
}

.site-footer__legal p {
  color: var(--fog-soft);
  font-size: 0.82rem;
  max-width: 900px;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--charcoal);
  color: var(--fog);
  border-top: 1px solid rgba(242, 240, 236, 0.12);
  padding: 22px 24px;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__inner p {
  margin: 0;
  max-width: 640px;
  font-size: 0.92rem;
  color: var(--fog-muted);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner__panel {
  max-width: var(--max-width);
  margin: 18px auto 0;
  border-top: 1px solid rgba(242, 240, 236, 0.12);
  padding-top: 18px;
  display: grid;
  gap: 12px;
}

.cookie-banner__panel[hidden] { display: none; }

.cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.cookie-row strong { display: block; }

.cookie-row span.desc { color: var(--fog-soft); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Reveal animations (JS-only; content visible at rest with JS off)
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Misc page furniture
   -------------------------------------------------------------------------- */

.page-header {
  padding: calc(var(--header-height) + 64px) 0 56px;
}

.page-header h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 820px;
}

.page-header p.lede {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--fog-muted);
}

.divider {
  height: 1px;
  background: rgba(242, 240, 236, 0.12);
  margin: 56px 0;
}

.surface-graphite .divider,
.surface-charcoal .divider,
.surface-fog .divider {
  background: rgba(242, 240, 236, 0.12);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(242, 240, 236, 0.16);
  font-size: 0.95rem;
}

.pricing-table th {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--fog-soft);
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: var(--coral);
  margin-bottom: 12px;
}

.disclaimer-box {
  border: 1px dashed rgba(242, 240, 236, 0.28);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-size: 0.9rem;
  color: var(--fog-muted);
  margin-top: 32px;
}

.surface-graphite .disclaimer-box,
.surface-charcoal .disclaimer-box,
.surface-fog .disclaimer-box {
  border-color: rgba(242, 240, 236, 0.28);
}

.legal-content h2 {
  margin-top: 44px;
  font-size: 1.4rem;
}

.legal-content h3 {
  margin-top: 28px;
  font-size: 1.1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1em;
  padding-left: 22px;
}

.legal-content li {
  list-style: disc;
  margin-bottom: 8px;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content a {
  color: var(--fog);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--coral);
}

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 900px) {
  .contact-block { grid-template-columns: 1fr; }
}

.address-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.address-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.address-card .address-body {
  padding: 26px;
  border: 1px solid rgba(242, 240, 236, 0.14);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.address-body dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fog-soft);
  text-transform: uppercase;
  margin-top: 16px;
}

.address-body dt:first-child { margin-top: 0; }

.address-body dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.not-found h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.not-found .code {
  font-family: var(--font-mono);
  color: var(--coral);
  letter-spacing: 0.1em;
}
