/* ─── Design tokens ─────────────────────────────────────── */
:root {
  --c-base:    #080808;
  --c-surface: #111111;
  --c-border:  #1e1e1e;
  --c-text:    #f5f3ef;
  --c-muted:   #888880;
  --c-accent:  #c8a96e;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Space Grotesk', system-ui, sans-serif;

  --fs-hero:    clamp(3.8rem, 11vw, 11rem);
  --fs-h2:      clamp(2.4rem, 6vw, 5.5rem);
  --fs-h3:      clamp(1.4rem, 3vw, 2.2rem);
  --fs-body:    clamp(0.95rem, 1.2vw, 1.1rem);
  --fs-label:   0.7rem;

  --sp-section: clamp(5rem, 10vw, 9rem);
  --sp-gap:     clamp(1rem, 2.5vw, 2rem);

  --radius:     4px;
  --dur:        0.65s;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Focus visible ──────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }

/* ─── Scroll progress bar ────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--c-accent);
  z-index: 1000;
  will-change: transform;
}

/* ─── Nav ────────────────────────────────────────────────── */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding: 1.6rem clamp(1.2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: -1;
  pointer-events: none;
}
header.scrolled::before {
  opacity: 1;
}
/* Thin gold rule under header when scrolled */
header.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,169,110,0.35), transparent);
  pointer-events: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.logo-text {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-style: italic;
  font-weight: 700;
  color: var(--c-accent);
  font-size: 0.72em;
  letter-spacing: 0.12em;
}
.header-logo-img {
  height: 45px;
  width: auto;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}

nav ul {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}
nav a {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-muted);
  transition: color 0.3s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width 0.35s var(--ease);
}
nav a:hover { color: var(--c-text); }
nav a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-accent) !important;
  border: 1px solid var(--c-accent);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  transition: color 0.35s, background 0.35s;
}
.nav-cta:hover {
  background: var(--c-accent);
  color: var(--c-base) !important;
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--c-text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── Portfolio nav dropdown ─────────────────────────────── */
.nav-has-dropdown { position: relative; }

.nav-portfolio-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown-chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease);
}
.nav-has-dropdown.is-open .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 1000;
}
.nav-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.84rem;
  text-transform: none;
  letter-spacing: 0.05em;
  color: var(--c-muted);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
  position: relative;
}
.nav-dropdown-item::after { display: none !important; }
.nav-dropdown-item:hover { color: var(--c-text); background: rgba(255,255,255,0.04); }
.nav-dropdown-item.is-active { color: var(--c-accent); }
.nav-dropdown-item.is-active .nav-dropdown-num { color: var(--c-accent); }

.nav-dropdown-num {
  font-family: var(--ff-display);
  font-size: 0.55rem;
  color: var(--c-accent);
  min-width: 16px;
  transition: color 0.18s;
}

/* Scroll offset so fixed header doesn't overlap subsections */
.portfolio-subsection { scroll-margin-top: 90px; }

/* ─── Hero ───────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem clamp(1.2rem, 5vw, 4rem) 9rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, #1a1510 0%, var(--c-base) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem clamp(2rem, 6vw, 5rem);
}
.hero-text {
  display: grid;
  gap: 2rem;
}
.hero-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-img {
  display: block;
  width: min(450px, 58vw);
  mix-blend-mode: multiply;
}
@media (max-width: 680px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-logo-col { display: none; }
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  overflow: hidden;
}
.eyebrow-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: line-up 0.8s var(--ease) 0.1s forwards;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 0.9;
  overflow: hidden;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
}
.hero-title .line:nth-child(1) .line-inner { animation: line-up 0.9s var(--ease) 0.25s forwards; }
.hero-title .line:nth-child(2) .line-inner { animation: line-up 0.9s var(--ease) 0.4s  forwards; }
.hero-title .line:nth-child(3) .line-inner { animation: line-up 0.9s var(--ease) 0.55s forwards; }
.hero-title em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--c-muted);
  max-width: 40ch;
  overflow: hidden;
}
.hero-sub-inner {
  display: block;
  transform: translateY(110%);
  animation: line-up 0.9s var(--ease) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  overflow: hidden;
}
.hero-actions-inner {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  transform: translateY(110%);
  animation: line-up 0.9s var(--ease) 0.85s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 1s ease 1.4s;
}
body.loaded .hero-scroll-hint { opacity: 1; }
.hero-scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-accent);
  opacity: 0.7;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  transform-origin: top;
  animation: scroll-pulse 2s ease-in-out 2s infinite;
}

/* ─── Marquee ────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(200,169,110,0.15);
  border-bottom: 1px solid rgba(200,169,110,0.15);
  padding: 0.9rem 0;
  background: var(--c-surface);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-muted);
  padding: 0 2.5rem;
  white-space: nowrap;
}
.marquee-track span.accent { color: var(--c-accent); }

/* ─── Shared section layout ──────────────────────────────── */
.section-wrap {
  position: relative;
  padding: var(--sp-section) clamp(1.2rem, 5vw, 4rem);
}
.section-label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* ─── About ──────────────────────────────────────────────── */
#about { background: var(--c-surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(0.3);
  transition: filter var(--dur) var(--ease);
}
.about-image-wrap:hover img { filter: grayscale(0); }
.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--c-accent);
  color: var(--c-base);
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 1.2rem 1.4rem;
  line-height: 1.2;
  text-align: center;
  border-radius: var(--radius);
}
.about-text .section-title { margin-bottom: 1.5rem; }
.about-text p {
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.about-text p strong { color: var(--c-accent); font-weight: 500; }
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(200,169,110,0.22);
}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  margin-top: 0.3rem;
}

/* ─── Portfolio ──────────────────────────────────────────── */
#portfolio { background: var(--c-base); }

.portfolio-header {
  max-width: 1200px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

/* Each style subsection: text left, gallery right */
.portfolio-subsection {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(200,169,110,0.4);
}
.portfolio-subsection:first-of-type { border-top: none; }

/* Alt variant: swap column order */
.portfolio-subsection--alt {
  grid-template-columns: 3fr 2fr;
}
.portfolio-subsection--alt .portfolio-text { order: 2; }
.portfolio-subsection--alt .style-gallery-wrap { order: 1; }

/* Text column */
.portfolio-text {
  position: sticky;
  top: 7rem;
}
.portfolio-text .style-num {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: rgba(200,169,110,0.18);
  line-height: 1;
  margin-bottom: 1rem;
}
.portfolio-text .style-name {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--c-accent);
}
.portfolio-text .style-desc {
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 36ch;
}

/* ─── Gallery carousel ────────────────────────────────────── */
.style-gallery-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--c-surface);
  contain: layout paint;
}
.style-gallery-wrap:not([data-has-thumbs]) { cursor: zoom-in; }
.style-gallery-wrap.is-expanded { cursor: zoom-in; }

.gallery-carousel {
  display: flex;
  height: 100%;
  gap: 0;
  background: transparent;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  transition: background-color 0.5s ease-out, gap 0.5s ease-out;
}
.style-gallery-wrap.is-expanded .gallery-carousel {
  gap: 2px;
  background: var(--c-accent);
}
.gallery-carousel::-webkit-scrollbar { display: none; }

.gallery-item {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
}
/* Soft edge vignette — makes the seam between images feel organic, not cut */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.18) 0%,
    transparent 12%,
    transparent 88%,
    rgba(0,0,0,0.18) 100%
  );
  pointer-events: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.03); }

/* Hero: full width by default, shrinks to 62% on expand to reveal the carousel.
   Only the hero's flex-basis animates — others keep their size and just fade. */
.gallery-item--hero {
  flex-basis: 100%;
  transition: flex-basis 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Other items: always at fixed 52% width. Hidden by opacity when collapsed —
   their layout slot stays put, so nothing "shrinks" or "resets". */
.gallery-item:not(.gallery-item--hero) {
  flex-basis: 52%;
  opacity: 0;
  transition: opacity 0.55s ease-out;
}

/* Expanded: hero pulls back, neighbours fade in. */
.style-gallery-wrap.is-expanded .gallery-item--hero {
  flex-basis: 62%;
  transition: flex-basis 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.style-gallery-wrap.is-expanded .gallery-item:not(.gallery-item--hero) {
  opacity: 1;
  transition: opacity 0.45s ease-out 0.1s;
}

/* Scroll hint */
.gallery-hint {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--c-accent);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  background: rgba(8,8,8,0.65);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.7rem 0.4rem 0.55rem;
  border-radius: var(--radius);
  border: 1px solid rgba(200,169,110,0.2);
}
.gallery-hint svg { width: 13px; height: 13px; flex-shrink: 0; }
.style-gallery-wrap:not(.is-expanded):hover .gallery-hint { opacity: 1; }

/* Scroll cue — briefly appears after expand to signal horizontal scroll */
.gallery-scroll-cue {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(8,8,8,0.72);
  backdrop-filter: blur(8px);
  color: var(--c-accent);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem 0.4rem 0.5rem;
  border-radius: 99px;
  border: 1px solid rgba(200,169,110,0.3);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
}
.style-gallery-wrap.is-expanded .gallery-scroll-cue {
  animation: cue-flash 2.4s 0.65s both;
}
@keyframes cue-flash {
  0%   { opacity: 0; transform: translateY(-50%) translateX(8px); }
  18%  { opacity: 1; transform: translateY(-50%) translateX(0); }
  72%  { opacity: 1; transform: translateY(-50%) translateX(0); }
  100% { opacity: 0; transform: translateY(-50%) translateX(4px); }
}

/* ─── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(245,243,239,0.12);
  color: var(--c-text);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(245,243,239,0.25); }

/* ─── Process ────────────────────────────────────────────── */
#process { background: var(--c-surface); }
.process-header {
  max-width: 1200px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: var(--radius);
  overflow: hidden;
}
.process-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(200,169,110,0.12);
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}
.process-step:last-child { border-right: none; }
.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.38s var(--ease);
  z-index: 0;
}
.process-step:hover::before { transform: scaleY(1); }
.process-step:hover { color: var(--c-base); }

.process-step-num {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  transition: color 0.35s var(--ease);
}
.process-step:hover .process-step-num { color: var(--c-base); }

.process-step-title {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}
.process-step-desc {
  font-size: 0.87rem;
  color: var(--c-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  transition: color 0.35s var(--ease);
}
.process-step:hover .process-step-desc { color: var(--c-base); }

/* ─── Booking / Form ─────────────────────────────────────── */
#booking {
  background: var(--c-base);
  background-image: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(200,169,110,0.04) 0%, transparent 70%);
}
.booking-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.booking-inner > .section-title { margin-bottom: 1rem; }
.booking-inner > p {
  font-size: var(--fs-body);
  color: var(--c-muted);
  margin-bottom: 2.5rem;
}

.booking-form {
  text-align: left;
  margin-top: 0.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-muted);
}
.form-field input,
.form-field textarea {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.3s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #333; }
.form-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-field input[type="date"] { color-scheme: dark; }

.form-field select {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8a96e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-field select:focus {
  outline: none;
  border-color: var(--c-accent);
}
.form-field select option {
  background: #181818;
  color: var(--c-text);
}
.form-field select option[value="Guest Spot"] {
  color: var(--c-accent);
}

.guest-strip {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--c-surface);
  border-left: 2px solid var(--c-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}
.guest-strip-body { display: flex; flex-direction: column; gap: 0.2rem; width: 100%; }
.guest-strip-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-accent);
}
.guest-strip-text {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.55;
  margin: 0;
}

.form-privacy { margin-top: 0.25rem; margin-bottom: 1.25rem; }
.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--c-muted);
  cursor: pointer;
  line-height: 1.5;
}
.privacy-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 15px;
  height: 15px;
  accent-color: var(--c-accent);
  cursor: pointer;
}
.privacy-label a { color: var(--c-accent); text-decoration: underline; }

.form-submit {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

/* ─── Thank-you panel ───────────────────────────────────── */
.form-thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 3rem 2rem;
  animation: fadeUp 0.5s var(--ease) both;
}
.thankyou-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-base);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.thankyou-title {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--c-text);
}
.thankyou-text {
  color: var(--c-muted);
  max-width: 36ch;
  line-height: 1.7;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1.2rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-secondary {
  color: var(--c-text);
  border: 1px solid var(--c-border);
  background: transparent;
  cursor: pointer;
}
.btn-secondary::before { background: var(--c-accent); }
.btn-secondary:hover { color: var(--c-base); border-color: var(--c-accent); }
.btn-secondary:hover::before { transform: scaleY(1); }

/* ─── Social contacts ────────────────────────────────────── */
.social-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--c-muted);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--c-border), rgba(200,169,110,0.3), var(--c-border));
}

.social-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-muted);
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  transition: color 0.25s, border-color 0.25s;
}
.social-link:hover { color: var(--c-accent); border-color: var(--c-accent); }
.social-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1rem 2.2rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.38s var(--ease);
  z-index: 0;
}
.btn span { position: relative; z-index: 1; }

.btn-primary {
  background: var(--c-accent);
  color: var(--c-base);
}
.btn-primary::before { background: var(--c-text); }
.btn-primary:hover { color: var(--c-base); }
.btn-primary:hover::before { transform: scaleY(1); }

.btn-outline {
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn-outline::before { background: var(--c-accent); }
.btn-outline:hover { color: var(--c-base); border-color: var(--c-accent); }
.btn-outline:hover::before { transform: scaleY(1); }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--c-base);
  border-top: 1px solid rgba(200,169,110,0.2);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 5vw, 4rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.footer-brand .logo { font-size: 1.1rem; margin-bottom: 1.2rem; }
.footer-brand p {
  font-size: 0.87rem;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 34ch;
}
.footer-col h4 {
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--c-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--c-text); }
.footer-col ul li a svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--c-muted); }
.footer-credit {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  transition: color 0.3s;
  text-decoration: none;
}
.footer-credit:hover { color: var(--c-accent); }

/* ─── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ─── Keyframes ──────────────────────────────────────────── */
@keyframes line-up {
  to { transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.9; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.5); }
}

/* ─── Responsive: tablet ─────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image-badge { right: 1rem; bottom: 1rem; }
  .portfolio-subsection {
    grid-template-columns: 1fr;
  }
  .portfolio-subsection--alt .portfolio-text { order: 0; }
  .portfolio-subsection--alt .style-gallery-wrap { order: 0; }
  .portfolio-text { position: static; }
  .style-gallery-wrap { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-bottom: 1px solid var(--c-border); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:last-child { border-bottom: none; }
}

/* ─── Responsive: mobile ─────────────────────────────────── */
@media (max-width: 600px) {
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 800;
  }
  nav ul.open a { font-size: 1rem; letter-spacing: 0.25em; }
  .nav-toggle { display: flex; position: relative; z-index: 901; }
  .style-gallery-wrap { aspect-ratio: 4/3; cursor: default; }
  .style-gallery-wrap[data-has-thumbs]:hover .gallery-hint { opacity: 0; }
  /* Mobile: one image at a time, snap-scroll, dots indicator below */
  .style-gallery-wrap[data-has-thumbs] .gallery-item,
  .style-gallery-wrap[data-has-thumbs] .gallery-item--hero {
    flex-basis: 100%;
    opacity: 1;
    transform: none;
    transition: none;
    scroll-snap-align: center;
  }
  .style-gallery-wrap[data-has-thumbs] .gallery-carousel {
    gap: 2px;
    background: var(--c-accent);
    scroll-snap-type: x mandatory;
  }
  .gallery-hint { display: none; }
  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
  }
  .gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid var(--c-accent);
    background: transparent;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .gallery-dot.is-active {
    background: var(--c-accent);
    transform: scale(1.4);
  }
  .about-stats { flex-wrap: wrap; gap: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--c-border); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .social-links { gap: 0.8rem; }
}

/* ─── Roadmap wire SVG ───────────────────────────────────── */
main { position: relative; }

.section-wrap > * {
  position: relative;
  z-index: 2;
  background: inherit;
}

/* Booking section: wire crosses over the form card; button sits above the wire.
   No z-index on the form wrapper — keeps it out of a stacking context so
   .form-submit can live at z-index:2 in main's context, above the wire (z-index:1). */
#booking > * {
  background: transparent;
}
#booking .form-submit {
  position: relative;
  z-index: 2;
}
