/* site.css - shared styles for the Ryan Developments homepage and split-out
   pages (about, projects, process, testimonials, content, contact).
   Extracted from the former inline <style> block in index.php so every
   page can share one cached stylesheet. Loaded via $pageCss in includes/header.php.
   Page-specific component styles also live in brand-tokens.css. */


/* Global link underline + focus reset — Bootstrap default underlines all <a>; we want none */
a { text-decoration: none !important; }
a:hover, a:focus, a:active, a:visited { text-decoration: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent, #b8a98a); outline-offset: 2px; border-radius: 2px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #0e0e0d;
  --charcoal:  #242422;
  --ink:       #3a3a37;
  --mid:       #5c5c58;
  --stone:     #8c8c86;
  --silver:    #c0bfb8;
  --linen:     #f4f2ed;
  --cream:     #f9f8f4;
  --white:     #fdfcfa;
  --accent:    #b8a98a;
  --accent-d:  #8c7d62;
  --accent-l:  #e8dfc8;
  --forest:    #2d4a3e;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', sans-serif;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAVIGATION ──────────────────────────────────────────────────── */

/* ── PAGE SYSTEM ─────────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; margin: 0; }
/* Belt-and-braces: nothing between the active page section and the
   footer should add vertical space. Mike flagged a "buffer" gap on the
   20 May screenshot — typically caused by Bootstrap row gutters or
   cards being JS-hidden after a failed image load. This rule ensures
   the active page's own bottom edge is the gap with the footer (which
   then sets its own internal pt-5). */
.page.active > div:last-child { margin-bottom: 0; }
.site-footer { margin-top: 0; }

/* ── SHARED COMPONENTS ───────────────────────────────────────────── */
.eyebrow {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent-d);
  flex-shrink: 0;
}
.eyebrow.light { color: var(--accent); }
.eyebrow.light::before { background: var(--accent); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--mid); }
.section-title.light { color: var(--white); }
.section-title.light em { color: rgba(255,255,255,0.55); }

.section-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  max-width: 580px;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 36px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); letter-spacing: 0.22em; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--linen); letter-spacing: 0.22em; }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover { border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.25);
}
.btn-outline-dark:hover { border-color: var(--black); }

section { padding: 64px 56px; }

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14,14,13,0.2) 0%,
    rgba(14,14,13,0.5) 50%,
    rgba(14,14,13,0.85) 100%
  );
}
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(14,14,13,0.55) 0%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 56px 88px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 1s var(--ease-out) 0.2s both;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeUp 1s var(--ease-out) 0.35s both;
}
.hero h1 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.65); }
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 44px;
  max-width: 480px;
  line-height: 1.7;
  animation: fadeUp 1s var(--ease-out) 0.5s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease-out) 0.65s both;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1s var(--ease-out) 1s both;
}
.hero-scroll-indicator span {
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}


.awards-strip::-webkit-scrollbar { height: 0; }
.awards-inner { min-width: max-content; }
/* ── AWARDS STRIP ────────────────────────────────────────────────── */
.awards-strip {
  background: #1a1a18;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto; overflow-y: hidden;
}
.awards-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}
.award-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 32px 48px 32px 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.award-item:first-child { padding-left: 0; }
.award-item:last-child { border-right: none; padding-right: 0; }
.award-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(184,169,138,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.award-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.award-text {}
.award-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 3px;
}
.award-sub {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.awards-divider { width: 1px; background: rgba(255,255,255,0.07); margin: 0 48px; flex-shrink: 0; }

/* ── HOME: INTRO ─────────────────────────────────────────────────── */
.home-intro { background: var(--white); }
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.intro-left {}
.intro-right {}
.intro-right p {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.intro-right p.lead {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 48px;
  background: var(--silver);
}
.stat-box {
  background: var(--white);
  padding: 28px 24px;
}
.stat-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.4;
}

/* ── HOME: PROCESS PREVIEW ───────────────────────────────────────── */
.process-preview { background: var(--linen); }
.process-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.process-stages { display: flex; flex-direction: column; gap: 0; }
.stage-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0;
  align-items: start;
  border-top: 1px solid var(--silver);
  padding: 32px 0;
  cursor: default;
  transition: padding 0.3s var(--ease);
}
.stage-row:last-child { border-bottom: 1px solid var(--silver); }
.stage-row:hover { padding-left: 8px; }
.stage-n {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1;
  transition: color 0.3s;
  padding-top: 2px;
}
.stage-row:hover .stage-n { color: var(--accent); }
.stage-info {}
.stage-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.stage-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  max-width: 560px;
}
.stage-time {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-d);
  white-space: nowrap;
  padding-top: 4px;
  padding-left: 24px;
}

/* ── CTA SECTION (dark band at bottom of Process / other pages) ──── */
.cta-section {
  background: var(--ink, #0E0E0D);
  color: var(--white);
  padding: 96px 24px;
  text-align: center;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.55); }
.cta-section .btn-light {
  display: inline-block;
  padding: 14px 32px;
  background: var(--white);
  color: var(--ink, #0E0E0D);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.cta-section .btn-light:hover { transform: translateY(-2px); background: var(--linen); }

/* ── HOME: PROJECTS GRID ─────────────────────────────────────────── */
.projects-home { background: var(--white); padding-bottom: 72px; }
.projects-home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.projects-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 3px;
}
.proj {
  position: relative;
  overflow: hidden;
  background: var(--linen);
  cursor: pointer;
}
.proj-tall { grid-row: span 2; }
.proj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  display: block;
  min-height: 260px;
}
.proj-tall img { min-height: 540px; }
.proj:hover img { transform: scale(1.05); }
.proj-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(14,14,13,0.88) 0%, transparent 100%);
  padding: 48px 28px 28px;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.proj:hover .proj-info { transform: translateY(0); opacity: 1; }
.proj-type {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.proj-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
}

/* ── HOME: SUBURBS ───────────────────────────────────────────────── */
.suburbs-strip { background: var(--black); padding: 72px 56px; }
.suburbs-inner { max-width: 1140px; margin: 0 auto; }
.suburbs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.suburb-pill {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.suburb-pill:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* ── HOME: CTA ───────────────────────────────────────────────────── */
.home-cta {
  background: var(--linen);
  border-top: 1px solid var(--silver);
  padding: 72px 56px;
  text-align: center;
}
.home-cta .section-title { margin: 0 auto 20px; max-width: 640px; }
.home-cta .section-body { margin: 0 auto 48px; text-align: center; }
.home-cta .eyebrow { justify-content: center; }
.home-cta .eyebrow::before { display: none; }

/* ── ABOUT PAGE ──────────────────────────────────────────────────── */
.about-hero {
  height: 72vh;
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,13,0.92) 0%, rgba(14,14,13,0.65) 55%, rgba(14,14,13,0.45) 100%);
  z-index: 1;
}
.about-hero-content h1,
.projects-page-hero h1,
.hero h1,
.hero-content h1 {
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4);
}
.about-hero-content .hero-eyebrow,
.projects-page-hero .hero-eyebrow,
.hero .hero-eyebrow,
.hero-content .hero-eyebrow {
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.about-hero-content p,
.projects-page-hero p,
.hero p,
.hero-content p {
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.about-hero .hero-img { z-index: 0; }
.hero .hero-img { z-index: 0; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero { position: relative; }
.about-hero .about-hero-content { z-index: 2; position: relative; }
.about-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 56px 72px;
  max-width: 720px;
}
.about-intro {
  background: var(--white);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-story p {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-story p.lead {
  font-size: 18px;
  font-weight: 300;
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 28px;
}
.about-credentials {
  background: var(--black);
  padding: 48px;
}
.credential-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.credential-item:first-child { padding-top: 0; }
.credential-item:last-child { border-bottom: none; padding-bottom: 0; }
.cred-year {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 3px;
  min-width: 52px;
}
.cred-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.cred-text strong { color: var(--white); font-weight: 500; }

/* TEAM */
.team-section { background: var(--linen); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 56px;
}
.team-grid .team-card:not(.featured) .team-photo { aspect-ratio: 4/5; }
.team-card {
  background: var(--white);
  overflow: hidden;
}
.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--linen);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  transition: transform 0.7s var(--ease);
  filter: grayscale(20%);
}
.team-card:hover .team-photo img { transform: scale(1.04); filter: grayscale(0%); }
.team-info { padding: 24px 22px 28px; }
.team-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 4px;
}
.team-role {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin-bottom: 12px;
}
.team-bio {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
}
.team-card.featured { grid-column: span 2; }
.team-card.featured .team-photo { aspect-ratio: 16/9; }

/* ── PROJECTS PAGE ───────────────────────────────────────────────── */
.projects-page-hero {
  height: 60vh;
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.projects-page-hero .hero-img { z-index: 0; }
.projects-page-hero .about-hero-overlay { z-index: 1; }
.projects-page-hero .about-hero-content { z-index: 2; position: relative; }
.projects-filter {
  background: var(--linen);
  padding: 20px 56px;
  border-bottom: 1px solid var(--silver);
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  color: var(--black);
  border-color: var(--silver);
  background: var(--white);
}
.proj-card {
  position: relative;
  overflow: hidden;
  background: var(--linen);
  aspect-ratio: 4/5;
}
.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.proj-card:hover img { transform: scale(1.05); }
.proj-card-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,13,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.proj-card-type {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.proj-card-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}
.proj-card-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ── PROCESS PAGE ────────────────────────────────────────────────── */
.process-page-hero {
  height: 55vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.process-full {
  background: var(--white);
}
.process-full-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 100px;
  align-items: start;
}
.process-sidebar { position: sticky; top: 100px; }
.process-sidebar-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
}
.process-sidebar p {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.process-nav { list-style: none; display: flex; flex-direction: column; gap: 0; }
.process-nav li {
  border-top: 1px solid var(--silver);
  padding: 14px 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.process-nav li:last-child { border-bottom: 1px solid var(--silver); }
.process-nav li:hover { color: var(--black); }
.process-nav li .pn { color: var(--accent); font-family: var(--serif); font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.process-stages-full { display: flex; flex-direction: column; gap: 0; }
.full-stage {
  border-top: 1px solid var(--silver);
  padding: 52px 0;
}
.full-stage:last-child { border-bottom: 1px solid var(--silver); }
.full-stage-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
}
.full-stage-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--accent-l);
  line-height: 1;
  flex-shrink: 0;
}
.full-stage-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.full-stage-body p {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 580px;
}
.full-stage-body p:last-child { margin-bottom: 0; }
.stage-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-d);
  background: var(--linen);
  padding: 6px 14px;
  border: 1px solid var(--accent-l);
}

/* ── AREAS PAGE ──────────────────────────────────────────────────── */
.areas-page { background: var(--white); }
.areas-page-hero {
  height: 55vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.areas-intro { background: var(--white); padding-bottom: 0; }
.areas-grid {
  background: var(--linen);
  padding: 0 56px 56px;
}
.area-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.area-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.area-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--linen);
  position: relative;
}
.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.area-card:hover .area-card-img img { transform: scale(1.05); }
.area-tier {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 5px 10px;
}
.area-card-body { padding: 28px 24px 32px; }
.area-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.area-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.area-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.area-link {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--silver);
  padding: 7px 14px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.area-link:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ── CONTACT PAGE ────────────────────────────────────────────────── */
.contact-page { background: var(--white); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}
.contact-left {
  background: var(--black);
  padding: 108px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-right {
  padding: 108px 64px;
  background: var(--white);
}
.contact-info { margin-top: 48px; }
.contact-item {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.contact-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-item-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.contact-item-val {
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-item-val:hover { color: var(--accent); }
.contact-form-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.contact-form-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  margin-bottom: 44px;
  line-height: 1.6;
}
.form-group { margin-bottom: 24px; }
.form-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--silver);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--ink); }
.form-textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  padding: 18px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  margin-top: 8px;
}
.form-submit:hover { background: var(--charcoal); letter-spacing: 0.24em; }
.contact-footer-text {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  max-width: 320px;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  padding: 64px 56px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo-text {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  max-width: 260px;
  line-height: 1.6;
}
.footer-col-title {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-col-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.footer-phone {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

  /* ── COLLAGE / TESTIMONIALS ─────────────────────────────────────── */
  .collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .collage-item { position: relative; }
  .collage-item.span2 { grid-column: span 2; }
  .collage-item.tall { grid-row: span 2; }
  .q-card { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 36px; box-sizing: border-box; min-height: 200px; }
  .q-card.dark { background: var(--black); }
  .q-card.light { background: var(--white); border: 1px solid rgba(0,0,0,0.05); }
  .q-card.linen { background: var(--linen); border: 1px solid rgba(0,0,0,0.04); }
  .q-card.accent { background: var(--charcoal); }
  .q-mark { font-family: var(--serif); font-size: 56px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 16px; display: block; }
  .q-text { font-family: var(--serif); font-size: 17px; font-weight: 300; font-style: italic; line-height: 1.7; flex: 1; margin-bottom: 24px; }
  .q-text.large { font-size: 22px; line-height: 1.55; }
  .q-card.dark .q-text, .q-card.dark .q-mark { color: rgba(255,255,255,0.85); }
  .q-card.dark .q-mark { color: var(--accent); }
  .q-card.light .q-text, .q-card.linen .q-text { color: var(--ink); }
  .q-card.accent .q-text { color: rgba(255,255,255,0.8); }
  .q-card.accent .q-mark { color: var(--accent); }
  .q-attr { font-size: 9.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
  .q-card.dark .q-attr, .q-card.accent .q-attr { color: var(--stone); }
  .q-card.light .q-attr, .q-card.linen .q-attr { color: var(--mid); }
  .video-card { position: relative; background: var(--black); overflow: hidden; }
  /* TESTIMONIALS — video wall */
  .testi-vid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .testi-vid-card { position: relative; }
  .testi-vid-facade {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    background: #111;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.4s var(--ease);
  }
  .testi-vid-facade:hover { transform: translateY(-3px); }
  .testi-vid-facade img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
    filter: brightness(0.78);
  }
  .testi-vid-facade:hover img { transform: scale(1.04); filter: brightness(0.92); }
  .testi-vid-facade .yt-play {
    position: absolute; inset: 0;
    margin: auto;
    width: 64px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(20,20,20,0.85);
    border-radius: 8px;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .testi-vid-facade:hover .yt-play { background: #cc0000; transform: scale(1.06); }
  .testi-vid-facade .yt-play svg { width: 22px; height: 22px; fill: #fff; }
  .testi-vid-facade.playing iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  }
  .testi-vid-label {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 12px 14px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
  }
  .testi-vid-suburb {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 2px;
  }
  .testi-vid-street {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
  }
  .testi-vid-facade.playing .testi-vid-label,
  .testi-vid-facade.playing .yt-play { display: none; }
  .collage-item.span3 { grid-column: span 3; }
  .video-card iframe { display: block; width: 100%; min-height: 300px; border: none; }
  .video-label { position: absolute; top: 16px; left: 16px; font-size: 9px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; background: rgba(0,0,0,0.7); color: var(--accent); padding: 5px 10px; z-index: 2; }
  .stat-pill { display: inline-block; font-size: 9.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-d); background: rgba(184,169,138,0.1); border: 1px solid rgba(184,169,138,0.25); padding: 6px 14px; margin-bottom: 20px; }
  .video-placeholder { background: var(--charcoal); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; gap: 16px; padding: 40px; text-align: center; }
  .video-placeholder p { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin: 0; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */

  /* Testimonials sections — class-based padding (replaces inline) */
  .testi-vid-wall-section { padding: 96px 24px; }
  .testi-collage-section { padding: 72px 56px; }

  /* TABLET */
  @media (max-width: 1024px) {

    section { padding: 72px 24px; }
    .home-cta { padding: 72px 24px; }
    .suburbs-strip { padding: 56px 24px; }
    .home-intro-grid, .about-intro-grid, .process-full-grid, .local-grid { grid-template-columns: 1fr; gap: 48px; }
    .process-sidebar { position: static; }
    .process-header { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-left { padding: 72px 24px 48px; }
    .contact-right { padding: 48px 24px 72px; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .team-card.featured { grid-column: span 2; }
    .team-card.featured .team-photo { aspect-ratio: 4/3; }
    .areas-grid { padding: 0 24px 40px; }
    .projects-masonry { grid-template-columns: 1fr 1fr; }
    .proj-tall { grid-row: span 1; }
    .projects-filter { padding: 14px 24px; flex-wrap: wrap; gap: 6px; }
    .hero { height: 80vh; min-height: 520px; }
    .hero-content { padding: 0 24px 64px; max-width: 100%; }
    .hero h1 { font-size: clamp(38px, 7vw, 60px); }
    .about-hero-content { padding: 0 24px 48px; }
    .hero-scroll-indicator { display: none; }
    .awards-strip { padding: 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .awards-inner { min-width: max-content; }
    .award-item { padding: 28px 32px 28px 0; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
    .stage-row { grid-template-columns: 48px 1fr; }
    .collage { grid-template-columns: 1fr 1fr; gap: 12px; }
    .collage-item.span2 { grid-column: span 2; }
    .collage-item.tall { grid-row: auto; }
    .testi-vid-wall-section { padding: 64px 24px; }
    .testi-collage-section { padding: 64px 24px; }
    .video-card iframe { min-height: 240px; }
    .testi-vid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    /* TESTIMONIALS stats bar — stack 1-col on smaller screens with vertical padding,
       drop the dividing borders (which become orphan vertical lines when stacked) */
    .testi-stats-bar { padding: 48px 24px; }
    .testi-stats-grid { grid-template-columns: 1fr; gap: 32px; }
    .testi-stat { padding: 0 !important; border-right: none !important; }
    .testi-stat:not(:last-child) { padding-bottom: 32px !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  }

  /* MOBILE */
  @media (max-width: 640px) {

    /* Small top buffer on mobile so the hero doesn't feel squashed under the sticky nav */
    .page#page-home > div:first-child { padding-top: 8px; }
    .hero { height: 92vh; min-height: 480px; }
    .hero-content { padding: 0 16px 56px; }
    .hero h1 { font-size: clamp(30px, 9vw, 44px); letter-spacing: -0.02em; }
    .hero-sub { font-size: 14px; margin-bottom: 32px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { text-align: center; width: 100%; box-sizing: border-box; }
    .about-hero-content { padding: 0 16px 40px; }
    section { padding: 52px 16px; }
    .home-cta { padding: 56px 16px; }
    .suburbs-strip { padding: 44px 16px; }
    .home-intro-grid { gap: 36px; }
    .intro-stats { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 36px; }
    .team-grid { grid-template-columns: 1fr; gap: 3px; }
    .team-card.featured { grid-column: span 1; }
    .team-card.featured .team-photo { aspect-ratio: 3/2; }
    .areas-grid { padding: 0 16px 28px; }
    .area-card-img { aspect-ratio: 16/9; }
    .projects-masonry { grid-template-columns: 1fr; padding: 0 16px; }
    .projects-filter { padding: 10px 16px; }
    .filter-btn { font-size: 9px; padding: 6px 12px; }
    .proj-card { aspect-ratio: 4/3; }
    .full-stage-header { flex-direction: column; gap: 8px; }
    .full-stage-num { font-size: 36px; }
    .full-stage-title { font-size: 20px; }
    .stage-row { grid-template-columns: 40px 1fr; }
    .stage-n { font-size: 28px; }
    .contact-left { padding: 52px 16px 36px; }
    .contact-right { padding: 36px 16px 52px; }
    .contact-form-title { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .site-footer { padding: 44px 16px 28px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
    .footer-logo-text { font-size: 24px; }
    .awards-strip { padding: 0 16px; }
    .award-item { padding: 18px 20px 18px 0; }
    .award-title { font-size: 13px; }
    .award-sub { font-size: 8px; }
    .section-title { font-size: clamp(26px, 7vw, 38px); }
    .collage { grid-template-columns: 1fr; max-width: 100%; overflow-x: hidden; }
    .collage-item { max-width: 100%; min-width: 0; }
    .collage-item.span2 { grid-column: span 1; }
    .collage-item.span3 { grid-column: span 1; }
    .collage-item.tall { grid-row: auto; }
    .q-card { padding: 28px 22px; min-height: auto !important; }
    .q-text.large { font-size: 17px; }
    .video-card iframe, .video-card.tall iframe { min-height: 196px; }
    .testi-vid-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .testi-vid-suburb { font-size: 14px; }
    .testi-vid-street { font-size: 8.5px; letter-spacing: 0.13em; }
    .newsletter-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .local-right { grid-template-columns: 1fr 1fr; }
    .local-stat .n { font-size: 36px; }
    .btn { padding: 13px 22px; }
    .suburb-pill { font-size: 9px; padding: 7px 13px; }
    .process-full-grid { gap: 40px; }
    .about-credentials { padding: 32px 22px; }
    .home-intro-grid { grid-template-columns: 1fr; }
    /* Testimonials page mobile cleanup */
    .testi-vid-wall-section { padding: 48px 16px 56px; }
    .testi-collage-section { padding: 48px 16px; }
    .collage {
      display: grid;
      grid-template-columns: 1fr !important;
      gap: 8px;
      max-width: 100%;
      overflow-x: hidden;
    }
    .collage-item { max-width: 100%; min-width: 0; }
    .collage-item.tall { grid-row: auto !important; }
    .collage-item.span2 { grid-column: span 1 !important; }
    .collage-item.span3 { grid-column: span 1 !important; }
    .q-card { min-height: auto !important; padding: 26px 22px; max-width: 100%; box-sizing: border-box; }
    .q-card[style*="min-height"] { min-height: auto !important; }
    .q-text { word-wrap: break-word; overflow-wrap: break-word; }
    .q-text.large { font-size: 16px; }
    .testi-vid-card { /* nothing */ }
    /* Center the orphan tile on the last row of the video grid */
    .testi-vid-grid > .testi-vid-card:nth-last-child(1):nth-child(odd) {
      grid-column: 1 / -1;
      max-width: 50%;
      justify-self: center;
    }
    /* Mobile hero brand-bar — stack wordmark + tagline vertically so they don't squash */
    .hero-brand-bar {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 10px !important;
      padding: 18px 16px !important;
    }
    .hero-brand-name { font-size: 22px !important; line-height: 1 !important; }
    .hero-brand-tag {
      font-size: 8.5px !important;
      letter-spacing: 0.18em !important;
      line-height: 1.4 !important;
      max-width: 100%;
    }
  }

  /* SMALL MOBILE */
  @media (max-width: 380px) {
    .hero h1 { font-size: 28px; }
    .section-title { font-size: 24px; }
    .intro-stats { grid-template-columns: 1fr 1fr; }
    .local-right { grid-template-columns: 1fr; }
    .award-item { flex-direction: column; gap: 8px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-title { font-size: 22px; }
  }

  /* MOBILE NAV OVERLAY */

  .mobile-nav-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 32px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.2s;
  }
  .mobile-nav-close:hover { color: var(--white); }
  .mobile-nav-cta {
    margin-top: 20px;
    width: 100%;
    background: var(--white);
    color: var(--black);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: none;
    padding: 16px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .mobile-nav-cta:hover { background: var(--linen); }

.hero{align-items:center !important}
.hero-content{margin:0 auto !important;text-align:center !important;padding:80px 5% !important}
.hero-content .btn-row{justify-content:center !important;display:flex;gap:16px;flex-wrap:wrap}
