/* ─── Tokens ─── */
:root {
  --bg: #0a0a0a;
  --bg-alt: #141210;
  --surface: #17140f;
  --ink: #f2ede2;
  --ink-2: #a39a8c;
  --ink-3: #6f6960;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #e0b23c;
  --accent-dim: #b8912e;
  --accent-bg: rgba(224, 178, 60, 0.10);
  --on-accent: #f3ead9;
  --ivory: #f3ead9;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --content-width: 1180px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--accent);
}

p { text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--accent);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: transparent;
  color: var(--accent);
  border-color: var(--ivory);
}

.btn-primary:hover { background: var(--ivory); color: var(--bg); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-strong);
}

.btn-ghost:hover { border-color: var(--ivory); color: var(--ink); }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wordmark .name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.wordmark .tag {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 160ms var(--ease-out);
}

.header-phone svg { color: var(--accent); flex-shrink: 0; }

.header-phone:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 160ms var(--ease-out);
}

.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}

/* ─── Hero ─── */
.hero {
  padding: 64px 0 0;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  margin: 18px 0 22px;
}

.hero-copy p {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) -5%, transparent 22%);
  pointer-events: none;
}

.hero-visual-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  background: rgba(33, 29, 26, 0.55);
  backdrop-filter: blur(6px);
  color: var(--on-accent);
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ─── Trust strip ─── */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 64px;
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.trust-strip strong { color: var(--ink); font-weight: 600; }

/* ─── Section shell ─── */
.section { padding: 100px 0; }

.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-top: 14px;
}

.section-head p {
  color: var(--ink-2);
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ─── About ─── */
.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-stats {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.about-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  color: var(--accent);
}

.about-stat .label {
  font-size: 0.88rem;
  color: var(--ink-2);
  margin-top: 2px;
}

.about-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.about-copy p {
  color: var(--ink-2);
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 18px;
  max-width: 62ch;
}

/* ─── Services ─── */
.services-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.service-group + .service-group { margin-top: 8px; }

.service-group h3 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 500;
  transition: padding-left 200ms var(--ease-out), color 200ms var(--ease-out);
}

.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-row .arrow {
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.service-row:hover {
  padding-left: 8px;
  color: var(--accent-dim);
}

.service-row:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.services-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.services-cta p { color: var(--ink-2); font-size: 0.98rem; }
.services-cta strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 4px; font-weight: 600; }

/* ─── Gallery (bento) ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.045); }

.gallery-item .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 0.74rem;
  color: var(--on-accent);
  background: rgba(33, 29, 26, 0.55);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }

.gallery-item.span-2x2 { grid-column: span 2; grid-row: span 2; }
.gallery-item.span-2x1 { grid-column: span 2; }
.gallery-item.span-1x2 { grid-row: span 2; }

/* ─── Process ─── */
.process-list {
  display: grid;
  gap: 0;
  max-width: 760px;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.process-step:last-child { border-bottom: 1px solid var(--line); }

.process-step .num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--accent);
}

.process-step h3 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.process-step p { color: var(--ink-2); max-width: 56ch; }

/* ─── CTA / Contact ─── */
.contact { background: var(--bg-alt); }

.contact .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.contact h2 { margin-top: 14px; font-size: clamp(1.9rem, 3vw, 2.6rem); }

.contact p.lede { color: var(--ink-2); margin-top: 14px; font-size: 1.05rem; max-width: 48ch; }

.contact-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-card .row:first-child { border-top: none; padding-top: 0; }

.contact-card .row .k {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-card .row .v { font-size: 1rem; font-weight: 500; color: var(--ink); }
.contact-card .row .v a:hover { color: var(--accent); }

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-row a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.social-row a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─── Footer ─── */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink-2);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.site-footer .wordmark .name { font-size: 1.05rem; }

/* ─── Reveal-on-scroll ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: opacity 300ms ease; transform: none; }
  .gallery-item img { transition: none; }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .header-right { gap: 16px; }
  .header-phone-text { display: none; }

  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); order: -1; }
  .hero-visual::after { background: linear-gradient(180deg, var(--bg) -5%, transparent 20%); }

  .about .wrap { grid-template-columns: 1fr; gap: 36px; }
  .services-groups { grid-template-columns: 1fr; gap: 8px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.span-2x2 { grid-column: span 2; grid-row: span 2; }
  .gallery-item.span-2x1 { grid-column: span 2; }

  .contact .wrap { grid-template-columns: 1fr; gap: 40px; }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
}

/* ─── Mobile nav drawer ─── */
.mobile-nav {
  position: fixed;
  top: 84px;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--bg);
  z-index: 49;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
}

/* ─── Lightbox ─── */
body.lightbox-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  background: rgba(5, 4, 3, 0.98);
  backdrop-filter: blur(4px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 20px 88px;
  overscroll-behavior: contain;
}

.lightbox[hidden] { display: none; }
.lightbox.is-open { display: flex; }

.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  touch-action: none;
  transform-origin: center center;
  will-change: transform;
}

.lightbox-img.is-zoomed { cursor: grab; }

.lightbox-img.is-dragging { cursor: grabbing; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background 160ms var(--ease-out);
}

.lightbox-close:hover,
.lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 3;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
  z-index: 3;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.lightbox-tag { color: var(--accent); font-weight: 600; }

.lightbox-count::before { content: '\2014'; margin-right: 12px; color: var(--ink-3); }

@media (max-width: 640px) {
  .lightbox { padding: 56px 12px 76px; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
