/*
Theme Name: Axis Light Editorial
Author: Axis Investments
Description: Light editorial theme for Axis Investments — an Edmonton-based real estate development company. Warm paper palette, Fraunces and Inter typography, photo-forward layout with a drafting-grid homepage hero.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axis-light
*/

/* ==========================================================
   AXIS — Light / Editorial / Architectural
   ========================================================== */

:root {
  --bg:            #FBF8F2;
  --bg-elev:       #F3EEE4;
  --line:          #E4DCCB;
  --line-strong:   #CFC5AE;

  --ink:           #1B1712;
  --ink-dim:       #4C453A;
  --ink-mute:      #8C8273;

  --gold:          #96752F;
  --gold-bright:   #C9A961;
  --gold-soft:     rgba(150,117,47,0.10);

  --footer-bg:     #16130E;
  --footer-ink:    #CFC8BB;

  --serif:         "Fraunces", "Didot", Georgia, serif;
  --sans:          "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:          "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --container:     1240px;
  --gutter:        clamp(20px, 4vw, 48px);

  --ease:          cubic-bezier(0.2, 0.6, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: #fff; }

/* -------- Type scale -------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-1px);
  margin-right: 10px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 420;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }
p  { margin: 0 0 1em; color: var(--ink-dim); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-dim); max-width: 60ch; }

.italic { font-style: italic; color: var(--gold); }

/* -------- Layout -------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.section-head .max { max-width: 620px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* -------- Navigation -------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(251,248,242,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
body.admin-bar .nav { top: 32px; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(251,248,242,0.94); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand .logomark { width: 28px; height: 28px; }
.nav__brand .wordmark {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
}
.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__links a {
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--ink-dim); position: relative; padding: 6px 0;
  font-weight: 500;
  transition: color .25s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
  transition: background .25s var(--ease);
}
.nav__cta:hover { background: var(--gold); color: #fff; }
.nav__burger { display: none; }

/* -------- Hero (home) -------- */
.hero {
  padding: clamp(150px, 18vh, 210px) var(--gutter) 0;
}
.hero__inner { max-width: var(--container); margin: 0 auto; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  max-width: 17ch;
  font-size: clamp(50px, 7.4vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.hero__title .gold { color: var(--gold); font-style: italic; font-weight: 380; }
.hero__sub {
  margin-top: 32px;
  max-width: 58ch;
  color: var(--ink-dim);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.65;
}
.hero__actions { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media { margin: clamp(56px, 8vw, 96px) auto 0; max-width: var(--container); }
.hero__media img {
  width: 100%;
  height: clamp(340px, 58vh, 620px);
  object-fit: cover;
}
.hero__media figcaption {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__media figure { margin: 0; }

/* -------- Drafting-paper hero variant -------- */
.hero--draft { position: relative; overflow: hidden; }
.hero--draft::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,   rgba(27,23,18,0.045) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg,  rgba(27,23,18,0.045) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg,   rgba(27,23,18,0.07)  0 1px, transparent 1px 180px),
    repeating-linear-gradient(90deg,  rgba(27,23,18,0.07)  0 1px, transparent 1px 180px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.65) 55%, transparent 96%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.65) 55%, transparent 96%);
  pointer-events: none;
}
.hero--draft .draft-mark {
  position: absolute;
  right: clamp(-160px, -8vw, -40px);
  top: 90px;
  width: clamp(380px, 42vw, 640px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.draft-cross { position: absolute; width: 18px; height: 18px; pointer-events: none; }
.draft-cross::before, .draft-cross::after { content: ""; position: absolute; background: var(--gold); opacity: .55; }
.draft-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.draft-cross::after  { top: 50%; left: 0; right: 0; height: 1px; }
.draft-meta {
  position: absolute; right: var(--gutter); bottom: 28px;
  display: flex; gap: 28px; align-items: baseline;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  pointer-events: none;
}
.draft-meta b { color: var(--gold); font-weight: 500; }
.hero--draft .hero__inner, .hero--draft .hero__media { position: relative; z-index: 2; }
@media (max-width: 700px) {
  .hero--draft .draft-mark { display: none; }
  .draft-meta { display: none; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn:hover { border-color: var(--ink); }
.btn--primary { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn .arrow {
  display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative;
  transition: width .3s var(--ease);
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 28px; }

/* -------- Stats strip -------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
}
.stat { padding: 44px var(--gutter); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  color: var(--ink);
  font-weight: 420;
  letter-spacing: -0.02em;
}
.stat__num .u { font-size: 0.5em; color: var(--gold); vertical-align: super; margin-left: 2px; }
.stat__label {
  margin-top: 12px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute);
  font-weight: 500;
}

/* -------- Feature (split) -------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-elev); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg); padding: 8px 14px;
}

/* -------- Pillars -------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
.pillar { padding: 32px 0 0; border-top: 1px solid var(--ink); }
.pillar__num { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 22px; }
.pillar__title { font-family: var(--serif); font-size: 25px; font-weight: 480; line-height: 1.2; margin-bottom: 12px; color: var(--ink); }
.pillar__body { color: var(--ink-dim); font-size: 15px; line-height: 1.65; }

/* -------- Portfolio cards -------- */
.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px); }
.portfolio--three { grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px); }
.project { position: relative; }
.project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-elev); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.035); }
.project__overlay { display: none; }
.project__tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg); padding: 8px 12px;
}
.project__body { padding: 22px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.project__title { font-family: var(--serif); font-size: 26px; font-weight: 460; line-height: 1.15; color: var(--ink); margin-bottom: 4px; }
.project__title small { display:block; font-family: var(--sans); font-size: 11.5px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; font-style: normal; font-weight: 500; }
.project__meta { color: var(--ink-mute); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.project__desc { color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; margin: 10px 0 0; }
.project__stats { display: flex; gap: 24px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.project__stat { font-size: 12px; }
.project__stat span { display: block; color: var(--ink-mute); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10.5px; margin-bottom: 2px; font-weight: 500; }
.project__stat b { font-family: var(--serif); font-weight: 480; color: var(--ink); font-size: 18px; }

/* -------- Dev filter strip -------- */
.dev-filter { display:flex; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.dev-filter span { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; display:inline-flex; align-items:baseline; }
.dev-filter b { color: var(--ink); font-family: var(--serif); font-weight: 460; font-size: 24px; margin-right: 10px; }
.dev-filter b .u { color: var(--gold); font-size: 0.6em; vertical-align: super; margin-left: 2px; }

/* -------- Process (approach) -------- */
.process { display: grid; grid-template-columns: 1fr; }
.process__step { border-top: 1px solid var(--ink); padding: clamp(36px, 4vw, 56px) 0; display: grid; grid-template-columns: 110px 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.process__step:last-child { border-bottom: 1px solid var(--ink); }
.process__num { font-family: var(--serif); font-size: clamp(48px, 5vw, 68px); line-height: 1; color: var(--gold); font-weight: 380; }
.process__title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 32px); font-weight: 460; line-height: 1.2; color: var(--ink); margin: 0 0 14px; letter-spacing: -0.01em; }
.process__body { color: var(--ink-dim); font-size: 16px; line-height: 1.65; }
.process__list { list-style: none; padding: 0; margin: 0; }
.process__list li { font-size: 14px; color: var(--ink-dim); padding: 12px 0; border-top: 1px dashed var(--line-strong); display: flex; gap: 14px; align-items: baseline; }
.process__list li::before { content: "✦"; color: var(--gold); font-size: 10px; }
.process__list li:first-child { border-top: 0; }
@media (max-width: 860px) {
  .process__step { grid-template-columns: 1fr; gap: 20px; }
  .process__num { font-size: 44px; }
}

/* -------- Capabilities (approach) -------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
.cap { border-top: 1px solid var(--ink); padding: 32px 0 0; }
.cap__icon { width: 44px; height: 44px; border: 1px solid var(--gold); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--serif); font-size: 20px; margin-bottom: 22px; }
.cap h4 { font-family: var(--serif); font-size: 23px; font-weight: 480; margin-bottom: 10px; color: var(--ink); }
.cap p { color: var(--ink-dim); font-size: 15px; margin: 0; line-height: 1.65; }
@media (max-width: 860px) { .caps { grid-template-columns: 1fr; } }

/* -------- Team -------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.member__portrait { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-elev); }
.member__portrait img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: 22px 0 0; }
.member__name { font-family: var(--serif); font-size: 24px; font-weight: 460; line-height: 1.2; margin-bottom: 4px; }
.member__title { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.member__bio { color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; }

/* -------- Marquee -------- */
.marquee {
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  background: var(--bg-elev);
}
.marquee__track {
  display: inline-flex; gap: 44px;
  animation: marquee 45s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink-dim);
  font-weight: 400;
}
.marquee__track span::before { content: "✦"; color: var(--gold); margin-right: 44px; font-style: normal; font-size: 0.6em; vertical-align: 2px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------- Callout / terms -------- */
.fund-callout {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: clamp(40px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.fund-callout .terms { border-left: 1px solid var(--line-strong); padding-left: clamp(28px, 3vw, 40px); }
.terms__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line-strong); }
.terms__row:last-child { border-bottom: 0; }
.terms__row span:first-child { color: var(--ink-mute); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; align-self: center; }
.terms__row span:last-child { font-family: var(--serif); color: var(--ink); font-size: 20px; font-weight: 460; line-height: 1.25; }

/* -------- Quote -------- */
.quote {
  max-width: 880px; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.3; color: var(--ink);
  font-style: italic; font-weight: 400; position: relative;
}
.quote::before {
  content: "“"; display: block;
  font-size: 110px; line-height: 0.4; color: var(--gold); margin-bottom: 28px;
}
.quote cite {
  display: block; font-style: normal; font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
  font-weight: 500;
  margin-top: 28px;
}

/* -------- Footer -------- */
.footer {
  margin-top: clamp(48px, 6vw, 88px);
  padding: 80px var(--gutter) 32px;
  background: var(--footer-bg);
  color: var(--footer-ink);
}
.footer__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #877E6E; margin-bottom: 20px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 12px; font-size: 14.5px; color: var(--footer-ink); }
.footer a:hover { color: var(--gold-bright); }
.footer__brand .wordmark { font-family: var(--serif); font-size: 26px; font-weight: 460; letter-spacing: 0.2em; color: #FBF8F2; display: block; margin-bottom: 20px; }
.footer__brand p { font-size: 14.5px; max-width: 36ch; color: #A39A89; }
.footer__bottom { max-width: var(--container); margin: 56px auto 0; padding-top: 28px; border-top: 1px solid #2C2820; display: flex; justify-content: space-between; font-size: 12px; color: #877E6E; letter-spacing: 0.08em; flex-wrap: wrap; gap: 12px; }

/* -------- Forms / Contact -------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; font-weight: 600; }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 12px 0; color: var(--ink); font-size: 16px; font-family: var(--sans);
  transition: border-color .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 32px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(48px, 7vw, 96px); }
.contact-info .card { border-top: 1px solid var(--line); padding: 26px 0; }
.contact-info .card:last-of-type { border-bottom: 1px solid var(--line); }
.contact-info h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.contact-info p { font-family: var(--serif); font-size: 21px; font-weight: 460; color: var(--ink); margin: 0; }
.contact-info p a { color: var(--ink); }
.contact-info p a:hover { color: var(--gold); }

/* -------- Page header (interior pages) -------- */
.page-hero {
  padding: clamp(150px, 18vh, 200px) var(--gutter) clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero__bg { display: none; }
.page-hero__inner { max-width: var(--container); margin: 0 auto; }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 24px; max-width: 18ch; }
.page-hero .lead { font-size: clamp(17px, 1.3vw, 20px); max-width: 60ch; }
.breadcrumb { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 36px; font-weight: 500; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); margin: 0 12px; }

/* -------- Generic page content (WP fallback) -------- */
.page-content { max-width: 760px; }
.page-content a { color: var(--gold); text-decoration: underline; }
.page-content ul, .page-content ol { color: var(--ink-dim); }
.alignwide { max-width: var(--container); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .portfolio { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .fund-callout { grid-template-columns: 1fr; }
  .fund-callout .terms { border-left: 0; border-top: 1px solid var(--line-strong); padding: 32px 0 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  body.admin-bar .nav { top: 46px; }
}
@media (max-width: 1100px) { .portfolio--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .portfolio--three { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .team { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* -------- Reveal animation -------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}
