/* ==========================================================================
   Brij & Co — global stylesheet
   Tokens → base → layout → components → sections → utilities
   ========================================================================== */

:root {
  --ink: #0e0d0d;
  --ink-2: #181615;
  --ink-3: #26231f;
  --paper: #f5f1ea;
  --paper-2: #ebe5da;
  --white: #ffffff;
  --brass: #d4af7d;
  --brass-deep: #9c7a4a;
  --signal: #f1c83c;
  --text: #1d1b19;
  --muted: #5f5850;
  --muted-light: #b9b1a6;
  --line: rgba(14, 13, 13, .12);
  --line-light: rgba(255, 255, 255, .14);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius: 2px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--signal); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
  color: var(--brass-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--brass); }

.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -.02em;
  line-height: 1.04;
  text-wrap: balance;
}
.section-title-sm { font-size: clamp(26px, 3vw, 36px); font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn::after {
  content: ""; width: 14px; height: 10px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }
.btn-primary { --btn-bg: var(--signal); --btn-fg: var(--ink); --btn-bd: var(--signal); }
.btn-primary:hover { --btn-bg: var(--brass); --btn-bd: var(--brass); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn-dark:hover { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn-ghost-light { --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.4); }
.btn-ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { display: flex; justify-content: center; margin-top: 48px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--signal); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }

/* Corner triangles taken from the Brij & Co mark */
.frame-corners { position: relative; }
.frame-corners::before, .frame-corners::after {
  content: ""; position: absolute; width: 22px; height: 22px; background: var(--brass); pointer-events: none;
}
.frame-corners::before { top: -1px; left: -1px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.frame-corners::after { bottom: -1px; right: -1px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open { background: rgba(14, 13, 13, .96); box-shadow: 0 1px 0 var(--line-light); }
/* Desktop only. backdrop-filter makes the header the containing block for the position:fixed
   mobile .primary-nav (<= 1080px), which then collapses to the header's height after scrolling. */
@supports (backdrop-filter: blur(1px)) {
  @media (min-width: 1081px) {
    .site-header.is-scrolled { background: rgba(14, 13, 13, .82); backdrop-filter: blur(14px) saturate(140%); }
  }
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { width: 150px; height: auto; }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: block; padding: 10px 12px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.86);
  transition: color .2s;
}
.nav-item > a:hover, .nav-item.is-active > a { color: var(--white); }
.nav-item.is-active > a { box-shadow: inset 0 -2px 0 var(--signal); }
.sub-toggle { background: none; border: 0; color: rgba(255,255,255,.7); padding: 6px; margin-left: -8px; display: inline-flex; }
.sub-menu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 8px); left: -10px;
  width: min(640px, 90vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--ink-2); border: 1px solid var(--line-light);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px 12px; font-size: 14px; line-height: 1.35; text-decoration: none; color: rgba(255,255,255,.78); border-left: 2px solid transparent; }
.sub-menu a:hover, .sub-menu a[aria-current] { color: var(--white); background: rgba(255,255,255,.04); border-left-color: var(--signal); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--white); }
.header-phone svg { color: var(--signal); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-light); padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile-cta { display: none; }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { width: 124px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--ink); overflow-y: auto; padding: 16px var(--gutter) 40px;
    transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .primary-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-light); }
  .nav-item > a { flex: 1; padding: 16px 0; font-size: 18px; }
  .nav-item.is-active > a { box-shadow: none; color: var(--signal); }
  .sub-toggle { padding: 14px; margin: 0; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu {
    position: static; width: 100%; grid-template-columns: 1fr; padding: 0 0 12px;
    background: none; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: none; }
  .has-sub.is-open .sub-menu { display: grid; }
  .nav-mobile-cta { display: grid; gap: 16px; margin-top: 28px; }
  .nav-phone { font-size: 20px; font-weight: 600; color: var(--white); text-decoration: none; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(56px, 7vw, 96px);
  color: var(--white); background: var(--ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.2s ease, transform 6s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,13,.94) 0%, rgba(14,13,13,.78) 45%, rgba(14,13,13,.45) 100%),
    linear-gradient(0deg, rgba(14,13,13,.85) 0%, transparent 40%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 120px 120px; opacity: .25;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .eyebrow { font-size: 13px; font-weight: 600; }
.hero-title {
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 800; font-stretch: 112%;
  letter-spacing: -.03em; line-height: .98;
  text-wrap: balance;
}
.hero-sub { margin-top: 24px; font-family: var(--font-body); font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.45; color: var(--brass); max-width: 640px; letter-spacing: 0; }
.hero-lead { margin: 18px 0 32px; color: rgba(255,255,255,.76); max-width: 620px; }

.hero-form { background: var(--white); color: var(--text); padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 16px; }
.form-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.field label span { color: var(--brass-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--paper); border: 1px solid transparent; border-bottom-color: var(--line); border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input[type="date"] { min-width: 0; -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--ink); }
.field .is-invalid, .field input:user-invalid { border-color: #b3261e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b3261e; }
.form-status.is-success { color: #2e6b3a; }
.form-legal { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.form-legal a { color: inherit; }
.lead-form.is-loading button[type="submit"] { opacity: .7; pointer-events: none; }
.grecaptcha-badge { visibility: hidden !important; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead { color: rgba(255,255,255,.7); }
.section-paper { background: var(--paper); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head .section-title { max-width: 820px; }
.section-head-stack { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; }
@media (max-width: 860px) { .section-head-stack { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split-copy .section-title { margin-bottom: 24px; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.media-offset { position: relative; }
.media-offset::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; z-index: -1;
  border: 1px solid var(--brass);
}
.media-offset-right::before { inset: 28px 28px -28px -28px; }
.section { position: relative; isolation: isolate; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media-left .split-media { order: -1; }
  .split:not(.split-media-left) .split-media { order: 0; }
  .media-offset::before { inset: 16px -12px -16px 12px; }
  .media-offset-right::before { inset: 16px 12px -16px -12px; }
}

/* About */
.about .split-copy { max-width: 560px; }

/* What we build */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.service-card { position: relative; overflow: hidden; background: var(--ink); min-height: 420px; display: flex; }
.service-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: grayscale(.35); transition: opacity .5s var(--ease), transform .8s var(--ease), filter .5s; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,13,.96) 20%, rgba(14,13,13,.2) 100%); }
.service-card-body { position: relative; z-index: 1; margin-top: auto; padding: 28px; display: grid; gap: 12px; }
.service-index { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--brass); letter-spacing: .1em; }
.service-card-title { font-size: 24px; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; }
.service-card-title a { text-decoration: none; }
.service-card-text { font-size: 15px; color: rgba(255,255,255,.72); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.service-card:hover .service-card-img, .service-card:focus-within .service-card-img { opacity: .6; transform: scale(1.05); filter: none; }
.service-card:hover .service-card-text, .service-card:focus-within .service-card-text { -webkit-line-clamp: 8; color: rgba(255,255,255,.9); }
.service-card:hover .link-arrow::after { transform: translateX(4px); }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } .service-card { min-height: 360px; } }

.feature-band { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-2); border: 1px solid var(--line-light); }
.feature-band-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature-band-copy { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: center; justify-items: start; }
.feature-band-copy p { color: rgba(255,255,255,.72); }
@media (max-width: 860px) { .feature-band { grid-template-columns: 1fr; } }

/* Strategies */
.strategy-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.strategy { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.strategy:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.strategy-num { font-family: var(--font-display); font-size: 44px; font-weight: 800; font-stretch: 112%; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--brass-deep); }
.strategy-title { font-size: 22px; font-weight: 700; }
.strategy p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) {
  .strategy-grid { grid-template-columns: 1fr 1fr; }
  .strategy:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .strategy:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .strategy-grid { grid-template-columns: 1fr; }
  .strategy:nth-child(even) { padding-left: 0; border-left: 0; }
  .strategy { padding: 28px 0; }
}

/* Why partner */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }
.partner-grid .section-title { margin-bottom: 24px; }
.check-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 2px; }
.check-list li { position: relative; padding: 18px 0 18px 44px; border-bottom: 1px solid var(--line); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 24px; height: 24px; background: var(--signal);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.process-note { padding: 28px; background: var(--ink); color: rgba(255,255,255,.82); font-size: 16px; }
@media (max-width: 860px) { .partner-grid { grid-template-columns: 1fr; } }

/* Read more */
.read-more-extra { display: none; }
.read-more.is-expanded .read-more-extra { display: block; }
.read-more-extra p { margin-top: 1em; }
.no-js .read-more-extra { display: block; }
.read-more-btn { margin-top: 20px; padding: 0 0 4px; background: none; border: 0; border-bottom: 1.5px solid var(--signal); font-weight: 600; font-size: 15px; letter-spacing: .02em; color: inherit; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 21vw, 290px); gap: 12px; }
.project-card { position: relative; overflow: hidden; display: block; background: var(--ink-2); text-decoration: none; }
.project-card-lg { grid-column: span 2; grid-row: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,13,.85), transparent 55%); }
.project-card-label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); }
.project-card-label svg { color: var(--signal); transition: transform .3s var(--ease); flex: none; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.06); }
.project-card:hover .project-card-label svg { transform: translate(3px, -3px); }
@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .project-card-lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 520px) { .project-grid { grid-template-columns: 1fr; } .project-card-lg { grid-column: auto; } }

/* Icon cards */
.icon-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.icon-grid-4 { grid-template-columns: repeat(4, 1fr); }
.icon-grid-3 { grid-template-columns: repeat(3, 1fr); }
.icon-card { background: var(--white); padding: 32px 28px; display: grid; gap: 14px; align-content: start; transition: background .3s; }
.section-paper .icon-card { background: var(--paper); }
.icon-card-icon { width: 52px; height: 52px; object-fit: contain; }
.icon-card-title { font-size: 21px; font-weight: 700; }
.icon-card p { color: var(--muted); font-size: 15.5px; }
.icon-card:hover { background: var(--paper-2); }
.icon-grid-dark { margin-top: 12px; background: var(--line-light); border-color: var(--line-light); }
.icon-grid-dark .icon-card { background: var(--ink); }
.icon-grid-dark .icon-card:hover { background: var(--ink-2); }
.icon-grid-dark .icon-card-icon { filter: invert(1); opacity: .9; }
.icon-grid-dark .icon-card p { color: rgba(255,255,255,.66); }
@media (max-width: 1000px) { .icon-grid-4 { grid-template-columns: 1fr 1fr; } .icon-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .icon-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .icon-grid-4 { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; line-height: 1.3;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-icon { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--line); border-radius: 50%; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion-item[open] .accordion-icon { background: var(--signal); border-color: var(--signal); }
.accordion-item[open] .accordion-icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion-body { padding: 0 48px 26px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } }

/* CTA band */
.cta-band { background: var(--signal); color: var(--ink); padding: clamp(36px, 5vw, 56px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: var(--brass); opacity: .35; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band-text { margin: 0; max-width: 820px; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }

/* Handmade / workshop */
.workshop-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.workshop-tile { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink-2); }
.workshop-tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .8s var(--ease); }
.workshop-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,13,.9), transparent 50%); }
.workshop-tile figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.workshop-tile h3 { font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.workshop-tile:hover img { filter: none; transform: scale(1.05); }
@media (max-width: 1000px) { .workshop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .workshop-grid { grid-template-columns: 1fr 1fr; } }

/* Across Australia */
.across-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-bottom: clamp(40px, 5vw, 72px); }
.highlight { display: inline-block; margin-top: 8px; padding: 10px 16px; background: var(--paper); border-left: 3px solid var(--signal); font-weight: 600; }
.across-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { padding: 32px 28px; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; position: relative; }
.pillar::before { content: ""; position: absolute; top: -1px; left: -1px; width: 16px; height: 16px; background: var(--brass); clip-path: polygon(0 0, 100% 0, 0 100%); }
.pillar h4 { font-size: 21px; font-weight: 700; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.across-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.across-img-a { grid-column: 3 / 5; grid-row: 1; }
.across-img-b { grid-column: 1 / 3; grid-row: 2; }
@media (max-width: 1000px) {
  .across-intro { grid-template-columns: 1fr; }
  .across-grid { grid-template-columns: 1fr 1fr; }
  .across-img-a, .across-img-b { grid-column: auto; grid-row: auto; }
}
@media (max-width: 620px) { .across-grid { grid-template-columns: 1fr; } }

/* Core values */
.icon-card-boxed { position: relative; }

/* Testimonials */
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--ink-2); border: 1px solid var(--line-light); }
.stars { display: inline-flex; gap: 3px; color: var(--signal); }
.testimonial blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.84); }
.testimonial figcaption { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.testimonial figcaption strong { font-family: var(--font-display); font-size: 18px; }
.testimonial figcaption span { font-size: 14px; color: var(--brass); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-btn { width: 52px; height: 52px; display: inline-grid; place-items: center; background: none; color: var(--white); border: 1px solid var(--line-light); transition: background .2s, color .2s; }
.carousel-btn:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
@media (max-width: 1000px) { .carousel { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel { grid-auto-columns: 88%; gap: 16px; } }

/* ---------- Footer contact ---------- */
.footer-contact { background: var(--paper); padding: var(--section-y) 0; }
.footer-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.footer-contact-title { font-size: clamp(40px, 6vw, 80px); font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; line-height: .95; margin-bottom: 20px; }
.footer-contact-intro > p { font-size: 18px; color: var(--muted); max-width: 460px; }
.contact-lines { list-style: none; margin: 32px 0; padding: 0; border-top: 1px solid var(--line); }
.contact-lines li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-lines .label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); padding-top: 3px; }
.contact-lines a { font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.map-frame { aspect-ratio: 16 / 9; background: var(--paper-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.footer-contact-form { background: var(--white); padding: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .footer-contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 120px; height: auto; }
.social { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 8px; }
.social a { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line-light); color: var(--white); transition: background .2s, color .2s; }
.social a:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.footer-heading { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-cities { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--gutter); border-top: 1px solid var(--line-light); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; background: var(--signal); color: var(--ink); border: 0; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.to-top[hidden] { display: none; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transform: none !important; }
}

/* Compact hero for inner utility pages (404, thank you) */
.hero-compact { min-height: 0; padding-bottom: clamp(64px, 8vw, 110px); }
.hero-compact .hero-title { max-width: 900px; margin-bottom: 8px; }
@media (max-width: 640px) { .carousel { align-items: start; } }

/* ==========================================================================
   Inner pages (services, projects)
   ========================================================================== */

/* Page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
  background: var(--ink); color: var(--white);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 120px 120px; opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%); mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-copy { max-width: 760px; }
.page-hero .hero-title { font-size: clamp(34px, 4.6vw, 62px); }
.page-hero .hero-sub { font-size: clamp(18px, 1.7vw, 22px); margin-top: 18px; }
.page-hero .hero-lead { margin: 20px 0 32px; color: rgba(255,255,255,.76); max-width: none; }
.page-hero .hero-lead p { margin-bottom: .8em; }
.page-hero-figure img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.page-hero:not(.page-hero-media) { padding-bottom: clamp(48px, 6vw, 72px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,.35); }
.breadcrumb [aria-current] { color: var(--brass); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Rich text */
.prose { color: var(--muted); }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1em; }
.prose > :last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--brass-deep); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin: 1.2em 0 .5em; font-size: 21px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.section-dark .prose, .cta-panel .prose { color: rgba(255,255,255,.74); }
.section-dark .prose strong, .cta-panel .prose strong { color: var(--white); }

/* Section rhythm for converted content */
.section .container > * + * { margin-top: 28px; }
.section .container > h2 + .prose, .section .container > h3 + .prose, .section .container > h4 + .prose { margin-top: 18px; }
.section .container > .section-title { max-width: 900px; }
.section .container > .btn-row { margin-top: 36px; }
.section-tight { padding: clamp(32px, 4vw, 56px) 0; }
.media img { width: 100%; height: auto; }

.split-copy > * + * { margin-top: 18px; }
.split-copy > .btn-row { margin-top: 28px; }
.split-copy .section-title { margin-bottom: 0; }
.split-copy h2:not(.section-title), .split-copy h3:not(.section-title) { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; }
.split-media-right .split-media { order: 2; }
@media (max-width: 860px) { .split-media-right .split-media { order: -1; } }

/* Generic grids and cards */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.cols-4, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }
.card { position: relative; padding: clamp(24px, 2.6vw, 36px); background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 16px; height: 16px; background: var(--brass); clip-path: polygon(0 0, 100% 0, 0 100%); }
.section-paper .card { border-color: transparent; }
.section-dark .card { background: var(--ink-2); border-color: var(--line-light); }
.card-title { font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; }
.card .check-list { margin: 0; }
.grid-cell > .icon-card { height: 100%; border: 1px solid var(--line); }
.grid-cell .media img { aspect-ratio: 4 / 3; object-fit: cover; }
.list-label { margin: 0; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text); }
.section-dark .list-label { color: var(--white); }
.btn-outline { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.section-dark .btn-outline, .cta-panel .btn-outline { --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.4); }
.section-dark .check-list li { border-color: var(--line-light); }
.check-list li { padding-top: 14px; padding-bottom: 14px; }
.check-list li::before { top: 16px; }

/* Service tiles (linked background-image cards) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { position: relative; overflow: hidden; display: block; aspect-ratio: 4 / 3; background: var(--ink-2); color: var(--white); text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,13,.88), transparent 60%); }
.tile-label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.tile-title { font-size: 20px; font-weight: 700; }
a.tile:hover img { transform: scale(1.06); }
a.tile .tile-title::after { content: " \2192"; color: var(--signal); }
@media (max-width: 900px) { .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }

/* CTA panel */
.cta-panel { background: var(--ink); color: var(--white); padding: clamp(28px, 4vw, 56px); }
.cta-panel-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; }
.cta-panel h2, .cta-panel h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; font-stretch: 108%; line-height: 1.1; }
.cta-panel h3 + h3 { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: var(--brass); line-height: 1.45; }
.cta-panel .grid-cell, .cta-panel .card { display: grid; gap: 18px; background: none; border: 0; padding: 0; }
.cta-panel .card::before { display: none; }
.cta-panel-grid > :last-child .btn-row { display: none; }
.cta-panel .media img { max-height: 280px; width: auto; margin: 0 auto; }
@media (max-width: 800px) { .cta-panel-grid { grid-template-columns: 1fr; } .cta-panel-grid > :last-child { display: none; } }

/* Dark CTA band */
.section-cta-dark .section-title { font-size: clamp(24px, 3vw, 38px); max-width: 1000px; }

/* FAQ sections: heading left, accordion right */
.section-faq .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.section-faq .container > * + * { margin-top: 0; }
.section-faq .container > .section-title { position: sticky; top: calc(var(--header-h) + 24px); }
.accordion-body .prose { color: var(--muted); }
@media (max-width: 860px) { .section-faq .container { grid-template-columns: 1fr; gap: 28px; } .section-faq .container > .section-title { position: static; } }

/* Spec list (project facts) */
.spec-list { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; border-top: 1px solid var(--line); }
.spec-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.spec-list dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text); }
.section-dark .spec-list, .cta-panel .spec-list, .section-dark .spec-list div, .cta-panel .spec-list div { border-color: var(--line-light); }
.section-dark .spec-list dd, .cta-panel .spec-list dd { color: var(--white); }
.cta-panel .spec-list dt { color: var(--brass); }

/* Gallery + lightbox */
.gallery { columns: 3 280px; column-gap: 12px; }
.gallery-item { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(8,8,8,.94); padding: 64px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 128px); object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); width: 48px; height: 48px; font-size: 22px; display: grid; place-items: center; }
.lightbox button:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; }

/* Tabs */
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab-list button { padding: 10px 18px; background: transparent; border: 1px solid var(--line); color: inherit; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.tab-list button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tab-list button:hover:not([aria-selected="true"]) { border-color: var(--ink); }
.section-dark .tab-list button { border-color: var(--line-light); }
.section-dark .tab-list button[aria-selected="true"] { background: var(--signal); color: var(--ink); border-color: var(--signal); }

/* Project / product cards grid */
.project-grid-even { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
.project-grid-even .project-card { aspect-ratio: 4 / 3; }
.project-card-desc { position: absolute; left: 20px; right: 20px; top: 16px; z-index: 1; color: rgba(255,255,255,.85); font-size: 14px; }
@media (max-width: 900px) { .project-grid-even { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .project-grid-even { grid-template-columns: 1fr; } }

/* Media */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame-portrait { aspect-ratio: 9 / 16; max-width: 420px; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.inline-form { max-width: 720px; background: var(--white); color: var(--text); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
.carousel-controls-inline { display: flex; justify-content: flex-end; gap: 8px; }
.carousel-media { grid-auto-columns: calc((100% - 48px) / 3); }
.carousel-media .slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 800px) { .carousel-media { grid-auto-columns: 80%; } }
.section:not(.section-dark) .carousel-btn { color: var(--ink); border-color: var(--line); }
.section:not(.section-dark) .testimonial { background: var(--white); border-color: var(--line); }
.section:not(.section-dark) .testimonial blockquote { color: var(--muted); }
.section:not(.section-dark) .testimonial figcaption { border-color: var(--line); }
.section-dark .icon-card { background: var(--ink-2); }
.section-dark .icon-card p { color: rgba(255,255,255,.66); }
.section-dark .icon-card-icon { filter: invert(1); }

/* Consecutive plain sections share one gap */
.section:not(.section-paper):not(.section-dark):not(.section-tight) + .section:not(.section-paper):not(.section-dark):not(.section-tight) { padding-top: 0; }
.icon-card-title a { text-decoration: none; }
.icon-card-title a:hover { text-decoration: underline; }
.split-copy h4 { font-size: 20px; font-weight: 700; margin-top: 28px; }
.split-long { align-items: start; }
.split-long .split-media { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 860px) { .split-long .split-media { position: static; } }
.cta-panel .split { align-items: center; }
.cta-panel .media-offset::before { display: none; }
.cta-panel .split-media img { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 320px; margin: 0 auto; object-fit: contain; }
.cta-panel .split-copy > h2:first-child, .cta-panel .split-copy > h3:first-child, .cta-panel > h2:first-child, .cta-panel > h3:first-child { font-size: clamp(24px, 2.6vw, 34px); }
@media (max-width: 860px) { .cta-panel .split-media { display: none; } }
.carousel-media .slide > * + * { margin-top: 14px; }
.carousel-media .slide h2, .carousel-media .slide h3, .carousel-media .slide h4 { font-size: 18px; font-weight: 700; }
.service-card { color: var(--white); }
.gallery-item { position: relative; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; display: grid; gap: 2px; background: linear-gradient(0deg, rgba(14,13,13,.85), transparent); color: var(--white); font-size: 14px; opacity: 0; transition: opacity .3s; }
.gallery-caption span { font-size: 13px; color: rgba(255,255,255,.75); }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; }
@media (hover: none) { .gallery-caption { opacity: 1; } }
/* Gallery keeps the original image order (left-to-right, row by row) */
.gallery { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery-item { margin: 0; aspect-ratio: 4 / 3; }
.gallery-item img { height: 100%; object-fit: cover; }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }
/* Inner hero with background photo + quote form (city pages) */
.page-hero-form { padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-form::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,13,13,.95) 0%, rgba(14,13,13,.8) 50%, rgba(14,13,13,.55) 100%); }
.page-hero-form .page-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); }
@media (max-width: 960px) { .page-hero-form .page-hero-grid { grid-template-columns: 1fr; } }
/* Icons, photos in image boxes, maps, nested forms */
img.is-icon { width: 64px; height: auto; }
.card img.is-icon, .grid-cell img.is-icon { margin-bottom: 4px; }
.cta-panel img.is-icon, .split-media img.is-icon, .page-hero-figure img.is-icon { width: auto; }
.icon-card-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: -8px 0 6px; }
.map-embed { aspect-ratio: 4 / 3; min-height: 320px; background: var(--paper-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.card .inline-form, .grid-cell .inline-form { border: 0; padding: 0; max-width: none; }
.card .inline-form::before, .card .inline-form::after { display: none; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(14,13,13,.45); }
.post-card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.post-card-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--muted); }
.post-card-cat { display: inline-block; padding: 3px 10px; background: var(--signal); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.post-card-title { font-size: 20px; font-weight: 700; line-height: 1.25; }
.post-card-title a { text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; }
.post-card-excerpt { margin: 0; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; }
.link-arrow-dark { color: var(--brass-deep); }
.post-card-lg { grid-column: 1 / -1; flex-direction: row; }
.post-card-lg .post-card-media { flex: 1.3; aspect-ratio: auto; min-height: 380px; }
.post-card-lg .post-card-body { flex: 1; padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-card-lg .post-card-title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; font-stretch: 108%; }
.post-card-lg .post-card-excerpt { -webkit-line-clamp: 5; font-size: 16px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card-lg { flex-direction: column; }
  .post-card-lg .post-card-media { min-height: 0; aspect-ratio: 16 / 10; }
}

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; }
.pager a:hover { border-color: var(--ink); }
.pager a[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Single post */
.post-hero .hero-title { font-size: clamp(30px, 4vw, 52px); max-width: 980px; }
.post-meta { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: rgba(255,255,255,.72); font-size: 15px; }
.post-meta span + time::before, .post-meta time + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; vertical-align: middle; background: var(--brass); border-radius: 50%; }
.post-layout-wrap { padding-top: clamp(40px, 5vw, 64px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.post-featured { margin: 0 0 40px; }
.post-featured img { width: 100%; height: auto; }
.post-body { font-size: 18px; line-height: 1.75; color: #3b3632; max-width: 760px; }
.post-body h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; font-stretch: 106%; margin: 1.8em 0 .6em; color: var(--text); line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 24px); }
.post-body h3 { font-size: 22px; margin: 1.5em 0 .5em; color: var(--text); scroll-margin-top: calc(var(--header-h) + 24px); }
.post-body h4 { font-size: 19px; margin: 1.4em 0 .5em; color: var(--text); }
.post-body h2 strong, .post-body h3 strong { font-weight: inherit; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li::marker { color: var(--brass-deep); }
.post-body a { color: var(--brass-deep); text-decoration-thickness: 1px; }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--signal); font-size: 20px; color: var(--text); }
.post-body .toc { margin: 0 0 2em; padding: 24px 28px; background: var(--paper); border-left: 3px solid var(--signal); }
.post-body .toc ul, .post-body .toc ol { margin: 0; padding-left: 1.1em; }
.post-body .toc a { color: var(--text); text-decoration: none; }
.post-body .toc a:hover { text-decoration: underline; }
.post-body .toc h2, .post-body .toc h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.post-aside-inner { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.post-aside-title { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.recent-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.recent-posts a { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.recent-posts img { width: 80px; height: 60px; object-fit: cover; }
.recent-posts strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.recent-posts a:hover strong { text-decoration: underline; }
.recent-posts time { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.post-aside-cta { padding: 24px; background: var(--ink); color: var(--white); display: grid; gap: 14px; }
.post-aside-cta p { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.25; }
@media (max-width: 960px) { .post-layout { grid-template-columns: 1fr; } .post-aside-inner { position: static; } }

/* ==========================================================================
   Mega menus (Services, Projects) + service icons
   ========================================================================== */
.svc-icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--brass); background: rgba(212,175,125,.12); border: 1px solid rgba(212,175,125,.28); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s; }
.svc-icon svg { width: 22px; height: 22px; }

@media (min-width: 1081px) {
  .header-inner { position: relative; }
  .nav-item.has-mega { position: static; }
  .sub-menu.mega {
    display: block; left: 0; right: 0; width: auto; top: calc(100% - 6px);
    padding: 28px 32px 32px;
    background: var(--ink-2);
    border: 1px solid var(--line-light); border-top: 2px solid var(--signal);
    grid-template-columns: none;
  }
  .sub-menu.mega::before { inset: -18px 0 auto 0; height: 18px; }
  .mega-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line-light); }
  .mega-title { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 800; font-stretch: 108%; color: var(--white); }
  .mega-head .link-arrow { font-size: 13px; text-decoration: none; }
  .mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 18px; }
  .mega-link { display: flex !important; align-items: center; gap: 14px; padding: 10px !important; border-left: 0 !important; color: rgba(255,255,255,.82) !important; font-size: 14.5px !important; line-height: 1.3 !important; }
  .mega-link:hover, .mega-link[aria-current] { background: rgba(255,255,255,.05) !important; color: var(--white) !important; }
  .mega-link:hover .svc-icon, .mega-link[aria-current] .svc-icon { background: var(--signal); color: var(--ink); border-color: var(--signal); }

  .mega-project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr) .8fr; gap: 14px; }
  .mega-project { position: relative; display: block !important; padding: 0 !important; border: 0 !important; overflow: hidden; aspect-ratio: 4 / 3; }
  .mega-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .mega-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,13,.9), transparent 60%); }
  .mega-project span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); }
  .mega-project:hover img { transform: scale(1.06); }
  .mega-project-more a { display: flex !important; height: 100%; flex-direction: column; justify-content: flex-end; padding: 18px !important; border: 1px solid var(--line-light) !important; background: repeating-linear-gradient(135deg, rgba(212,175,125,.06) 0 10px, transparent 10px 20px); }
  .mega-project-more span { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); }
  .mega-project-more span::after { content: " \2192"; color: var(--signal); }
}
@media (min-width: 1081px) and (max-width: 1240px) { .mega-grid { grid-template-columns: repeat(3, 1fr); } }

/* Mobile: panels become simple lists inside the slide-out menu */
@media (max-width: 1080px) {
  .mega-head { display: none; }
  .mega-grid, .mega-project-grid { list-style: none; margin: 0; padding: 0 0 12px; display: grid; gap: 2px; }
  .mega-link { display: flex !important; align-items: center; gap: 12px; }
  .mega-link .svc-icon { width: 34px; height: 34px; }
  .mega-link .svc-icon svg { width: 18px; height: 18px; }
  .mega-project { display: flex !important; align-items: center; gap: 12px; }
  .mega-project img { width: 56px; height: 42px; object-fit: cover; }
  .has-sub.is-open .sub-menu.mega { display: block; }
}

/* Icons on service cards and tiles */
.service-card .svc-icon, .tile .svc-icon { position: absolute; top: 18px; left: 18px; z-index: 2; background: rgba(14,13,13,.55); border-color: rgba(212,175,125,.45); backdrop-filter: blur(6px); }
.service-card:hover .svc-icon, a.tile:hover .svc-icon { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.service-card-body .service-index { display: none; }

/* Projects: styled cards (hub, home grid, panels) */
.project-card { isolation: isolate; }
.project-card::before { content: ""; position: absolute; top: 0; left: 0; z-index: 2; width: 26px; height: 26px; background: var(--signal); clip-path: polygon(0 0, 100% 0, 0 100%); transform: translate(-100%, -100%); transition: transform .35s var(--ease); }
.project-card:hover::before, .project-card:focus-visible::before { transform: none; }
.project-card-label { flex-wrap: wrap; }
.project-card:hover .project-card-label > span:first-child { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 5px; }
.project-grid-even .project-card { box-shadow: 0 20px 40px -30px rgba(14,13,13,.6); }
.split-copy .eyebrow, .split-copy h2.eyebrow, .split-copy h3.eyebrow, .split-copy h4.eyebrow { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.section .container > .eyebrow + .section-title { margin-top: 0; }
.post-meta .post-author { color: var(--white); font-weight: 600; }
.post-meta .post-author + time::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; vertical-align: middle; background: var(--brass); border-radius: 50%; }

/* ==========================================================================
   Legal pages + footer acknowledgement
   ========================================================================== */
.legal-hero { padding-bottom: clamp(44px, 5vw, 64px); }
.legal-hero .post-meta { margin-top: 14px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--text); border-left-color: var(--signal); }
.legal-body { max-width: 780px; font-size: 16.5px; line-height: 1.75; color: #3b3632; }
.legal-body h2 { font-size: clamp(21px, 2vw, 26px); font-weight: 800; color: var(--text); margin: 2em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-intro { padding: 24px 28px; margin-bottom: 8px; background: var(--paper); border-left: 3px solid var(--signal); color: var(--text); }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin-bottom: .5em; }
.legal-body li::marker { color: var(--brass-deep); }
.legal-contact { margin-top: 2.4em; padding: 24px 28px; background: var(--ink); color: rgba(255,255,255,.8); }
.legal-contact h2 { margin-top: 0; color: var(--white); }
.legal-contact a { color: var(--signal); }
.legal-related { margin-top: 2em; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }

.footer-ack { display: flex; gap: 20px; align-items: flex-start; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line-light); }
.footer-ack p { margin: 0; max-width: 980px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.66); }
.footer-ack strong { color: var(--white); font-weight: 600; }
.footer-legal { padding-top: 16px; padding-bottom: 16px; border-top: 1px solid var(--line-light); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
.footer-legal a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom .abn { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line-light); }

/* Portfolio gallery feature (home, projects) */
.portfolio-feature { background: var(--paper); position: relative; overflow: hidden; }
.portfolio-feature::before { content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 180px; background: var(--signal); opacity: .9; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.portfolio-feature .container { position: relative; }
.portfolio-feature .tab-list button { background: var(--white); }
.portfolio-feature .tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; margin-left: 6px; padding: 0 6px; font-size: 11px; background: var(--paper-2); color: var(--muted); border-radius: 99px; }
.portfolio-feature .tab-list button[aria-selected="true"] .tab-count { background: var(--signal); color: var(--ink); }
.gallery.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 16vw, 230px); gap: 10px; }
.portfolio-grid .gallery-item { aspect-ratio: auto; height: 100%; margin: 0; }
.portfolio-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-grid .portfolio-item-lg { grid-column: span 2; grid-row: span 2; }
.portfolio-grid .gallery-item::after { content: ""; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0d0d' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/16px no-repeat; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease); }
.portfolio-grid .gallery-item:hover::after, .portfolio-grid .gallery-item:focus-visible::after { opacity: 1; transform: none; }
@media (max-width: 900px) { .gallery.portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .gallery.portfolio-grid { grid-auto-rows: 140px; gap: 8px; } }
.portfolio-feature .tab-list button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Footer locations + HTML sitemap ---------- */
.footer-locations { padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line-light); }
.footer-locations .footer-heading { margin-bottom: 14px; }
.footer-locations nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.footer-locations a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-locations a:hover { color: var(--white); text-decoration: underline; }
.site-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.site-map-wide { grid-column: span 2; }
.site-map-full { grid-column: 1 / -1; }
.site-map-title { font-size: 22px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.site-map-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-map-wide .site-map-list { grid-template-columns: repeat(2, 1fr); gap: 8px 32px; }
.site-map-full .site-map-list { grid-template-columns: repeat(3, 1fr); gap: 8px 32px; }
.site-map-list a { text-decoration: none; }
.site-map-list a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .site-map { grid-template-columns: 1fr; }
  .site-map-wide, .site-map-full { grid-column: auto; }
  .site-map-wide .site-map-list, .site-map-full .site-map-list { grid-template-columns: 1fr; }
}

/* Google reviews block */
.reviews .section-head { align-items: end; }
.reviews-more { margin: 24px 0 0; }
.reviews .testimonial blockquote p { margin: 0 0 .8em; }
.reviews .testimonial blockquote p:last-child { margin-bottom: 0; }

/* Data-driven service pages */
.prose-wide { max-width: 920px; }
.section-intro { margin: 18px 0 28px; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; color: var(--text); }
.prose table { margin: 0 0 1.2em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.card-link { text-decoration: none; color: inherit; transition: border-color .2s var(--ease); }
.card-link:hover { border-color: var(--signal); }
.card-link p { margin: 0; color: var(--muted); }
ol.check-list { counter-reset: none; }
