/* =========================================================
   TTD Construction — Landing
   Palette: luxury black / deep navy tile + gold (from logo)
   ========================================================= */

:root {
  /* colors */
  --bg: #07090d;
  --bg-2: #0b111b;
  --navy: #0f1a2a;
  --line: rgba(212, 169, 88, .22);
  --line-soft: rgba(255, 255, 255, .06);

  --gold-1: #f6dea0;
  --gold-2: #d9ad5b;
  --gold-3: #b07d34;
  --gold-4: #7a5220;
  --gold: #d4a958;
  --gold-grad: linear-gradient(180deg, #fbe7b2 0%, #e2b866 38%, #b8843a 70%, #e9c479 100%);
  --gold-grad-x: linear-gradient(100deg, #8a5d25 0%, #d9ad5b 30%, #f6dea0 50%, #d9ad5b 70%, #8a5d25 100%);

  --text: #ece5d5;
  --muted: #9da6b4;

  /* type */
  --f-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-accent: "Jost", "Futura", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --container: 1400px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 8px 14px; background: var(--gold); color: #000; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- typography ---------- */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 12px/1 var(--f-body);
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font: 300 clamp(30px, 4vw, 52px)/1.15 var(--f-display); text-transform: uppercase;
  letter-spacing: .1em;
  padding-bottom: .08em;
}
.section-lead { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 620px; }

.section-head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; }
.section-head .section-lead { margin-inline: auto; }
.section-head--left { text-align: left; align-items: flex-start; }
.section-head--left .eyebrow::before { display: none; }
.section-head--left .section-lead { margin-inline: 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 32px;
  font: 700 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease), color .3s, border-color .3s;
  white-space: nowrap;
}
.btn--sm { --h: 46px; padding: 0 22px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--gold {
  color: #1a1206;
  background: var(--gold-grad-x); background-size: 220% 100%; background-position: 100% 0;
  box-shadow: 0 10px 30px -12px rgba(217, 173, 91, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold:hover { background-position: 0 0; transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(217, 173, 91, .7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { color: var(--gold-1); border: 1px solid var(--line); background: rgba(212, 169, 88, .04); }
.btn--ghost:hover { border-color: var(--gold); color: #fff; background: rgba(212, 169, 88, .1); transform: translateY(-2px); }
.btn__icon { width: 18px; height: 18px; fill: currentColor; }

/* ---------- media placeholders ---------- */
.media { position: relative; overflow: hidden; background: var(--navy); }
.media::before {
  /* tile texture + label, visible until real photo is added */
  content: attr(data-ph);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  font: 600 11px/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(212, 169, 88, .75);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212,169,88,.12), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 1px, transparent 1px 22px),
    linear-gradient(160deg, #13223a, #0a1220);
  border: 1px dashed rgba(212, 169, 88, .3);
}
.media > img, .media > video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media > img.is-missing { visibility: hidden; }
.media--portrait { aspect-ratio: 4 / 5; }

.frame { border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.frame::after {
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(246, 222, 160, .35);
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* =========================================================
   1. HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background .4s, border-color .4s, height .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(7, 9, 13, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font: 400 26px/1 var(--f-display); letter-spacing: .24em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__sub { margin-top: 5px; font: 400 11px/1 var(--f-display); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-2); }

.nav__list { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.nav__list a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; color: rgba(236, 229, 213, .82);
  transition: color .3s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-grad-x); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--gold-1); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--gold-1); letter-spacing: .03em; }
.header__phone svg { width: 16px; height: 16px; fill: var(--gold); }
.header__phone:hover { color: #fff; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--gold); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 72% 45%, rgba(212,169,88,.14), transparent 42%),
    linear-gradient(90deg, rgba(7,9,13,.94) 0%, rgba(7,9,13,.82) 38%, rgba(7,9,13,.45) 70%, rgba(7,9,13,.6) 100%),
    linear-gradient(180deg, rgba(7,9,13,.55) 0%, transparent 25%, transparent 75%, #07090d 100%),
    url("../images/ttd/hero-bg.webp") center / cover no-repeat,
    #07090d;
}
.hero__bg::after {
  /* mosaic tile grid like the logo */
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 34px);
  mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 6vw, 90px); }

.hero__title { display: flex; flex-direction: column; margin-bottom: 28px; }
.hero__title .gold-text {
  font: 300 clamp(40px, 6vw, 84px)/1.05 var(--f-display); text-transform: uppercase;
  letter-spacing: .08em;
  padding-bottom: .06em;
  filter: drop-shadow(0 6px 24px rgba(212,169,88,.18));
}
.hero__title-accent {
  margin-top: 14px;
  font: italic 500 clamp(22px, 2.4vw, 32px)/1.2 var(--f-serif);
  color: var(--text);
}
.hero__lead { max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; }
.hero__badges li { position: relative; padding-left: 20px; font-size: 13px; letter-spacing: .06em; color: rgba(236,229,213,.75); }
.hero__badges li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; transform: translateY(-50%) rotate(45deg); background: var(--gold-grad); }

.hero__visual { display: flex; justify-content: center; }
.ring {
  position: relative; width: min(100%, 600px); aspect-ratio: 1; border-radius: 50%;
  padding: clamp(10px, 1.3vw, 16px);
  background: conic-gradient(from 210deg, #7a5220, #f6dea0, #b07d34, #fbe7b2, #7a5220, #d9ad5b, #7a5220);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 80px -10px rgba(212,169,88,.25);
}
.ring::before {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 1px solid rgba(212,169,88,.25);
  animation: spin 40s linear infinite;
  border-top-color: rgba(246,222,160,.8);
}
.ring__inner { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(0,0,0,.6); }
.ring__inner::before { border-radius: 50%; }
.ring__inner > img { border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: scroll 1.8s ease-in-out infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: linear-gradient(180deg, var(--bg-2), #090d14); }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(720px, 80%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,169,88,.45), transparent);
}

/* ---------- 3. BATHROOM ---------- */
.bathroom__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.bathroom__media { position: sticky; top: calc(var(--header-h) + 30px); padding-bottom: 60px; }
.bathroom__detail {
  position: absolute; right: -36px; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%;
  border: 6px solid var(--bg); box-shadow: 0 0 0 1px var(--gold), 0 30px 60px -20px rgba(0,0,0,.9);
}
.bathroom__detail::before { border-radius: 50%; font-size: 9px; }

.included { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 8px; }
.included li { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line-soft); }
.included__num { font: 400 15px/1.6 var(--f-display); letter-spacing: .06em; color: var(--gold); min-width: 26px; }
.included h3 { font: 600 16px/1.4 var(--f-body); color: var(--text); margin-bottom: 4px; }
.included p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.bathroom__cta { margin-top: 36px; }

.process {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212,169,88,.05), transparent);
}
.process li { position: relative; padding: 34px 28px; }
.process li + li { border-left: 1px solid var(--line); }
.process span { display: block; font: 300 44px/1 var(--f-display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.process h3 { font: 600 17px/1.3 var(--f-body); margin-bottom: 6px; }
.process p { color: var(--muted); font-size: 14px; }

/* ---------- 4. SERVICES ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0e1623, #0a0f18);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-grad-x); transform: scaleX(0); transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.card:hover::after { transform: scaleX(1); }
.card__media { aspect-ratio: 4 / 3; }
.card__media img { transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px 24px 28px; }
.card h3 { font: 400 15px/1.4 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-1); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- 5. ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__text p { color: var(--muted); font-size: 17px; }
.about__text p + p { margin-top: 18px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 44px; }
.features li { display: flex; gap: 16px; }
.features svg {
  flex-shrink: 0; width: 46px; height: 46px; padding: 12px;
  fill: var(--gold); border: 1px solid var(--line); border-radius: 50%;
}
.features h3 { font: 600 16px/1.35 var(--f-body); margin-bottom: 4px; }
.features p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.about__media { position: relative; padding: 0 24px 24px 0; }
.frame--offset { overflow: visible; }
.frame--offset::before { z-index: 0; }
.about__media::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: calc(100% - 24px); height: calc(100% - 24px);
  border: 1px solid var(--gold); border-radius: var(--radius); opacity: .5;
}

/* ---------- 6. BEFORE / AFTER ---------- */
.ba-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.ba-tab {
  padding: 12px 22px; border: 1px solid var(--line-soft); border-radius: 40px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: all .3s;
}
.ba-tab:hover { color: var(--gold-1); border-color: var(--line); }
.ba-tab.is-active { color: #1a1206; background: var(--gold-grad-x); border-color: transparent; }

.ba-list { max-width: 1240px; margin-inline: auto; }
.ba {
  position: relative; display: none; aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba.is-active { display: block; }
.ba__layer { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.ba__before::before { background: linear-gradient(160deg, #1d2530, #0f141b); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: var(--gold-grad); pointer-events: none; }
.ba__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 20px/1 var(--f-body); letter-spacing: .1em; color: #1a1206;
  background: var(--gold-grad-x); box-shadow: 0 0 0 6px rgba(7,9,13,.45), 0 10px 30px rgba(0,0,0,.6);
}
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.ba__range:focus-visible ~ .ba__handle::after { outline: 2px solid #fff; outline-offset: 4px; }
.ba__label {
  position: absolute; top: 20px; z-index: 3; padding: 8px 14px; border-radius: 30px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(7,9,13,.7); backdrop-filter: blur(6px); color: var(--gold-1); pointer-events: none;
}
.ba__label--before { left: 20px; }
.ba__label--after { right: 20px; }

/* ---------- 7. VIDEO ---------- */
.reels {
  display: flex; gap: 20px; padding: 8px 0 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reels::-webkit-scrollbar { display: none; }
.reels > .reel { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 36px; }
.slider-controls .carousel-dots { display: flex; margin: 0; }
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold-1);
  transition: background .35s, color .35s, border-color .35s, opacity .35s;
}
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn:hover:not(:disabled) { background: var(--gold-grad-x); color: #1a1206; border-color: transparent; }
.slider-btn:disabled { opacity: .3; cursor: default; }
.reel {
  position: relative; display: block; padding: 0; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 6px; border: 1px solid var(--line-soft); background: var(--navy);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,13,.1) 40%, rgba(7,9,13,.88)); pointer-events: none; }
.reel__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7,9,13,.35); border: 1px solid rgba(246,222,160,.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .4s, transform .4s var(--ease);
}
.reel__play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--gold-1); transition: fill .4s; }
.reel__caption {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; text-align: left;
  font: 400 13px/1.35 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-1);
}
.reel:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.reel:hover img { transform: scale(1.06); }
.reel:hover .reel__play { background: var(--gold-grad-x); transform: translate(-50%, -50%) scale(1.08); }
.reel:hover .reel__play svg { fill: #1a1206; }

.video-modal { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.video-modal[open] { display: grid; place-items: center; }
.video-modal::backdrop { background: rgba(4,5,8,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-modal video { width: auto; max-width: min(92vw, 540px); max-height: 86vh; border-radius: 6px; border: 1px solid var(--line); background: #000; }
.video-modal__close {
  position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; line-height: 1; color: var(--gold-1);
  border: 1px solid var(--line); background: rgba(7,9,13,.6);
}
.video-modal__close:hover { border-color: var(--gold); color: #fff; }

/* ---------- 8. INSTAGRAM ---------- */
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta__item { aspect-ratio: 1; border-radius: var(--radius); }
.insta__item::before { font-size: 9px; }
.insta__item::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(7,9,13,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6dea0' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.8' fill='%23f6dea0'/%3E%3C/svg%3E") center / 34px no-repeat;
  opacity: 0; transition: opacity .4s;
}
.insta__item img { transition: transform .8s var(--ease); }
.insta__item:hover::after { opacity: 1; }
.insta__item:hover img { transform: scale(1.08); }

/* ---------- 9. REVIEWS ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  position: relative; display: flex; flex-direction: column; padding: 40px 34px 32px;
  background: linear-gradient(180deg, #0e1623, #0a0f18);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: border-color .4s, transform .4s var(--ease);
}
.review:hover { border-color: var(--line); transform: translateY(-4px); }
.review::before {
  content: "“"; position: absolute; top: 6px; right: 26px;
  font: 300 120px/1 var(--f-accent); color: rgba(212,169,88,.14);
}
.review__stars { color: var(--gold); letter-spacing: .2em; font-size: 16px; margin-bottom: 18px; }
.review blockquote { font: italic 300 19px/1.6 var(--f-accent); color: var(--text); flex-grow: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 500 16px/1 var(--f-display); color: #1a1206; background: var(--gold-grad-x); }
.review strong { display: block; font-size: 15px; }
.review small { color: var(--muted); font-size: 12px; letter-spacing: .04em; }

/* ---------- 10. CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.contact__info .eyebrow::before { display: none; }
.contact__list { margin-top: 44px; display: grid; gap: 22px; }
.contact__list li { display: flex; align-items: center; gap: 18px; }
.contact__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); flex-shrink: 0; }
.contact__icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact__list small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-size: 18px; font-weight: 600; color: var(--gold-1); word-break: break-word; }
.contact__list a:hover { color: #fff; }

.form {
  position: relative; padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, #0f1826, #0a0f18);
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9);
}
.form::before { content: ""; position: absolute; top: -1px; left: 40px; right: 40px; height: 2px; background: var(--gold-grad-x); }
.form__title { font: 300 22px/1.3 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-1); margin-bottom: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  font-size: 16px; color: var(--text);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4a958'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 22px;
}
.field select option { background: #0b111b; }
.field input::placeholder, .field textarea::placeholder { color: rgba(157,166,180,.55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(212,169,88,.05); box-shadow: 0 0 0 3px rgba(212,169,88,.12); }
.field.is-invalid input { border-color: #d9665b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { margin-top: 6px; }
.form__status { min-height: 1.6em; margin-top: 14px; font-size: 14px; text-align: center; }
.form__status.is-ok { color: var(--gold-1); }
.form__status.is-error { color: #e48a80; }

/* ---------- FOOTER ---------- */
.footer { padding: 64px 0 32px; background: #05070a; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.footer__nav a, .footer__contacts a { font-size: 14px; color: var(--muted); transition: color .3s; }
.footer__nav a:hover, .footer__contacts a:hover { color: var(--gold-1); }
.footer__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer__bottom { margin-top: 44px; text-align: center; }
.divider { display: block; height: 1px; margin-bottom: 24px; background: linear-gradient(90deg, transparent, rgba(212,169,88,.4), transparent); }
.footer__bottom p { font-size: 13px; color: rgba(157,166,180,.7); letter-spacing: .04em; }

/* ---------- FLOATING CALL BUTTON ---------- */
.call-fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 95;
  display: flex; align-items: center;
}
.call-fab__btn {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad-x); background-size: 200% 100%;
  box-shadow: 0 14px 34px -10px rgba(217,173,91,.7), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .35s var(--ease);
}
.call-fab__btn::before, .call-fab__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(233,196,121,.8);
  animation: fab-pulse 2.4s cubic-bezier(.2,.6,.3,1) infinite;
  pointer-events: none;
}
.call-fab__btn::after { animation-delay: 1.2s; }
.call-fab__btn svg { position: relative; width: 26px; height: 26px; fill: #1a1206; animation: fab-ring 2.4s ease-in-out infinite; }
.call-fab__label {
  margin-right: 12px; padding: 10px 16px; border-radius: 30px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--gold-1); white-space: nowrap;
  background: rgba(7,9,13,.88); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.call-fab:hover .call-fab__label, .call-fab:focus-visible .call-fab__label { opacity: 1; transform: none; }
.call-fab:hover .call-fab__btn { transform: scale(1.07); }
body.menu-open .call-fab { opacity: 0; pointer-events: none; }
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes fab-ring {
  0%, 55%, 100% { transform: rotate(0); }
  60% { transform: rotate(-16deg); }
  65% { transform: rotate(14deg); }
  70% { transform: rotate(-12deg); }
  75% { transform: rotate(10deg); }
  80% { transform: rotate(0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1320px) {
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
}

.carousel-dots { display: none; gap: 8px; justify-content: center; }
.carousel-dots span { width: 6px; height: 6px; border-radius: 6px; background: rgba(212,169,88,.3); transition: width .35s var(--ease), background .35s; }
.carousel-dots span.is-active { width: 24px; background: var(--gold); }

@media (max-width: 1240px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 85% 0%, rgba(212,169,88,.14), transparent 45%),
      rgba(7,9,13,.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; counter-reset: nav; width: 100%; max-width: 560px; margin-inline: auto; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .16s; }
  .nav.is-open .nav__list li:nth-child(6) { transition-delay: .20s; }
  .nav.is-open .nav__list li:nth-child(7) { transition-delay: .24s; }
  .nav__list a {
    display: flex; align-items: baseline; gap: 18px; padding: 16px 0;
    font: 300 22px/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text);
  }
  .nav__list a::before { counter-increment: nav; content: "0" counter(nav); font: 500 11px/1 var(--f-body); letter-spacing: .1em; color: var(--gold); }
  .nav__list a::after { display: none; }
  .nav__mobile-extra { display: flex; flex-direction: column; align-items: stretch; gap: 18px; width: 100%; max-width: 560px; margin: 36px auto 0; text-align: center; }
  .nav__phone { color: var(--gold-1); font-weight: 600; letter-spacing: .06em; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 1100px) {

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .reels > .reel { flex-basis: calc((100% - 40px) / 3); }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__contacts { align-items: center; }
}

@media (max-width: 960px) {
  .hero__inner, .bathroom__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__visual { order: -1; }
  .hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero__title { align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__badges { justify-content: center; }
  .ring { width: min(70vw, 380px); }
  .bathroom__media { position: relative; top: 0; max-width: 520px; margin-inline: auto; width: 100%; }
  .bathroom__detail { right: -8px; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:nth-child(3) { border-left: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reviews__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 767px) {
  :root { --header-h: 68px; --section-y: 72px; }
  .header.is-scrolled { --header-h: 64px; }
  .header__cta, .header__phone { display: none; }
  .brand__name { font-size: 22px; }
  .brand__sub { font-size: 9.5px; }
  .eyebrow { font-size: 11px; letter-spacing: .2em; gap: 10px; margin-bottom: 14px; }
  .eyebrow::before, .eyebrow::after { width: 22px; }

  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(26px, 7.6vw, 34px); letter-spacing: .08em; }
  .section-lead { margin-top: 14px; font-size: 15px; }

  /* hero: full-screen photo background instead of the ring */
  .hero { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 96px; }
  .hero__visual { display: none; }
  .hero__scroll { display: none; }
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(7,9,13,.8) 0%, rgba(7,9,13,.05) 16%, rgba(7,9,13,.3) 28%, rgba(7,9,13,.82) 42%, rgba(7,9,13,.94) 60%, #07090d 100%),
      url("../images/ttd/hero-mobile.webp") center top / cover no-repeat,
      #07090d;
  }
  .hero__bg::after { opacity: .5; }
  .hero__content { position: relative; }
  .hero__title { margin-bottom: 20px; }
  .hero__title .gold-text { font-size: clamp(32px, 10.4vw, 44px); letter-spacing: .06em; filter: drop-shadow(0 2px 14px rgba(0,0,0,.9)); }
  .hero__cta .btn--ghost { display: none; }
  .hero__title-accent { margin-top: 10px; font-size: 22px; }
  .hero__lead { font-size: 15px; }
  .hero__cta { width: 100%; margin-top: 28px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__badges { display: none; }

  /* bathroom */
  .bathroom__grid { gap: 40px; }
  .bathroom__media { padding-bottom: 36px; }
  .bathroom__detail { width: 38%; right: -4px; border-width: 4px; }
  .included { grid-template-columns: 1fr; }
  .included li { gap: 14px; padding: 16px 0; }
  .included h3 { font-size: 15px; }
  .included p { font-size: 13.5px; }
  .bathroom__cta { margin-top: 24px; }
  .bathroom__cta .btn { width: 100%; }

  /* process → vertical timeline */
  .process { grid-template-columns: 1fr; margin-top: 56px; border: 0; background: none; }
  .process li { padding: 0 0 28px 64px; border: 0 !important; }
  .process li:last-child { padding-bottom: 0; }
  .process li::before { content: ""; position: absolute; left: 22px; top: 48px; bottom: 4px; width: 1px; background: linear-gradient(180deg, var(--gold), transparent); opacity: .6; }
  .process li:last-child::before { display: none; }
  .process span { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: 0; display: grid; place-items: center; font-size: 20px; border: 1px solid var(--line); border-radius: 50%; }
  .process h3 { padding-top: 10px; font-size: 16px; }

  /* swipe carousels */
  [data-carousel] {
    display: flex !important; gap: 14px;
    max-width: none !important;
    margin-inline: calc(var(--gutter) * -1) !important;
    padding: 4px var(--gutter) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 82%; scroll-snap-align: start; }
  .js [data-carousel] > .reveal { opacity: 1; transform: none; }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .carousel-dots span { width: 6px; height: 6px; border-radius: 6px; background: rgba(212,169,88,.3); transition: width .35s var(--ease), background .35s; }
  .carousel-dots span.is-active { width: 24px; background: var(--gold); }

  .card:hover, .review:hover { transform: none; }
  .card__body { padding: 20px 20px 24px; }
  .card h3 { font-size: 14px; }

  .reviews__grid > .review { flex-basis: 86%; }
  .review { padding: 30px 22px 24px; }
  .review blockquote { font-size: 17px; }

  /* about */
  .about__grid { gap: 44px; }
  .about__text p { font-size: 15.5px; }
  .features { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .features svg { width: 42px; height: 42px; padding: 11px; }
  .about__media { padding: 0 12px 12px 0; }
  .about__media::before { width: calc(100% - 12px); height: calc(100% - 12px); }
  .about__media .media--portrait { aspect-ratio: 4 / 3; }

  /* gallery */
  .ba-tabs {
    flex-wrap: nowrap; justify-content: flex-start; justify-content: safe center;
    overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter);
  }
  .ba-tabs::-webkit-scrollbar { display: none; }
  .ba-tab { flex-shrink: 0; padding: 10px 16px; font-size: 11px; }
  .ba { aspect-ratio: 4 / 5; }
  .ba__handle::after { width: 46px; height: 46px; font-size: 16px; }
  .ba__label { top: 12px; font-size: 10px; padding: 6px 10px; }
  .ba__label--before { left: 12px; }
  .ba__label--after { right: 12px; }

  /* video */
  .reels > .reel { flex-basis: 64%; }
  .slider-controls { margin-top: 22px; gap: 18px; }
  .slider-btn { width: 44px; height: 44px; }
  .reel:hover { transform: none; }
  .reel__caption { left: 14px; right: 14px; bottom: 14px; font-size: 12px; }
  .video-modal video { max-width: 100vw; max-height: 100vh; border-radius: 0; border: 0; }

  /* instagram */
  .insta__grid { grid-template-columns: repeat(3, 1fr); gap: 4px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .insta__item { border-radius: 2px; }
  .center { margin-top: 28px; }

  /* contact */
  .contact__grid { gap: 40px; }
  .contact__list { margin-top: 28px; gap: 16px; }
  .contact__icon { width: 46px; height: 46px; }
  .contact__list a { font-size: 16px; }
  .form { padding: 28px 20px; }
  .form__title { font-size: 18px; margin-bottom: 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 14px; }

  /* footer */
  .footer { padding: 48px 0 24px; }
  .footer__nav { gap: 8px 20px; }
  .footer__bottom { margin-top: 32px; }

  /* floating call button */
  .call-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .call-fab__btn { width: 58px; height: 58px; }
  .call-fab__btn svg { width: 24px; height: 24px; }
  .call-fab__label { display: none; }
}

/* =========================================================
   PORTFOLIO PAGE
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 70px; text-align: center; overflow: hidden; }
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,169,88,.14), transparent 55%),
    radial-gradient(ellipse at 50% 55%, rgba(7,9,13,.72), rgba(7,9,13,.45) 70%),
    linear-gradient(180deg, rgba(7,9,13,.6) 0%, rgba(7,9,13,.35) 40%, #07090d 100%),
    url("../images/ttd/hero-bg.webp") center 40% / cover no-repeat,
    #07090d;
}
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 34px);
  mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 75%);
}
.page-hero .section-title { font-size: clamp(34px, 5vw, 60px); }
.page-hero .section-lead { margin-inline: auto; max-width: 700px; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-1); }
.breadcrumb span:last-child { color: var(--gold); }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo {
  position: relative; display: block; padding: 0; aspect-ratio: 1; overflow: hidden;
  border-radius: 6px; border: 1px solid var(--line-soft); background: var(--navy);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,13,.25) 55%, rgba(7,9,13,.85)); pointer-events: none; }
.photo__zoom {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(246,222,160,.8); background: rgba(7,9,13,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .4s, transform .4s var(--ease);
}
.photo__zoom svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-1); stroke-width: 1.7; stroke-linecap: round; }
.photo__caption {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; text-align: left;
  font: 400 12px/1.35 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-1);
}
.photo:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.photo:hover img { transform: scale(1.06); }
.photo:hover .photo__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.video-modal img { width: auto; max-width: min(94vw, 1100px); max-height: 88vh; border-radius: 6px; border: 1px solid var(--line); }

@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .page-hero { padding: calc(var(--header-h) + 56px) 0 44px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reel__caption { left: 10px; right: 10px; bottom: 10px; font-size: 10px; letter-spacing: .1em; }
  .reel__play { width: 46px; height: 46px; }
  .reel__play svg { width: 16px; height: 16px; }
  .photo__caption { left: 10px; right: 10px; bottom: 10px; font-size: 10px; letter-spacing: .1em; }
  .photo__zoom { width: 44px; height: 44px; }
  .video-modal img { max-width: 100vw; max-height: 100vh; border-radius: 0; border: 0; }
}

/* =========================================================
   WORDPRESS INTEGRATION
   Added on top of the layout stylesheet; nothing above is changed.
   ========================================================= */

/* sticky header + anchors under the WP admin bar */
@media screen and (min-width: 783px) {
  body.admin-bar .header { top: 32px; }
  html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 32px); }
}
@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
  html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 46px); }
}

/* Contact Form 7 — the .wpcf7 wrapper replaces the static <form> as grid child */
.contact__grid > .wpcf7 { min-width: 0; }
.wpcf7-form.form > :last-child { margin-bottom: 0; }
.wpcf7-form .wpcf7-spinner { margin: 14px auto 0; display: block; }
.wpcf7-form .wpcf7-response-output {
  min-height: 1.6em; margin: 14px 0 0; padding: 0; border: 0;
  font-size: 14px; text-align: center; color: #e48a80;
}
.wpcf7-form.sent .wpcf7-response-output { color: var(--gold-1); }
.wpcf7-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; color: #e48a80; }
.wpcf7-form .field:has(.wpcf7-not-valid) input,
.wpcf7-form .field:has(.wpcf7-not-valid) select,
.wpcf7-form .field:has(.wpcf7-not-valid) textarea { border-color: #d9665b; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }

/* Reviews slider — desktop/tablet (mobile keeps the layout's [data-carousel] swipe rules) */
@media (min-width: 768px) {
  .reviews__grid {
    display: flex; gap: 24px; max-width: none; margin-inline: 0;
    padding: 8px 0 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .reviews__grid > .review { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
}
@media (min-width: 768px) and (max-width: 960px) {
  .reviews__grid > .review { flex-basis: calc((100% - 24px) / 2); }
}
