@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
:root {
  --bronze: #8a6a4a;
  --taupe: #9d9185;
  --ink: #101211;
  --paper: #ffffff;
  --warm: #f5f2ee;
  --line: #ddd7d0;
  --muted: #5e5a56;
  --max: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 86px; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-pad { padding: 108px 0; }
.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--bronze);
}
.small-kicker {
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
}
.small-kicker.end { margin: 18px 0 0; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 790px;
}
h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
h3 { margin-bottom: 16px; font-size: 31px; line-height: 1.05; letter-spacing: -.025em; }
p { font-size: 17px; line-height: 1.7; color: #2f2c29; }

.site-header {
  height: 86px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; }
.nav a, .footer-email { border-bottom: 1px solid transparent; }
.nav a:hover, .footer-email:hover { border-color: var(--bronze); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--ink) !important;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--ink); color: #fff; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 740px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: stretch; }
.hero-portrait { position: relative; display: flex; align-items: end; justify-content: center; min-height: 660px; }
.portrait-stage {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: center;
  background: linear-gradient(90deg, #ece6de 0 78%, #f6f3ef 84%, #ffffff 100%);
}
.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0 62%, rgba(255,255,255,.9) 88%, rgba(255,255,255,1) 100%);
  z-index: 0;
}
.portrait-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(138,106,74,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,106,74,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0 52%, rgba(0,0,0,.5) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0 52%, rgba(0,0,0,.5) 72%, transparent 100%);
  pointer-events: none;
}
.portrait-stage img {
  position: relative;
  z-index: 2;
  width: min(96%, 560px);
  max-height: 700px;
  object-fit: contain;
  object-position: center bottom;
}
.hero-copy { padding: 112px 0 94px 74px; display: flex; flex-direction: column; justify-content: center; }
.hero-lead { max-width: 700px; font-size: 20px; line-height: 1.65; }
.text-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-weight: 800; border-bottom: 2px solid var(--bronze); padding-bottom: 6px; }
.text-link span { color: var(--bronze); }

.proof-strip { border-bottom: 1px solid var(--line); }
.proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  padding: 38px 0;
}
.proof-item { padding: 8px 34px; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; font-size: 26px; letter-spacing: -.02em; margin-bottom: 8px; }
.proof-item:first-child strong {
  white-space: nowrap;
  font-size: 24px;
}
.proof-item span { font-size: 13px; font-weight: 600; color: var(--muted); }

.framework { background: #fff; }
.section-head { max-width: 880px; margin-bottom: 52px; }
.section-head > p:last-child { max-width: 760px; }
.framework-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
.rail-step {
  min-height: 176px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.rail-number {
  display: block;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--bronze);
}
.rail-step strong {
  display: block;
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.1;
}
.rail-step p { margin-bottom: 0; font-size: 14px; line-height: 1.55; }
.rail-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  font-size: 26px;
  font-weight: 700;
}

.integration { background: var(--ink); color: #fff; }
.integration h2, .integration strong, .integration p { color: #fff; }
.integration-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.integration-copy { display: flex; flex-direction: column; justify-content: center; }
.impact-list { border-top: 1px solid rgba(255,255,255,.22); }
.impact-list div { display: grid; grid-template-columns: 230px 1fr; gap: 26px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.impact-list strong { font-size: 15px; }
.impact-list span { color: rgba(255,255,255,.72); font-size: 14px; }
.integration-copy p:last-child { color: rgba(255,255,255,.74); max-width: 520px; }

.about { background: var(--warm); }
.about-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 76px; align-items: start; }
.about-copy p { max-width: 760px; }
.youtube-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 42px;
}
.youtube-panel h3 { font-size: 34px; line-height: 1.08; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 12px;
  cursor: pointer;
}
.button-outline { border: 1px solid var(--ink); background: transparent; }
.button-outline:hover { background: var(--ink); color: #fff; }

.audit {
  background: var(--bronze);
  color: #fff;
}
.audit .eyebrow.light { color: rgba(255,255,255,.72); }
.audit h2 { color: #fff; max-width: 640px; }
.audit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.audit-intro p {
  color: rgba(255,255,255,.9);
  max-width: 560px;
  font-size: 19px;
  line-height: 1.65;
}
.audit-intro strong { color: #fff; }
.audit-form {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 28px;
}
.form-row { margin-bottom: 16px; }
.form-row.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audit-form label { display: block; }
.audit-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.audit-form input,
.audit-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.32);
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  resize: vertical;
  outline: none;
}
.audit-form input:focus,
.audit-form textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.2);
}
.form-actions { margin-bottom: 0; }
.button-light { background: #fff; color: var(--ink); border: 1px solid #fff; }
.button-light:hover { background: transparent; color: #fff; }

.footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 112px; display: grid; grid-template-columns: 1fr auto auto auto; gap: 28px; align-items: center; }
.footer-brand img { width: 34px; height: 34px; }
.footer-email { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.footer-links { display: flex; align-items: center; gap: 20px; font-size: 11px; font-weight: 700; }
.footer-links a { border-bottom: 1px solid transparent; }
.footer-links a:hover { border-color: var(--bronze); }
.footer small { font-size: 11px; color: var(--muted); }

@media (max-width: 1100px) {
  .framework-rail { grid-template-columns: 1fr 1fr; }
  .rail-arrow { display: none; }
}

@media (max-width: 960px) {
  .site-header { height: 74px; }
  .nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { order: 1; padding: 72px 0 46px; }
  .hero-portrait { order: 2; min-height: 500px; }
  .portrait-stage { max-width: 720px; margin: 0 auto; }
  .proof-grid { grid-template-columns: 1fr; padding: 18px 0; }
  .proof-item, .proof-item:first-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .proof-item:last-child { border-bottom: 0; }
  .integration-grid, .about-grid, .audit-grid { grid-template-columns: 1fr; gap: 48px; }
  .framework-rail { grid-template-columns: 1fr; gap: 14px; }
  .impact-list-wrap { order: 1; }
  .integration-copy { order: 2; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, var(--max)); }
  .section-pad { padding: 76px 0; }
  .brand span { font-size: 11px; }
  .brand img { width: 30px; height: 30px; }
  .nav { gap: 12px; font-size: 11px; }
  h1 { font-size: clamp(44px, 13vw, 68px); }
  h2 { font-size: clamp(36px, 10vw, 52px); }
  .hero-copy { padding-top: 58px; }
  .hero-lead { font-size: 17px; }
  .hero-portrait { min-height: 410px; }
  .portrait-stage img { width: 96%; max-height: 520px; }
  .rail-step { min-height: auto; }
  .impact-list div { grid-template-columns: 1fr; gap: 8px; }
  .youtube-panel { padding: 28px; }
  .form-row.two-up { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
}

/* v3 refinements */
.hero > .container {
  width: 100%;
  max-width: none;
}
.hero-grid {
  grid-template-columns: 46% 54%;
}
.hero-portrait {
  justify-content: flex-end;
}
.portrait-stage {
  width: 100%;
  max-width: none;
  justify-content: flex-end;
}
.portrait-stage img {
  width: min(76%, 600px);
  margin-right: 7%;
}
.hero-copy {
  padding-left: 58px;
  padding-right: max(48px, calc((100vw - var(--max)) / 2));
}
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(54px, 5vw, 76px);
}
.audit-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.32);
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  min-height: 49px;
  outline: none;
}
.audit-form select:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.2);
}
.audit-form textarea::placeholder {
  color: #8a8580;
}
@media (max-width: 960px) {
  .hero > .container { width: min(var(--max), calc(100% - 48px)); }
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-stage img { width: 96%; margin-right: 0; }
  .hero-copy { padding-left: 0; padding-right: 0; }
}
@media (max-width: 680px) {
  .hero > .container { width: min(100% - 30px, var(--max)); }
}


/* Legal pages */
.legal-main { background: var(--warm); min-height: calc(100vh - 198px); }
.legal-hero { padding: 92px 0 46px; border-bottom: 1px solid var(--line); background: #fff; }
.legal-hero h1 { max-width: 860px; font-size: clamp(48px, 6vw, 78px); }
.legal-meta { margin: 18px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.legal-content { padding: 72px 0 104px; }
.legal-body { max-width: 860px; }
.legal-body h2 { margin-top: 52px; margin-bottom: 16px; font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.75; color: #3c3834; }
.legal-body ul { margin: 12px 0 24px; padding-left: 22px; }
.legal-body li + li { margin-top: 8px; }
.legal-body a { color: var(--bronze); font-weight: 700; border-bottom: 1px solid rgba(138,106,74,.4); }
.legal-note { margin-top: 48px; padding: 20px 22px; border: 1px solid var(--line); background: #fff; }
.legal-note p { margin: 0; font-size: 13px; }
.legal-back { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.legal-back span { color: var(--bronze); }

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-links { justify-self: end; }
  .footer-email, .footer small { justify-self: start; }
}
@media (max-width: 680px) {
  .legal-hero { padding: 64px 0 34px; }
  .legal-content { padding: 54px 0 76px; }
  .legal-body h2 { margin-top: 40px; font-size: 24px; }
  .footer-links { justify-self: start; flex-wrap: wrap; gap: 14px 18px; }
}
@media (max-width: 768px) {
  .integration-copy {
    order: 1;
  }

  .impact-list-wrap {
  order: 2;
  }
}
.nav-projects {
  position: relative;
}

.nav-projects-link {
  display: inline-flex;
  align-items: center;
}

.nav-projects-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d8d3ce;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 100;
}

.nav-projects-menu a {
  display: block;
  padding: 14px 16px;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.nav-projects-menu a:hover {
  background: #f3f0ec;
}

.nav-projects:hover .nav-projects-menu,
.nav-projects:focus-within .nav-projects-menu {
  opacity: 1;
  visibility: visible;
}
.nav-projects-arrow {
  margin-left: 6px;
  font-size: 12px;
  line-height: 1;
  transform: translateY(-1px);
}
.project-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;

  padding: 56px 0;
  border-top: 1px solid #d8d3ce;
  border-bottom: 1px solid #d8d3ce;

  color: inherit;
  text-decoration: none;
}

.project-card-copy {
  width: 100%;
  max-width: 520px;
}

.project-card-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-card-copy p {
  margin: 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.55;
}

.project-card-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.project-card-image {
  width: 100%;
}

.project-card-image img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .project-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-card-copy {
    max-width: none;
  }
}
@media (max-width: 800px) {

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .brand {
    align-self: flex-start;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    align-items: center;
  }

  .nav > a,
  .nav-projects {
    width: 100%;
  }

  .nav > a,
  .nav-projects-link {
    display: block;
    padding: 8px 0;
  }

  .nav-cta {
    text-align: center;
  }

  .nav-projects-menu {
    display: none;
  }
}
/* HEADER RESET / FIX */

.site-header {
  height: 86px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (max-width: 800px) {

  .site-header {
    height: auto;
  }

  .header-inner {
    height: auto;
    min-height: 74px;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .brand {
    align-self: flex-start;
  }

  .nav {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: start;
    align-items: center;
    gap: 10px 14px;
    font-size: 11px;
  }

  .nav > a,
  .nav > .nav-projects,
  .nav-projects-link {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
  }
.nav-cta {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  margin-top: 2px;
  padding: 10px 14px;
  text-align: center;
}

  .nav-projects-menu {
    display: none !important;
  }
}
.hero-cta {
  margin-top: 28px;
  width: fit-content;
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;

  background: #8a6a4a;
  color: #fff;
  border: 1px solid #8a6a4a;
}

.hero-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.opening-crop {
  height: 360px;
  object-fit: cover;
  object-position: top;
}
.project-case-page img.opening-crop {
  width: 100%;
  height: 460px !important;
  object-fit: cover;
  object-position: center 15%;
}

/* MOBILE */
@media (max-width: 900px) {
  .project-case-page img.opening-crop {
    height: 400px !important;
    object-fit: cover;
    object-position: center 15%;
  }
}
