/* Marketing Forte — site styles
   Layout idea: editorial 12-column grid on a blue-hour basalt ground; giant variable-width
   Archivo headlines carry the brand ("forte" = loud), copper is the single accent (Arizona is
   the Copper State), and a narrow mono rail holds real place data (coordinates, MST, city). */
:root {
  --night: #0e1315;      /* blue-hour basalt: page ground */
  --night-2: #151d21;    /* raised panels */
  --line: #26333a;       /* hairlines */
  --caliche: #efe7db;    /* primary text: desert caliche */
  --dust: #a7afad;       /* secondary text */
  --copper: #dd7b3f;     /* the one accent: Arizona copper */
  --bloom: #ee5f7d;      /* prickly-pear bloom, used only inside the sunset gradient */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.2rem);
  --step-5: clamp(3.4rem, 2rem + 8vw, 9.5rem);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 14px;
  color-scheme: dark;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--caliche);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--copper) 70%, transparent); text-underline-offset: 0.2em; }
a:hover { color: var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
p + p { margin-top: 1em; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--copper); color: var(--night); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.04em; color: var(--dust); }
.eyebrow { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--caliche); max-width: 62ch; }
.muted { color: var(--dust); }
.measure { max-width: 66ch; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--night) 72%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--caliche); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; font-variation-settings: "wdth" 112; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--dust); margin-top: 4px; font-variation-settings: normal; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 0.95rem; color: var(--caliche); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--night-2); color: var(--copper); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--caliche); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.9rem; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; background: var(--night); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 8px; }
  .nav .btn { margin: 8px 0 0; text-align: center; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 0.98rem;
  border: 1px solid var(--copper); background: var(--copper); color: var(--night);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { color: var(--night); background: var(--caliche); border-color: var(--caliche); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--caliche); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--copper); color: var(--copper); background: transparent; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { position: absolute; inset: 0; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 14px; z-index: 1; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: color-mix(in srgb, var(--caliche) 70%, transparent); }
.hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,19,21,.55) 0%, rgba(14,19,21,.15) 38%, rgba(14,19,21,.70) 78%, var(--night) 100%); }
.hero .wrap { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(40px, 7vw, 88px); display: grid; gap: clamp(28px, 4vw, 48px); min-height: 640px; align-content: space-between; }
.hero-rail { color: color-mix(in srgb, var(--caliche) 82%, transparent); text-shadow: 0 1px 10px rgba(0,0,0,.55); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.hero-rail span { white-space: nowrap; }
.hero h1 { display: grid; gap: 18px; }
.hero h1 .kicker { text-shadow: 0 1px 10px rgba(0,0,0,.5); font-family: var(--font-mono); font-weight: 400; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--caliche); max-width: 46ch; line-height: 1.5; }
.hero h1 .thesis {
  font-size: var(--step-5); font-weight: 850; line-height: 0.88; letter-spacing: -0.035em;
  font-variation-settings: "wdth" 125;
}
.hero h1 .thesis em {
  font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--copper) 10%, var(--bloom) 55%, #f2b26b 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.06em;
}
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.hero-foot .lede { color: var(--caliche); text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 560px) { .hero-credit { display: none; } }
@media (max-width: 820px) { .hero-foot { grid-template-columns: 1fr; } .hero-ctas { justify-content: flex-start; } .hero .wrap { min-height: 560px; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .thesis { animation: widen 1.6s cubic-bezier(.2,.7,.1,1) both; }
  @keyframes widen { from { font-variation-settings: "wdth" 62; letter-spacing: -0.02em; } to { font-variation-settings: "wdth" 125; } }
}

/* ---------- marquee ---------- */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); font-variation-settings: "wdth" 70; text-transform: uppercase; color: var(--dust); }
.marquee-track span::after { content: "✦"; color: var(--copper); margin-left: 48px; font-size: 0.6em; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: slide 46s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 88; }
.section-head p { color: var(--dust); max-width: 56ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* intro / answer block */
.answer { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.answer h2 { font-size: var(--step-1); font-weight: 600; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper); line-height: 1.4; }
.answer .big { font-size: var(--step-3); line-height: 1.12; font-weight: 500; font-variation-settings: "wdth" 96; letter-spacing: -0.02em; text-wrap: pretty; }
.answer .big + p { margin-top: 28px; color: var(--dust); max-width: 66ch; }
@media (max-width: 820px) { .answer { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.fact { padding: 24px 24px 8px 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact + .fact { padding-left: 24px; }
.fact b { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 110; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 10px; color: var(--dust); font-size: var(--step--1); line-height: 1.45; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 12px 20px 0 !important; } }

/* bento services */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; grid-column: span 2; min-height: 230px; padding: 26px; border-radius: var(--radius);
  background: var(--night-2); border: 1px solid var(--line); text-decoration: none; color: var(--caliche);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.tile.wide { grid-column: span 3; }
.tile.wide { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--copper) 18%, transparent) 0%, transparent 60%), var(--night-2); }
.tile .tag { align-self: flex-start; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--copper); color: var(--copper); border-radius: 999px; padding: 3px 9px; }
.tile:hover { border-color: var(--copper); transform: translateY(-2px); color: var(--caliche); }
.tile .num { font-family: var(--font-mono); font-size: var(--step--1); color: var(--copper); }
.tile h3 { font-size: var(--step-2); font-weight: 750; font-variation-settings: "wdth" 92; }
.tile p { color: var(--dust); font-size: 0.97rem; line-height: 1.5; }
.tile .go { font-family: var(--font-mono); font-size: var(--step--1); color: var(--caliche); }
.tile:hover .go { color: var(--copper); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile, .tile.wide { grid-column: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* brands */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 20px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: 0.04em; color: var(--dust); }
.brands { margin: 0; padding: 0; }
.footnote { margin-top: 16px; }
@media (max-width: 700px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* cities */
.cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.city { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; display: grid; gap: 10px; background: linear-gradient(180deg, var(--night-2), var(--night)); transition: border-color .25s; }
.city:hover { border-color: var(--copper); color: var(--caliche); }
.city h3 { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 110; }
.city .mono { color: var(--copper); }
.city p { color: var(--dust); font-size: 0.97rem; }
.city.world { background: radial-gradient(100% 120% at 0% 100%, color-mix(in srgb, var(--bloom) 18%, transparent), transparent 60%), var(--night-2); }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cities { grid-template-columns: 1fr; } }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 22px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 22px; }
.step:last-child { border-right: 0; }
.step h3 { font-size: var(--step-1); font-weight: 700; margin: 14px 0 10px; font-variation-settings: "wdth" 100; }
.step h3::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-mono); font-weight: 400; font-size: var(--step--1); color: var(--copper); margin-bottom: 14px; }
.step p { color: var(--dust); font-size: 0.97rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 12px 22px 0 !important; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--night-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.03); }
.portrait figcaption { position: absolute; left: 14px; bottom: 14px; background: color-mix(in srgb, var(--night) 78%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 999px; }
.founder h2 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 90; margin: 12px 0 20px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; padding: 0; }
.creds li { list-style: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.86rem; color: var(--dust); }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* AI search band */
.band { background: var(--caliche); color: var(--night); }
.band a { color: var(--night); }
.band .eyebrow { color: #9a4a1c; }
.band .muted, .band .section-head p { color: #4a504f; }
.band .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.band h2 { font-size: var(--step-4); font-weight: 850; font-variation-settings: "wdth" 80; letter-spacing: -0.03em; }
.band ul { margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid #cfc5b6; }
.band li { list-style: none; padding: 18px 0; border-bottom: 1px solid #cfc5b6; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
.band li b { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: #9a4a1c; padding-top: 3px; }
.band .btn { background: var(--night); color: var(--caliche); border-color: var(--night); }
.band .btn:hover { background: #9a4a1c; border-color: #9a4a1c; color: var(--caliche); }
@media (max-width: 820px) { .band .split { grid-template-columns: 1fr; } .band li { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.faq h2 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 88; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list .qa { border-bottom: 1px solid var(--line); padding: 22px 0 24px; display: grid; gap: 10px; }
.faq-list .qa h3 { font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); line-height: 1.3; display: grid; grid-template-columns: 34px minmax(0,1fr); }
.faq-list .qa h3::before { content: "Q"; font-family: var(--font-mono); font-weight: 400; font-size: var(--step--1); color: var(--copper); padding-top: 4px; }
.faq-list .qa p { color: var(--dust); max-width: 64ch; padding-left: 34px; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* CTA */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta h2 { font-size: var(--step-5); font-weight: 850; line-height: 0.9; letter-spacing: -0.04em; font-variation-settings: "wdth" 118; }
.cta h2 em { font-family: var(--font-serif); font-weight: 400; color: var(--copper); }
.cta .row { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: end; justify-content: space-between; margin-top: 36px; }
.cta .contact-lines { display: grid; gap: 6px; }
.cta .contact-lines a { font-size: var(--step-1); text-decoration: none; }

/* CTA scene canvas */
.cta-scene { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0.55; }
.cta { isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(14,19,21,.45) 45%, rgba(14,19,21,.2) 100%); }

/* photo strip */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
.strip figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--night-2); }
.strip figure:first-child { aspect-ratio: auto; grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.strip figure:hover img { transform: scale(1.03); }
.strip figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--caliche); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 820px) { .strip { grid-template-columns: 1fr 1fr; } .strip figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; } }

/* city card image */
.city .thumb { margin: -24px -24px 6px; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--night-2); }
.city .thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: transform .6s ease; }
.city:hover .thumb img { transform: scale(1.04); }

/* ---------- interior pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--copper) 16%, transparent), transparent 55%), var(--night); }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,19,21,.94) 0%, rgba(14,19,21,.78) 48%, rgba(14,19,21,.35) 100%), linear-gradient(0deg, var(--night) 0%, transparent 40%); }
.page-hero .credit { position: absolute; right: var(--gutter); bottom: 12px; left: var(--gutter); text-align: right; font-family: var(--font-mono); font-size: 0.68rem; color: color-mix(in srgb, var(--caliche) 70%, transparent); }
.page-hero .credit a { color: inherit; }
.page-hero .wrap { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); display: grid; gap: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li { list-style: none; font-family: var(--font-mono); font-size: var(--step--1); color: var(--dust); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; }
.page-hero h1 { font-size: var(--step-4); font-weight: 850; font-variation-settings: "wdth" 96; letter-spacing: -0.03em; max-width: 20ch; }
.page-hero h1 em { font-family: var(--font-serif); font-weight: 400; color: var(--copper); }
.page-hero .lede { margin-top: 6px; }

.content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.content > aside { position: sticky; top: 96px; display: grid; gap: 14px; }
@media (max-width: 960px) { .content { grid-template-columns: 1fr; } .content > aside { position: static; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 92; margin: 64px 0 18px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); font-weight: 700; margin: 32px 0 10px; scroll-margin-top: 96px; }
.prose p { color: color-mix(in srgb, var(--caliche) 88%, var(--dust)); }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 16px 0; display: grid; gap: 10px; color: color-mix(in srgb, var(--caliche) 88%, var(--dust)); }
.prose li::marker { color: var(--copper); }
.prose strong { color: var(--caliche); }
.prose .answer-first { font-size: var(--step-1); line-height: 1.5; color: var(--caliche); }
.takeaways { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: var(--night-2); margin: 32px 0; }
.takeaways h2 { margin: 0 0 14px !important; font-size: var(--step-1) !important; font-family: var(--font-mono) !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); font-weight: 600 !important; }
.takeaways ul { margin: 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper); background: var(--night-2); }
tr:last-child td { border-bottom: 0; }
td { color: color-mix(in srgb, var(--caliche) 88%, var(--dust)); }

.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--night-2); display: grid; gap: 12px; }
.side-card h2 { font-size: var(--step--1); font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); }
.side-card ul { margin: 0; padding: 0; display: grid; gap: 2px; }
.side-card li { list-style: none; }
.side-card li a { display: block; padding: 7px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.side-card li:last-child a { border-bottom: 0; }
.side-card .btn { justify-content: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; }
.chips li { list-style: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.88rem; color: var(--dust); }

.svc-index { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: baseline; transition: background .2s; }
.svc-row:hover { color: var(--caliche); background: linear-gradient(90deg, transparent, var(--night-2) 30%, transparent); }
.svc-row .mono { color: var(--copper); }
.svc-row h2 { font-size: var(--step-2); font-weight: 800; font-variation-settings: "wdth" 94; }
.svc-row p { color: var(--dust); }
.svc-row .go { font-family: var(--font-mono); color: var(--copper); text-align: right; }
@media (max-width: 820px) { .svc-row { grid-template-columns: 1fr; gap: 8px; } .svc-row .go { text-align: left; } }

.timeline { margin: 24px 0; padding: 0; border-left: 1px solid var(--line); display: grid; gap: 0; }
.timeline li { list-style: none; padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); }
.timeline b { display: block; font-family: var(--font-mono); font-weight: 400; font-size: var(--step--1); color: var(--copper); letter-spacing: 0.06em; }

/* contact form */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--dust); }
.form input, .form select, .form textarea { font: inherit; color: var(--caliche); background: var(--night-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--copper); outline: none; }
.form textarea { min-height: 150px; resize: vertical; }
.form .note { font-size: 0.9rem; color: var(--dust); }
.form-status { border: 1px solid var(--copper); border-radius: 10px; padding: 14px 16px; display: none; }
.form-status.show { display: block; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 32px; background: var(--night); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h2 { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.foot-grid ul { margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid li { list-style: none; font-size: 0.95rem; }
.foot-grid a { text-decoration: none; color: var(--dust); }
.foot-grid a:hover { color: var(--copper); }
.foot-grid address { font-style: normal; color: var(--dust); font-size: 0.95rem; line-height: 1.7; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.socials a { text-decoration: none; font-family: var(--font-mono); font-size: var(--step--1); color: var(--dust); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* reveal: elements are fully visible at rest; motion only adds a small lift as they enter */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes lift { from { transform: translateY(28px); } to { transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- inner-page hero video + photo drift ---------- */
.page-hero .bg-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.page-hero .bg-video.ready { opacity: 1; }
.page-hero.has-motion .bg { transform-origin: 62% 50%; animation: mf-drift 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes mf-drift { from { transform: scale(1.02); } to { transform: scale(1.13) translate3d(-1.5%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .page-hero.has-motion .bg { animation: none; } }

/* ---------- city grid: Phoenix leads across two columns ---------- */
@media (min-width: 561px) {
  .cities .city.feature { grid-column: span 2; }
  .cities .city.feature .thumb { aspect-ratio: 33 / 8; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .cities .city.world { grid-column: span 2; }
}
