/* =========================================================
   Akmer Mermer & Granit — styles.css
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #14120f;
  --ink-2: #4e4a42;
  --ink-3: #7e786d;
  --paper: #f5f2eb;
  --paper-2: #ebe6db;
  --white: #ffffff;
  --coal: #12100d;
  --coal-2: #1a1713;
  --coal-3: #252019;
  --gold: #c9a24a;
  --gold-2: #e6c77a;
  --gold-3: #8f6f24;
  --gold-grad: linear-gradient(135deg, #e9cf86 0%, #c9a24a 45%, #8f6f24 100%);
  --line: rgba(20, 18, 15, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --container-wide: 1480px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p, dl, dd, figure, blockquote, address { margin: 0; }

address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--coal); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--coal);
  color: var(--white);
  border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section {
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
}
.section--tight { padding-block: clamp(64px, 9vw, 120px); }
.section--dark {
  background: var(--coal);
  color: #efe9dc;
}
.section--dark .section__lead { color: rgba(239, 233, 220, 0.72); }
.section--paper { background: var(--paper-2); }

.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head--row {
  max-width: none;
  display: grid;
  gap: 24px 64px;
  align-items: end;
}
@media (min-width: 900px) {
  .section__head--row { grid-template-columns: 1.2fr 1fr; }
  .section__head--row .section__lead { margin-top: 0; padding-bottom: 8px; }
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section__lead {
  margin-top: 20px;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--ink-2);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.eyebrow__num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  color: var(--gold-3);
}
.eyebrow--light { color: rgba(239, 233, 220, 0.6); }
.eyebrow--light .eyebrow__num { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--coal);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  box-shadow: 0 14px 30px -12px rgba(201, 162, 74, 0.6);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }

.btn--dark {
  background: var(--coal);
  color: var(--paper);
  border-color: var(--coal);
}
.btn--dark:hover { background: var(--coal-3); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  position: relative;
}
.link-arrow::after {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  transition: width .35s var(--ease-out);
}
.link-arrow:hover::after { width: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background-color .4s, height .4s, box-shadow .4s, color .4s;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0));
  pointer-events: none;
  opacity: 1;
  transition: opacity .4s;
}
.site-header.is-scrolled {
  height: 68px;
  background: rgba(18, 16, 13, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header.is-scrolled::before { opacity: 0; }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 3;
}
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__tag {
  margin-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

.site-nav { display: none; }
.site-nav__list { display: flex; gap: 32px; }
.site-nav__list a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: .85;
  position: relative;
  padding-block: 6px;
  transition: opacity .25s;
}
.site-nav__list 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-out);
}
.site-nav__list a:hover { opacity: 1; }
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-nav__contact { display: flex; align-items: center; gap: 22px; }
.site-nav__phone {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.site-header__call {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  margin-left: auto;
}
.site-header__call svg { width: 18px; height: 18px; }

.nav-toggle {
  position: relative;
  z-index: 3;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
}
.nav-toggle span {
  grid-area: 1 / 1;
  width: 26px; height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav-toggle span:first-child { transform: translateY(-5px); }
.nav-toggle span:last-child { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (min-width: 1000px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-left: auto;
  }
  .site-header__call,
  .nav-toggle { display: none; }
}

/* Mobile menu (overlay) */
@media (max-width: 999.98px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background: var(--coal);
    color: var(--paper);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .6s var(--ease-in-out), visibility 0s .6s;
  }
  body.nav-open .site-nav {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .6s var(--ease-in-out);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { color: var(--white); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  body.nav-open .site-header::before { opacity: 0; }

  .site-nav__list { flex-direction: column; gap: 8px; }
  .site-nav__list a {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s, transform .6s var(--ease-out);
  }
  .site-nav__list a::after { display: none; }
  body.nav-open .site-nav__list a { opacity: 1; transform: none; }
  body.nav-open .site-nav__list li:nth-child(1) a { transition-delay: .25s; }
  body.nav-open .site-nav__list li:nth-child(2) a { transition-delay: .30s; }
  body.nav-open .site-nav__list li:nth-child(3) a { transition-delay: .35s; }
  body.nav-open .site-nav__list li:nth-child(4) a { transition-delay: .40s; }
  body.nav-open .site-nav__list li:nth-child(5) a { transition-delay: .45s; }
  body.nav-open .site-nav__list li:nth-child(6) a { transition-delay: .50s; }

  .site-nav__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--line-light);
    opacity: 0;
    transition: opacity .5s .55s;
  }
  body.nav-open .site-nav__contact { opacity: 1; }
  .site-nav__phone { font-size: 1.25rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--coal);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__media picture,
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__img {
  transform: scale(1.06);
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18,16,13,.92) 0%, rgba(18,16,13,.55) 40%, rgba(18,16,13,.25) 70%, rgba(18,16,13,.35) 100%),
    linear-gradient(to right, rgba(18,16,13,.55), rgba(18,16,13,0) 60%);
}

.hero__content {
  padding-top: calc(var(--header-h) + 8vh);
  padding-bottom: 6vh;
}
.hero__eyebrow { color: var(--gold); }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__line { display: block; }
@media (max-width: 640px) {
  /* let the headline wrap naturally on narrow screens */
  .hero__line { display: inline; }
  .js .hero__line { transform: none; }
  .hero__title { font-size: clamp(2.35rem, 11vw, 3rem); line-height: 1.05; }
}
.hero__lead {
  margin-top: 28px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: rgba(255,255,255,.8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 640px) {
  .hero__foot { padding-block: 16px 20px; padding-right: 88px; }
  .hero__facts { gap: 6px 16px; font-size: 0.68rem; }
  .hero__facts li:nth-child(3) { display: none; }
}
.hero__scroll {
  display: none;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero__scroll-line {
  width: 56px; height: 1px;
  background: rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@media (min-width: 900px) {
  .hero__scroll { display: inline-flex; }
}

/* Hero entrance (JS sets final state; CSS holds initial) */
.js [data-hero] { opacity: 0; transform: translateY(28px); }
.js .hero__line { transform: translateY(40px); }

/* ---------- Scroll reveal (kitchen) ---------- */
.reveal {
  position: relative;
  background: var(--coal);
  color: var(--paper);
  height: 420svh; /* scroll runway; JS pins the inner */
}
.reveal__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.reveal__intro {
  position: absolute;
  top: clamp(96px, 14svh, 160px);
  left: 0; right: 0;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.reveal__intro .eyebrow { color: var(--gold); margin-bottom: 18px; }
.reveal__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.reveal__hint {
  margin-top: 20px;
  font-size: 0.95rem;
  color: rgba(245,242,235,.65);
  max-width: 44ch;
}

.reveal__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(52% 30% 8% 30% round 2px);
  will-change: clip-path;
}
.reveal__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,16,13,.55), rgba(18,16,13,0) 45%);
  opacity: 0;
  transition: opacity .6s;
}
.reveal__frame.is-open::after { opacity: 1; }
.reveal__frame picture,
.reveal__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
}
.reveal__img {
  transform-origin: 65% 70%;
  will-change: transform;
}
@media (max-width: 700px) {
  .reveal__frame { clip-path: inset(50% 8% 8% 8% round 2px); }
}

.reveal__caption {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(32px, 8vh, 96px);
  max-width: 440px;
  padding: 26px 28px 28px;
  background: rgba(18,16,13,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 2px solid var(--gold);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.reveal__caption h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1.1;
  margin-top: 6px;
}
.reveal__caption p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(245,242,235,.78);
}
.reveal__num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}
@media (max-width: 640px) {
  .reveal__caption { bottom: 92px; padding: 20px 22px 22px; }
  .reveal__caption h3 { font-size: 1.6rem; }
}
@media (min-width: 900px) {
  .reveal__caption--2 { left: auto; right: var(--gutter); }
  .reveal__caption--3 { left: 50%; right: auto; transform: translate(-50%, 24px); }
}

/* Reduced motion / no-JS fallback for reveal */
@media (prefers-reduced-motion: reduce) {
  .reveal { height: auto; }
  .reveal__pin { position: relative; height: auto; display: block; }
  .reveal__intro { position: relative; padding: 80px var(--gutter) 40px; }
  .reveal__frame { position: relative; height: 70vh; clip-path: none; }
  .reveal__caption { position: relative; opacity: 1; transform: none; margin: 24px auto; }
  .hero__scroll-line::after { animation: none; }
  html { scroll-behavior: auto; }
}
.no-js .reveal { height: auto; }
.no-js .reveal__pin { position: relative; height: auto; display: block; }
.no-js .reveal__intro { position: relative; padding: 80px var(--gutter) 40px; }
.no-js .reveal__frame { position: relative; height: 70vh; clip-path: none; }
.no-js .reveal__caption { position: relative; opacity: 1; transform: none; margin: 24px auto; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.service-list {
  display: grid;
  gap: clamp(64px, 9vw, 128px);
}
.service {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .service:nth-child(even) .service__media { order: 2; }
}
.service__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.service__media picture { width: 100%; height: 100%; will-change: transform; }
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.service:hover .service__media img { transform: scale(1.04); }

.service__num,
.step__num,
.reveal__num {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.service__num {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-3);
}
.service__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  margin-top: 10px;
}
.service__body > p {
  margin-top: 20px;
  color: var(--ink-2);
  max-width: 54ch;
}
.service__points {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.service__points li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--ink);
}
.service__points li::before {
  content: "";
  flex: none;
  width: 18px; height: 1px;
  background: var(--gold-3);
  transform: translateY(-4px);
}
.service__body .link-arrow { margin-top: 28px; }

/* ---------- Lamar ---------- */
.lamar { overflow: hidden; }
.lamar__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1000px) {
  .lamar__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 120px); }
}
.lamar .section__title { color: #f3eee3; }

.spec-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 32px;
}
.spec {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line-light);
}
.spec dt {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.spec dd {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(239,233,220,.78);
}
.lamar__note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 1px solid var(--gold-3);
  font-size: 0.95rem;
  color: rgba(239,233,220,.66);
  max-width: 52ch;
}

.lamar__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 720px;
}
.lamar__media { overflow: hidden; }
.lamar__media picture,
.lamar__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.lamar__frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(201,162,74,.45);
  pointer-events: none;
}
@media (max-width: 999.98px) {
  .lamar__media { aspect-ratio: 4 / 3; }
  .lamar__frame { inset: 16px -12px -16px 16px; }
}

.marquee {
  margin-top: clamp(64px, 8vw, 120px);
  border-block: 1px solid var(--line-light);
  overflow: hidden;
  padding-block: 18px;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  color: rgba(239,233,220,.55);
  padding: 0 28px;
  white-space: nowrap;
  position: relative;
}
.marquee__track span::after {
  content: "";
  position: absolute;
  right: -3px; top: 50%;
  width: 6px; height: 6px;
  background: var(--gold-3);
  transform: translateY(-50%) rotate(45deg);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- Process ---------- */
.process { background: var(--paper); }
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  position: relative;
  padding: 36px 28px 40px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .step { padding-right: 32px; border-right: 1px solid var(--line); }
  .step:last-child { border-right: 0; }
  .steps > .step:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1100px) {
  .steps > .step:nth-child(2n) { border-right: 1px solid var(--line); }
  .step:last-child { border-right: 0; }
}
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 1.2s var(--ease-out);
}
.step.is-inview::before { width: 100%; }
.step__num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-3);
}
.step h3 {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.15;
}
.step p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 42vw;
  grid-auto-flow: dense;
  gap: 12px;
}
@media (min-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 24vw;
    gap: 16px;
  }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (min-width: 1480px) {
  .gallery__grid { grid-auto-rows: 360px; }
}
.gallery__item { overflow: hidden; background: var(--paper-2); }
.gallery__btn {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  text-align: left;
  overflow: hidden;
}
.gallery__btn picture,
.gallery__btn img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery__btn img {
  transform: scale(1.04);
  transition: transform 1.1s var(--ease-out), filter .6s;
}
.gallery__btn:hover img { transform: scale(1.0); }
.gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: linear-gradient(to top, rgba(18,16,13,.75), rgba(18,16,13,0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s, transform .45s var(--ease-out);
}
.gallery__btn:hover .gallery__cap,
.gallery__btn:focus-visible .gallery__cap { opacity: 1; transform: none; }
@media (hover: none) {
  .gallery__cap { opacity: 1; transform: none; }
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none; max-height: none;
  width: 100vw; height: 100dvh;
  inset: 0;
  margin: 0;
}
.lightbox::backdrop { background: rgba(10, 9, 7, .92); backdrop-filter: blur(6px); }
.lightbox figure {
  width: 100%; height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  gap: 16px;
}
.lightbox img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.lightbox figcaption {
  color: rgba(245,242,235,.8);
  font-size: .9rem;
  letter-spacing: .04em;
}
.lightbox__close {
  position: fixed;
  top: 18px; right: 18px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  display: grid; place-items: center;
  z-index: 2;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 120px); }
}
.about__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  max-height: 720px;
}
.about__media picture,
.about__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999.98px) {
  .about__media { aspect-ratio: 4 / 3; }
}
.about__copy > p { margin-top: 20px; color: var(--ink-2); max-width: 58ch; }
.about__copy > p:first-of-type { margin-top: 0; }
.about__quote {
  margin-top: 36px;
  padding: 28px 0 0 0;
  border-top: 1px solid var(--line);
}
.about__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
}
.about__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .faq__grid { grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
  .faq__grid .section__head { position: sticky; top: 120px; margin-bottom: 0; }
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink-2);
  transition: transform .4s var(--ease-out), background-color .3s, color .3s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background: var(--coal);
  color: var(--paper);
  border-color: var(--coal);
}
.faq__body { padding: 0 0 26px; max-width: 62ch; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { padding-bottom: 0; }
.contact__grid {
  display: grid;
  gap: 48px;
  padding-bottom: clamp(64px, 8vw, 120px);
}
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
}
.contact .section__title { color: #f3eee3; }

.contact__cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.contact__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 24px;
  background: var(--coal);
  transition: background-color .3s;
}
.contact__card:hover { background: var(--coal-2); }
.contact__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.contact__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f3eee3;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.contact__meta { font-size: 0.85rem; color: rgba(239,233,220,.55); }

.contact__form {
  background: var(--coal-2);
  border: 1px solid var(--line-light);
  padding: clamp(24px, 3vw, 40px);
}
.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.1;
}
.contact__form-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(239,233,220,.55);
}
.field { margin-top: 22px; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239,233,220,.6);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: #f3eee3;
  background: var(--coal);
  border: 1px solid var(--line-light);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(239,233,220,.35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,74,.18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a24a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field select option { color: var(--ink); background: var(--white); }
.contact__form .btn { margin-top: 28px; }
.field__error {
  margin-top: 12px;
  color: #e9a3a3;
  font-size: 0.875rem;
}

.contact__map {
  border-top: 1px solid var(--line-light);
  filter: grayscale(1) contrast(1.05) brightness(.85);
}
.contact__map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 460px); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0c0b09;
  color: rgba(239,233,220,.7);
  padding-block: 64px 28px;
  font-size: 0.9rem;
}
.site-footer__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
}
.site-footer__brand p { margin-top: 20px; max-width: 40ch; }
.site-footer__title {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.site-footer__nav li + li { margin-top: 10px; }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer__contact p + p { margin-top: 10px; }
.site-footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(239,233,220,.45);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 14px;
  height: 54px;
  border-radius: 999px;
  background: #1f8f5a;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 16px 34px -14px rgba(0,0,0,.6);
  transform: translateY(0);
  transition: transform .35s var(--ease-out), background-color .25s;
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: #24a366; transform: translateY(-2px); }
@media (max-width: 600px) {
  .wa-float { padding: 0; width: 56px; height: 56px; justify-content: center; }
  .wa-float span { display: none; }
}

/* ---------- Scroll reveal utilities (JS) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
.js [data-reveal-delay="1"].is-revealed { transition-delay: .1s; }
.js [data-reveal-delay="2"].is-revealed { transition-delay: .2s; }
.js [data-reveal-delay="3"].is-revealed { transition-delay: .3s; }

/* Media curtain reveal — clip the inner element so IntersectionObserver
   still sees the (unclipped) container */
.js .service__media > picture,
.js .lamar__media > picture,
.js .about__media > picture,
.js .gallery__item > .gallery__btn {
  clip-path: inset(0 0 100% 0);
}
.js .service__media.is-revealed > picture,
.js .lamar__media.is-revealed > picture,
.js .about__media.is-revealed > picture,
.js .gallery__item.is-revealed > .gallery__btn {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s var(--ease-in-out);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js .service__media > picture,
  .js .lamar__media > picture,
  .js .about__media > picture,
  .js .gallery__item > .gallery__btn { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js [data-hero], .js .hero__line { opacity: 1; transform: none; clip-path: none; }
  .service__media img, .gallery__btn img { transform: none; transition: none; }
}
