:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --line: #e6e6e6;
  --max: 1100px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > .item { position: relative; }
.nav a.top {
  text-decoration: none; letter-spacing: .12em; font-size: 13px;
  text-transform: uppercase; padding: 10px 0; display: inline-block;
}
.nav a.top:hover, .nav a.top.active { border-bottom: 2px solid var(--text); }
.dropdown {
  position: absolute; top: 100%; left: -12px; min-width: 200px;
  background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 8px 0; display: none; max-height: 70vh; overflow-y: auto;
}
.nav > .item:hover .dropdown, .nav > .item:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; padding: 7px 18px; text-decoration: none;
  font-size: 13px; letter-spacing: .04em; white-space: nowrap;
}
.dropdown a:hover { background: #f4f4f4; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  font-size: 22px; padding: 4px 12px; cursor: pointer;
}

/* ---------- Home slideshow (crossfade + slow zoom) ---------- */
.slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #111; }
.slideshow .slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1);
  transform-origin: center center; will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .slideshow .slide { transition-duration: 600ms !important; transform: none !important; }
}

/* ---------- Home hero (legacy, single image) ---------- */
.hero { display: block; width: 100%; }
.hero img { width: 100%; height: auto; max-height: calc(100vh - 80px); object-fit: cover; }

/* ---------- Generic page ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 40px 24px; }
h1.page-title {
  font-weight: 300; letter-spacing: .2em; text-transform: uppercase;
  font-size: 22px; margin: 0 0 28px; text-align: center;
}

/* ---------- Grids ---------- */
.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card { position: relative; display: block; overflow: hidden; background: #f0f0f0; aspect-ratio: 16 / 10; text-decoration: none; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.04); }
.card .label {
  position: absolute; inset: auto 0 0 0; padding: 18px 16px 12px;
  color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.card.placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, #f4f4f4, #f4f4f4 12px, #efefef 12px, #efefef 24px);
}
.show-more {
  display: block; margin: 32px auto 0; padding: 12px 36px; background: none;
  border: 1px solid var(--text); letter-spacing: .15em; text-transform: uppercase;
  font-size: 12px; cursor: pointer;
}
.show-more:hover { background: var(--text); color: #fff; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
.gallery img { width: 100%; height: auto; cursor: zoom-in; }
.empty-note {
  text-align: center; color: var(--muted); border: 1px dashed var(--line);
  padding: 48px 24px; font-size: 14px;
}
.empty-note code { background: #f4f4f4; padding: 2px 6px; }

/* ---------- Portfolio page: two tall pictures with a caption in the top-right corner ---------- */
.portfolio-page { max-width: 1028px; padding-top: 28px; }
.portfolio-page .split { max-width: 980px; gap: 31px; }
.portfolio-page .card { border: 1px solid #222; }
.portfolio-page .card .tag {
  position: absolute; top: 34px; right: 24px; z-index: 1;
  padding-left: 14px; border-left: 2px solid #fff;
  color: #fff; font-size: 15px; line-height: 1.15; letter-spacing: .01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.portfolio-page .card .tag b { font-weight: 700; }

/* ---------- Projects page: 4 across, pictures only ---------- */
.projects-page { max-width: 1028px; padding-top: 28px; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.projects-grid .card { aspect-ratio: 234 / 138; box-shadow: 0 1px 5px rgba(0,0,0,.35); }
.projects-page .show-more {
  display: block; margin: 14px auto 0; padding: 0; border: none; background: none;
  font-size: 13px; letter-spacing: .02em; text-transform: none; text-decoration: underline;
  color: var(--muted); cursor: pointer;
}
.projects-page .show-more:hover { background: none; color: var(--text); }
@media (max-width: 700px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Exterior / Interior carousel ---------- */
.gallery-page { max-width: 1100px; padding-top: 28px; padding-bottom: 12px; }
/* width shrinks on short windows so the whole carousel stays on screen */
.carousel { width: min(100%, max(320px, calc((100vh - 330px) * 2))); margin: 0 auto; }
.carousel .stage { position: relative; aspect-ratio: 2 / 1; background: #f2f2f2; overflow: hidden; cursor: zoom-in; }
.carousel .stage .layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity var(--fade, .8s) ease-in-out;
}
.carousel .stage .layer.contain { object-fit: contain; }
.carousel .stage .layer.on { opacity: 1; }
.carousel .nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 64px; border: none; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 36px; line-height: 1;
  opacity: 0; transition: opacity .2s;
}
.carousel .stage:hover .nav, .carousel .nav:focus-visible { opacity: 1; }
.carousel .nav.prev { left: 0; }
.carousel .nav.next { right: 0; }
.carousel .thumbs {
  position: relative; display: flex; gap: 8px; margin-top: 8px;
  overflow-x: auto; scrollbar-width: none;
}
.carousel .thumbs::-webkit-scrollbar { display: none; }
.carousel .thumbs button {
  flex: 0 0 calc((100% - 72px) / 10); aspect-ratio: 88 / 50;
  padding: 0; border: none; background: #eee; cursor: pointer;
  opacity: .55; transition: opacity .2s;
}
.carousel .thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel .thumbs button:hover, .carousel .thumbs button.active { opacity: 1; }
.carousel .controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 10px; }
.carousel .play {
  width: 54px; height: 26px; border: 2px solid var(--text); border-radius: 999px;
  background: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.carousel .play svg { width: 12px; height: 14px; fill: var(--text); }
.carousel .count { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
@media (max-width: 600px) {
  .carousel .thumbs button { flex-basis: calc((100% - 32px) / 5); }
}

/* ---------- Portfolio split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
/* Same proportion as the exterior/interior photos (portrait, about 5:6), so nothing is cropped */
.split .card { aspect-ratio: 608 / 719; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about .lead-img { grid-column: 1 / -1; }
.about p { margin: 0 0 14px; }
.about .creds a.ext { display: block; color: var(--muted); font-size: 13px; margin: -6px 0 18px; }
.about .roles { margin-top: 28px; }
.about .roles p { margin-bottom: 18px; }
.person { text-align: center; position: sticky; top: 100px; }
.person img { margin: 0 auto 12px; width: 169px; height: 214px; object-fit: cover; }
.person .name { font-size: 14px; letter-spacing: .08em; }

/* ---------- About page: warm intro, founder, dark numbers band ---------- */
.about-page {
  --warm: #f3f0ea; --paper: #f8f6f2; --ink: #111; --gold: #b98a3e; --gold-lt: #d3a45a; --dark: #0e0e0e;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink);
}
.about-page .ab-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.about-page .gold { color: var(--gold); }
.about-page .ab-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.about-page .ab-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.about-page .ab-eyebrow.small { font-size: 9px; margin-bottom: 8px; color: #8a8a8a; }
.about-page .ab-eyebrow.small::before { display: none; }

.ab-hero { background: var(--warm); padding: 64px 0 56px; }
.ab-hero h1 {
  margin: 0 0 22px; max-width: 12em; text-wrap: balance;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em;
}
.ab-hero .ab-lead { max-width: 560px; margin: 0; font-size: 15px; line-height: 1.7; color: #444; }

.ab-founder { background: var(--paper); padding: 72px 0; }
.ab-founder-grid { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 56px; align-items: start; }
.ab-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.ab-name { margin: 0 0 4px; font-size: 24px; font-weight: 500; }
.ab-role { margin: 0 0 24px; font-size: 13px; color: #777; }
.ab-bio p { font-size: 14px; line-height: 1.75; color: #444; margin: 0 0 14px; max-width: 62ch; }
.ab-bio .ab-eyebrow, .ab-bio .ab-role { max-width: none; }
.ab-h { margin: 30px 0 12px; font-size: 14px; font-weight: 600; }
.ab-creds, .ab-exp { list-style: none; margin: 0; padding: 0; }
.ab-creds li { position: relative; padding-left: 22px; margin: 8px 0; font-size: 13px; color: #444; }
.ab-creds li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border: 1px solid var(--gold); }
.ab-exp li {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 0 14px 22px;
  border-bottom: 1px solid #dcd8d0; font-size: 13px; position: relative;
}
.ab-exp li:last-child { border-bottom: none; }
.ab-exp li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; border: 1px solid var(--gold); }
.ab-exp .co { text-align: right; font-size: 12px; color: #555; }
.ab-exp .co small { display: block; color: #999; font-size: 11px; }
.ab-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.ab-actions .btn {
  font-size: 12px; letter-spacing: .04em; padding: 11px 18px; text-decoration: none;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
}
.ab-actions .btn.solid { background: var(--ink); color: #fff; }
.ab-actions .btn:hover { opacity: .8; }

.ab-numbers { background: var(--dark); color: #fff; padding: 64px 0 72px; }
.ab-numbers h2 { margin: 0 0 40px; font-size: 26px; font-weight: 500; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.ab-stats .stat { text-align: center; padding: 8px 12px; border-left: 1px solid #2a2a2a; }
.ab-stats .stat:first-child { border-left: none; }
.ab-stats .stat b { display: block; margin-bottom: 6px; font-size: 32px; font-weight: 400; color: var(--gold-lt); }
.ab-stats .stat span { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: #8a8a8a; }

.ab-strip { background: var(--paper); padding: 22px 0; }
.ab-strip .ab-wrap { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.ab-strip .it { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #555; }
.ab-strip .it svg { color: var(--gold); flex-shrink: 0; }

@media (max-width: 820px) {
  .ab-hero { padding: 44px 0 40px; }
  .ab-founder { padding: 48px 0; }
  .ab-founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .ab-photo { max-width: 260px; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .ab-stats .stat:nth-child(odd) { border-left: none; }
  .ab-exp li { flex-direction: column; gap: 4px; }
  .ab-exp .co { text-align: left; }
}

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .banner { margin: 0 auto 40px; max-width: 977px; }
.offices { display: flex; justify-content: center; gap: 96px; flex-wrap: wrap; }
.office h2 { font-weight: 300; letter-spacing: .2em; font-size: 18px; margin: 0 0 8px; }
.office p { margin: 2px 0; }

/* ---------- Contact page: form + dark studio card (reuses the About page bands) ---------- */
.ct-body { background: var(--paper); padding: 72px 0 88px; }
.ct-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.ct-form .full { grid-column: 1 / -1; }
.ct-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-field label { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: #777; }
.ct-field input, .ct-field select, .ct-field textarea {
  font: inherit; font-size: 13px; color: var(--ink); background: transparent;
  border: none; border-bottom: 1px solid #c9c4ba; border-radius: 0; padding: 8px 0; outline: none; width: 100%;
}
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #b0aba1; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { border-bottom-color: var(--ink); }
.ct-field textarea { min-height: 96px; resize: vertical; }
.btn-send {
  font: inherit; font-size: 12px; letter-spacing: .04em; padding: 13px 22px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer;
}
.btn-send:hover { opacity: .85; }
.ct-note { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: #666; max-width: 46ch; }

.ct-card { background: var(--dark); color: #fff; padding: 28px; }
.ct-card h2 { margin: 0 0 22px; font-size: 16px; font-weight: 500; }
.ct-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ct-card li { display: flex; align-items: center; gap: 14px; }
.ct-card .ico {
  width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid #333; color: var(--gold-lt);
}
.ct-card small { display: block; font-size: 8px; letter-spacing: .22em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 3px; }
.ct-card b { font-size: 12px; font-weight: 600; word-break: break-word; }
.ct-card a { color: inherit; text-decoration: none; }
.ct-card a:hover { text-decoration: underline; }
.ct-blurb { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #2a2a2a; font-size: 10px; line-height: 1.7; color: #8a8a8a; }

@media (max-width: 820px) {
  .ct-body { padding: 48px 0 56px; }
  .ct-grid { grid-template-columns: 1fr; gap: 40px; }
  .ct-form { grid-template-columns: 1fr; }
}


/* ---------- Home page ---------- */
.home-page .ab-wrap { max-width: 1100px; }
.home-page h2 { text-wrap: balance; }

/* header: transparent over the slideshow, solid warm paper once scrolled */
body[data-overlay] .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; border-bottom: 1px solid transparent; color: #fff;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
body[data-overlay] .site-header.solid { background: #f3f0ea; color: #111; border-bottom-color: #e4dfd5; }
body[data-rich] .header-inner { padding-top: 18px; padding-bottom: 18px; }
body[data-rich] .logo { color: inherit; text-decoration: none; }
body[data-rich] .nav a.top {
  color: inherit; opacity: .85; font-size: 13px; letter-spacing: 0; text-transform: none; border-bottom: 1px solid transparent;
}
body[data-rich] .nav a.top:hover, body[data-rich] .nav a.top.active { opacity: 1; border-bottom: 1px solid #d3a45a; }
body[data-rich] .dropdown a { color: #111; }
body[data-rich] .menu-toggle { color: inherit; border-color: currentColor; background: transparent; }
.wm { display: block; width: 168px; height: auto; fill: currentColor; font-family: inherit; }
.start-btn {
  font-size: 12px; padding: 10px 18px; border: 1px solid currentColor;
  color: inherit; text-decoration: none; white-space: nowrap;
}
.start-btn:hover { background: #fff; color: #111; }
.site-header.solid .start-btn:hover { background: #111; color: #fff; }

/* hero */
.hero-full {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 640px; background: #111; color: #fff;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,8,.62) 0%, rgba(8,8,8,.28) 55%, rgba(8,8,8,.1) 100%),
    linear-gradient(0deg, rgba(8,8,8,.55), transparent 40%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px 170px; }
.hero-content h1 {
  margin: 0 0 22px; max-width: 11em; text-wrap: balance;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.04; font-weight: 500; letter-spacing: -.02em;
}
.hero-content .sub { max-width: 34em; margin: 0 0 32px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.86); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-gold, .btn-ghost, .btn-dark {
  display: inline-block; padding: 14px 24px; font-size: 13px; text-decoration: none; letter-spacing: .01em;
}
.btn-gold { background: #c9a35e; color: #111; border: 1px solid #c9a35e; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn-gold:hover { background: #d8b673; }
.btn-ghost:hover { background: #fff; color: #111; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 2; }
.hero-foot .in {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.scroll-cue {
  background: none; border: none; padding: 0; cursor: pointer; font: inherit;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.scroll-cue:hover { color: #fff; }
.hero-ctl { display: flex; align-items: center; gap: 14px; }
.hero-caption { max-width: 14em; text-align: right; font-size: 10px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero-caption:empty { display: none; }
.hero-ctl .arrow {
  width: 34px; height: 34px; padding: 0; cursor: pointer; font-size: 20px; line-height: 1;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6);
}
.hero-ctl .arrow:hover { background: #fff; color: #111; }
.hero-dots { display: flex; align-items: center; gap: 8px; min-width: 40px; font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.8); }
.hero-dots .dash { width: 18px; height: 2px; background: rgba(255,255,255,.4); transition: width .3s, background .3s; }
.hero-dots .dash.on { width: 30px; background: #d3a45a; }

/* what we do */
.hm-services { background: var(--warm); padding: 80px 0 88px; }
.hm-services h2, .hm-featured h2, .hm-process h2 { margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 38px); font-weight: 500; letter-spacing: -.015em; }
.hm-services .intro { max-width: 36em; margin: 0 0 36px; font-size: 14px; line-height: 1.7; color: #555; }
.svc-panel { background: var(--paper); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; }
.svc { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.svc .ico {
  width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid #e0d6c2; background: #f1ebdf; color: var(--gold);
}
.svc h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.svc p { margin: 0 0 12px; font-size: 12px; line-height: 1.75; color: #555; max-width: 40ch; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { position: relative; padding-left: 16px; margin: 5px 0; font-size: 11px; color: #555; }
.svc li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; background: var(--gold); }

/* featured projects */
.hm-featured { background: var(--paper); padding: 80px 0 88px; }
.fp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.fp-head h2 { margin-bottom: 0; }
.fp-head a { font-size: 12px; color: var(--ink); text-decoration: none; }
.fp-head a:hover { text-decoration: underline; }
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.fp { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; min-width: 0; }
.fp-img {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: repeating-linear-gradient(45deg, #efece6, #efece6 12px, #e8e4dc 12px, #e8e4dc 24px);
}
.fp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.fp:hover .fp-img img { transform: scale(1.04); }
.fp b { margin-top: 10px; font-size: 13px; font-weight: 600; }
.fp small { font-size: 11px; color: #888; }

/* process */
.hm-process { background: var(--dark); color: #fff; padding: 80px 0 88px; }
.hm-process .sub { margin: 0; font-size: 14px; color: #9a9a9a; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; }
.step { padding: 4px 24px; border-left: 1px solid #2a2a2a; }
.step:first-child { border-left: none; padding-left: 0; }
.step .n { margin-bottom: 14px; font-size: 30px; font-weight: 300; color: var(--gold-lt); }
.step h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.step p { margin: 0; font-size: 12px; line-height: 1.75; color: #9a9a9a; }

/* call to action */
.hm-cta { background: var(--paper); padding: 72px 0 80px; text-align: center; }
.ab-eyebrow.center { justify-content: center; }
.ab-eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hm-cta .ab-eyebrow { max-width: none; }
.hm-cta h2 { margin: 0 0 14px; font-size: 26px; font-weight: 500; }
.hm-cta p { max-width: 30em; margin: 0 auto 26px; font-size: 13px; line-height: 1.7; color: #666; }
.btn-dark { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-dark:hover { opacity: .85; }

/* home footer */
.site-footer.home-footer {
  display: block; background: #0b0b0b; color: #fff; border-top: none; padding: 64px 0 28px;
  text-align: left; letter-spacing: 0; font-size: 12px;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.hf-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.hf-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.hf-brand .logo { color: #fff; text-decoration: none; }
.hf-brand p { max-width: 26em; margin: 18px 0 0; font-size: 11px; line-height: 1.7; color: #9a9a9a; }
.home-footer h4 { margin: 0 0 16px; font-size: 8px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #8a8a8a; }
.home-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home-footer li { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.home-footer li svg { color: var(--gold-lt, #d3a45a); flex-shrink: 0; }
.home-footer a { color: #fff; text-decoration: none; }
.home-footer a:hover { text-decoration: underline; }
.home-footer .social { justify-content: flex-start; margin-top: 18px; }
.home-footer .social img { width: 24px; height: 24px; filter: invert(1); opacity: .75; }
.hf-bottom {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid #222; font-size: 9px; color: #777; letter-spacing: .04em;
}
.hf-bottom span:last-child { letter-spacing: .25em; text-transform: uppercase; }

@media (max-width: 820px) {
  body[data-rich] .start-btn { display: none; }
  body[data-rich] .nav a.top { color: #111; }
  .hero-content { padding-bottom: 150px; }
  .hero-foot .in { justify-content: flex-start; }
  .hero-caption { display: none; }
  .hm-services, .hm-featured, .hm-process { padding: 52px 0 56px; }
  .svc-panel { grid-template-columns: 1fr; padding: 28px 22px; gap: 32px; }
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(odd) { border-left: none; padding-left: 0; }
  .hf-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) { .fp-grid { grid-template-columns: 1fr; } }

/* ---------- Projects page ---------- */
body[data-page="projects"] .site-header, body[data-page="about"] .site-header, body[data-page="contact"] .site-header {
  background: #f3f0ea; color: #111; border-bottom: 1px solid #e4dfd5;
  font-family: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body[data-page="projects"] .start-btn:hover, body[data-page="about"] .start-btn:hover, body[data-page="contact"] .start-btn:hover { background: #111; color: #fff; }
.pj-page .ab-wrap { max-width: 1100px; }
.pj-body { background: var(--paper); padding: 56px 0 72px; }
.pj-page .show-more {
  display: block; margin: 40px auto 0; padding: 0; border: none; background: none;
  font: inherit; font-size: 13px; text-transform: none; letter-spacing: .02em; text-decoration: underline; color: #666; cursor: pointer;
}
.pj-page .show-more:hover { background: none; color: var(--ink); }
.pj-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 18px; border-top: 1px solid #dcd8d0; font-size: 11px;
}
.pj-foot a { color: var(--ink); text-decoration: none; }
.pj-foot a:hover { text-decoration: underline; }

/* ---------- Portfolio pages (Exterior / Interior) ---------- */
.pf-page .ab-wrap { max-width: 1100px; }
.pf-hero { position: relative; display: flex; align-items: flex-end; height: 560px; overflow: hidden; background: #1a1a1a; color: #fff; }
.pf-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,.72) 0%, rgba(8,8,8,.22) 55%, rgba(8,8,8,.38) 100%);
}
.pf-hero .ab-wrap { position: relative; width: 100%; z-index: 2; padding-bottom: 56px; }
.pf-hero .ab-eyebrow { color: #e3bb7c; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.pf-hero .ab-eyebrow::before { background: #e3bb7c; }
.pf-hero h1 { margin: 0 0 16px; font-size: clamp(38px, 5vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
.pf-hero .sub { max-width: 34em; margin: 0; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.86); }
.pf-tabs { background: var(--paper); border-bottom: 1px solid #dcd8d0; }
.pf-tabs .ab-wrap { display: flex; align-items: flex-end; gap: 36px; }
.pf-tabs a {
  padding: 22px 0 14px; margin-bottom: -1px; font-size: 13px; color: #777; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.pf-tabs a:hover { color: var(--ink); }
.pf-tabs a.on { color: var(--ink); border-bottom-color: #c9a35e; }
.pf-body { background: var(--paper); padding: 56px 0 96px; min-height: 40vh; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 26px; }
.pf-grid .empty-note { grid-column: 1 / -1; }
.pf-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: inherit; text-decoration: none; }
.pf-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e8e4dc; cursor: zoom-in; }
.pf-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1); transition: transform .6s ease;
}
.pf-img:hover img, .pf-item:focus-visible .pf-img img { transform: scale(1.07); }
.pf-item b { margin-top: 10px; font-size: 13px; font-weight: 600; }
.pf-item small { font-size: 11px; color: #888; }
@media (prefers-reduced-motion: reduce) { .pf-img img { transition: none; } }
@media (max-width: 820px) {
  .pf-hero { height: 440px; }
  .pf-hero .ab-wrap { padding-bottom: 40px; }
  .pf-body { padding: 36px 0 64px; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) { .pf-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
/* One line: text on the left, social icons on the right (wraps on narrow screens) */
.site-footer {
  border-top: 1px solid var(--line); padding: 12px 24px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 20px;
  text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .04em;
}
.social { display: flex; justify-content: center; gap: 8px; margin: 0; flex-shrink: 0; }
.social img { width: 28px; height: 28px; opacity: .85; transition: opacity .2s; }
.social a:hover img { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: none; color: #fff;
  font-size: 40px; cursor: pointer; padding: 16px; line-height: 1;
}
.lightbox .close { top: 6px; right: 10px; }
.lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px;
    max-height: 80vh; overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > .item .dropdown {
    position: static; display: block; border: none; box-shadow: none;
    padding: 0 0 6px 14px; max-height: none;
  }
  .split, .about { grid-template-columns: 1fr; }
  .person { position: static; }
  .offices { gap: 48px; }
}

/* Portfolio landing page */
.pfx-body { padding: 48px 0 80px; }
.pfx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.pfx-card { display: block; text-decoration: none; color: var(--ink); }
.pfx-img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #e6e2da; cursor: pointer; }
.pfx-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform .6s ease; }
.pfx-card:hover .pfx-img img { transform: scale(1.05); }
.pfx-card b { display: block; margin-top: 16px; font-size: 20px; font-weight: 500; }
.pfx-card small { display: block; margin-top: 4px; color: #777; font-size: 14px; }
@media (max-width: 700px) { .pfx-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pfx-img img { transition: none; } }
