:root {
  --white: #ffffff;
  --cream: #f7f2ec;
  --sand: #e9dfd3;
  --walnut: #2b1d14;
  --brown: #5a3d2b;
  --mid: #8a6a54;
  --gold: #b98a4a;
  --gold-soft: #d9b77e;
  --line: rgba(43, 29, 20, .14);
  --serif: "Noto Serif Display", "GFS Didot", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; color: var(--walnut); background: var(--white); line-height: 1.7; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 11vw, 160px) 0; }

h1, h2 { font-family: var(--serif); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
h1 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.6rem); }
h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.25; }

.eyebrow { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-soft); }
.star { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; background: var(--walnut); color: var(--white); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.btn:hover { background: var(--gold); transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn-sm { padding: 11px 18px; font-size: .78rem; letter-spacing: .08em; }
.btn-light { background: var(--white); color: var(--walnut); }
.btn-light:hover { background: var(--gold); color: var(--white); }
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: var(--white); color: var(--walnut); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap .35s var(--ease), color .3s; }
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 20px; color: var(--gold); }
.link-arrow.light { color: var(--white); }
.link-arrow.light:hover { color: var(--gold-soft); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); color: var(--white); transition: background .4s var(--ease), color .4s var(--ease), padding .4s var(--ease), box-shadow .4s; }
.nav.is-solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); color: var(--walnut); padding-top: 11px; padding-bottom: 11px; box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 37px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-weight: 500; letter-spacing: .2em; font-size: 1rem; }
.brand-text em { font-family: var(--serif); font-style: italic; font-size: .78rem; color: var(--gold-soft); letter-spacing: .06em; }
.nav.is-solid .brand-text em { color: var(--gold); }
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-links a { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav .btn-sm { background: var(--white); color: var(--walnut); }
.nav.is-solid .btn-sm { background: var(--walnut); color: var(--white); }
.nav .btn-sm:hover { background: var(--gold); color: var(--white); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: flex; align-items: flex-end; color: var(--white); background: var(--walnut); }
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 62%; transform: scale(1.14); animation: heroIn 1.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 15, 9, .55) 0%, rgba(25, 15, 9, .12) 32%, rgba(25, 15, 9, .55) 68%, rgba(25, 15, 9, .88) 100%); }
.hero-inner { position: relative; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad) clamp(84px, 12vh, 140px); will-change: transform, opacity; }
.hero h1 { max-width: 14ch; margin-bottom: 26px; }
.hero h1 em { color: var(--gold-soft); }
.hero-sub { max-width: 54ch; font-size: clamp(1rem, 1.3vw, 1.14rem); font-weight: 300; opacity: .92; margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.hero-inner > * { opacity: 0; transform: translateY(26px); animation: rise .8s var(--ease) forwards; }
.hero-inner > :nth-child(1) { animation-delay: .05s; } .hero-inner > :nth-child(2) { animation-delay: .15s; }
.hero-inner > :nth-child(3) { animation-delay: .25s; } .hero-inner > :nth-child(4) { animation-delay: .35s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; right: var(--pad); bottom: 0; width: 1px; height: 96px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--gold-soft); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--white); }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; will-change: transform; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 2.4vw, 2rem); color: var(--brown); white-space: nowrap; }
.marquee-track i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.clip { overflow: hidden; }
.clip img { transform: scale(1.16); clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
.clip.in img { clip-path: inset(0); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-text h2 { margin-bottom: 30px; }
.about-text p { color: var(--brown); max-width: 52ch; margin-bottom: 18px; }
.about-text .lead { font-size: 1.12rem; color: var(--walnut); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.2; margin-bottom: 6px; }
.facts span:not(.star) { font-size: .8rem; color: var(--mid); line-height: 1.4; display: block; }
.about-media { position: relative; padding-bottom: 18%; }
.about-media .img-a { width: 78%; aspect-ratio: 4 / 5; }
.about-media .img-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 10px solid var(--white); }
.about-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* Services */
.services { background: var(--cream); }
.section-head { margin-bottom: clamp(40px, 6vw, 76px); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.service { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) 130px; align-items: center; gap: 30px; padding: 30px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease), opacity 1s var(--ease), transform 1s var(--ease); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .num, .step .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.service p { color: var(--brown); font-size: .96rem; max-width: 52ch; }
.service img { width: 130px; height: 92px; object-fit: cover; filter: saturate(.92); transition: transform .7s var(--ease), filter .5s; }
.service h3 { transition: color .4s, transform .5s var(--ease); }
@media (hover: hover) {
  .service:hover { padding-left: 14px; }
  .service:hover h3 { color: var(--gold); }
  .service:hover img { transform: scale(1.08); filter: none; }
}

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 10px 18px; border: 1px solid var(--line); color: var(--brown); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--walnut); color: var(--walnut); }
.chip.is-active { background: var(--walnut); border-color: var(--walnut); color: var(--white); }
.gallery { columns: 3; column-gap: 16px; }
.g-item { display: block; width: 100%; margin-bottom: 16px; break-inside: avoid; position: relative; overflow: hidden; background: var(--sand); cursor: zoom-in; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.g-item.in { opacity: 1; transform: none; }
.g-item.hide { display: none; }
.g-item img { width: 100%; transition: transform 1.1s var(--ease); }
.g-item::after { content: attr(data-label); position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--white); text-align: left; background: linear-gradient(transparent, rgba(25, 15, 9, .7)); opacity: 0; transition: opacity .45s; }
@media (hover: hover) { .g-item:hover img { transform: scale(1.06); } .g-item:hover::after { opacity: 1; } }
.gallery-more { text-align: center; margin-top: 54px; }

/* Band */
.band { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--walnut); }
.band-media { position: absolute; inset: -18% 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band-shade { position: absolute; inset: 0; background: rgba(30, 19, 12, .72); }
.band-inner { position: relative; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.band blockquote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.9rem); line-height: 1.32; max-width: 24ch; margin: 0 auto 30px; max-width: 900px; }
.band figcaption { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.band .star { color: var(--gold-soft); letter-spacing: .2em; margin-right: 10px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); padding-left: 28px; }
.step:first-child { padding-left: 0; } .step:last-child { border-right: 0; }
.step h3 { margin: 16px 0 12px; }
.step p { color: var(--brown); font-size: .95rem; }

/* Contact */
.contact { background: var(--walnut); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.contact h2 { margin-bottom: 20px; }
.contact h2 em { color: var(--gold-soft); }
.contact-text > p { color: rgba(255, 255, 255, .74); max-width: 44ch; }
.phone { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.1; margin: 30px 0 30px; color: var(--white); background: linear-gradient(var(--gold-soft), var(--gold-soft)) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease), color .4s, opacity 1s var(--ease), transform 1s var(--ease); white-space: nowrap; }
.phone:hover { background-size: 100% 1px; color: var(--gold-soft); }
.contact-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
.details { margin-top: 52px; border-top: 1px solid rgba(255, 255, 255, .16); }
.details > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.details dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); padding-top: 4px; }
.details dd { color: rgba(255, 255, 255, .86); font-size: .96rem; }
.details a:hover { color: var(--gold-soft); }
.map { position: relative; min-height: 440px; background: #3a2a1f; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.18) contrast(1.02); }

/* Footer */
.footer { background: #1f140d; color: rgba(255, 255, 255, .6); font-size: .8rem; padding: 26px 0; }
.footer-in { display: flex; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap; }
.footer a:hover { color: var(--gold-soft); }

/* Mobile call button */
.call-fab { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(43, 29, 20, .35); transform: translateY(90px); transition: transform .5s var(--ease); }
.call-fab.show { transform: none; }
.call-fab svg { width: 24px; height: 24px; fill: var(--white); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 12, 7, .95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1300px); max-height: 88vh; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; color: var(--white); font-size: 2.2rem; width: 56px; height: 56px; line-height: 1; opacity: .75; transition: opacity .3s, color .3s; font-family: var(--serif); }
.lb-close:hover, .lb-nav:hover { opacity: 1; color: var(--gold-soft); }
.lb-close { top: 14px; right: 16px; } .lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* Responsive */
@media (max-width: 1000px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 620px; }
  .gallery { columns: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .service { grid-template-columns: 50px 1fr 110px; gap: 8px 20px; }
  .service h3 { grid-column: 2; } .service p { grid-column: 2; grid-row: 2; }
  .service img { grid-column: 3; grid-row: 1 / span 2; width: 110px; height: 110px; }
  .service .num { grid-row: 1; align-self: start; padding-top: 4px; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav .btn-sm span { display: none; }
  .nav .btn-sm { padding: 11px; }
  .nav-links { position: fixed; inset: 0; background: var(--walnut); color: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 30px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; z-index: -1; }
  .nav-links a { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .02em; text-transform: none; font-weight: 300; }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; }
  .nav.menu-open { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav.menu-open .brand-text em { color: var(--gold-soft); }
  .hero-media img { object-position: 30% 60%; }
  .scroll-cue { display: none; }
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .gallery { column-gap: 10px; } .g-item { margin-bottom: 10px; }
  .steps { grid-template-columns: 1fr; }
  .service { grid-template-columns: 34px 1fr; }
  .service img { display: none; }
  .details > div { grid-template-columns: 1fr; gap: 4px; }
  .map { min-height: 340px; }
  .call-fab { display: flex; }
  .footer-in { flex-direction: column; }
  .section-head.split { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal, .g-item, .hero-inner > * { opacity: 1; transform: none; }
  .clip img { clip-path: none; transform: none; } .hero-media img { transform: none; }
}
