/* UXC Accelerate — Editorial Studio shared styles
   Used by Homepage v4 sister pages. Page-specific blocks live in each page <style>. */

:root {
  --cream: #f4efe6;
  --paper: #ebe5d9;
  --paper-2: #e3dccc;
  --ink: #0d1b3d;
  --ink-deep: #050e26;
  --ink-2: #2a3552;
  --muted: #6a685e;
  --muted-2: #8a8676;
  --line: rgba(13,27,61,0.16);
  --line-soft: rgba(13,27,61,0.08);
  --coral: #e6502b;
  --coral-deep: #c63d18;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink-deep);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(230,80,43,0.22); color: var(--ink-deep); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
ul, ol { list-style: none; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* TYPE */
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  color: var(--coral);
}
.mono.muted { color: var(--muted-2); }
.mono.ink { color: var(--ink); }

.marker {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 56px; line-height: 0.85;
  letter-spacing: -0.035em;
  color: var(--coral);
  font-feature-settings: "tnum";
}

.display {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
  color: var(--ink-deep);
}
.display em { font-style: italic; font-weight: 500; color: var(--coral); }
.display .underline {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.04em;
  text-underline-offset: 0.06em;
}
.h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
  color: var(--ink-deep);
}
.h2 em { font-style: italic; color: var(--coral); font-weight: 500; }
.h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.h3 em { font-style: italic; color: var(--coral); font-weight: 500; }
.lede {
  font-family: 'Fraunces', serif;
  font-weight: 400; font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 38ch;
  font-variation-settings: "opsz" 36;
}
.body {
  font-family: 'Inter', sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}
.body.lg { font-size: 18px; line-height: 1.55; max-width: 60ch; }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,239,230,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600; font-size: 20px;
  letter-spacing: -0.015em;
  display: inline-flex; align-items: baseline; gap: 6px;
  color: var(--ink-deep);
}
.brand em { font-style: italic; font-weight: 500; color: var(--coral); }
.nav {
  display: flex; gap: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
}
.nav a {
  position: relative;
  color: var(--ink-2);
  transition: color 150ms;
  padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--coral); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--coral);
  transition: right 220ms ease;
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.top-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink-deep); color: var(--cream);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  transition: background 150ms, transform 150ms;
}
.top-cta:hover { background: #000; transform: translateY(-1px); }

/* HAMBURGER */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 10px;
  background: transparent; cursor: pointer;
  border: 0;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px;
  background: var(--ink-deep);
  transition: transform 220ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .topbar .top-cta { display: none; }
  .nav {
    display: flex;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    flex-direction: column; gap: 0;
    padding: 24px 32px 80px;
    border-top: 1px solid var(--line-soft);
    overflow-y: auto;
    z-index: 49;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 180ms ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    font-size: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    min-height: 44px;
    display: flex; align-items: center;
  }
  .nav a::after { display: none; }
  .nav .nav-cta-mobile {
    margin-top: 24px;
    background: var(--ink-deep);
    color: var(--cream);
    border-radius: 999px;
    justify-content: center;
    border-bottom: none;
    padding: 14px 22px;
  }
}

/* BUTTONS */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 500; font-size: 14.5px;
  border-radius: 999px;
  transition: transform 150ms, background 150ms, color 150ms, border-color 150ms;
}
.btn-primary { background: var(--ink-deep); color: var(--cream); }
.btn-primary:hover { background: var(--coral); transform: translateY(-1px); color: white; }
.btn-ghost {
  background: transparent; color: var(--ink-deep);
  border: 1px solid rgba(13,27,61,0.5);
}
.btn-ghost:hover { color: var(--coral); border-color: var(--coral); }
.btn .arr { transition: transform 150ms; }
.btn:hover .arr { transform: translateX(3px); }

/* SECTION HEAD */
section {
  padding: 120px 0;
  border-top: 1px solid var(--line-soft);
}
.sec-head {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 56px;
  margin-bottom: 80px;
  align-items: start;
}
.sec-head .num-block { display: flex; flex-direction: column; gap: 14px; }
.sec-head .num-block .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink-2);
  border-top: 1px solid var(--ink);
  padding-top: 10px;
  max-width: 180px;
}
.sec-head .h2 { max-width: 18ch; margin-bottom: 28px; }
.sec-head .body.lg { max-width: 56ch; }
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 24px; } }

/* HERO (default — overridden per page) */
.hero { padding: 60px 0 100px; position: relative; border-top: none; }
.hero-meta-row {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 56px;
}
.hero-meta-row .left { display: flex; gap: 28px; flex-wrap: wrap; }

/* dark-mode helpers */
.dark { background: var(--ink-deep); color: var(--cream); }
.dark .h2 { color: var(--cream); }
.dark .h2 em { color: var(--coral); }
.dark .body, .dark .body.lg, .dark .lede { color: rgba(244,239,230,0.78); }
.dark .sec-head .num-block .lbl {
  color: rgba(244,239,230,0.85);
  border-top-color: rgba(244,239,230,0.4);
}

/* CTA BAND */
.cta-band {
  background: var(--ink-deep); color: var(--cream);
  padding: 120px 0;
  border-top: none;
}
.cta-band .grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 60px; align-items: end;
}
@media (max-width: 980px) { .cta-band .grid { grid-template-columns: 1fr; } }
.cta-band .h2 { color: var(--cream); }
.cta-band .h2 em { color: var(--coral); }
.cta-band .body.lg { color: rgba(244,239,230,0.78); }
.cta-band .btn-primary { background: var(--coral); }
.cta-band .btn-primary:hover { background: var(--coral-deep); }
.cta-band .right {
  border-left: 1px solid rgba(244,239,230,0.2);
  padding-left: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
@media (max-width: 980px) {
  .cta-band .right { border-left: none; padding-left: 0; border-top: 1px solid rgba(244,239,230,0.2); padding-top: 32px; }
}
.cta-band .right .item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244,239,230,0.16);
}
.cta-band .right .item:last-child { border-bottom: none; }
.cta-band .right .item .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral); font-weight: 600;
  padding-top: 4px;
}
.cta-band .right .item .v {
  font-family: 'Fraunces', serif;
  font-weight: 400; font-style: italic;
  font-size: 17px; color: var(--cream);
  letter-spacing: -0.01em; line-height: 1.4;
}
.cta-band .right .item .v em { font-style: italic; color: var(--coral); font-weight: 500; }

/* FOOTER */
footer {
  background: var(--cream); color: var(--ink-deep);
  padding: 96px 0 32px;
  border-top: 1px solid var(--line-soft);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-brand .logo {
  font-family: 'Fraunces', serif;
  font-weight: 600; font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-deep); margin-bottom: 10px;
}
.foot-brand .logo em { font-style: italic; font-weight: 500; color: var(--coral); }
.foot-brand .strap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral); margin-bottom: 16px;
}
.foot-brand p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; color: var(--ink-2);
  max-width: 36ch; line-height: 1.55;
}
.foot-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-deep); font-weight: 600;
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--ink-2); margin-bottom: 8px;
  transition: color 150ms;
}
.foot-col a:hover { color: var(--coral); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted);
}
.foot-bottom em { font-style: italic; color: var(--coral); }
