/* ==========================================================================
   ROYAL EVENTS — Design System
   Black + Champagne Gold, drawn from the brand crest.
   Signature motif: the "gold thread" — a hand-drawn laurel sprig and a
   single hairline that draws itself between sections, echoing the wreath
   and flourish in the mark.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500;1,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ---- Color: 6 named values, all derived from the crest ---- */
  --black:           #0a0a0a;   /* dominant field */
  --black-soft:      #141210;  /* warm-black surface, cards */
  --black-elevated:  #1c1814;  /* nav-on-scroll, raised surface */
  --gold:            #d4aa52;  /* primary accent, exact crest gold */
  --gold-light:      #e9cd8c;  /* hover / bright highlight */
  --gold-deep:        #8a672c;  /* muted borders, recessed shadow-gold */
  --cream:           #f4efe4;  /* warm white — primary text on black */
  --stone:           #a89f8f;  /* warm gray — secondary/body text */

  --line: rgba(212, 170, 82, 0.16);
  --line-strong: rgba(212, 170, 82, 0.32);
  --shadow-black: rgba(0, 0, 0, 0.55);

  --font-display: 'Cinzel', serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;

  --container: 1280px;
  --gutter: clamp(24px, 6vw, 96px);

  --ease-royal: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Also set on <body> below — the [data-reveal] entrance animations
   (translateX ±34px) can otherwise widen documentElement.scrollWidth
   mid-animation on some browsers (notably iOS Safari) even though body
   alone clips it visually. */
html { scroll-behavior: auto; overflow-x: hidden; max-width: 100%; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--black); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cream);
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-deep);
}

.script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 18px;
}

.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--stone);
  max-width: 640px;
  margin-top: 22px;
  font-weight: 300;
  line-height: 1.8;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-deep);
}

/* ==========================================================================
   Signature ornament: laurel sprig + drawn gold thread
   ========================================================================== */

.sprig {
  width: 46px;
  height: 46px;
  color: var(--gold);
  opacity: 0.9;
  fill: none;
  stroke: none;
}
.sprig line { stroke: currentColor; stroke-width: 1; }
.sprig ellipse, .sprig circle { fill: currentColor; }

.gold-thread {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.gold-thread svg { width: 100%; max-width: 420px; height: 100%; overflow: visible; }
.gold-thread path {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.6s var(--ease-royal);
}
.gold-thread.in-view path { stroke-dashoffset: 0; }
.gold-thread .thread-mark {
  fill: var(--black);
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 0.6s var(--ease-royal) 1.2s;
}
.gold-thread.in-view .thread-mark { opacity: 1; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 38px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold-deep);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease-royal), border-color 0.5s var(--ease-royal);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.55s var(--ease-royal);
  z-index: -1;
}
.btn:hover, .btn:focus-visible {
  color: var(--black);
  border-color: var(--gold);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }

.btn-solid {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-solid::before { background: var(--black); }
.btn-solid:hover { color: var(--gold); border-color: var(--gold-deep); }

.btn-ghost {
  border-color: rgba(244, 239, 228, 0.25);
}
.btn-ghost::before { background: var(--cream); }
.btn-ghost:hover { color: var(--black); }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 26px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.5s var(--ease-royal), background 0.5s var(--ease-royal), border-color 0.5s var(--ease-royal);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 14px var(--gutter);
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 46px; width: auto; transition: height 0.5s var(--ease-royal); }
.nav.scrolled .nav-brand img { height: 36px; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.14em;
}
.nav-brand-text span { display: block; font-family: var(--font-script); font-style: italic; font-size: 12px; letter-spacing: 0.05em; color: var(--stone); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 6px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.4s var(--ease-royal);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 12px 26px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: calc(-1 * (44px - 28px) / 2);
  z-index: 300;
}
.nav-toggle span { display: block; height: 1px; width: 26px; background: var(--cream); transition: transform 0.4s var(--ease-royal), opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black-soft);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-royal);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--cream);
  padding: 12px 0;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 220px var(--gutter) 120px;
  background: radial-gradient(ellipse at top, #171310 0%, var(--black) 62%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 20%, black, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: var(--container); margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 780px; }
.page-hero .section-lede { max-width: 560px; }
.crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone); margin-top: 26px;
}
.crumb .gold { color: var(--gold); }

/* corner brackets — museum-placard framing device, used once per page hero */
.corner-frame > span {
  position: absolute;
  width: 34px; height: 34px;
  border-color: var(--gold-deep);
  opacity: 0.7;
}
.corner-frame .tl { top: 130px; left: var(--gutter); border-top: 1px solid; border-left: 1px solid; }
.corner-frame .br { bottom: 40px; right: var(--gutter); border-bottom: 1px solid; border-right: 1px solid; }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 140px; /* keeps hero-content clear of the fixed nav even if the min-height above fails to size the hero to the full viewport */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #050505;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media img {
  /* Video is pre-graded at encode time (see assets/img/V.mp4); only the
     static fallback image needs the filter applied live. */
  filter: grayscale(0.25) brightness(0.6);
}
.hero-media-placeholder {
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(212,170,82,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 75%, rgba(212,170,82,0.08), transparent 65%),
    linear-gradient(160deg, #14110d 0%, #0a0a0a 55%, #050504 100%);
}
.hero-media-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, black, transparent 72%);
  opacity: 0.55;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.35) 40%, rgba(10,9,8,0.94) 100%),
    linear-gradient(90deg, rgba(10,9,8,0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter) 100px;
}
.hero-kicker {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 30px;
  opacity: 0;
}
.hero-kicker::before { content: ''; width: 44px; height: 1px; background: var(--gold); }

.hero-title {
  font-size: clamp(2.8rem, 7.2vw, 6.4rem);
  max-width: 920px;
  overflow: hidden;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; transform: translateY(110%); }
.hero-title em {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero-sub {
  max-width: 480px;
  color: var(--stone);
  font-weight: 300;
  font-size: 1.05rem;
  margin-top: 28px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 22px;
  margin-top: 46px;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 26px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero-foot .scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-line { width: 1px; height: 34px; background: var(--gold-deep); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollDrop 2.6s var(--ease-royal) infinite;
}
@keyframes scrollDrop { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* floating premium element */
.hero-float {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line-strong);
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  right: var(--gutter);
  top: 30%;
  max-width: 220px;
  animation: floatY 7s ease-in-out infinite;
}
.hero-float .fig { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); }
.hero-float .cap { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-top: 6px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 56px 28px;
  text-align: center;
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--gold);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
}
.stat-label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  padding: clamp(90px, 12vw, 160px) var(--gutter);
}
.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, #1c1814, #0d0b09);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-media .ph-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-media::before, .about-media::after {
  content: ''; position: absolute; width: 44px; height: 44px; border-color: var(--gold);
}
.about-media::before { top: 18px; left: 18px; border-top: 1px solid; border-left: 1px solid; }
.about-media::after { bottom: 18px; right: 18px; border-bottom: 1px solid; border-right: 1px solid; }

.about-copy p { color: var(--stone); font-weight: 300; margin-top: 22px; max-width: 560px; }
.about-copy p:first-of-type { margin-top: 28px; }

.mvw {
  margin-top: 46px;
  display: grid;
  gap: 26px;
}
.mvw-item { display: flex; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.mvw-item .sprig { flex-shrink: 0; width: 26px; height: 26px; margin-top: 3px; }
.mvw-item h3 { font-size: 1.05rem; letter-spacing: 0.02em; }
.mvw-item p { color: var(--stone); font-size: 0.94rem; margin-top: 6px; font-weight: 300; }
.mvw-item ul { margin-top: 8px; display: grid; gap: 7px; }
.mvw-item ul li { color: var(--stone); font-size: 0.94rem; font-weight: 300; padding-left: 16px; position: relative; }
.mvw-item ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1px; background: var(--gold-deep); }

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 9px 20px;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.about-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.about-footnote {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.92rem;
  font-weight: 300;
  font-style: italic;
  max-width: 560px;
}

/* ==========================================================================
   Why choose us — cards
   ========================================================================== */

.why {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: linear-gradient(180deg, transparent, rgba(212,170,82,0.03), transparent);
}
.why-inner { max-width: var(--container); margin: 0 auto; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-card {
  background: var(--black);
  padding: 44px 34px;
  transition: background 0.5s var(--ease-royal);
}
.why-card:hover { background: var(--black-soft); }
.why-card .sprig { margin-bottom: 22px; }
.why-card h3 { font-size: 1.2rem; font-weight: 500; }
.why-card p { color: var(--stone); font-size: 0.92rem; margin-top: 12px; font-weight: 300; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  position: relative;
  padding: clamp(90px, 13vw, 170px) var(--gutter);
  text-align: center;
  overflow: hidden;
  background: var(--black-soft);
  border-top: 1px solid var(--line);
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,170,82,0.10), transparent 60%);
}
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta .eyebrow::before { display: none; }
.cta .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gold-deep); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { color: var(--stone); margin-top: 20px; font-weight: 300; }
.cta-actions { margin-top: 42px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 30px;
  background: var(--black);
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand img { height: 52px; margin-bottom: 20px; }
.footer-brand p { color: var(--stone); font-size: 0.9rem; font-weight: 300; max-width: 280px; }
.footer-social { display: flex; gap: 16px; margin-top: 26px; }
.footer-social a {
  width: 44px; height: 44px; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s, background 0.4s;
}
.footer-social a:hover { border-color: var(--gold); background: rgba(212,170,82,0.08); }
.footer-social svg { width: 15px; height: 15px; fill: var(--gold); }

.footer-col h5 {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; font-weight: 600;
}
.footer-col ul { display: grid; gap: 4px; }
.footer-col a, .footer-col li { color: var(--stone); font-size: 0.92rem; font-weight: 300; }
.footer-col a { display: inline-block; padding: 6px 0; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: var(--stone); display: inline-block; padding: 8px 0; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 26px; }

/* ==========================================================================
   Reveal animation utility (GSAP hooks target these)
   ========================================================================== */

[data-reveal] { opacity: 0; }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */

.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 150;
  width: 58px; height: 58px;
  background: var(--gold);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  transition: transform 0.4s var(--ease-royal), box-shadow 0.4s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(212,170,82,0.35); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before {
  content: '';
  position: absolute; inset: -1px;
  border: 1px solid var(--gold);
  opacity: 0.5;
  animation: pulse 2.4s ease-out infinite;
}

.social-float {
  position: fixed;
  bottom: 96px; right: 28px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.social-float a {
  width: 48px; height: 48px;
  background: var(--black);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
  transition: transform 0.4s var(--ease-royal), background 0.4s, color 0.4s;
}
.social-float a:hover { transform: scale(1.08); background: var(--gold); color: var(--black); }
.social-float svg { width: 20px; height: 20px; fill: var(--gold); flex-shrink: 0; }
.social-float a:hover svg { fill: var(--black); }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==========================================================================
   Generic media frame (reused: about / services / portfolio placeholders)
   ========================================================================== */

.media-frame {
  position: relative;
  background: linear-gradient(155deg, #1c1814, #0d0b09);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.media-frame .ph-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
  text-align: center; padding: 0 24px;
}
.media-frame::before, .media-frame::after {
  content: ''; position: absolute; width: 34px; height: 34px; border-color: var(--gold);
}
.media-frame::before { top: 16px; left: 16px; border-top: 1px solid; border-left: 1px solid; }
.media-frame::after { bottom: 16px; right: 16px; border-bottom: 1px solid; border-right: 1px solid; }
.media-frame .frame-icon { width: 34px; height: 34px; color: var(--gold-deep); margin-bottom: 14px; }
.media-frame .frame-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ==========================================================================
   Services page
   ========================================================================== */

.services-list { padding: 0 var(--gutter) 40px; }
.service-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  border-top: 1px solid var(--line);
}
.service-block:first-child { border-top: none; }
.service-block.reverse .service-media { order: 2; }
.service-media { aspect-ratio: 6/5; }
.service-copy .icon-badge {
  width: 56px; height: 56px;
  border: 1px solid var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.service-copy .icon-badge svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.1; }
.service-copy h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.service-copy .service-desc { color: var(--stone); font-weight: 300; margin-top: 18px; max-width: 480px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  color: var(--stone);
  transition: border-color 0.4s var(--ease-royal), color 0.4s var(--ease-royal), background 0.4s var(--ease-royal);
}
.tag:hover { border-color: var(--gold); color: var(--cream); background: rgba(212,170,82,0.06); }

.service-copy .btn-row { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Portfolio page
   ========================================================================== */

.filter-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid var(--line);
  padding: 22px var(--gutter);
}
.filter-tabs {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--stone);
  transition: all 0.4s var(--ease-royal);
}
.filter-tab:hover { color: var(--cream); border-color: var(--gold-deep); }
.filter-tab.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

.portfolio-wrap { padding: 60px var(--gutter) 120px; }
.portfolio-grid {
  max-width: var(--container);
  margin: 0 auto;
  /* Desktop 4 / tablet 2 / mobile 1 — see breakpoints below */
  column-count: 4;
  column-gap: 22px;
}
.pf-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-royal), transform 0.5s var(--ease-royal), border-color 0.4s;
}
.pf-card.shown { opacity: 1; transform: translateY(0); }
.pf-card.hide { display: none; }
.pf-card:hover { border-color: var(--gold-deep); }
.pf-media {
  position: relative;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pf-media .pf-tag {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: transform 0.6s var(--ease-royal);
}
.pf-card:hover .pf-media .pf-tag { transform: scale(1.08); }

.pf-media.has-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-royal);
}
.pf-card:hover .pf-media.has-photo img { transform: scale(1.05); }
.pf-media.has-photo .pf-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(10, 9, 7, 0.72);
  padding: 7px 14px;
  font-size: 11px;
}
.pf-card:hover .pf-media.has-photo .pf-tag { transform: none; }

.pf-empty { text-align: center; padding: 80px 0; color: var(--stone); display: none; }
.pf-empty.show { display: block; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(5,5,5,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-royal);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner {
  max-width: 720px; width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--black-soft);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease-royal);
}
.lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox-media {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.lightbox-media .pf-tag { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.lightbox-media.has-photo img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 26px; right: 30px;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 22px; font-weight: 300;
  transition: border-color 0.3s, transform 0.3s;
}
.lightbox-close:hover { border-color: var(--gold); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 18px;
}
.lightbox-nav:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 110px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(50px, 6vw, 100px);
}

.info-card-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info-card {
  background: var(--black);
  padding: 30px 32px;
  display: flex; gap: 20px; align-items: flex-start;
}
.info-card .icon-badge {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 1px solid var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.info-card .icon-badge svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.1; }
.info-card h3 { font-size: 1rem; letter-spacing: 0.02em; margin-bottom: 8px; }
.info-card p, .info-card a { display: block; color: var(--stone); font-size: 0.94rem; font-weight: 300; }
.info-card a { padding: 6px 0; margin: -6px 0; }
.info-card a:hover { color: var(--gold); }

.wa-inline {
  margin-top: 30px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  border: 1px solid var(--gold-deep);
  color: var(--cream);
  transition: border-color 0.4s, background 0.4s;
}
.wa-inline:hover { border-color: var(--gold); background: rgba(212,170,82,0.06); }
.wa-inline svg { width: 20px; height: 20px; fill: var(--gold); }

.map-frame {
  margin-top: 40px;
  aspect-ratio: 16/9;
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9); }

/* Form */
.contact-form { }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; margin-bottom: 26px; }
.field label {
  display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 14px 2px;
  /* 16px minimum — anything smaller makes iOS Safari zoom in on focus */
  font-size: 16px;
  color: var(--cream);
  transition: border-color 0.4s var(--ease-royal);
}
.field select option { background: var(--black-soft); color: var(--cream); }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--stone); opacity: 0.6; }

.form-note { font-size: 12.5px; color: var(--stone); margin-top: -6px; margin-bottom: 26px; }
.form-submit { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 70px 20px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 68px; height: 68px; margin: 0 auto 26px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.form-success .check svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--stone); margin-top: 12px; font-weight: 300; }

.form-error {
  display: none;
  border: 1px solid #7a3b3b;
  background: rgba(122, 59, 59, 0.12);
  padding: 16px 20px;
  font-size: 13px;
  color: #e0b3b3;
  margin-bottom: 24px;
}
.form-error.show { display: block; }
.form-error a { color: var(--gold-light); text-decoration: underline; }

/* FAQ */
.faq-section {
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--black-soft);
}
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.faq-item { background: var(--black); padding: 26px 30px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--gold-deep);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform 0.3s var(--ease-royal), border-color 0.3s var(--ease-royal);
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); border-color: var(--gold); }
.faq-item p { color: var(--stone); font-size: 0.95rem; font-weight: 300; margin-top: 16px; max-width: 640px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .lightbox-prev { left: 14px; }
  .lightbox-next { right: 14px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta.desktop-only { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .hero-float { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .lightbox-nav { display: none; }
}

/* Portfolio grid: desktop 4 / tablet (768–1023) 2 / mobile (<768) 1 —
   its own breakpoints since the tablet band here is wider than the 860px
   nav/layout breakpoint above (a landscape iPad at ~900px should still get
   the 2-column tablet treatment, not the 4-column desktop one). */
@media (max-width: 1023px) {
  .portfolio-grid { column-count: 2; }
}
@media (max-width: 767px) {
  .portfolio-grid { column-count: 1; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; gap: 14px; align-items: flex-start; }
  .info-card { flex-direction: column; }
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 8px 16px; font-size: 11px; }

  /* Re-laid-out for small phones, not just a shrunk desktop hero */
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
