/* ==========================================================================
   Wilco Construction — stylesheet
   Single stylesheet for the whole site. No build step, no dependencies.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Brand palette derived from the approved Wilco logo (#35274C aubergine). */
  --ink:        #241A33;
  --ink-2:      #2E2242;
  --ink-3:      #3D2E58;
  --brand:      #35274C;
  --brand-dark: #241A33;
  --brand-2:    #5C4185;
  --brand-bright:#A98FD4;
  --paper:      #FFFFFF;
  --sand:       #F4F1F4;
  --sand-2:     #EBE6EC;
  --line:       #E3DEE5;
  --text:       #1F1729;
  --muted:      #665C73;
  --muted-2:    #8C82A0;

  --wrap:       1280px;
  --wrap-narrow: 880px;
  --gutter:     clamp(20px, 5vw, 64px);

  --r-sm: 2px;
  --r-md: 4px;

  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t-med:  340ms cubic-bezier(.4,0,.2,1);
  --t-slow: 700ms cubic-bezier(.16,1,.3,1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  /* Display face — condensed oblique, in the spirit of Helvetica Neue
     Condensed Bold Oblique. Archivo is a variable font with a real width
     axis, set to 70% width below. */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand-2); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #CFC8D8; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* ---------- Type scale --------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 22px;
}
.section--ink .eyebrow { color: var(--brand-bright); }

.h-display { font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -0.035em; }
.h1        { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.032em; }
.h2        { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.028em; }
.h3        { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.02em; }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--ink .lead { color: #B7AEC4; }

.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); }

.btn--ghost {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.link-arrow {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.link-arrow svg { transition: transform var(--t-fast); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t-med), box-shadow var(--t-med),
              border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
  transition: height var(--t-med);
}

/* transparent-over-hero state */
.site-header--over { background: transparent; }
.site-header--over .brand__mark { color: #fff; }
.site-header--over .brand__sub  { color: rgba(255,255,255,.66); }
.site-header--over .nav__link   { color: rgba(255,255,255,.86); }
.site-header--over .nav__link:hover,
.site-header--over .nav__link[aria-current="page"] { color: #fff; }
.site-header--over .header__tel { color: #fff; }
.site-header--over .burger span { background: #fff; }

/* solid state (scrolled, or on pages without a hero) */
.site-header--solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(31,23,41,.06);
}
.site-header--solid .site-header__inner { height: 70px; }
.site-header--solid .brand__mark { color: var(--ink); }
.site-header--solid .brand__sub  { color: var(--muted-2); }
.site-header--solid .nav__link   { color: var(--text); }
.site-header--solid .header__tel { color: var(--ink); }
.site-header--solid .burger span { background: var(--ink); }

/* Brand lockup. Two files are shipped: a white version for the transparent
   header over dark photography, and a brand-colour version for the solid
   header and footer. Only one is visible at a time. */
.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo { display: block; width: auto; transition: height var(--t-med); }
.brand__logo--light { height: 40px; }
.brand__logo--dark  { height: 40px; }

.site-header--over  .brand__logo--dark  { display: none; }
.site-header--solid .brand__logo--light { display: none; }
.site-header--solid .brand__logo { height: 34px; }

.site-footer .brand__logo--dark { display: none; }
.site-footer .brand__logo--light { height: 44px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-block: 8px;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__tel {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--t-med);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t-fast), opacity var(--t-fast),
              background var(--t-med);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: 108px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  padding-block: 13px;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.mobile-nav a:hover { color: var(--brand-bright); }
.mobile-nav__meta {
  margin-top: 32px;
  font-size: 15px;
  color: #A79CB5;
  line-height: 1.9;
}
.mobile-nav__meta a { font-size: 15px; border: 0; padding: 0; display: block; }

body.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav, .header__tel { display: none; }
  .burger { display: flex; }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: min(62svh, 620px); }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img, .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 26s ease-out forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__media video { animation: none; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,  rgba(20,14,28,.80) 0%,  rgba(20,14,28,.55) 42%,
                            rgba(20,14,28,.10) 78%, rgba(20,14,28,0) 100%),
    linear-gradient(180deg, rgba(20,14,28,.62) 0%,  rgba(20,14,28,.18) 30%,
                            rgba(20,14,28,.55) 72%, rgba(20,14,28,.90) 100%);
}
@media (max-width: 780px) {
  /* On narrow screens the text spans the full width, so the side wash is
     replaced by an even one. */
  .hero__scrim {
    background: linear-gradient(180deg, rgba(20,14,28,.72) 0%, rgba(20,14,28,.45) 35%,
                                        rgba(20,14,28,.68) 72%, rgba(20,14,28,.92) 100%);
  }
}

.hero__inner { padding-block: clamp(52px, 9vw, 104px); width: 100%; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: rgba(255,255,255,.84); margin-top: 26px; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), transparent);
}
@media (max-width: 780px) { .hero__scroll { display: none; } }

/* page hero for interior pages */
.page-hero {
  position: relative;
  padding-top: clamp(150px, 19vw, 220px);
  padding-bottom: clamp(56px, 8vw, 96px);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,  rgba(20,14,28,.72) 0%, rgba(20,14,28,.40) 55%,
                            rgba(20,14,28,.12) 100%),
    linear-gradient(180deg, rgba(20,14,28,.80) 0%, rgba(20,14,28,.52) 55%,
                            rgba(20,14,28,.78) 100%);
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.82); margin-top: 22px; }

.crumbs {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; margin-inline: 8px; }

/* ---------- Stat bar ----------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--line);
}
.section--ink .stats { border-top-color: rgba(255,255,255,.14); }
.stat {
  padding: 40px 30px 40px 0;
  border-right: 1px solid var(--line);
}
.section--ink .stat { border-right-color: rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.section--ink .stat__num { color: #fff; }
.stat__label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .stat__label { color: #A79CB5; }

@media (max-width: 640px) {
  .stat { padding: 26px 18px 26px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
}

/* ---------- Split blocks ------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--media-right { direction: ltr; }
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split__media--tall img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

.rule-list { list-style: none; margin: 34px 0 0; padding: 0; }
.rule-list li {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list__n {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 0.1em;
  flex: none;
  min-width: 26px;
}
.section--ink .rule-list li { border-color: rgba(255,255,255,.15); }

/* ---------- Section headers ---------------------------------------------- */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(34px, 4.5vw, 58px);
}
@media (max-width: 760px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- Cards -------------------------------------------------------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--t-fast), transform var(--t-fast),
              box-shadow var(--t-fast);
}
.card:hover {
  border-color: var(--brand-2);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(31,23,41,.08);
}
.card__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-2);
}
.card p { color: var(--muted); font-size: 15.5px; }
.card ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--muted);
}
.card ul li {
  padding: 7px 0 7px 20px;
  position: relative;
  border-top: 1px solid var(--line);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 7px; height: 1px;
  background: var(--brand-2);
}

/* ---------- Project cards ------------------------------------------------ */
.projects { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.projects--3 { grid-template-columns: repeat(3, 1fr); }
.projects--2 { grid-template-columns: repeat(2, 1fr); }
.projects--2 .project__media { aspect-ratio: 4 / 3; }
@media (max-width: 660px) { .projects--2 { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .projects--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .projects--3 { grid-template-columns: 1fr; } }

.project {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.project__media { aspect-ratio: 4 / 3.2; overflow: hidden; }
.project--wide { grid-column: span 2; }
.project--wide .project__media { aspect-ratio: 16 / 9; }
@media (max-width: 660px) { .project--wide { grid-column: span 1; } }

.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow), filter var(--t-med);
}
.project:hover .project__media img { transform: scale(1.055); }

.project__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,23,41,.05) 30%, rgba(31,23,41,.55) 62%,
                                      rgba(31,23,41,.93) 100%);
  transition: opacity var(--t-med);
}
.project__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 2.4vw, 32px);
  color: #fff;
}
.project__tag {
  display: inline-block;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 11px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.24);
}
.project__tag--live { background: var(--brand-2); border-color: var(--brand-2); }
.project__title {
  font-size: clamp(1.16rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}
.project__meta {
  margin-top: 9px;
  font-size: 13.5px;
  color: rgba(255,255,255,.76);
  display: flex;
  flex-wrap: wrap;
  gap: 3px 9px;
}
/* Separator is rendered inline *after* each item so that when the list wraps,
   the dot stays attached to the end of the previous line instead of dangling
   at the start of the next one. */
.project__meta span:not(:last-child)::after {
  content: "·";
  margin-left: 9px;
  color: rgba(255,255,255,.42);
}

/* project groups */
.project-group + .project-group { padding-top: 0; }
.project-group__head {
  margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.project-group__head .lead { margin: 14px 0 0; max-width: 56ch; }

/* filter chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}
.filter {
  padding: 10px 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  transition: all var(--t-fast);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.project.is-hidden { display: none; }

/* ---------- Detail rows (project spec tables) ---------------------------- */
.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec > div { background: #fff; padding: 24px 22px; }
.spec dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.spec dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }

/* ---------- Quote -------------------------------------------------------- */
.quote {
  font-size: clamp(1.4rem, 2.9vw, 2.15rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section--ink .quote { color: #fff; }
.quote__by {
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .quote__by { color: #A79CB5; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169,143,212,.28), transparent 68%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.76); }
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Forms -------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(92,65,133,.15);
}
.form__note { font-size: 13.5px; color: var(--muted-2); }

/* ---------- Contact info ------------------------------------------------- */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 7px;
}
.info-list dd { margin: 0; font-size: 18px; font-weight: 500; color: var(--ink); }
.info-list a:hover { color: var(--brand-2); }

/* ---------- News --------------------------------------------------------- */
.post { display: flex; flex-direction: column; }
.post__media { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 20px; }
.post__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.post:hover .post__media img { transform: scale(1.05); }
.post__date {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 11px;
}
.post h3 { margin-bottom: 10px; }
.post p { font-size: 15.5px; color: var(--muted); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #A79CB5;
  padding-top: clamp(56px, 7vw, 88px);
  font-size: 15px;
}
.site-footer a:hover { color: #fff; }

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
}
@media (max-width: 940px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand .brand__mark { color: #fff; font-size: 23px; }
.footer__brand .brand__sub { color: rgba(255,255,255,.5); }
.footer__blurb { margin-top: 22px; max-width: 34ch; line-height: 1.75; }

.footer__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13.5px;
  color: #8C82A0;
}

/* ---------- Scroll reveal ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms cubic-bezier(.16,1,.3,1),
              transform 800ms cubic-bezier(.16,1,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ---------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 26px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 60px; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ==========================================================================
   Display face — condensed oblique (added 2026-08-23 per Vince)
   Headlines, nav and labels take the condensed italic; body copy stays Inter.
   These rules sit at the end of the file so they win the cascade.
   ========================================================================== */

h1, h2, h3, h4,
.h-display, .h1, .h2, .h3,
.stat__num {
  font-family: var(--font-display);
  font-stretch: 70%;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.h-display, .h1 { letter-spacing: 0.005em; }
.stat__num { text-transform: none; letter-spacing: 0; }

.nav__link,
.header__tel,
.btn,
.eyebrow,
.stat__label,
.link-arrow,
.project__tag,
.skip-link {
  font-family: var(--font-display);
  font-stretch: 74%;
  font-style: italic;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-stretch: 70%;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mobile-nav__meta a {
  font-family: var(--font);
  font-stretch: 100%;
  font-style: normal;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}

/* ==========================================================================
   Project gallery lightbox (added 2026-08-23)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px clamp(12px, 4vw, 48px);
  background: rgba(24, 17, 34, 0.94);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }

.lightbox__stage {
  margin: 0;
  max-width: min(1400px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  margin-inline: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.lightbox__caption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  color: #CFC8D8;
  font-size: 13px;
}
.lightbox__title {
  font-family: var(--font-display);
  font-stretch: 74%;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  font-size: 15px;
}
.lightbox__count { font-variant-numeric: tabular-nums; color: #A79CB5; }

.lightbox__close,
.lightbox__nav {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.lightbox__close {
  position: absolute;
  top: 22px;
  right: clamp(14px, 3vw, 34px);
  font-size: 26px;
}
.lightbox__nav[disabled] { opacity: .25; pointer-events: none; }

body.lightbox-open { overflow: hidden; }

.project { cursor: pointer; }

@media (max-width: 700px) {
  .lightbox { gap: 8px; padding: 16px 8px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox__img { animation: lb-fade .22s ease; }
  @keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
}
