/* =====================================================================
   ASCENT DIGITAL – SITE STYLES
   Edit colours / fonts / spacing in the DESIGN TOKENS block only.
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS (brand colours, radius, shadow) ---------- */
:root {
  --paper: #eef3f5;          /* page background            */
  --paper-dim: #e2eaee;      /* alternate section bg       */
  --paper-raised: #ffffff;   /* cards                      */
  --ink: #10141b;            /* main text / dark buttons   */
  --ink-soft: #4b5768;       /* secondary text             */
  --azure: #14748d;          /* BRAND ACCENT (logo teal)   */
  --azure-deep: #0e5568;
  --azure-glow: #4fc7da;     /* light accent               */
  --sunrise: #ff8f3c;        /* small highlight dots       */
  --line: rgba(16, 20, 27, 0.13);
  --line-strong: rgba(16, 20, 27, 0.28);
  --shadow: 0 30px 60px -25px rgba(16, 20, 27, 0.35);
  --logo-ink: #3d4a5b;       /* logo lettering             */
  --dark-bg: #10141b;        /* always-dark sections       */
  --dark-text: #eef1f5;
  --dark-soft: #a7b2c4;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 26px;
  --header-h: 78px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a0d13; --paper-dim: #0f1420; --paper-raised: #131a28;
    --ink: #eef1f5; --ink-soft: #a7b2c4;
    --azure: #4fc7da; --azure-deep: #8ce8f0; --azure-glow: #6fdcec; --sunrise: #ffab63;
    --line: rgba(238, 241, 245, 0.14); --line-strong: rgba(238, 241, 245, 0.3);
    --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
    --logo-ink: #eef1f5;
    color-scheme: dark;
  }
  .btn-accent { color: #06232b; }
}

/* ---------- 2. BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--azure); color: #fff; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 64px); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.display { font-family: "Big Shoulders Display", system-ui, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.eyebrow { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--azure); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- 3. BUTTONS ---------- */
button, .btn { font-family: inherit; cursor: pointer; border: 0; background: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 100px; font-weight: 700; font-size: 14.5px; letter-spacing: .01em; position: relative; white-space: nowrap; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sunrise); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-accent { background: var(--azure); color: #fff; }
.btn-accent .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sunrise); }
.btn-ghost-light { color: var(--dark-text); box-shadow: inset 0 0 0 1.5px rgba(238, 241, 245, .3); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--dark-text); }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* cursor glow (desktop pointer only) */
.cursor-glow { position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 116, 141, .14), rgba(20, 116, 141, 0) 65%); pointer-events: none; z-index: 2; display: none; will-change: transform; }
@media (hover: hover) and (pointer: fine) { .cursor-glow { display: block; } }

/* ---------- 4. HEADER / NAV ---------- */
header.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); }
header.nav .nav-bg { position: absolute; inset: 0; background: var(--paper); opacity: .94; border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
header.nav .bar { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-link { display: inline-block; line-height: 0; flex: 0 0 auto; }
.ascent-logo { display: block; height: 44px; width: auto; overflow: visible; }
.logo-text { fill: var(--logo-ink); }
@media (min-width: 768px) { .ascent-logo { height: 52px; } }
nav.links { display: flex; align-items: center; gap: 36px; margin-left: auto; }
nav.links a { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); position: relative; padding: 6px 0; }
nav.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--azure); transition: right .3s; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--ink); }
nav.links a:hover::after, nav.links a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); position: relative; flex: 0 0 auto; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; padding: 11px 18px; font-size: 13px; }
  nav.links { position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(20px, 5vw, 64px) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  nav.links a { font-size: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  nav.links a::after { display: none; }
  .nav-open nav.links { transform: none; opacity: 1; visibility: visible; }
}
.only-mobile { display: none; }
@media (max-width: 560px) { .nav-cta { display: none; } .nav-toggle { margin-left: auto; } nav.links .only-mobile { display: block; } }

/* ---------- 5. REVEAL-ON-SCROLL (no library) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- 6. HERO ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 84px) 0 100px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(44px, 7.2vw, 108px); margin-top: 22px; }
.hero h1 .line { overflow: hidden; display: block; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .accent { color: var(--azure); }
.hero .sub { margin-top: 26px; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.hero .cta-row { margin-top: 38px; }
.hero .figure { justify-self: end; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; position: relative; }
.orb { position: absolute; border-radius: 50%; }
.orb-a { width: 200px; height: 200px; right: -20px; top: 0; background: radial-gradient(circle at 35% 30%, var(--azure-glow), var(--azure) 55%, var(--azure-deep) 100%); opacity: .9; animation: float 9s ease-in-out infinite; }
.orb-b { width: 100px; height: 100px; left: 0; bottom: 70px; background: radial-gradient(circle at 40% 35%, var(--sunrise), #c9560f 100%); opacity: .9; animation: float 11s ease-in-out -3s infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -16px); } }
.ascent-svg { position: relative; z-index: 1; width: 100%; height: auto; }
.ascent-svg .trail { fill: none; stroke: var(--azure); stroke-width: 20; stroke-linecap: butt; stroke-linejoin: round; }
.ascent-svg .climber { fill: var(--azure-glow); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line > span { transform: translateY(112%); animation: rise 1s cubic-bezier(.16, .84, .24, 1) forwards; animation-delay: calc(.1s + var(--n, 0) * .11s); }
  .js .hero-fade { opacity: 0; transform: translateY(18px); animation: fadeUp .8s cubic-bezier(.16, .84, .24, 1) forwards; animation-delay: var(--d, .5s); }
  @keyframes rise { to { transform: none; } }
  @keyframes fadeUp { to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + 48px) 0 70px; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero .figure { justify-self: start; margin-top: 40px; max-width: 280px; }
}

/* hero video (replaces headline + SVG animation) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-video .hero-media { margin-top: 22px; width: 100%; max-width: 100%; border-radius: 16px; overflow: hidden; background: #0a0d13; }
.hero-video .hero-media video { display: block; width: 100%; max-width: 100%; height: auto; }
.hero-video .hero-media { position: relative; }
.sound-toggle { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(10,13,19,.6); color: #fff; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.sound-toggle:hover, .sound-toggle:focus-visible { background: rgba(10,13,19,.85); border-color: var(--azure-glow); outline: none; }
.sound-toggle .on { display: none; }
.sound-toggle[aria-pressed="true"] .on { display: inline; }
.sound-toggle[aria-pressed="true"] .off { display: none; }
@media (max-width: 600px) { .sound-toggle { right: 10px; bottom: 10px; padding: 8px 12px; } .sound-toggle .lbl { display: none; } }
.hero-video .hero-copy { margin-top: 8px; }

/* ---------- 7. MARQUEE (pure CSS, no scroll hijack) ---------- */
.marquee-wrap { overflow: hidden; padding: 34px 0 44px; }
.marquee { background: var(--dark-bg); color: var(--dark-text); padding: 22px 0; overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg); width: 104%; margin-left: -2%; }
.marquee .track { display: inline-flex; align-items: center; animation: marquee 38s linear infinite; }
.marquee .track span { font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: clamp(40px, 7vw, 88px); text-transform: uppercase; letter-spacing: -.02em; padding-right: 44px; display: inline-flex; align-items: center; gap: 44px; }
.marquee .track span i { width: 22px; height: 22px; border-radius: 50%; background: var(--sunrise); flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ---------- 8. SECTIONS ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
@media (max-width: 820px) { .section-pad { padding: 72px 0; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 58px); margin-top: 14px; max-width: 16ch; }
.section-head p { max-width: 34ch; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.bg-dim { background: var(--paper-dim); }
.dark { background: var(--dark-bg); color: var(--dark-text); }
.dark .eyebrow { color: var(--azure-glow); }
.dark .section-head p, .dark p { color: var(--dark-soft); }

/* page hero on inner pages */
.page-hero { padding: calc(var(--header-h) + 72px) 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(44px, 7vw, 96px); margin-top: 20px; max-width: 14ch; }
.page-hero p { margin-top: 24px; max-width: 52ch; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }

/* approach / manifesto */
.statement { font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: clamp(28px, 4.6vw, 56px); text-transform: uppercase; line-height: 1.12; max-width: 20ch; margin-top: 18px; }
.statement em { font-style: normal; color: var(--azure); }
.approach-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.approach-text { flex: 1 1 380px; min-width: 0; }
.approach-icons { position: relative; flex: 1 1 320px; min-width: 0; height: 340px; overflow: hidden; }
.approach-icon-item { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; opacity: 0; }
.approach-icon-item:first-child { opacity: 1; }
.approach-icon-badge { width: 200px; height: 200px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 22px 54px -16px rgba(10, 20, 40, .6); }
.approach-icon-letter { font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: 100px; line-height: 1; }
.approach-icon-letter.small { font-size: 50px; }
.approach-icon-label { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .approach-icon-item { animation: cycle 10.8s infinite; animation-delay: calc(var(--i) * 1.8s); }
  .approach-icon-item:first-child { opacity: 0; }
  @keyframes cycle {
    0% { opacity: 0; transform: scale(.55); }
    2.5% { opacity: 1; transform: scale(1); }
    14% { opacity: 1; transform: scale(1); }
    16.67% { opacity: 0; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1.2); }
  }
}
.foot { margin-top: 40px; display: flex; gap: 60px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.foot p { max-width: 34ch; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- 9. SERVICE CARDS ---------- */
.camps { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.camps.two { grid-template-columns: repeat(2, 1fr); }
.camp { padding: 36px 32px 34px; border-radius: var(--radius-l); background: var(--paper-raised); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 22px; }
.camp .top-row { display: flex; justify-content: space-between; align-items: flex-start; }
.camp .elev { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--azure); font-weight: 600; letter-spacing: .08em; }
.camp .num { font-family: "Big Shoulders Display", sans-serif; font-size: 15px; color: var(--ink-soft); font-weight: 700; letter-spacing: .1em; }
.camp h3 { font-family: "Big Shoulders Display", sans-serif; font-size: clamp(28px, 3vw, 38px); text-transform: uppercase; font-weight: 800; line-height: .98; }
.camps:not(.two) .camp h3 { font-size: clamp(24px, 2.3vw, 32px); }
.camp p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.camp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.camp li { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.camp li::before { content: ""; width: 14px; height: 1.5px; background: var(--sunrise); flex: 0 0 auto; }
@media (max-width: 1100px) { .camps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .camps, .camps.two { grid-template-columns: 1fr; } .camp { padding: 30px 24px; } }
.section-link { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- 10. STATS ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(238, 241, 245, .14); border: 1px solid rgba(238, 241, 245, .14); border-radius: var(--radius-l); overflow: hidden; }
.stat-tile { background: var(--dark-bg); padding: 40px 28px; display: flex; flex-direction: column; gap: 14px; }
.stat-tile .num { font-family: "Big Shoulders Display", sans-serif; font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; display: flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
.stat-tile .unit { font-size: .45em; color: var(--azure-glow); font-weight: 700; }
.stat-tile p { font-size: 13px; line-height: 1.55; }
@media (max-width: 820px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat-tile { padding: 30px 20px; } }

/* ---------- 11. WORK ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.work-tile { position: relative; background: var(--paper-raised); padding: 38px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; overflow: hidden; }
.work-tile .glow { position: absolute; right: -10%; bottom: -30%; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, var(--azure) 0%, transparent 70%); opacity: 0; transition: opacity .5s; border-radius: 50%; pointer-events: none; }
.work-tile:hover .glow { opacity: .16; }
.work-tile .tag { font-size: 11.5px; color: var(--azure); }
.work-tile h3 { font-family: "Big Shoulders Display", sans-serif; font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; font-weight: 800; max-width: 16ch; position: relative; }
.work-tile .desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 44ch; position: relative; }
.work-tile .result { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--azure); position: relative; }
.work-tile .result svg { width: 14px; height: 14px; }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } .work-tile { padding: 30px 24px; min-height: 0; } }

/* ---------- 12. QUOTE ---------- */
.quote .mark { font-family: "Big Shoulders Display", sans-serif; font-size: 110px; color: var(--azure); line-height: .6; font-weight: 800; display: block; }
.quote blockquote { margin: 10px 0 0; font-family: "Big Shoulders Display", sans-serif; font-weight: 600; font-size: clamp(24px, 3.6vw, 42px); max-width: 22ch; line-height: 1.25; text-transform: uppercase; }
.quote .attr { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--azure), var(--azure-deep)); flex: 0 0 auto; }
.quote .attr b { display: block; font-size: 14px; }
.quote .attr span { display: block; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- 13. FAQ ACCORDION ---------- */
.obj-list { border-top: 1px solid var(--line); }
.obj-item { border-bottom: 1px solid var(--line); }
.obj-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; text-align: left; color: var(--ink); }
.obj-head > span:first-child { font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: clamp(19px, 2.6vw, 27px); text-transform: uppercase; }
.obj-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--ink-soft); text-transform: uppercase; }
.obj-toggle i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--ink); transition: background .25s, color .25s, transform .35s; }
.obj-item.open .obj-toggle i { background: var(--azure); color: #fff; box-shadow: none; transform: rotate(225deg); }
.obj-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.obj-item.open .obj-body { grid-template-rows: 1fr; }
.obj-body > div { overflow: hidden; }
.obj-body p { padding-bottom: 26px; max-width: 56ch; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
@media (max-width: 560px) { .obj-toggle b { display: none; } }

/* ---------- 14. CTA BAND ---------- */
.cta-section { overflow: hidden; padding-bottom: 220px; }
@media (max-width: 820px) { .cta-section { padding-bottom: 170px; } }
.cta-section .wrap { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.cta-section h2 { font-family: "Big Shoulders Display", sans-serif; font-size: clamp(44px, 8vw, 120px); text-transform: uppercase; font-weight: 800; line-height: .92; }
.cta-section p { max-width: 44ch; font-size: 16px; line-height: 1.6; }
.cta-section .cta-row { justify-content: center; }
.cta-mountain { position: absolute; left: 0; right: 0; bottom: -4px; width: 100%; height: 160px; z-index: 0; }
.cta-mountain path { fill: none; stroke: rgba(111, 220, 236, .4); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cta-mountain path.fill { fill: rgba(20, 116, 141, .2); stroke: none; }

/* ---------- 15. CONTACT FORM ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper-raised); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 14px 16px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--azure); outline: none; box-shadow: 0 0 0 3px rgba(20, 116, 141, .18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 16px 20px; border-radius: 12px; font-size: 15px; line-height: 1.5; margin-bottom: 24px; font-weight: 600; }
.form-status.ok { display: block; background: rgba(20, 116, 141, .12); color: var(--azure-deep); box-shadow: inset 0 0 0 1.5px var(--azure); }
.form-status.err { display: block; background: rgba(200, 60, 40, .1); color: #a3321f; box-shadow: inset 0 0 0 1.5px #c83c28; }
@media (prefers-color-scheme: dark) { .form-status.ok { color: var(--azure); } .form-status.err { color: #ff9c8a; } }
.contact-side { display: flex; flex-direction: column; gap: 28px; }
.contact-side h3 { font-family: "Big Shoulders Display", sans-serif; font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.contact-side p, .contact-side a { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.contact-side a { color: var(--azure); font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- 16. FOOTER ---------- */
footer { padding: 70px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-top h4 { margin: 0 0 16px; font-size: 11.5px; color: var(--ink-soft); }
.footer-top .col a, .footer-top .col p { display: block; font-size: 14px; margin-bottom: 10px; font-weight: 600; }
.footer-top .col a:hover { color: var(--azure); }
.footer-top .brand p { color: var(--ink-soft); font-weight: 500; max-width: 32ch; margin-top: 18px; line-height: 1.6; }
.footer-logo { height: 46px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 12.5px; color: var(--ink-soft); }
.footer-bottom a { font-weight: 700; color: var(--ink); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top .brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top .col { min-width: 0; overflow-wrap: anywhere; }

/* ---------- 17. 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.nf h1 { font-size: clamp(90px, 22vw, 260px); color: var(--azure); }
.nf p { margin: 18px 0 30px; max-width: 40ch; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }

/* ---- Particle buttons (ghost buttons): particles gather into the button, then it fades in ---- */
@property --pb-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.pb-canvas { position: absolute; pointer-events: none; z-index: 2; }
.js .pb-ready { color: transparent; box-shadow: none !important; transition: color .9s ease, transform .3s ease; }
.js .pb-ready.pb-on { color: var(--pb-color); }
.js .pb-ready.pb-on::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--pb-angle), rgba(154,163,178,.25) 0deg, #9aa3b2 40deg, #e8ecf2 90deg, #9aa3b2 140deg, rgba(154,163,178,.25) 200deg, rgba(154,163,178,.25) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: pb-spin 7s linear infinite, pb-fade 1s ease both;
}
@keyframes pb-fade { from { opacity: 0; } }
.btn-ghost.pb-on:hover, .btn-ghost-light.pb-on:hover { transform: translateY(-2px) scale(1.03); }
@keyframes pb-spin { to { --pb-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .js .pb-ready { color: var(--pb-color); } .js .pb-ready.pb-on::before { animation: none; } }

/* ---- Silver glow on camp cards (from Element-Library/Effects/silver-glow-buttons-demo.html) ---- */
.camp { position: relative; isolation: isolate; background: transparent; }
.camp::before {
  content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius-l) + 2px); z-index: -3; pointer-events: none;
  background: conic-gradient(from var(--pb-angle), transparent 0deg, #9aa3b2 40deg, #e8ecf2 90deg, #9aa3b2 140deg, transparent 200deg, transparent 360deg);
  filter: drop-shadow(0 0 14px rgba(220, 228, 240, .45));
  animation: pb-spin 7s linear infinite, camp-pulse 5s ease-in-out infinite;
}
.camp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--paper-raised); z-index: -1; pointer-events: none; }
.camps .camp:nth-child(2)::before { animation-delay: -1.75s; }
.camps .camp:nth-child(3)::before { animation-delay: -3.5s; }
.camps .camp:nth-child(4)::before { animation-delay: -5.25s; }
@keyframes camp-pulse { 50% { filter: drop-shadow(0 0 8px rgba(220, 228, 240, .25)); } }
@media (prefers-reduced-motion: reduce) { .camp::before { animation: none; } }

/* ---- Silver glow around the work grid ---- */
.work-glow { position: relative; isolation: isolate; border-radius: var(--radius-l); }
.work-glow::before {
  content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius-l) + 2px); z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--pb-angle), transparent 0deg, #9aa3b2 40deg, #e8ecf2 90deg, #9aa3b2 140deg, transparent 200deg, transparent 360deg);
  filter: drop-shadow(0 0 14px rgba(220, 228, 240, .45));
  animation: pb-spin 7s linear infinite, camp-pulse 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .work-glow::before { animation: none; } }

/* ---- Mobile sizing fixes for effects ---- */
body { overflow-x: clip; }
@media (max-width: 700px) {
  .camp::before, .work-glow::before { filter: drop-shadow(0 0 8px rgba(220, 228, 240, .4)); }
  .btn-ghost, .btn-ghost-light { max-width: 100%; font-size: 14px; padding: 14px 20px; }
}
.work-glow::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-l); background: var(--paper-raised); z-index: -1; pointer-events: none; }
