/* =============================================================
   BRASS ENTERPRISES — Warm Editorial Premium (mockup-v3)
   Palette: Ivory, Espresso, Brass, Bronze, Ink
   Fonts: Playfair Display (display) + Inter (body)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --ivory:   #f7f2e9;
  --espresso:#1c1713;
  --brass:   #b78e46;
  --bronze:  #a9602f;
  --ink:     #241f1a;
  --line:    #e2d9c7;
  --cream:   #fbf8f1;
  --warm-white: #efe7d6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(36,31,26,.08);
  --shadow-md: 0 6px 24px rgba(36,31,26,.12);
  --shadow-lg: 0 16px 48px rgba(36,31,26,.16);

  --container: 1200px;
  --radius:    2px;
  --transition: 240ms ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { line-height: 1.75; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(36,31,26,.75);
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

/* Small-caps utility */
.small-caps {
  font-variant: small-caps;
  font-size: .85em;
  letter-spacing: .08em;
  text-transform: lowercase;
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  color: var(--espresso);
  border-left: 3px solid var(--brass);
  padding: 16px 0 16px 28px;
  margin: 40px 0;
  line-height: 1.4;
}

/* Drop cap */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 4.5em;
  font-weight: 700;
  line-height: .8;
  float: left;
  margin-right: .1em;
  margin-top: .08em;
  color: var(--brass);
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ── SECTIONS ── */
.section {
  padding: 96px 0;
}
.section--cream { background: var(--cream); }
.section--espresso {
  background: var(--espresso);
  color: var(--warm-white);
}
.section--espresso .eyebrow { color: var(--brass); }
.section--espresso h2 { color: var(--warm-white); }
.section--espresso p { color: rgba(239,231,214,.78); }
.section--espresso .lead { color: rgba(239,231,214,.78); }

.center { text-align: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brass);
  color: #fff !important;
  border: 2px solid var(--brass);
}
.btn--primary:hover { background: #a07a35; border-color: #a07a35; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.btn--ghost-light {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(239,231,214,.5);
}
.btn--ghost-light:hover { background: rgba(239,231,214,.1); border-color: var(--warm-white); }

.btn--light {
  background: transparent;
  color: var(--warm-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--light:hover { background: rgba(255,255,255,.15); }

.arrow { font-size: 1.1em; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: rgba(28,23,19,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(183,142,70,.2);
}

/* Light header variant (contact page) */
.site-header.on-light {
  background: rgba(247,242,233,.95);
  border-bottom: 1px solid var(--line);
}
.site-header.on-light .brand__wordmark { color: var(--ink); }
.site-header.on-light .nav a { color: var(--ink); }
.site-header.on-light .nav a:hover { color: var(--brass); }
.site-header.on-light .nav-toggle span { background: var(--ink); }

/* Brand wordmark */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__wordmark {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--warm-white);
  line-height: 1.1;
}
.brand__wordmark b { color: var(--brass); font-weight: 700; }
.brand__wordmark span { color: rgba(239,231,214,.7); font-weight: 400; }

/* Brass rule ornament before wordmark */
.brand::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background: var(--brass);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(239,231,214,.8);
  transition: color var(--transition);
}
.nav a:hover, .nav a.active { color: var(--brass); }
.nav a.active { border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.nav .btn { letter-spacing: .1em; }
.nav .btn--primary { color: #fff !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-white);
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 900px) {
  .site-header { padding: 0 24px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--espresso);
    border-top: 1px solid rgba(183,142,70,.2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 0;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a {
    display: block;
    width: 100%;
    padding: 14px 28px;
    font-size: .85rem;
    border-bottom: 1px solid rgba(239,231,214,.05);
  }
  .nav .btn {
    margin: 14px 28px 0;
    width: calc(100% - 56px);
    justify-content: center;
  }
}

/* ── HERO (full-bleed video) ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Rich warm gradient only behind the text area */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,23,19,.88) 0%,
    rgba(28,23,19,.55) 35%,
    rgba(28,23,19,.15) 65%,
    transparent 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 80px;
}
.hero__eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.hero__eyebrow-rule .eyebrow {
  margin-bottom: 0;
  color: var(--brass);
}
.hero__eyebrow-rule::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--brass);
  opacity: .6;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 600;
  max-width: 820px;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero .lead {
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
}
.page-hero__media {
  position: absolute;
  inset: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,23,19,.9) 0%,
    rgba(28,23,19,.5) 40%,
    rgba(28,23,19,.15) 70%,
    transparent 100%
  );
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
}
.page-hero h1 { color: #fff; max-width: 740px; }
.page-hero .lead { color: rgba(255,255,255,.78); max-width: 620px; font-weight: 300; margin-top: 16px; }

/* Thin brass rule above eyebrow */
.brass-rule {
  width: 60px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 18px;
}

/* ── PILLARS / THREE-COLUMN ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.pillar {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  position: relative;
}
.pillar:last-child { border-right: none; }
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brass);
  opacity: .25;
  line-height: 1;
  margin-bottom: 20px;
}
.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--ink);
}
.pillar p { font-size: .95rem; color: rgba(36,31,26,.72); }

@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
}

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--brass);
  opacity: .3;
  border-radius: var(--radius);
  z-index: -1;
}
.split__body { max-width: 520px; }
.split__body h2 { margin-bottom: 20px; }
.split__body p { margin-bottom: 16px; color: rgba(36,31,26,.78); }
/* This rule sits after `.section--espresso p` at equal specificity, so on a
   dark band it was winning and painting near-black ink on espresso — the
   copy was effectively invisible. Restore the light colour on dark sections. */
.section--espresso .split__body p { color: rgba(239,231,214,.78); }
.split__body .btn { margin-top: 8px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .split--reverse { direction: ltr; }
}

/* ── STATS BAND (espresso) ── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 64px 32px;
  border-right: 1px solid rgba(183,142,70,.2);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(239,231,214,.6);
}

@media (max-width: 768px) {
  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(183,142,70,.2); }
  .stat:nth-child(4) { border-right: none; }
}
@media (max-width: 480px) {
  .stats-band { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(183,142,70,.2); }
  .stat:last-child { border-bottom: none; }
}

/* ── CTA BAND ── */
.cta-band {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-band h2 { margin-bottom: 16px; color: var(--warm-white); }
.cta-band p { margin-bottom: 32px; color: rgba(239,231,214,.75); }

/* ── PROPERTY GRID ── */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.prop {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}
.prop img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.prop:hover img { transform: scale(1.04); }
.prop__cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 20px;
  background: linear-gradient(to top, rgba(28,23,19,.88), transparent);
  display: flex;
  align-items: flex-end;
}
.prop__cap b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.prop__cap small {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 4px;
}

@media (max-width: 900px) { .prop-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .prop-grid { grid-template-columns: 1fr; } }

/* ── PORTFOLIO FILTER ── */
.filter {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter button {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(36,31,26,.65);
  background: transparent;
  transition: all var(--transition);
}
.filter button.active,
.filter button:hover {
  background: var(--espresso);
  color: var(--brass);
  border-color: var(--espresso);
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 0;
}
/* Vertical axis line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline::before { left: 28px; }
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 48px;
  align-items: center;
  margin-bottom: 72px;
  position: relative;
}
.tl-item:nth-child(even) .tl-text { order: 3; text-align: left; }
.tl-item:nth-child(even) .tl-media { order: 1; }
.tl-item:nth-child(even) .tl-dot  { order: 2; }

.tl-dot {
  width: 16px;
  height: 16px;
  background: var(--brass);
  border: 3px solid var(--ivory);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--brass);
  flex-shrink: 0;
  z-index: 1;
}

.tl-year {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brass);
  opacity: .3;
  line-height: 1;
  margin-bottom: 10px;
}
.tl-text h3 { margin-bottom: 10px; }
.tl-text p { font-size: .95rem; color: rgba(36,31,26,.75); }
.tl-text { padding: 0 8px; }

.tl-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-md);
}
.tl-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
  .timeline::before { left: 28px; }
  .tl-item {
    grid-template-columns: auto 1fr;
    gap: 0 24px;
    margin-bottom: 48px;
  }
  .tl-item .tl-text { order: 1 !important; grid-column: 2; }
  .tl-item .tl-dot  { order: 0 !important; }
  .tl-item .tl-media { display: none; }
  .tl-item:nth-child(even) .tl-text { text-align: left; }
}

/* ── TEAM GRID ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.member {
  background: var(--cream);
  padding: 40px 32px;
  border-top: 2px solid transparent;
  transition: border-color var(--transition);
}
.member:hover { border-color: var(--brass); }
.member__monogram {
  width: 56px;
  height: 56px;
  background: var(--espresso);
  color: var(--brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.member__role {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}
.member h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--ink);
}
.member p { font-size: .88rem; line-height: 1.7; color: rgba(36,31,26,.72); }
.member__li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 16px;
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 1px;
  transition: color var(--transition);
}
.member__li:hover { color: var(--brass); border-color: var(--brass); }

@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px)  { .team-grid { grid-template-columns: 1fr; } }

/* ── STRATEGY TYPES / PHASES ── */
.types, .phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.phases { grid-template-columns: repeat(4, 1fr); }

.type, .phase {
  background: var(--cream);
  padding: 40px 32px;
  border-bottom: 2px solid var(--brass);
  position: relative;
}
.phase__n {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.type h3, .phase h3 { margin-bottom: 10px; font-size: 1.1rem; }
.type p, .phase p { font-size: .9rem; color: rgba(36,31,26,.75); }

@media (max-width: 900px) {
  .types { grid-template-columns: repeat(2,1fr); }
  .phases { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 540px) {
  .types, .phases { grid-template-columns: 1fr; }
}

/* ── ACCORDION ── */
.accordion {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: none; }
.acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.acc-head:hover { color: var(--brass); }
.acc-item.open .acc-head { color: var(--brass); }
.pm {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brass);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition), color var(--transition);
}
.acc-item.open .pm { transform: rotate(45deg); }

/* On the espresso band the +/− needs to be brighter than --brass to read
   against the dark ground; --brass alone is too recessive at this size. */
.section--espresso .pm { color: #d8b273; }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.acc-body p {
  padding: 0 28px 24px;
  font-size: .95rem;
  color: rgba(36,31,26,.75);
}
.acc-item.open .acc-body { max-height: 300px; }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.contact-form { }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(36,31,26,.6);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color var(--transition);
  outline: none;
}
.field input:focus,
.field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(183,142,70,.12); }
.field textarea { resize: vertical; min-height: 140px; }

.contact-sidebar {}
.contact-detail {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:first-child { border-top: 1px solid var(--line); }
.contact-detail .k {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}
.contact-detail .v {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.65;
}
.contact-detail .v a { color: var(--bronze); }
.contact-detail .v a:hover { color: var(--brass); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* Field grid */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Form success */
.form-ok {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: rgba(183,142,70,.1);
  border: 1px solid rgba(183,142,70,.4);
  border-radius: var(--radius);
  color: var(--bronze);
  font-size: .9rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--espresso);
  color: rgba(239,231,214,.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(183,142,70,.15);
}
.footer-brand .brand__wordmark {
  font-size: .8rem;
  margin-bottom: 16px;
  display: block;
  color: var(--warm-white);
}
.footer-about {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(239,231,214,.6);
  max-width: 280px;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.site-footer a {
  display: block;
  font-size: .88rem;
  color: rgba(239,231,214,.65);
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.5;
}
.site-footer a:hover { color: var(--brass); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: .78rem;
  color: rgba(239,231,214,.4);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ── CAPTION small-caps ── */
.caption {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(36,31,26,.5);
  margin-top: 10px;
  font-style: normal;
}

/* ── REVEAL ANIMATION ──
   Content is VISIBLE by default and only hidden once reveal-init.js has added
   `reveal-on` to <html>. Hiding used to be the default, which meant any failure
   to run script.js left the page permanently blank — the team page rendered as
   eight empty screens. Now a script that never arrives simply means no
   animation, which is the right way round. See reveal-init.js. */
.reveal {
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal-on .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── UTILITY ── */
.prop-note {
  font-size:.82rem;
  color: rgba(36,31,26,.5);
  margin-top:28px;
  text-align:center;
}
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.mt-sm { margin-top: 8px; }
.mt-lg { margin-top: 48px; }
.max-prose { max-width: 680px; margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


/* =============================================================
   ADDITIONS — nothing above this line differs from mockup-v3.
   Only what the vector logo and the property films require.
   ============================================================= */

/* ── REAL VECTOR LOGO ── */
.brand::before { display: none; }          /* retires the CSS diamond */
.footer-brand .brand__img { height: 24px; width: auto; display: block; margin-bottom: 16px; }

/* Header lockup: brick mark from the vector + wordmark set in the nav's type */
.brand { gap: 10px; }
.brand__mark {
  height: 19px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand__wordmark {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1;
  color: rgba(239,231,214,.8);
}
.brand__wordmark b    { color: var(--brass); font-weight: 600; }
.brand__wordmark span { color: rgba(239,231,214,.8); font-weight: 500; }

/* ── PROPERTY FILMS ── */
.prop__play {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(28,23,19,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(183,142,70,.45);
  border-radius: 999px;
  color: var(--brass);
  transition: all var(--transition);
}
.prop__play i {
  font-style: normal;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
/* Only the badge itself highlights — hovering the rest of the card must not
   light it up, since the card body and the badge are separate targets (card
   navigates, badge plays). Matters more once cards open a detail page. */
.prop__play:hover {
  background: var(--brass);
  color: var(--espresso);
  border-color: var(--brass);
}
/* The badge is a <button> inside the card link, so it needs its own visible
   focus ring — keyboard users tab to it directly. */
.prop__play:focus-visible {
  outline: 2px solid var(--warm-white);
  outline-offset: 2px;
  background: var(--brass);
  color: var(--espresso);
}
.film-modal__close:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.film-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.film-modal.open { display: flex; }
.film-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(28,23,19,.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.film-modal__box {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
}
.film-modal__stage {
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(183,142,70,.35);
}
.film-modal__stage video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.film-modal__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--warm-white);
  text-align: center;
}
.film-modal__close {
  position: absolute;
  top: -44px; right: 0;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1;
  color: var(--warm-white);
  transition: color var(--transition);
}
.film-modal__close:hover { color: var(--brass); }

/* ── NAV CTA STYLED AS A PLAIN NAV LINK ── */
.site-header .nav .btn--primary {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(239,231,214,.8) !important;
}
.site-header .nav .btn--primary:hover {
  background: none;
  box-shadow: none;
  transform: none;
  color: var(--brass) !important;
}
/* In the mobile dropdown it becomes a row like every other link */
@media (max-width: 900px) {
  .site-header .nav .btn--primary {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 28px;
    font-size: .85rem;
    border-bottom: 1px solid rgba(239,231,214,.05);
  }
}

/* ── HERO FILM ROTATOR ── */
.hero__media .hero__vid {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__media .hero__vid.is-active { opacity: 1; }

/* ── HERO CYCLE BUTTON ──
   Sits in the lower-right of the hero. Deliberately recessive: a frosted
   square with a hairline warm-white edge, NOT a gold fill — gold is reserved
   for genuine conversion buttons. It only warms to brass on hover/focus. */
.hero__cycle {
  position: absolute;
  right: 40px;
  bottom: 26px;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0;
  border-radius: var(--radius);
  background: rgba(28,23,19,.42);
  border: 1px solid rgba(239,231,214,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,.72);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), opacity var(--transition);
}
.hero__cycle svg { display: block; }
.hero__cycle-icon { display: block; line-height: 0; }
/* Resting state, once both passes have played out — reads as "play again"
   rather than "next", and sits back a little further. */
.hero__cycle.is-stopped { color: rgba(255,255,255,.6); }
.hero__cycle.is-stopped:hover,
.hero__cycle.is-stopped:focus-visible { color: var(--brass); }
.hero__cycle-count {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  opacity: .62;
}
.hero__cycle:hover {
  background: rgba(28,23,19,.62);
  border-color: rgba(183,142,70,.6);
  color: var(--brass);
}
.hero__cycle:focus-visible {
  outline: 2px solid var(--warm-white);
  outline-offset: 3px;
  border-color: rgba(183,142,70,.6);
  color: var(--brass);
}
.hero__cycle.is-loading { opacity: .45; pointer-events: none; }

@media (max-width: 860px) {
  .hero__cycle { right: 20px; bottom: 20px; width: 42px; height: 42px; }
}

/* Which property is on screen — sits just left of the cycle button */
.hero__now {
  position: absolute;
  right: 100px;
  bottom: 40px;
  z-index: 3;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-shadow: 0 1px 12px rgba(28,23,19,.75);
  transition: opacity .5s ease;
}
.hero__now::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 10px;
}
@media (max-width: 860px) { .hero__now { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero__media .hero__vid { transition: none; }
}

/* ── STATS BAND ON LIGHT ──
   Inverted out of the espresso band: numbers stay metallic but are
   darkened enough to hold contrast on the ivory ground. */
.stats-section {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-section .stat { border-right-color: var(--line); }
.stats-section .stat__num { color: #9c7838; }
.stats-section .stat__label { color: rgba(36,31,26,.6); }

@media (max-width: 768px) {
  .stats-section .stat:nth-child(3),
  .stats-section .stat:nth-child(4) { border-top-color: var(--line); }
}
@media (max-width: 480px) {
  .stats-section .stat { border-bottom-color: var(--line); }
}

/* ── PROPERTY CAPTIONS: hold up against bright building photos ── */
.prop__cap {
  padding: 34px 20px 18px;
  background: linear-gradient(
    to top,
    rgba(28,23,19,.94) 0%,
    rgba(28,23,19,.80) 38%,
    rgba(28,23,19,.42) 68%,
    transparent 100%
  );
}
.prop__cap small {
  color: #d8b273;                    /* lifted off --brass so it reads on the scrim */
  text-shadow: 0 1px 6px rgba(28,23,19,.9);
}
.prop__cap b {
  text-shadow: 0 1px 8px rgba(28,23,19,.85);
}

/* =============================================================
   LIGHT HEADER + MOBILE MENU FIXES
   ============================================================= */

/* ── Light bar on every page (was espresso) ── */
.site-header {
  background: rgba(247,242,233,.94);
  border-bottom: 1px solid var(--line);
}
.site-header .brand__wordmark        { color: var(--ink); }
.site-header .brand__wordmark b      { color: var(--brass); }
.site-header .brand__wordmark span   { color: rgba(36,31,26,.6); }
.site-header .nav a                  { color: rgba(36,31,26,.78); }
.site-header .nav a:hover,
.site-header .nav a.active           { color: var(--brass); }
.site-header .nav a.active           { border-bottom-color: var(--brass); }
.site-header .nav .btn--primary      { color: rgba(36,31,26,.78) !important; }
.site-header .nav .btn--primary:hover{ color: var(--brass) !important; }
.site-header .nav-toggle span        { background: var(--ink); }

/* ── Mobile dropdown ── */
@media (max-width: 900px) {
  .site-header .nav {
    background: rgba(247,242,233,.99);
    border-top: 1px solid var(--line);
    /* the bug: menu was taller than the screen with no way to scroll */
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 0 18px 40px rgba(36,31,26,.14);
  }
  .site-header .nav a {
    color: var(--ink);
    border-bottom: 1px solid rgba(36,31,26,.07);
  }
  .site-header .nav .btn--primary { color: var(--brass) !important; }
}

/* Stop the page scrolling behind an open menu.
   Scoped to the mobile breakpoint so a stale .nav-open class can never
   leave the page unscrollable on desktop (e.g. after rotating). */
@media (max-width: 900px) {
  body.nav-open { overflow: hidden; }
}
/* Belt and braces: above the breakpoint the dropdown never applies */
@media (min-width: 901px) {
  .site-header .nav.open { position: static; max-height: none; overflow: visible; box-shadow: none; }
}

/* =============================================================
   LEGAL / LONG-FORM PROSE (privacy policy)
   The global reset strips list styling, so it is restored here
   rather than globally.
   ============================================================= */
.legal-updated {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(36,31,26,.55);
  margin: 14px 0 28px;
}

.legal h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin: 56px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal h3 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
}
.legal h4 {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 30px 0 10px;
}
.legal p {
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(36,31,26,.78);
  margin-bottom: 16px;
}
.legal ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.legal li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(36,31,26,.78);
}
.legal li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 1px;
  background: var(--brass);
}
.legal li b { color: var(--ink); font-weight: 600; }
.legal a {
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--brass); }

/* Social links in the footer bottom bar */
.footer-social a {
  display: inline;
  margin: 0;
  color: rgba(239,231,214,.55);
}
.footer-social a:hover { color: var(--brass); }

/* ── CONTACT FORM — honeypot + error state ── */
.hidden-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-err {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: rgba(169,96,47,.08);
  border: 1px solid rgba(169,96,47,.4);
  border-radius: var(--radius);
  color: var(--bronze);
  font-size: .9rem;
}
.form-err a { color: var(--bronze); text-decoration: underline; }
