/* ============================================================
 * PRIMA — brand tokens & base styles
 * ============================================================ */

:root {
  /* Brand */
  --ink:        #0C2340;   /* Pantone 289 C — primary, used as TEXT ink */
  --ink-soft:   #2a3a55;
  --ink-mute:   #63666A;   /* Pantone Cool Gray 10 — secondary text */
  --ink-faint:  #9aa0a7;
  --green:      #006F62;   /* Pantone 562 C — sparing accent */
  --gold:       #F1B434;   /* Pantone 143 C — single-use highlight */

  --paper:      #ffffff;
  --paper-2:    #f7f5f1;   /* warm off-white, for stat blocks etc */
  --rule:       #e3e1db;
  --rule-2:     #cfcdc6;

  /* Type */
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Layout */
  --max:        1440px;
  --gutter:     80px;
  --col-gap:    24px;

  /* Type scale */
  --t-display:  clamp(48px, 6.2vw, 88px);
  --t-h1:       clamp(34px, 3.4vw, 48px);
  --t-h2:       clamp(26px, 2.2vw, 32px);
  --t-h3:       20px;
  --t-body-lg:  19px;
  --t-body:     16px;
  --t-caption:  13px;
  --t-tag:      11px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }

/* ------------------------------------------------------------
 * Reusable type
 * ------------------------------------------------------------ */
.tag {
  font-family: var(--mono);
  font-size: var(--t-tag);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.tag.ink { color: var(--ink); }
.tag.green { color: var(--green); }

.display {
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 400;
}

.h1 { font-size: var(--t-h1);    line-height: 1.1;  letter-spacing: -0.02em;  font-weight: 400; }
.h2 { font-size: var(--t-h2);    line-height: 1.15; letter-spacing: -0.015em; font-weight: 400; }
.h3 { font-size: var(--t-h3);    line-height: 1.3;  letter-spacing: -0.005em; font-weight: 500; }
.body-lg { font-size: var(--t-body-lg); line-height: 1.5; font-weight: 300; color: var(--ink-soft); }
.caption { font-size: var(--t-caption); line-height: 1.45; color: var(--ink-mute); }
.muted { color: var(--ink-mute); }
.softer { color: var(--ink-faint); }

/* ------------------------------------------------------------
 * Layout primitives
 * ------------------------------------------------------------ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.section { padding: 72px 0; }
.section.tight { padding: 56px 0; }
.section.lg { padding: 96px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  padding-top: 28px;
}
.section-head::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--ink);
}
.section-head h2,
.section-head .h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
  color: var(--ink);
}
.section-head .num {
  font-family: var(--mono);
  font-size: var(--t-tag);
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  min-width: 36px;
}

/* ------------------------------------------------------------
 * Header / nav
 * ------------------------------------------------------------ */
.utility {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.utility .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
}
header.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}

.logo {
  display: inline-flex; align-items: center;
  color: var(--ink);
  line-height: 0;        /* drop inline-image whitespace so optical center == box center */
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
nav { display: flex; align-items: center; }
@media (max-width: 640px) {
  .logo-img { height: 36px; }
}

nav ul {
  display: flex; gap: 44px;
  margin: 0; padding: 0; list-style: none;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
nav a {
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
nav a:hover { border-bottom-color: var(--ink); color: var(--ink); }

/* ------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------ */
.hero { padding-top: 24px; }
.hero .wrap > .frame {
  position: relative;
  aspect-ratio: 16 / 7;
  background: var(--paper-2);
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero .badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--paper);
  padding: 12px 18px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  display: flex; gap: 14px; align-items: center;
}
.hero .badge .dot {
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
  /* sole gold accent on the page */
}

.hero-statement {
  padding: 48px var(--gutter) 24px;
  max-width: none;
}
.hero-statement .display {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
  max-width: none;
  color: var(--ink-mute);
}
.hero-statement .display .ink-on { color: var(--ink); font-weight: 600; }
.hero-statement .display .soft { color: var(--ink-mute); }

.hero-meta {
  padding-bottom: 8px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: baseline;
}
.hero-meta .right {
  display: flex; gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  justify-content: flex-end;
}

/* ------------------------------------------------------------
 * Intro + stats
 * ------------------------------------------------------------ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 96px;
  align-items: start;
}
.intro p {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 640px;
}
.intro p .ink { color: var(--ink); font-weight: 400; }

.stats { display: grid; gap: 0; }
.stat {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.stat:last-child { border-bottom: 1px solid var(--rule); }
.stat .num {
  font-size: 38px; line-height: 1; letter-spacing: -0.025em;
  font-weight: 400;
}
.stat .label {
  font-size: 13px; color: var(--ink-mute); line-height: 1.4;
}

/* ------------------------------------------------------------
 * About — editorial: lead, two-column body + focus areas, closing
 * ------------------------------------------------------------ */
.about-lead {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
  max-width: 880px;
  margin: 0 0 64px;
  letter-spacing: -0.005em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.about-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 660px;
  font-weight: 400;
}
.about-body p:last-child { margin-bottom: 0; }

.about-aside {
  border-top: 1.5px solid var(--ink);
  padding-top: 18px;
}
.about-aside .aside-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin: 0 0 18px;
}
.focus-list {
  list-style: none;
  margin: 0; padding: 0;
}
.focus-list li {
  font-size: 16px;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  letter-spacing: -0.005em;
  font-weight: 400;
}
.focus-list li:last-child { border-bottom: 0; }

.about-closing {
  margin: 72px auto 0;
  max-width: 820px;
  text-align: center;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  padding-top: 32px;
}
.about-closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--ink);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-lead { margin-bottom: 48px; }
  .about-closing { margin-top: 56px; }
}
 * (no icons, no dividers, left-aligned)
 * ------------------------------------------------------------ */
.approach-intro {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
  max-width: 880px;
  margin: 0 0 64px;
  letter-spacing: -0.005em;
}

.approach-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.approach-row h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--ink);
}
.approach-row p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
  max-width: 640px;
  font-weight: 300;
}

@media (max-width: 640px) {
  .approach-rows { gap: 16px; }
  .approach-row h3 { font-size: 19px; }
  .approach-row p  { font-size: 14px; }
  .approach-intro  { margin-bottom: 56px; font-size: 18px; }
}

/* ------------------------------------------------------------
 * Projects mosaic
 * ------------------------------------------------------------ */
.projects-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 32px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
}
.mosaic .tile {
  display: flex;
  flex-direction: column;
}
.mosaic .tile-img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.mosaic .tile-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mosaic .tile-info {
  padding-top: 22px;
}
.mosaic .tile .name {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.008em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
.mosaic .tile .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mosaic .tile .summary {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 14px 0 0;
  font-weight: 300;
}

/* equal in 3-column layout */
.mosaic .a, .mosaic .b, .mosaic .c { grid-column: span 1; }

/* ------------------------------------------------------------
 * Philosophy
 * ------------------------------------------------------------ */
.philosophy { background: var(--paper-2); }
.philosophy .wrap { text-align: center; padding-top: 88px; padding-bottom: 88px; }
.philosophy .quote {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 400;
  max-width: 1000px;
  margin: 18px auto 0;
}
.philosophy .quote em {
  font-style: normal;
  color: var(--ink-mute);
}
.philosophy .attrib {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1100px;
  margin: 56px auto 0;
  text-align: left;
}
.principle {
  border-top: 1px solid var(--rule-2);
  padding-top: 14px;
}
.principle .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-mute); }
.principle h4 { font-size: 18px; font-weight: 500; margin: 6px 0 6px; letter-spacing: -0.005em; }
.principle p { margin: 0; font-size: 14px; color: var(--ink-mute); line-height: 1.5; }

/* ------------------------------------------------------------
 * Neighborhood / map
 * ------------------------------------------------------------ */
.neighborhood-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.map-card {
  position: relative;
  background: var(--paper-2);
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.map-card .legend {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink); background: var(--paper);
  padding: 6px 10px; border: 1px solid var(--rule-2);
}

.neighborhoods {
  display: flex; flex-direction: column; gap: 0;
  justify-content: center;
}
.neighborhood {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.neighborhood:first-child { border-top: 1.5px solid var(--ink); }
.neighborhood .ix { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.16em; }
.neighborhood .name { font-size: 18px; font-weight: 500; letter-spacing: -0.005em; }
.neighborhood .stat { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.06em; border: 0; padding: 0; display: inline; }

/* ------------------------------------------------------------
 * CTA strip
 * ------------------------------------------------------------ */
.cta {
  padding: 72px 0 96px;
}
.cta-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-statement {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 400;
  margin: 0;
  max-width: 720px;
}
.cta .actions {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: background 160ms ease, color 160ms ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--ink-soft); }
.btn .arrow { font-family: var(--sans); font-size: 13px; line-height: 1; }

/* ------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------ */
footer.footer {
  background: var(--ink-mute); /* Cool Gray 10 C — #63666A */
  color: var(--paper);
  padding: 72px 0 32px;
}
footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}
footer .col h6 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
}
footer .col p,
footer .col a,
footer .col li {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.6;
}
footer .col a:hover { color: var(--gold); }
footer .col ul { list-style: none; margin: 0; padding: 0; }
footer .col ul li + li { margin-top: 4px; }
footer .brand {
  display: flex; align-items: center; margin-bottom: 20px;
}
footer .footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

footer .legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ------------------------------------------------------------
 * Image placeholders (intentional)
 * Subtly striped, monospace label noting what should go there.
 * ------------------------------------------------------------ */
.imgslot {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 22px,
      rgba(12,35,64,0.05) 22px 23px
    ),
    var(--paper-2);
}
.imgslot::before {
  /* diagonal cross marker */
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.6px), rgba(12,35,64,0.18) calc(50% - 0.6px) calc(50% + 0.6px), transparent calc(50% + 0.6px)),
    linear-gradient(to top left,  transparent calc(50% - 0.6px), rgba(12,35,64,0.18) calc(50% - 0.6px) calc(50% + 0.6px), transparent calc(50% + 0.6px));
}
.imgslot .slot-label {
  position: absolute;
  left: 16px; top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 5px 10px;
  border: 1px solid var(--rule-2);
}

/* ------------------------------------------------------------
 * Tweaks: accent intensity / density / grid
 * ------------------------------------------------------------ */
body.accents-none .hero .badge .dot { background: var(--ink); }
body.accents-none a:hover { color: var(--ink); }

body.accents-expressive .stat:nth-child(2) .num { color: var(--green); }
body.accents-expressive .hero .badge .dot { background: var(--gold); width: 8px; height: 8px; }
body.accents-expressive .philosophy .quote em { color: var(--green); }

body.density-compact .section    { padding: 64px 0; }
body.density-compact .section.lg { padding: 88px 0; }
body.density-compact .hero-statement { padding: 56px var(--gutter) 24px; }

body.show-grid::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: linear-gradient(to right,
    transparent 0,
    transparent var(--gutter),
    rgba(220,38,127,0.08) var(--gutter),
    rgba(220,38,127,0.08) calc(100% - var(--gutter)),
    transparent calc(100% - var(--gutter)));
  max-width: var(--max); margin: 0 auto;
}
body.show-grid main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to right,
    transparent 0 calc((100% - 11 * var(--col-gap)) / 12),
    rgba(220,38,127,0.08) 0 calc((100% - 11 * var(--col-gap)) / 12 + var(--col-gap)));
  pointer-events: none;
}

/* ------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------ */
@media (max-width: 1024px) {
  :root { --gutter: 48px; --t-display: clamp(40px, 5.8vw, 64px); }
  .intro-grid, .neighborhood-grid, .cta-body, footer .grid { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; gap: 18px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .mosaic .a, .mosaic .b, .mosaic .c { grid-column: span 1; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  nav ul { display: none; }
  header.nav .menu-tag { display: inline; }
  .utility .wrap { font-size: 9px; }
  .hero .wrap > .frame { aspect-ratio: 4 / 3; }
  .hero-statement { padding: 56px var(--gutter) 16px; }
  .section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; gap: 40px; }
  .mosaic .a, .mosaic .b, .mosaic .c { grid-column: span 1; grid-row: span 1; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .hero-meta .right { justify-content: flex-start; }
  .cta .actions { align-items: flex-start; }
  footer .legal { flex-direction: column; gap: 8px; }
}

.menu-tag { display: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
