:root {
  --ink: #1d1d1d;
  --charcoal: #404041;
  --text: #4a4947;
  --muted: #7a766f;
  --bg: #ffffff;
  --stone: #f6f3ee;
  --line: #e6e0d6;
  --accent: #9a7849;
  --accent-dark: #7c5f37;
  --dark: #171716;
  --dark-2: #222120;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--dark); color: #cfcac2; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #d8bf98; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--charcoal); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.rule { width: 56px; height: 1px; background: var(--accent); border: 0; margin: 28px 0; }
.section-head--center .rule { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 520px) { .btn-row > .btn { flex: 1 1 100%; } }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 172px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav-list { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-list a, .nav-list button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--charcoal); white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-list a:hover, .nav-list button:hover { color: var(--accent); }
.nav-list [aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.has-sub { position: relative; }
.has-sub > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.sub {
  position: absolute; top: calc(100% + 14px); left: -24px;
  min-width: 270px; list-style: none; margin: 0; padding: 14px 0;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.sub a { display: block; padding: 9px 24px; letter-spacing: .12em; border: 0; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.header-cta .btn { padding: 13px 22px; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 26px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1240px) {
  .header-phone { display: none; }
  .nav, .nav-list { gap: 26px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .brand img { width: 148px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a, .nav-list button { width: 100%; justify-content: space-between; padding: 18px 0; font-size: .85rem; border-bottom: 0; white-space: normal; }
  .nav-list [aria-current="page"] { color: var(--accent); }
  .sub { position: static; display: none; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { padding: 10px 0 10px 16px; color: var(--muted); }
  .header-cta { flex-direction: column; align-items: stretch; margin-top: 28px; gap: 16px; }
  .header-phone { display: block; text-align: center; font-size: 1.05rem; }
  .header-cta .btn { padding: 16px 22px; }
  body.nav-open { overflow: hidden; }
}

/* Home hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.3) 0%, rgba(10,10,10,.22) 40%, rgba(10,10,10,.72) 100%), linear-gradient(90deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 65%); }
.hero .eyebrow, .page-hero .eyebrow, .feature .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero h1, .hero p, .page-hero h1, .page-hero p { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.page-hero--plain h1, .page-hero--plain p, .page-hero--plain .eyebrow { text-shadow: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-block: clamp(120px, 18vh, 200px) clamp(64px, 10vh, 110px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 22px; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,.88); }
.hero-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: 40px; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button::before { content: ""; display: block; height: 20px; margin-top: -9px; }
.hero-dots button.is-active { background: #fff; }

/* Inner page hero */
.page-hero { position: relative; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.25), rgba(10,10,10,.7)); }
.page-hero .container { position: relative; z-index: 2; padding-block: 120px clamp(48px, 7vw, 80px); }
.page-hero h1 { color: #fff; max-width: 18ch; margin-bottom: 14px; }
.page-hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 620px; }
.page-hero--plain { min-height: 0; background: var(--stone); color: var(--text); }
.page-hero--plain .container { padding-block: clamp(64px, 9vw, 112px) clamp(48px, 6vw, 80px); }
.page-hero--plain::after { display: none; }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain p { color: var(--charcoal); }
.page-hero--plain .eyebrow { color: var(--accent); }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media--wide img { aspect-ratio: 4 / 3; }
.split-media .accent-frame { position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--accent); z-index: -1; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split-media .accent-frame { display: none; }
}

/* Services cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.service-card { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; background: var(--dark); }
.service-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .92; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,.78)); }
.service-card span { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.service-card h3 { color: #fff; font-size: 1.55rem; margin: 0 0 8px; }
.service-card em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #d8bf98; }
.service-card:hover img { transform: scale(1.05); opacity: 1; }

/* Before / after */
.ba { position: relative; overflow: hidden; user-select: none; background: #ddd; --pos: 50%; }
.ba img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ba .ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-before img { height: 100%; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-line::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 1.15rem; letter-spacing: .2em; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 18px; z-index: 2; padding: 6px 12px; background: rgba(15,15,15,.6); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .2em; pointer-events: none; }
.ba-label--before { left: 18px; }
.ba-label--after { right: 18px; }

/* Featured project */
.feature { position: relative; min-height: clamp(460px, 70vh, 680px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.1) 100%); }
.feature .container { position: relative; z-index: 2; }
.feature h2 { color: #fff; max-width: 14ch; }
.feature p { max-width: 460px; font-size: 1.15rem; color: rgba(255,255,255,.88); }

/* Project grid */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.project-card { display: block; text-decoration: none; color: inherit; }
.project-card figure { margin: 0 0 18px; overflow: hidden; background: var(--stone); }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease); }
.project-card:hover img { transform: scale(1.045); }
.project-card h3 { font-size: 1.6rem; margin: 0 0 4px; transition: color .2s; }
.project-card:hover h3 { color: var(--accent); }
.project-card p { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 980px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .project-grid { grid-template-columns: 1fr; } }
.center-cta { text-align: center; margin-top: clamp(40px, 6vw, 64px); }

/* Testimonials */
.testimonials { position: relative; }
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 28px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { scroll-snap-align: start; margin: 0; padding: clamp(28px, 3vw, 40px); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.section--dark .t-card { background: var(--dark-2); border-color: #34322f; }
.t-card blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: 1.32rem; line-height: 1.5; color: var(--ink); flex: 1; }
.section--dark .t-card blockquote { color: #f1ece4; }
.t-card blockquote::before { content: "“"; display: block; font-size: 3.6rem; line-height: .6; color: var(--accent); margin-bottom: 14px; }
.t-card figcaption { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.t-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 28px; }
.t-nav button { width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.1rem; transition: background .2s, color .2s; }
.section--dark .t-nav button { border-color: #45423e; color: #fff; }
.t-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 980px) { .t-track { grid-auto-columns: calc((100% - 28px) / 2); } }
@media (max-width: 640px) { .t-track { grid-auto-columns: 88%; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
.step { background: #fff; padding: 34px 28px; counter-increment: step; }
.section--stone .step { background: var(--stone); }
.section--dark .steps { background: #34322f; border-color: #34322f; }
.section--dark .step { background: var(--dark); }
.section--dark .step p { color: #a9a49c; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { font-size: .96rem; margin: 0; }

/* Feature lists */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); list-style: none; margin: 0; padding: 0; }
.features li { padding: 26px 0 26px 44px; border-top: 1px solid var(--line); position: relative; }
.section--dark .features li { border-color: #34322f; }
.features li::before { content: ""; position: absolute; left: 4px; top: 34px; width: 16px; height: 8px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.features strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; line-height: 1.25; }
.section--dark .features strong { color: #fff; }
.features span { font-size: .98rem; }
.features--single { grid-template-columns: 1fr; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.info-card { padding: 36px 32px; border: 1px solid var(--line); background: #fff; }
.info-card h3 { font-size: 1.55rem; }
.info-card p { font-size: .98rem; }

.tick-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.tick-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }

.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }

/* CTA band */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--dark); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 560px; margin-inline: auto; color: rgba(255,255,255,.85); font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-details { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-details li { padding: 20px 0; border-top: 1px solid var(--line); }
.section--dark .contact-details li { border-color: #34322f; }
.contact-details small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-details a, .contact-details span { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.section--dark .contact-details a, .section--dark .contact-details span { color: #fff; }
.contact-details a:hover { color: var(--accent); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); }
.section--dark .form { background: var(--dark-2); border-color: #34322f; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.section--dark .field label { color: #cfcac2; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--stone); border: 1px solid transparent; border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.section--dark .field input, .section--dark .field textarea { background: #2c2b29; color: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.section--dark .field input:focus, .section--dark .field textarea:focus { background: #333230; }
.field textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-alert { grid-column: 1 / -1; padding: 14px 18px; background: #fbeee9; color: #8a3b22; border-left: 3px solid #c0623f; font-size: .95rem; }
.form-alert[hidden] { display: none; }
.form .btn { justify-self: start; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Project page */
.project-meta { display: flex; flex-wrap: wrap; gap: 14px 48px; padding: 28px 0; margin-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.project-meta div small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.project-meta div span { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); }
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery a { display: block; margin-bottom: 18px; break-inside: avoid; overflow: hidden; cursor: zoom-in; background: var(--stone); }
.gallery img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }
.project-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.project-pager a { text-decoration: none; display: block; }
.project-pager small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.project-pager span { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); transition: color .2s; }
.project-pager a:hover span { color: var(--accent); }
.project-pager .next { text-align: right; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(12,12,12,.95); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 18px; font-size: 2rem; line-height: 1; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .2em; }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; padding: 26px var(--gutter); background: var(--stone); border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal); text-align: center; }
.trust span::before { content: "◆"; color: var(--accent); margin-right: 12px; font-size: .6rem; vertical-align: 2px; }

/* Footer */
.site-footer { background: var(--dark); color: #a9a49c; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(64px, 8vw, 96px); }
.footer-brand img { width: 180px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 22px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: #a9a49c; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 24px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #3a3835; border-radius: 50%; }
.social a:hover { border-color: var(--accent); background: var(--accent); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; border-top: 1px solid #2c2a28; font-size: .82rem; color: #7d7870; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { 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; }
}
