:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --soft: #f2f2f0;
  --mid: #6d6d69;
  --line: #d8d8d4;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; }
h1, h2 { font-family: var(--serif); }
h2 { max-width: 820px; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: 1.02; }
h3 { font-size: 1.45rem; line-height: 1.2; }
address { font-style: normal; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(90px, 11vw, 150px) 0; }
.eyebrow {
  margin: 0 0 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; width: clamp(205px, 19vw, 264px); }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.primary-nav a, .footer-links a {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.primary-nav a:not(.nav-call), .footer-links a { position: relative; }
.primary-nav a:not(.nav-call)::after, .footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after,
.footer-links a:hover::after, .footer-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-call { padding: 12px 18px; background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 27px; height: 1.5px; margin: 6px auto; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }

.hero { position: relative; min-height: 790px; padding-top: 88px; overflow: hidden; background: #e9ecef; }
.hero-image {
  position: absolute;
  inset: 88px 0 0;
  background: url('/assets/spg-architecture-hero.webp') center / cover no-repeat;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,248,249,0.16) 0%, rgba(247,248,249,0.04) 46%, rgba(0,0,0,0.06) 100%);
}
.hero-inner { position: relative; z-index: 1; display: flex; min-height: 702px; align-items: center; }
.hero-copy { width: min(690px, 57vw); padding: 70px 0 64px; }
.hero h1 { font-size: clamp(3.8rem, 7.25vw, 7.25rem); line-height: 0.92; }
.hero h1 em { display: inline-block; margin-top: 0.14em; font-weight: 400; }
.hero-lede { max-width: 610px; margin: 36px 0 30px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover, .button-dark:focus-visible { background: transparent; color: var(--ink); }
.button-light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button-light:hover, .button-light:focus-visible { background: transparent; color: var(--paper); }
.text-link { font-size: 0.9rem; font-weight: 700; text-underline-offset: 5px; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.hero-footnote { margin: 32px 0 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.proof-strip { background: var(--ink); color: var(--paper); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 28px 34px 30px; border-left: 1px solid #363636; }
.proof-item:last-child { border-right: 1px solid #363636; }
.proof-item h3 { margin: 0 0 9px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.proof-item p { margin: 0; color: #bdbdb8; font-size: 0.88rem; line-height: 1.5; }

.section-intro { background: var(--paper); }
.split-layout { display: grid; grid-template-columns: 1.05fr 0.75fr; gap: clamp(60px, 9vw, 140px); align-items: start; }
.intro-copy { padding-top: 56px; }
.intro-copy p { color: #3d3d39; }
.intro-copy .lead { color: var(--ink); font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.28; }

.section-dark { background: var(--ink); color: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.section-heading > p { max-width: 440px; margin: 0 0 9px; color: #b7b7b1; }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #363636; border-left: 1px solid #363636; }
.focus-card { display: flex; min-height: 270px; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 60px); border-right: 1px solid #363636; border-bottom: 1px solid #363636; }
.focus-card h3 { margin-bottom: 16px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.25rem); }
.focus-card p { max-width: 480px; margin: 0; color: #bdbdb8; }

.services-layout { display: grid; grid-template-columns: 0.72fr 1fr; gap: clamp(70px, 10vw, 150px); align-items: start; }
.services-sticky { position: sticky; top: 130px; }
.services-sticky h2 { font-size: clamp(2.8rem, 4.5vw, 4.9rem); }
.services-sticky > p:last-child { max-width: 480px; margin-top: 30px; color: var(--mid); }
.service-list { border-top: 1px solid var(--ink); }
.service-list article { padding: 42px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { margin-bottom: 12px; font-family: var(--serif); font-size: clamp(1.65rem, 2.4vw, 2.4rem); }
.service-list p { margin: 0; color: #50504c; }

.questions-section { background: var(--soft); }
.questions-layout { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(70px, 10vw, 150px); align-items: start; }
.questions-intro { position: sticky; top: 130px; }
.questions-intro h2 { font-size: clamp(2.8rem, 4.5vw, 4.9rem); }
.questions-intro > p:last-child { max-width: 500px; margin-top: 30px; color: var(--mid); }
.question-list { border-top: 1px solid var(--ink); }
.question-list details { border-bottom: 1px solid #c8c8c3; }
.question-list summary {
  position: relative;
  padding: 30px 56px 30px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
}
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::before,
.question-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms ease;
}
.question-list summary::after { transform: rotate(90deg); }
.question-list details[open] summary::after { transform: rotate(0); }
.question-list details[open] summary { padding-bottom: 16px; }
.question-list details > p { max-width: 720px; margin: 0; padding: 0 56px 30px 0; color: #4b4b47; }

.contact-section { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(54px, 8vw, 110px); align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-intro { max-width: 600px; margin: 30px 0; color: #bdbdb8; font-size: 1.1rem; }
.contact-details { margin-top: 38px; border-top: 1px solid #4a4a4a; }
.contact-details > div { padding: 28px 0; border-bottom: 1px solid #4a4a4a; }
.contact-details span { display: block; margin-bottom: 8px; color: #92928c; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-details a { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 2rem); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-details p { margin: 0; font-size: 1.08rem; }
.contact-details small { display: block; margin-top: 10px; color: #9f9f99; }
.contact-form { position: relative; display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 9px; }
.contact-form label > span { color: #d6d6d1; font-size: 0.82rem; font-weight: 650; }
.contact-form label > span small { margin-left: 6px; color: #85857f; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #4a4a4a;
  border-radius: 0;
  background: #151515;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-form input, .contact-form select { min-height: 52px; padding: 12px 14px; }
.contact-form textarea { min-height: 150px; padding: 14px; resize: vertical; }
.contact-form select { color-scheme: dark; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--paper); outline: 1px solid var(--paper); outline-offset: 2px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { margin: -4px 0 0; color: #9f9f99; font-size: 0.76rem; line-height: 1.5; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact-form .button { cursor: pointer; }
.contact-form .button:disabled { opacity: 0.55; transform: none; cursor: wait; }
.form-status { min-height: 1.5em; margin: 0; color: #d6d6d1; font-size: 0.82rem; }
.form-status.is-error { color: #ffb4b4; }

.site-footer { padding: 58px 0 26px; background: var(--paper); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 50px; }
.footer-brand { width: min(280px, 36vw); }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mid); font-size: 0.75rem; }
.footer-bottom p { max-width: 700px; margin: 0; }

.legal-page .site-header { position: relative; }
.site-header.compact .header-inner { min-height: 100px; }
.legal-main { padding: clamp(80px, 10vw, 130px) 0; }
.legal-shell { max-width: 860px; }
.legal-main h1 { margin-bottom: 70px; font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: 0.96; }
.legal-main section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal-main h2 { margin-bottom: 16px; font-family: var(--sans); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.legal-main p { color: #454541; }
.legal-main a { text-underline-offset: 4px; }
.legal-updated { margin-top: 42px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 34px, 760px); }
  .header-inner { min-height: 76px; }
  .brand { width: 208px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: flex;
    height: calc(100dvh - 76px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 34px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.01em; text-transform: none; }
  .primary-nav .nav-call { margin-top: 26px; padding: 15px 20px; border: 0; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero { min-height: 760px; padding-top: 76px; }
  .hero-image { inset: 76px 0 0; background-position: 61% center; }
  .hero-image::after { background: linear-gradient(90deg, rgba(247,248,249,0.9) 0%, rgba(247,248,249,0.78) 54%, rgba(247,248,249,0.18) 100%); }
  .hero-inner { min-height: 684px; align-items: flex-end; }
  .hero-copy { width: 82%; padding-bottom: 65px; }
  .hero h1 { font-size: clamp(3.6rem, 10vw, 5.8rem); }
  .proof-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .proof-item, .proof-item:last-child { padding: 20px 0; border: 0; border-bottom: 1px solid #363636; }
  .proof-item:last-child { border-bottom: 0; }
  .split-layout, .section-heading, .services-layout, .questions-layout, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .contact-copy { position: static; }
  .intro-copy { padding-top: 0; }
  .section-heading { align-items: start; }
  .section-heading > p { margin: 0; }
  .services-sticky { position: static; }
  .questions-intro { position: static; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .section { padding: 82px 0; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 66% center; }
  .hero-image::after { background: linear-gradient(90deg, rgba(247,248,249,0.96) 0%, rgba(247,248,249,0.86) 70%, rgba(247,248,249,0.38) 100%); }
  .hero-inner { min-height: 644px; }
  .hero-copy { width: 100%; padding: 80px 0 48px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.5rem); }
  .hero-lede { margin-top: 28px; font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .button { width: 100%; }
  .hero-footnote { font-size: 0.72rem; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 230px; }
  .question-list summary { padding: 26px 46px 26px 0; font-size: 1.3rem; }
  .question-list details > p { padding: 0 0 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-brand { width: 240px; }
  .footer-links { flex-direction: column; gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
