@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@700&display=swap');

:root {
  --ink: oklch(0.18 0.02 75);
  --bone: oklch(0.96 0.02 85);
  --cream: oklch(0.93 0.03 80);
  --electric: oklch(0.60 0.20 25);
  --sand: oklch(0.82 0.06 75);
  --sky: oklch(0.85 0.06 230);
  --background: var(--bone);
  --foreground: var(--ink);
  --border: oklch(0.18 0.02 75 / 0.10);
  --radius: 1.5rem;
  --page: min(92vw, 1440px);
  --pad: clamp(1.25rem, 3vw, 3.25rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1rem 0;
  color: var(--bone);
  transition: background .3s, color .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled, .site-nav.nav-solid {
  padding: .65rem 0;
  color: var(--ink);
  background: color-mix(in oklch, var(--bone) 88%, transparent);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}
.nav-shell { width: var(--page); margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.04em; font-size: 1.25rem; }
.brand-mark { width: 24px; height: 24px; border-radius: 50%; background: var(--electric); display: grid; place-items: center; color: var(--ink); font-size: .75rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.nav-link { font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; opacity: .76; }
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: .7rem; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .9rem 1.25rem; border-radius: 999px; border: 1px solid transparent; background: var(--electric); color: var(--ink); font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bone); transition: transform .25s; }
.button:hover .button-icon { transform: rotate(45deg); }
.button.secondary { background: color-mix(in oklch, var(--ink) 5%, transparent); border-color: color-mix(in oklch, var(--ink) 15%, transparent); }
.button.dark { background: var(--ink); color: var(--bone); }

.hero { position: relative; min-height: 100svh; color: var(--bone); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 20s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.10 0.02 70 / .18), oklch(0.10 0.02 70 / .82)); }
.hero-shell { position: relative; z-index: 2; width: var(--page); margin: 0 auto; padding: 8rem 0 4rem; }
.hero-meta { position: absolute; top: 8.5rem; left: 0; display: flex; gap: 2rem; color: color-mix(in oklch, var(--bone) 72%, transparent); }
.hero h1 { max-width: 1100px; margin: 0; font-size: clamp(4.1rem, 10.7vw, 10.5rem); }
.hero-bottom { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in oklch, var(--bone) 26%, transparent); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.hero-copy { max-width: 620px; margin: 0; font-size: clamp(1rem, 1.5vw, 1.25rem); color: color-mix(in oklch, var(--bone) 78%, transparent); }

.display, h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.display, h1 { line-height: .92; letter-spacing: -.055em; }
h2 { margin: 0; font-size: clamp(3.2rem, 6.5vw, 7rem); line-height: .95; letter-spacing: -.05em; }
h3 { line-height: 1; letter-spacing: -.035em; }
.ultra { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--electric); letter-spacing: -.01em; }
.eyebrow { margin: 0; font-size: .69rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; opacity: .58; }
.star-separator { color: var(--electric); padding: 0 .75rem; }

.marquee { overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--border); background: var(--electric); }
.marquee-track { display: inline-flex; padding: .85rem 0; animation: marquee 28s linear infinite; }
.marquee-item { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.section { padding: clamp(5rem, 10vw, 10rem) 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--ink); color: var(--bone); }
.shell { width: var(--page); margin: auto; }
.section-head { display: grid; grid-template-columns: 3fr 9fr; gap: 2rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-head p { max-width: 560px; margin: 1.5rem 0 0 auto; font-size: 1.05rem; }
.catalog-layout { display: grid; grid-template-columns: 2.5fr 9.5fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.sticky-note { position: sticky; top: 7rem; }
.toc { margin-top: 2rem; border-top: 1px solid var(--border); }
.toc a { display: flex; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--border); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.statement { margin: 0 0 4rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 5.4rem); line-height: .98; letter-spacing: -.05em; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.stat { padding: 1.8rem 1rem 1rem 0; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; padding-left: 1rem; }
.stat-number { display: block; font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(3.2rem, 6vw, 6rem); line-height: 1; color: var(--electric); }
.stat-label { display: block; margin-top: .7rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; }

.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.service-card { grid-column: span 6; min-height: 560px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sand); color: var(--ink); }
.service-card:nth-child(3n + 2) { background: var(--sky); }
.service-card:nth-child(3n) { grid-column: span 4; min-height: 470px; }
.service-card:nth-child(4n) { grid-column: span 8; }
.service-image { position: absolute; inset: 0; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .78; transition: transform .6s; }
.service-card:hover .service-image { transform: scale(1.035); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, oklch(0.12 0.02 75 / .75)); }
.card-copy { position: absolute; inset: auto 0 0; z-index: 2; color: var(--bone); padding: clamp(1.4rem, 3vw, 2.5rem); }
.card-top { position: absolute; inset: 1.2rem 1.2rem auto; z-index: 2; display: flex; justify-content: space-between; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 999px; background: color-mix(in oklch, var(--bone) 78%, transparent); backdrop-filter: blur(8px); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.card-copy h3 { margin: .35rem 0 .75rem; font-size: clamp(2rem, 4vw, 4.5rem); }
.card-copy p { max-width: 520px; margin: 0; color: color-mix(in oklch, var(--bone) 78%, transparent); }

.process-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(2rem, 7vw, 8rem); }
.process-visual { position: sticky; top: 7rem; height: 72vh; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.process-visual img { height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.process-list { border-top: 1px solid var(--border); }
.process-step { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 2rem 0 2.6rem; border-bottom: 1px solid var(--border); }
.step-num { color: var(--electric); font-family: 'Space Grotesk'; font-weight: 700; }
.process-step h3 { font-size: clamp(1.8rem, 3vw, 3rem); margin: 0 0 .75rem; }
.process-step p { margin: 0; max-width: 520px; opacity: .7; }

.city-cloud { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 3rem; }
.city-pill { padding: .72rem 1rem; border: 1px solid color-mix(in oklch, var(--bone) 18%, transparent); border-radius: 999px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; transition: background .2s, color .2s; }
.city-pill:hover { background: var(--electric); color: var(--ink); border-color: var(--electric); }

.cta-banner { margin: 1.25rem; border-radius: var(--radius); background: var(--electric); min-height: 430px; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }
.cta-banner h2 { max-width: 1000px; }
.cta-banner p { max-width: 580px; margin: 1.5rem auto 2rem; }

.site-footer { background: var(--ink); color: var(--bone); padding: 5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 3rem; padding-bottom: 5rem; }
.footer-brand { font-size: clamp(3rem, 6vw, 6rem); margin: 0; }
.footer-col h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--electric); margin: 0 0 1.2rem; }
.footer-col a { display: block; width: fit-content; margin: .65rem 0; opacity: .68; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid color-mix(in oklch, var(--bone) 14%, transparent); padding: 1.1rem 0; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; opacity: .58; }
.footer-ticker { overflow: hidden; border-top: 1px solid color-mix(in oklch, var(--bone) 14%, transparent); white-space: nowrap; }
.footer-ticker span { display: inline-block; padding: 1.1rem 0; font-family: 'Space Grotesk'; font-size: 1.2rem; animation: marquee 30s linear infinite; }

.inner-hero { padding: 11rem 0 5rem; background: var(--cream); border-bottom: 1px solid var(--border); }
.breadcrumbs { margin-bottom: 3rem; }
.inner-hero h1 { max-width: 1200px; margin: 0; font-size: clamp(4rem, 9vw, 9rem); }
.inner-lede { margin: 2rem 0 0 auto; max-width: 620px; font-size: 1.15rem; }
.city-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--bone); }
.city-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: drift 22s ease-in-out infinite alternate; }
.city-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.10 0.02 70 / .25) 0%, oklch(0.10 0.02 70 / .18) 35%, oklch(0.10 0.02 70 / .9) 100%); }
.city-hero-shell { position: relative; z-index: 2; min-height: 88svh; padding: 8.5rem 0 3.8rem; display: flex; flex-direction: column; justify-content: space-between; }
.city-hero .breadcrumbs { margin: 0; color: color-mix(in oklch, var(--bone) 78%, transparent); }
.city-hero-copy { width: 100%; }
.city-location { margin: 1rem 0 1.5rem; padding-top: .9rem; border-top: 1px solid color-mix(in oklch, var(--bone) 38%, transparent); display: flex; justify-content: space-between; gap: 1rem; font-family: 'Space Grotesk', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.city-hero h1 { max-width: 1250px; margin: 0; font-size: clamp(3.7rem, 8.5vw, 8.8rem); text-shadow: 0 2px 30px oklch(0.08 0.02 70 / .28); }
.city-hero-lede { max-width: 680px; margin: 1.5rem 0 0 auto; font-size: clamp(1rem, 1.45vw, 1.22rem); color: color-mix(in oklch, var(--bone) 84%, transparent); }
.detail-grid { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(2rem, 7vw, 8rem); }
.spec-list { margin-top: 1.5rem; border-top: 1px solid var(--border); }
.spec { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.long-copy { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
.long-copy > p:first-child { font-size: clamp(1.8rem, 3.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; margin-top: 0; }
.content-heading { margin: 4rem 0 1.4rem; font-size: clamp(2rem, 4vw, 4.4rem); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 3rem 0; }
.feature { border-top: 1px solid var(--border); padding: 1rem 0 1.5rem; }
.feature b { display: block; margin-bottom: .5rem; }
.feature span { opacity: .67; }
.planning-table-wrap { margin: 1.5rem 0 3rem; overflow-x: auto; border-top: 1px solid var(--border); }
.planning-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.planning-table th, .planning-table td { padding: 1.15rem 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.planning-table th { width: 28%; padding-right: 2rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--electric); }
.planning-table td { line-height: 1.55; }
.source-note { margin: 3rem 0; padding: 1.25rem 1.4rem; border-left: 3px solid var(--electric); background: color-mix(in oklch, var(--electric) 7%, transparent); font-size: .88rem !important; line-height: 1.6 !important; letter-spacing: 0 !important; }
.source-note a { text-decoration: underline; text-underline-offset: .2em; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: grid; grid-template-columns: 55px 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-size: 1rem; }
.faq-num { color: var(--electric); font-weight: 700; }
.faq-plus { font-size: 1.5rem; transition: transform .25s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { margin: 0; padding: 0 3rem 1.5rem 55px; opacity: .7; }
.faq-item.open .faq-answer { max-height: 280px; }
.faq-item.open .faq-plus { transform: rotate(45deg); }

.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.link-card { min-height: 190px; border: 1px solid var(--border); border-radius: 1rem; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; transition: background .2s, transform .2s; }
.link-card:hover { background: var(--sky); transform: translateY(-3px); }
.link-card small { text-transform: uppercase; letter-spacing: .15em; opacity: .5; }
.link-card strong { font-family: 'Space Grotesk'; font-size: 1.5rem; line-height: 1; }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.directory-card { padding: 1.3rem; border: 1px solid var(--border); border-radius: 1rem; min-height: 145px; display: flex; flex-direction: column; justify-content: space-between; }
.directory-card:hover { background: var(--electric); }
.directory-card small { font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; opacity: .5; }
.directory-card b { font-family: 'Space Grotesk'; font-size: 1.35rem; }

.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 820px; margin: 2rem auto 0; text-align: left; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid color-mix(in oklch, var(--ink) 20%, transparent); border-radius: 1rem; background: color-mix(in oklch, var(--bone) 35%, transparent); padding: 1rem; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.quote-form .button { grid-column: 1 / -1; justify-self: center; margin-top: .5rem; }
.form-note { grid-column: 1 / -1; text-align: center; font-size: .72rem; opacity: .65; margin: 0; }
.form-note.success { opacity: 1; font-weight: 700; }
.form-note.error { opacity: 1; color: oklch(0.35 0.16 25); font-weight: 700; }
.form-note a { text-decoration: underline; text-underline-offset: .2em; }
.quote-form .button:disabled { cursor: wait; opacity: .65; transform: none; }

.scroll-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.scroll-reveal.visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift { from { transform: scale(1.05) translate3d(-.6%, -.4%, 0); } to { transform: scale(1.11) translate3d(.6%, .4%, 0); } }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bone); color: var(--ink); padding: 1.2rem 4vw 1.7rem; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: grid; }
  .nav-actions .button { display: none; }
  .section-head, .catalog-layout, .detail-grid { grid-template-columns: 1fr; }
  .sticky-note { position: static; }
  .section-head p { margin-left: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(3n), .service-card:nth-child(4n) { grid-column: span 1; min-height: 460px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-visual { position: relative; top: 0; height: 55vh; }
  .city-hero, .city-hero-shell { min-height: 82svh; }
  .city-hero-shell { padding: 7.5rem 0 2.5rem; }
  .city-hero h1 { font-size: clamp(3.3rem, 12vw, 6.6rem); }
  .city-hero-lede { margin-left: 0; }
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  :root { --page: calc(100vw - 2rem); }
  .hero-shell { padding-bottom: 2rem; }
  .hero-meta { top: 6.7rem; gap: .7rem; flex-direction: column; }
  .hero h1 { font-size: clamp(3.85rem, 18vw, 6rem); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-bottom .button { width: 100%; }
  .services-grid, .feature-list, .link-grid, .directory-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3n), .service-card:nth-child(4n) { min-height: 420px; }
  .stats-grid { border: 0; }
  .stat, .stat:last-child { border-right: 0; border-top: 1px solid var(--border); padding-left: 0; }
  .process-step { grid-template-columns: 48px 1fr; }
  .cta-banner { margin: .5rem; }
  .quote-form { grid-template-columns: 1fr; }
  .field, .field.full { grid-column: 1; }
  .footer-bottom { gap: 1rem; flex-direction: column; }
  .inner-hero { padding-top: 8rem; }
  .inner-hero h1 { font-size: clamp(3.6rem, 17vw, 6.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-reveal { opacity: 1; transform: none; }
}
