:root {
  --ink: #20262a;
  --ink-2: #2d3438;
  --cream: #f4eee2;
  --paper: #fffefa;
  --gold: #c89b45;
  --gold-light: #e7c87a;
  --muted: #6f7475;
  --line: rgba(32, 38, 42, 0.14);
  --white: #ffffff;
  --danger: #a43b32;
  --success: #2f6c4f;
  --shadow: 0 24px 60px rgba(22, 27, 30, 0.14);
  --radius: 4px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.eyebrow { margin: 0 0 .7rem; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.display { margin: 0; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: clamp(2.45rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.045em; }
h1, h2, h3 { font-family: "Manrope", "Segoe UI", Arial, sans-serif; line-height: 1.08; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { margin: 0; font-size: 1.35rem; }
p { margin: 0 0 1rem; text-align: justify; text-align-last: left; hyphens: auto; }
.work-list li, .legal-content li { text-align: justify; text-align-last: left; hyphens: auto; }
.lead {
  max-width: 64ch;
  color: #4f5557;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
  letter-spacing: .006em;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .6rem; border: 1px solid transparent; border-radius: 2px; padding: .8rem 1.25rem; background: var(--gold); color: var(--ink); font-weight: 800; text-decoration: none; transition: .2s ease; }
.button:hover { background: var(--gold-light); transform: translateY(-2px); }
.button--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: var(--white); }
.button--ghost:hover { border-color: var(--gold-light); background: rgba(255,255,255,.08); }
.button--dark { background: var(--ink); color: var(--white); }
.text-link { font-weight: 800; text-decoration-color: var(--gold); }

.site-header { position: relative; z-index: 50; background: var(--ink); color: var(--white); }
.header-top { border-bottom: 1px solid rgba(255,255,255,.1); }
.header-top__inner { min-height: 5.7rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--white); text-decoration: none; }
.brand__logo { width: 10.5rem; height: auto; border-radius: 2px; }
.site-footer .brand__logo { width: 13.5rem; }
.header-contact { display: flex; align-items: center; gap: 1.6rem; }
.header-contact a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; }
.header-contact a:hover { color: var(--gold-light); }
.nav-bar { background: var(--ink-2); }
.nav-bar__inner { min-height: 4.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { padding: .82rem .95rem; color: #eef0f0; font-size: .84rem; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-light); }
.nav-cta { color: var(--gold-light); font-size: .82rem; font-weight: 800; text-decoration: none; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); padding: .6rem; }
.menu-toggle span { display: block; width: 1.6rem; height: 2px; margin: .28rem 0; background: currentColor; }

.hero { position: relative; min-height: min(780px, calc(100vh - 158px)); overflow: hidden; background: #15191b; color: var(--white); }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity .7s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { background: linear-gradient(90deg, rgba(32,38,42,.72) 0%, rgba(32,38,42,.52) 38%, rgba(32,38,42,.10) 73%, rgba(32,38,42,.28) 100%); }
.hero__content { position: relative; z-index: 2; min-height: inherit; display: grid; align-content: center; padding-block: 5rem 7rem; }
.hero__content-inner { max-width: 780px; }
.hero .eyebrow { color: var(--gold-light); }
.hero__copy { max-width: 590px; margin: 1.4rem 0 2rem; color: #eef0f0; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__copy--sub { margin-top: -.9rem; font-size: 1rem; color: #fff8e9; }
.compare .lead { text-align: justify; text-align-last: left; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: normal; }
.project-video__frame { max-width: 980px; margin-inline: auto; background: var(--ink); box-shadow: var(--shadow); }
.project-video video { display: block; width: 100%; height: auto; max-height: 72vh; background: #111; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__controls { position: absolute; z-index: 4; right: max(1rem, calc((100vw - var(--container))/2)); bottom: 2.2rem; display: flex; align-items: center; gap: .6rem; }
.hero__arrow { width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.5); background: rgba(25,30,33,.46); color: var(--white); }
.hero__arrow:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero__dots { display: flex; gap: .45rem; }
.hero__dot { width: 2.2rem; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.38); }
.hero__dot.is-active { background: var(--gold-light); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--white); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-head__copy { max-width: 650px; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.intro-stat { border-left: 1px solid var(--gold); padding-left: 1.3rem; }
.intro-stat strong { display: block; font: 800 clamp(2rem,4vw,3.6rem)/1 "Manrope", sans-serif; }
.intro-stat span { color: var(--muted); }
.intro-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 2.4rem; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.service-card { min-height: 17rem; padding: 2rem; background: var(--ink); }
.service-card h3, .service-card h3 a { color: var(--white); }
.service-card h3 a { text-decoration-color: var(--gold-light); text-underline-offset: .18em; }
.service-card h3 a:hover, .service-card > .text-link { color: var(--gold-light); }
.service-card__number { display: block; margin-bottom: 3.4rem; color: var(--gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.service-card p { margin-top: .85rem; color: #c7cbcc; }

.compare { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.compare-frame { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #ddd; box-shadow: var(--shadow); touch-action: none; }
.compare-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-frame__after { clip-path: inset(0 0 0 var(--compare, 50%)); }
.compare-frame__line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--compare,50%); width: 2px; transform: translateX(-1px); background: var(--gold-light); pointer-events: none; }
.compare-frame__handle { position: absolute; top: 50%; left: 50%; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.compare-frame__label { position: absolute; z-index: 4; top: 1rem; padding: .45rem .65rem; background: rgba(23,28,30,.82); color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.compare-frame__label--before { left: 1rem; }
.compare-frame__label--after { right: 1rem; background: var(--gold); color: var(--ink); }
.compare-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.project-card { position: relative; min-height: 30rem; overflow: hidden; background: var(--ink); color: var(--white); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,18,20,.92), rgba(15,18,20,.05) 70%); }
.project-card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.7rem; }
.project-card__meta { margin-bottom: .5rem; color: var(--gold-light); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-card__body p { margin: .7rem 0 1rem; color: #e0e3e3; }
.project-card__link { position: absolute; z-index: 3; inset: 0; }
.project-card__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.project-card:hover img { transform: scale(1.035); }

.page-hero { background: var(--ink); color: var(--white); padding: clamp(4rem,8vw,7rem) 0; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: end; }
.page-hero .lead { color: #cbd0d1; }
.breadcrumbs { margin-bottom: 1.4rem; color: #b6bbbd; font-size: .86rem; }
.breadcrumbs a { color: var(--gold-light); }

.detail-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(2rem,6vw,6rem); align-items: start; }
.detail-sidebar { position: sticky; top: 1.5rem; }
.facts { display: grid; gap: 1px; margin: 2rem 0; border: 1px solid var(--line); background: var(--line); }
.fact { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; background: var(--paper); }
.fact span { color: var(--muted); }
.work-list { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.work-list li { position: relative; padding: .75rem 0 .75rem 1.35rem; border-bottom: 1px solid var(--line); }
.work-list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .45rem; height: .45rem; background: var(--gold); }

.gallery-toolbar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.filter-button { border: 1px solid var(--line); border-radius: 999px; padding: .55rem .85rem; background: transparent; color: var(--ink); font-weight: 750; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.gallery { columns: 2; column-gap: .9rem; }
.gallery-empty { display: block; margin: 0; padding: 1.5rem; background: var(--cream); color: var(--muted); text-align: center; }
.gallery-item { width: 100%; margin: 0 0 .9rem; padding: 0; border: 0; background: #ddd; break-inside: avoid; overflow: hidden; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: auto; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.02); }
.gallery-item__stage { position: absolute; left: .7rem; bottom: .7rem; padding: .35rem .5rem; background: rgba(20,24,26,.82); color: var(--white); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gallery-item { position: relative; }

.lightbox { position: fixed; z-index: 200; inset: 0; display: none; place-items: center; background: rgba(11,14,15,.94); color: var(--white); }
.lightbox.is-open { display: grid; }
.lightbox__figure { margin: 0; max-width: min(92vw, 1400px); max-height: 88vh; }
.lightbox__figure img { max-width: 100%; max-height: 82vh; margin: auto; object-fit: contain; }
.lightbox__caption { margin-top: .6rem; text-align: center; color: #d8dbdc; }
.lightbox__button { position: absolute; width: 3.2rem; height: 3.2rem; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); color: var(--white); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; }
.lightbox__next { right: 1rem; top: 50%; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-step { padding: 1.7rem; background: var(--paper); }
.process-step strong { display: block; margin-bottom: 2.8rem; color: var(--gold); font-size: .78rem; letter-spacing: .12em; }
.content-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(2rem,6vw,6rem); }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem,7vw,7rem); }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list a { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 800; text-decoration-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1/-1; }
.field label { font-weight: 750; }
.field input, .field textarea { width: 100%; border: 1px solid #b9bdbe; border-radius: 2px; padding: .9rem 1rem; background: var(--white); color: var(--ink); }
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid rgba(200,155,69,.22); }
.checkbox { display: flex; align-items: flex-start; gap: .65rem; }
.checkbox input { width: 1.2rem; height: 1.2rem; margin-top: .28rem; accent-color: var(--gold); }
.checkbox a { font-weight: 700; text-decoration-color: var(--gold); }
.form-note { color: var(--muted); font-size: .88rem; }
.status { margin-bottom: 1.2rem; padding: .9rem 1rem; border-left: 4px solid; }
.status--success { border-color: var(--success); background: #edf7f1; color: #1e5139; }
.status--error { border-color: var(--danger); background: #fbefed; color: #7b2c25; }
.honeypot { position: absolute !important; left: -9999px !important; }

.cta-strip { background: var(--gold); color: var(--ink); padding: 2rem 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-strip h2 { font-size: clamp(1.5rem,3vw,2.4rem); }
.site-footer { background: #171b1d; color: #c8cccd; }
.footer-main { display: grid; grid-template-columns: 1.2fr .65fr 1.1fr .85fr; gap: 2.5rem; padding: 4rem 0; }
.footer-title { margin-bottom: 1rem; color: var(--white); font-weight: 800; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-details { font-size: .92rem; line-height: 1.55; }
.footer-details strong { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.09); color: #929899; font-size: .82rem; }

.legal-layout { display: grid; grid-template-columns: minmax(0, 52rem); justify-content: center; }
.legal-content { font-size: 1.03rem; }
.legal-content h2 { margin: 2.7rem 0 1rem; font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.025em; }
.legal-content h2:first-of-type { margin-top: 1.5rem; }
.legal-content ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.legal-content li + li { margin-top: .55rem; }
.legal-updated { padding: 1rem 1.15rem; border-left: 4px solid var(--gold); background: var(--cream); }

@media (max-width: 980px) {
  .header-contact { display: none; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .site-nav { position: fixed; inset: 5.7rem 0 0; z-index: 60; display: none; align-content: start; padding: 2rem 1rem; background: var(--ink); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .intro-grid, .compare, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid, .projects-grid { grid-template-columns: repeat(2,1fr); }
  .detail-sidebar { position: static; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .brand__logo { width: 9.25rem; }
  .hero { min-height: 670px; }
  .hero__content { align-content: end; padding-bottom: 7.5rem; }
  .hero__shade { background: linear-gradient(0deg, rgba(16,20,22,.94), rgba(16,20,22,.2) 75%); }
  .hero__controls { left: 1rem; right: auto; }
  .section-head, .cta-strip__inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .intro-stats, .service-grid, .projects-grid, .process-grid, .content-columns, .form-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 25rem; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery { columns: 1; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .field--full { grid-column: auto; }
  .lightbox__prev { left: .35rem; }
  .lightbox__next { right: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
