/* ==========================================================================
   AD Development Group: homepage design 1 "Site board"
   Light, editorial, architectural. One accent (--accent), change it here.
   ========================================================================== */

:root {
  --accent: #9A4B2C;          /* Kent clay. The logo is black and white, so this is the one brand colour. */
  --accent-dark: #7E3B22;     /* hover state of the accent */
  --accent-light: #D3906C;    /* accent for text and focus rings on charcoal */
  --charcoal: #1E1F1C;
  --paper: #F4F1EC;
  --stone: #D9D4CC;
  --ink: #1E1F1C;
  --muted: #5B5A54;
  --line: rgba(30, 31, 28, .14);
  --line-strong: rgba(30, 31, 28, .34);
  --on-dark: #F4F1EC;
  --on-dark-muted: rgba(244, 241, 236, .72);
  --line-dark: rgba(244, 241, 236, .18);
  --error: #A3261B;

  --f-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --head-h: 64px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --section: clamp(56px, 7vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --head-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 17px; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3 { font-weight: 600; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--accent); color: #fff; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hero :focus-visible, .areas :focus-visible, .contact-intro :focus-visible,
.site-footer :focus-visible, .menu-panel :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--accent-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px;
  font-family: var(--f-body); font-weight: 600; font-size: 15.5px; line-height: 1.1; letter-spacing: .01em;
  white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon:has(use[href="#i-arrow"]) { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-line-light { border-color: rgba(244, 241, 236, .5); color: #fff; }
.btn-line-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h);
  color: #fff; border-bottom: 1px solid transparent;
  transition: background-color .35s, color .35s, border-color .35s;
}
.site-header.is-solid { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.site-header.menu-open { background: var(--charcoal); color: var(--on-dark); border-bottom-color: var(--line-dark); }
.header-bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 26px; width: calc(26px * 1914 / 278); }
@media (min-width: 900px) { .brand-logo { height: 34px; width: calc(34px * 1914 / 278); } }

.nav { display: none; margin-left: auto; }
.nav-list { display: flex; gap: 26px; }
.nav-link { position: relative; display: block; padding: 8px 0; font-weight: 600; font-size: 15px; letter-spacing: .01em; opacity: .9; transition: opacity .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); background: var(--accent-light); }
.site-header.is-solid .nav-link[aria-current="page"]::after { background: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.header-phone .icon { width: 17px; height: 17px; }
.header-quote { display: none; min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 2px; font-weight: 600; font-size: 15px;
}
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.menu-btn-label { display: none; }

@media (min-width: 600px) {
  .header-quote { display: inline-flex; }
  .menu-btn-label { display: inline; }
}
@media (min-width: 900px) { .header-phone { display: inline-flex; } }
@media (min-width: 1200px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .header-actions { margin-left: 24px; }
  .header-phone { display: none; }
}
@media (min-width: 1360px) { .header-phone { display: inline-flex; } }

/* Mobile menu */
.menu-panel {
  position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; overflow-y: auto;
  background: var(--charcoal); color: var(--on-dark);
}
.menu-panel[hidden] { display: none; }
.menu-inner { display: flex; flex-direction: column; gap: 32px; padding-top: 12px; padding-bottom: 40px; min-height: 100%; }
.menu-list li { border-bottom: 1px solid var(--line-dark); }
.menu-list a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  font-family: var(--f-head); font-stretch: 80%; font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); line-height: 1.1;
}
.menu-list a span { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent-light); font-stretch: 100%; }
.menu-foot { display: grid; gap: 14px; margin-top: auto; }
.menu-contact { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; overflow-wrap: anywhere; }
.menu-contact .icon { width: 18px; height: 18px; color: var(--accent-light); }
.menu-areas { color: var(--on-dark-muted); font-size: 14px; }
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(max(620px, 100svh), 1080px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--charcoal); color: #fff;
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: rgba(17, 18, 16, .6); } /* same video and shade as design B (client request) */
.hero-body { padding-top: calc(var(--head-h) + 72px); padding-bottom: clamp(28px, 4.5vw, 64px); }

.hero-title {
  font-family: var(--f-head); font-stretch: 75%; font-weight: 650;
  font-size: clamp(2.6rem, .9rem + 6.3vw, 7.5rem); line-height: .93; letter-spacing: -.02em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-title .line > span { display: inline-block; text-wrap: balance; }
.js .hero-title .line > span { transform: translateY(104%); transition: transform 1.1s var(--ease); }
.js .hero.is-ready .hero-title .line > span { transform: none; }
.js .hero.is-ready .hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.js .hero.is-ready .hero-title .line:nth-child(3) > span { transition-delay: .18s; }
.hero-title .line:last-child > span { color: var(--paper); }

.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; margin-top: clamp(22px, 3vw, 40px);
}
.hero-sub { display: flex; align-items: center; gap: 12px; font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem); font-weight: 500; letter-spacing: .01em; }
.hero-sub::before { content: ""; width: 10px; height: 10px; background: var(--accent-light); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 519px) {
  .hero-foot, .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
}
.js .hero-foot { opacity: 0; transform: translateY(12px); transition: opacity .9s .35s var(--ease), transform .9s .35s var(--ease); }
.js .hero.is-ready .hero-foot { opacity: 1; transform: none; }

.video-toggle {
  position: absolute; right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); top: calc(var(--head-h) + 20px);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(244, 241, 236, .4); color: #fff; border-radius: 2px; transition: background-color .2s, border-color .2s;
}
.video-toggle:hover { background: rgba(244, 241, 236, .12); border-color: rgba(244, 241, 236, .8); }
.video-toggle .icon { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }

/* Site board strip */
.board {
  --off: var(--gutter);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--charcoal); border-top: 1px solid var(--line-dark);
}
.board-cell {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0;
  padding: 14px var(--gutter); border-bottom: 1px solid var(--line-dark);
  transition: background-color .25s;
}
.board-cell:nth-child(2n) { border-left: 1px solid var(--line-dark); }
.board-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.board-value {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: clamp(15px, .8rem + .45vw, 20px); line-height: 1.2; color: #fff;
}
.board-value .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
a.board-cell:hover { background: rgba(244, 241, 236, .06); }
.board-cta { background: var(--accent); border-bottom-color: var(--accent); }
.board-cta .board-label { color: rgba(255, 255, 255, .8); }
a.board-cta:hover { background: var(--accent-dark); }
a.board-cta:hover .icon { transform: translateX(4px); }

@media (min-width: 900px) {
  .board {
    --off: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
    grid-template-columns: var(--off) repeat(4, minmax(0, 1fr)) var(--off);
  }
  .board-cell { padding: 22px 28px; border-bottom: 0; border-left: 1px solid var(--line-dark); }
  .board-cell:nth-child(1) { grid-column: 2; padding-left: 0; border-left: 0; }
  .board-cta { grid-column: 5 / 7; padding-right: var(--off); border-left-color: var(--accent); }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.sec-head {
  display: flex; align-items: baseline; gap: 14px; padding-top: 14px; margin-bottom: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--line-strong);
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.sec-num { color: var(--accent); }
.sec-head-light { border-top-color: var(--line-dark); color: var(--on-dark); }
.sec-head-light .sec-num { color: var(--accent-light); }

.h2 {
  font-family: var(--f-head); font-stretch: 80%; font-weight: 600;
  font-size: clamp(2rem, 1.15rem + 2.7vw, 3.75rem); line-height: 1.02; letter-spacing: -.02em;
  text-wrap: balance; max-width: 20ch;
}
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 50ch; }
.sec-intro { display: grid; gap: 16px 56px; margin-bottom: clamp(32px, 4.5vw, 64px); }
@media (min-width: 1000px) {
  .sec-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}

/* ---------- 01 About ---------- */
.about + .services { padding-top: 0; }
.about-grid { display: grid; gap: 40px; }
.statement {
  font-family: var(--f-head); font-stretch: 85%; font-weight: 400;
  font-size: clamp(1.45rem, 1rem + 1.65vw, 2.55rem); line-height: 1.17; letter-spacing: -.015em; text-wrap: pretty;
}
.about-cols { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 52px); padding-top: 28px; border-top: 1px solid var(--line); }
.minor-title { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
.about-cols p { color: var(--muted); }
.facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { font-weight: 600; line-height: 1.4; }
.about-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--stone); }
.about-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.about-figure figcaption::before { content: ""; width: 18px; height: 1px; background: var(--accent); flex: none; transform: translateY(-4px); }
@media (min-width: 700px) { .about-cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1000px) {
  .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
  .about-figure img { aspect-ratio: 1 / 1; }
}

/* ---------- 02 Services ---------- */
.svc-layout { display: grid; gap: 56px; }
.svc-list { border-top: 1px solid var(--line-strong); }
.svc {
  position: relative; display: grid; column-gap: 14px;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-areas: "num name" ". detail";
  align-items: start; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.svc::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--accent); transition: width .45s var(--ease); }
.svc-num { grid-area: num; padding-top: 16px; font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 14px; color: var(--muted); transition: color .3s; }
.svc-name { grid-area: name; font-family: var(--f-head); font-stretch: 82%; font-weight: 600; font-size: clamp(1.25rem, 1.02rem + .85vw, 1.8rem); line-height: 1.12; letter-spacing: -.01em; }
.svc-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; padding: 6px 0;
  font: inherit; letter-spacing: inherit; text-align: left; color: inherit; transition: color .3s;
}
.svc-plus { width: 20px; height: 20px; color: var(--accent); transition: transform .4s var(--ease); }
.svc.is-open .svc-plus { transform: rotate(45deg); }
.svc-detail { grid-area: detail; display: grid; grid-template-rows: 1fr; }
.svc-detail-inner { min-height: 0; overflow: hidden; padding-bottom: 14px; }
.js .svc-detail { grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.js .svc.is-open .svc-detail { grid-template-rows: 1fr; }
.js .svc:not(.is-open) .svc-detail-inner { visibility: hidden; transition: visibility 0s .45s; }
.svc-desc { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.svc-inc { margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .02em; }
.svc-inc i { font-style: normal; color: var(--accent); padding: 0 3px; }
.svc-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stone); margin-top: 14px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--accent); font-weight: 600; font-size: 14.5px;
}
.svc-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-link:hover .icon { transform: translateX(3px); }
.svc-preview { display: none; }

@media (min-width: 1000px) {
  .svc-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
  .svc {
    grid-template-columns: 52px minmax(0, 1fr) 46px; column-gap: 16px;
    grid-template-areas: "num name link" "num desc link" "num inc link";
    align-items: center; padding: 22px 0;
  }
  .svc-detail, .js .svc-detail, .svc-detail-inner { display: contents; }
  .js .svc:not(.is-open) .svc-detail-inner { visibility: visible; }
  .svc-num { align-self: start; padding-top: 7px; }
  .svc-toggle { min-height: 0; padding: 0; cursor: default; }
  .svc-plus { display: none; }
  .svc-desc { grid-area: desc; margin-top: 4px; }
  .svc-inc { grid-area: inc; margin-top: 8px; color: var(--muted); transition: color .3s; }
  .svc.is-active .svc-inc { color: var(--ink); }
  .svc-thumb { display: none; }
  .svc-link {
    grid-area: link; align-self: center; justify-self: end; width: 46px; height: 46px; margin: 0; padding: 0; justify-content: center;
    border: 1px solid var(--line-strong); border-radius: 2px; color: var(--ink); font-size: 0; transition: background-color .25s, border-color .25s, color .25s;
  }
  .svc-link .icon { width: 18px; height: 18px; }
  .svc.is-active::before { width: 52px; }
  .svc.is-active .svc-num { color: var(--accent); }
  .svc.is-active .svc-link, .svc-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

  .svc-preview { display: block; position: sticky; top: calc(var(--head-h) + 28px); }
  .svc-frame { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--stone); }
  .svc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
  .svc-frame img.is-active { opacity: 1; transform: none; }
  .svc-caption { display: flex; align-items: baseline; gap: 14px; padding-top: 14px; font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.15rem; }
  .svc-caption-num { color: var(--accent); font-size: .85rem; letter-spacing: .06em; }
}

/* ---------- 03 Why ---------- */
.why { padding-top: 0; }
.why-grid { display: grid; border-top: 1px solid var(--line-strong); }
.why-grid li { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.why-num { display: block; font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.why-title { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.35rem; line-height: 1.15; margin-bottom: 8px; }
.why-grid p { color: var(--muted); max-width: 40ch; }
@media (min-width: 700px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid li { padding: 30px 32px 34px 0; }
  .why-grid li:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .why-grid li:nth-child(3n+2), .why-grid li:nth-child(3n) { padding-left: 32px; border-left: 1px solid var(--line); }
}

/* ---------- 04 Projects ---------- */
.projects { background: #EBE7E0; }
.pair-feature { margin: 0; }
/* the client's before and after shots are taken from different angles, so they sit side by side in the same crop */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.pair-cell { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.pair-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pair-before img { object-position: 50% 58%; }
.pair-after img { object-position: 55% 50%; }
.pair-tag {
  position: absolute; top: 14px; left: 14px; padding: 6px 10px; background: var(--charcoal); color: var(--paper);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}
.pair-tag-after { background: var(--accent); color: #fff; }

.project-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.project-title { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.project-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.project-meta .icon { width: 15px; height: 15px; color: var(--accent); }
.pair-feature .project-title { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); }

.project-row {
  display: flex; gap: 14px; margin-top: 36px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.project-row::-webkit-scrollbar { display: none; }
.project-card { flex: 0 0 min(82%, 340px); scroll-snap-align: start; }
@media (max-width: 767px) {
  /* inside the swipe row the scroller does the clipping */
  .project-row .pc-media { overflow: visible; }
  .project-card:hover .pc-media img { transform: none; }
}
.pc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.project-card:hover .pc-media img { transform: scale(1.025); }
.project-card.show-before .pc-after { opacity: 0; }
.pc-media .pc-before { object-position: 50% 55%; }
.pc-bedroom .pc-before { object-position: 50% 40%; }
.pc-switch { position: absolute; left: 12px; bottom: 12px; display: flex; background: var(--paper); border: 1px solid var(--paper); }
.pc-switch button {
  min-height: 36px; padding: 0 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); transition: background-color .2s, color .2s;
}
.pc-switch button[aria-pressed="true"] { background: var(--charcoal); color: var(--paper); }
.pc-switch button:not([aria-pressed="true"]):hover { background: var(--stone); }
.project-card .project-cap { border-bottom-color: var(--line); }
@media (min-width: 640px) { .pair-cell { aspect-ratio: 1 / 1; } }
@media (min-width: 768px) {
  .project-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; overflow: visible; }
  .project-card { min-width: 0; }
}
@media (min-width: 1000px) {
  .project-row { gap: 32px 24px; }
  .pair-cell { aspect-ratio: 4 / 3; }
  .pair-feature .project-svc { margin-left: auto; }
}

/* ---------- 05 Process ---------- */
.steps { display: grid; margin-left: 4px; border-left: 1px solid var(--line-strong); }
.step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 8px; padding: 0 0 26px 24px; }
.step-num { grid-row: span 2; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; background: var(--accent); }
.step-num { display: block; font-family: var(--f-head); font-stretch: 75%; font-weight: 300; font-size: clamp(2.4rem, 1.7rem + 2.4vw, 4.6rem); line-height: .9; letter-spacing: -.02em; }
.step-title { padding-top: 2px; }
.step-title { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.35rem; line-height: 1.15; margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 34ch; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .step { display: block; padding: 30px 28px 0 0; }
  .step::before { left: 0; top: -5px; }
  .step + .step { padding-left: 0; }
  .step-num { margin-bottom: 18px; }
}

/* ---------- 06 Areas ---------- */
.areas {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(480px, 50vw, 720px); display: flex; align-items: flex-end;
  background: var(--charcoal); color: #fff;
}
.areas-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.areas-shade { position: absolute; inset: 0; background: rgba(30, 31, 28, .52); z-index: -1; }
.areas-body { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(44px, 6vw, 88px); }
.areas .sec-head { margin-bottom: clamp(20px, 3vw, 36px); }
.areas-list { display: grid; }
.areas-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.area-name { font-family: var(--f-head); font-stretch: 75%; font-weight: 600; font-size: clamp(2.6rem, 1.4rem + 5.6vw, 7.2rem); line-height: .95; letter-spacing: -.02em; }
.area-note { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.areas-list li:first-child .area-note { color: #fff; }
.areas-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(24px, 3vw, 40px); }
.areas-foot p { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--on-dark); }
@media (min-width: 640px) {
  .areas-list { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-dark); }
  .areas-list li { flex-direction: column; justify-content: flex-start; gap: 12px; padding: 0 20px 22px; border-bottom: 0; border-left: 1px solid var(--line-dark); }
  .areas-list li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- 07 Contact ---------- */
.contact { background: var(--charcoal); color: var(--on-dark); }
.contact-grid { display: grid; gap: 40px; }
.contact .h2 { color: #fff; }
.contact-lead { margin-top: 16px; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--on-dark-muted); max-width: 38ch; }
.contact-lines { margin-top: clamp(28px, 3.5vw, 44px); border-top: 1px solid var(--line-dark); }
.contact-lines li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.cl-label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.cl-value { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
a.cl-value { transition: color .2s; }
a.cl-value:hover { color: var(--accent-light); }
.next { margin-top: clamp(28px, 3.5vw, 44px); }
.next-title { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; }
.next ol { display: grid; gap: 12px; }
.next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: baseline; color: var(--on-dark); }
.next li span { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 14px; color: var(--accent-light); }
.cl-phone { font-family: var(--f-head); font-stretch: 80%; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; letter-spacing: -.01em; }

.form-panel { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 40px); border-top: 3px solid var(--accent); }
.form-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; }
.form-title { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.5rem; line-height: 1.15; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-status { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--error); background: #F5E6E2; color: #7A1D14; font-size: 15px; }
.form-status[hidden] { display: none; }
.fields { display: grid; gap: 16px 20px; margin-top: 20px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid #B7B1A6; border-radius: 2px; background: #fff; font-size: 16px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1F1C' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8F897F; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(154, 75, 44, .18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field-err { margin-top: 6px; font-size: 13.5px; color: var(--error); }
.field-err[hidden] { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-submit { margin-top: 22px; min-height: 54px; font-size: 16px; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-small { margin-top: 12px; font-size: 14px; color: var(--muted); }
.form-small a, .form-success a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 8px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon { display: grid; place-items: center; width: 56px; height: 56px; background: var(--accent); color: #fff; margin-bottom: 6px; }
.success-icon .icon { width: 26px; height: 26px; }
.form-success p:not(.form-title) { color: var(--muted); max-width: 36ch; }
@media (min-width: 600px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); font-size: 15px; }
.footer-top { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.footer-brand { display: inline-block; color: var(--paper); }
.footer-brand svg { width: clamp(170px, 20vw, 240px); aspect-ratio: 1367 / 632; height: auto; }
.footer-cols { display: grid; gap: 32px; }
.fcol-title { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.fcol-gap { margin-top: 26px; }
.fcol li + li { margin-top: 6px; }
.fcol a { transition: color .2s; }
.fcol a:hover { color: #fff; }
.fcol-text { color: var(--on-dark); }
.break { overflow-wrap: anywhere; }
.footer-quote { margin-top: 22px; min-height: 46px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
@media (min-width: 600px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .footer-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.3fr); }
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }
.js [data-reveal="4"] { transition-delay: .24s; }
.js [data-reveal="5"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal], .js .hero-foot, .js .hero-title .line > span { opacity: 1; transform: none; }
}

/* footer: the 4 main services and a link to the full list (keeps the footer compact) */
.site-footer .foot-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding-block: 4px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-footer .foot-all:hover { text-decoration-color: transparent; }
.site-footer .foot-all svg { flex: none; }
@media (max-width: 599px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .footer-cols > :last-child { grid-column: 1 / -1; }
}

/* links out to the inner pages */
.more-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(24px, 3vw, 36px);
  padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--accent); font-weight: 600; font-size: 15px;
}
.more-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.more-link:hover .icon { transform: translateX(3px); }
