/* ═══════════════════════════════════
   DESIGN TOKENS
   All magic numbers live here.
═══════════════════════════════════ */
:root {
  /* Palette */
  --ink:        #080610;
  --ink-2:      #100D1C;
  --ink-3:      #181326;
  --purple:     #2D1B5E;
  --purple-mid: #3D2578;
  --gold:       #C9933A;
  --gold-light: #E8B96A;
  --border:     rgba(201, 147, 58, 0.18);
  --border-dim: rgba(255, 255, 255, 0.07);
  --text:       rgba(255, 255, 255, 0.88);
  --text-dim:   rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.32);

  /* Typography scale */
  --fs-eyebrow:  12px;
  --fs-sm:       14px;
  --fs-body:     16px;
  --fs-body-lg:  18px;
  --fs-ui:       14px;

  /* Spacing */
  --nav-h:   62px;
  --pad:     48px;   /* section / panel inner padding */
  --pad-sm:  20px;   /* mobile padding */
  --gap:     1px;    /* grid hairline gap */

  /* Transitions */
  --t-fast:  0.2s;
  --t-mid:   0.35s;
  --t-slow:  0.5s;
}

/* ═══════════════════════════════════
   RESET
═══════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ═══════════════════════════════════
   CURSOR
═══════════════════════════════════ */
.cur {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--t-fast), height var(--t-fast);
}
.cur-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(201, 147, 58, 0.4);
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.22s, height 0.22s, border-color 0.22s;
}
body:has(a:hover) .cur,
body:has(button:hover) .cur      { width: 3px; height: 3px; }
body:has(a:hover) .cur-ring,
body:has(button:hover) .cur-ring { width: 56px; height: 56px; border-color: rgba(201,147,58,.7); }

/* ═══════════════════════════════════
   TYPOGRAPHY PRIMITIVES
   Reused across every section.
═══════════════════════════════════ */
.eyebrow {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.26em;
  color: var(--gold);
  margin-bottom: 14px;
}

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.05;
  color: #fff;
}
.sec-title em        { font-style: italic; color: var(--gold-light); }
.sec-title--sm       { font-size: clamp(28px, 3vw, 40px); }

.stars {
  color: var(--gold);
  font-size: var(--fs-eyebrow);
  letter-spacing: 3px;
  margin-bottom: 16px;
  display: block;
}
.stars span { color: var(--text-muted); }

/* ═══════════════════════════════════
   BUTTONS
   Two variants: filled gold, ghost text.
═══════════════════════════════════ */
.btn {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  font-weight: 500;
  padding: 12px 28px;
  border: none; cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.btn--gold  { background: var(--gold); color: var(--purple); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn--ghost {
  background: transparent; border: 1px solid var(--border);
  color: var(--gold); cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.2em;
  padding: 9px 20px;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn--ghost:hover { background: rgba(201,147,58,.1); border-color: var(--gold); color: var(--gold-light); }

.btn--text {
  background: transparent; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-ui); font-weight: 300;
  color: var(--text-muted); letter-spacing: 0.06em;
  transition: color var(--t-fast);
}
.btn--text:hover { color: var(--text); }

/* ═══════════════════════════════════
   SHARED LAYOUT HELPERS
═══════════════════════════════════ */

/* Hairline border separating sections */
.sect { border-top: 1px solid var(--border-dim); }

/* Two-column image+content split — reused in About and Contact */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* The image column inside a .split */
.split__img {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
@media (max-width: 800px) { .split__img { min-height: 280px; } }

.split__img-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42) saturate(0.7);
  transition: filter var(--t-slow);
}
.split:hover .split__img-bg { filter: brightness(0.55) saturate(0.85); }

.split__img-veil {
  position: absolute; inset: 0;
}

/* The content column inside a .split */
.split__body {
  background: var(--ink-2);
  padding: var(--pad) calc(var(--pad) + 4px);
  border-left: 1px solid var(--border-dim);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 800px) {
  .split__body { padding: var(--pad) var(--pad-sm); border-left: none; border-top: 1px solid var(--border-dim); }
}

/* Floating label badge on images */
.img-tag {
  position: absolute; bottom: 20px; left: 20px;
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.2em; color: var(--gold);
  border: 1px solid var(--border); padding: 5px 12px;
  background: rgba(8, 6, 16, 0.7); backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════
   NAVIGATION
═══════════════════════════════════ */
nav#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(8, 6, 16, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-slow);
}
nav#nav.solid { background: rgba(8, 6, 16, 0.97); }
@media (max-width: 768px) { nav#nav { padding: 0 var(--pad-sm); } }

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 12.5px; letter-spacing: 0.22em;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 10px;
}
.nav-logo__hex {
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--gold);
}
.nav-links {
  display: flex; gap: 32px;
}
@media (max-width: 860px) { .nav-links { display: none; } }
.nav-links a {
  font-size: var(--fs-sm); letter-spacing: 0.09em;
  color: var(--text-dim);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--gold-light); }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  height: 82vh; min-height: 520px; max-height: 760px;
  padding-top: var(--nav-h);
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
}
.hero__photo {
  position: absolute; inset: 0;
  background-image: url('/src/layout/hero-logo-sunset.jpg');
  background-size: cover; background-position: center 30%;
  filter: brightness(0.85) saturate(0.8);
  transform: scale(1.04);
  animation: hzoom 16s ease-out forwards;
}
@keyframes hzoom { to { transform: scale(1); } }

.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(8,6,16,.55) 0%, rgba(8,6,16,.08) 35%, rgba(8,6,16,.92) 100%),
    linear-gradient(to right,  rgba(8,6,16,.72) 0%, transparent 55%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--pad) var(--pad);
}
@media (max-width: 768px) { .hero__content { padding: 0 var(--pad-sm) 44px; } }

.hero__eyebrow {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.28em; color: var(--gold);
  margin-bottom: 20px;
  opacity: 0; animation: fu 0.7s 0.3s ease forwards;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(46px, 6.5vw, 86px); line-height: 0.97; color: #fff;
  margin-bottom: 22px;
  opacity: 0; animation: fu 0.7s 0.5s ease forwards;
}
.hero__title em { font-style: italic; color: var(--gold-light); }

.hero__sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(16px, 1.8vw, 22px); color: var(--text-dim);
  line-height: 1.45; letter-spacing: 0.02em; margin-bottom: 34px;
  opacity: 0; animation: fu 0.7s 0.7s ease forwards;
}
.hero__actions {
  display: flex; gap: 14px; align-items: center;
  opacity: 0; animation: fu 0.7s 0.9s ease forwards;
}
@keyframes fu {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════ */
.strip { background: var(--gold); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.strip__track { display: inline-flex; animation: mq 32s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
.strip__item {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.22em; color: var(--purple);
  padding: 0 36px; display: flex; align-items: center; gap: 14px;
}
.strip__item::after { content: '◆'; font-size: 5px; opacity: 0.4; }

/* ═══════════════════════════════════
   ABOUT
═══════════════════════════════════ */
.about-body {
  font-size: var(--fs-body-lg); line-height: 1.78; color: var(--text-dim);
  margin-top: 18px; margin-bottom: 32px;
}
.about-nums {
  display: flex; gap: 36px;
  padding-top: 28px; border-top: 1px solid var(--border-dim);
}
.about-nums__val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 300; color: var(--gold-light); line-height: 1;
}
.about-nums__lbl {
  font-size: var(--fs-sm); color: var(--text-muted);
  margin-top: 4px; letter-spacing: 0.05em;
}

/* ═══════════════════════════════════
   PROFILES (People + Services)
═══════════════════════════════════ */
.profiles__head {
  padding: var(--pad) var(--pad) 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .profiles__head { grid-template-columns: 1fr; padding: var(--pad) var(--pad-sm) 0; margin-bottom: 28px; }
}
.profiles__aside {
  font-size: var(--fs-body-lg); line-height: 1.75; color: var(--text-dim);
}

.profiles__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap); background: var(--border-dim);
  border-top: 1px solid var(--border-dim);
}
@media (max-width: 1000px) { .profiles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:  540px) { .profiles__grid { grid-template-columns: 1fr; } }

.profile {
  background: var(--ink);
  display: flex; flex-direction: column;
  overflow: hidden; cursor: default;
}
.profile__photo {
  aspect-ratio: 2/3; overflow: hidden;
  position: relative; flex-shrink: 0;
}
.profile__photo img {
  filter: brightness(0.45) saturate(0.55) sepia(0.15);
  transition: filter var(--t-slow), transform 0.6s ease;
}
.profile:hover .profile__photo img {
  filter: brightness(0.65) saturate(0.9) sepia(0);
  transform: scale(1.04);
}
.profile__photo-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, var(--ink) 100%);
}
.profile__accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.profile:hover .profile__accent { transform: scaleX(1); }

.profile__body {
  padding: 20px 22px 28px;
  flex: 1; display: flex; flex-direction: column;
}
.profile__service {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.22em; color: var(--gold);
  margin-bottom: 7px;
}
.profile__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; color: #fff;
  line-height: 1.1; margin-bottom: 5px;
}
.profile__role {
  font-size: var(--fs-sm); color: var(--text-muted);
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.profile__desc {
  font-size: var(--fs-ui); color: var(--text-dim); line-height: 1.7;
  flex: 1;
}
.profile__tag {
  display: block; margin-top: 14px;
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.18em; color: var(--gold);
  border-top: 1px solid var(--border); padding-top: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--t-mid) 0.1s, transform var(--t-mid) 0.1s;
}
.profile:hover .profile__tag { opacity: 1; transform: none; }

/* ═══════════════════════════════════
   IMAGE BREAK (cinematic quote panel)
═══════════════════════════════════ */
.img-break {
  height: 320px; position: relative; overflow: hidden;
  border-top: 1px solid var(--border-dim);
}
@media (max-width: 768px) { .img-break { height: 220px; } }

.img-break__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35) saturate(0.6);
  transform: scale(1.04);
  transition: filter var(--t-slow);
}
.img-break:hover .img-break__photo { filter: brightness(0.45) saturate(0.75); }

.img-break__mask {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45,27,94,.45), rgba(8,6,16,.35));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}
.img-break__rule { width: 36px; height: 1px; background: var(--gold); }
.img-break__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.2vw, 40px); font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.8); text-align: center;
  padding: 0 var(--pad); letter-spacing: 0.02em; line-height: 1.35;
}

/* ═══════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════ */
.testi__head {
  padding: var(--pad) var(--pad) 40px;
}
@media (max-width: 768px) { .testi__head { padding: var(--pad) var(--pad-sm) 32px; } }

.testi__grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--gap); background: var(--border-dim);
}
@media (max-width: 860px) { .testi__grid { grid-template-columns: 1fr; } }

/* Featured large card */
.testi__feature {
  background: var(--purple-mid); padding: var(--pad) calc(var(--pad) + 4px);
  position: relative; overflow: hidden;
}
.testi__feature::before {
  content: '"'; position: absolute; top: -24px; right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px; font-weight: 300;
  color: rgba(201,147,58,.07); line-height: 1; pointer-events: none;
}
.testi__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 2vw, 23px); font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.9); line-height: 1.55; margin-bottom: 28px;
}
.testi__author { font-size: var(--fs-ui); font-weight: 400; color: var(--gold-light); }
.testi__role   { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 4px; line-height: 1.4; }

/* Stack of smaller cards */
.testi__stack { display: flex; flex-direction: column; gap: var(--gap); background: var(--border-dim); }
.testi__card {
  background: var(--ink-2); padding: 28px var(--pad);
  transition: background var(--t-fast);
}
.testi__card:hover { background: var(--ink-3); }
.testi__card-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-style: italic; font-weight: 300;
  color: var(--text-dim); line-height: 1.6; margin-bottom: 14px;
}
.testi__card-author { font-size: var(--fs-ui); color: rgba(255,255,255,.65); font-weight: 400; }
.testi__card-role   { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 3px; }
@media (max-width: 768px) { .testi__card { padding: 24px var(--pad-sm); } }

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
/* contact uses .split layout + these local rules */
.contact__img-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--ink) 100%);
}
.contact__words {
  position: absolute; bottom: 32px; left: 28px; right: 28px;
}
.contact__pull {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.2vw, 28px); font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.7); line-height: 1.45;
  border-left: 2px solid var(--gold); padding-left: 16px;
}
.contact__cite {
  display: block; margin-top: 10px;
  font-size: var(--fs-sm); color: var(--text-muted);
  letter-spacing: 0.08em; padding-left: 18px;
}
.contact__intro {
  font-size: var(--fs-body-lg); line-height: 1.75; color: var(--text-dim);
  margin-top: 14px; margin-bottom: 28px;
}

/* ── Form ── */
.form { display: flex; flex-direction: column; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

.form__label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.2em;
  color: var(--text-muted); margin-bottom: 5px;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  padding: 11px 13px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-ui); font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-muted); }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: rgba(201,147,58,.5);
  background: rgba(255,255,255,.06);
}
.form__select { color: rgba(255,255,255,.45); }
.form__select option { background: var(--ink); color: var(--text); }
.form__textarea { resize: vertical; min-height: 90px; }
.form__note { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }

.form__success { display: none; padding: 36px; border: 1px solid var(--border); text-align: center; }
.form__success.show { display: block; }
.form__success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300; font-style: italic;
  color: var(--gold-light); margin-bottom: 10px;
}
.form__success-body { font-size: var(--fs-ui); color: var(--text-dim); }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-dim);
  padding: 40px var(--pad) 28px;
}
@media (max-width: 768px) { .footer { padding: 36px var(--pad-sm) 24px; } }

.footer__inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  padding-bottom: 32px; margin-bottom: 28px;
  border-bottom: 1px solid var(--border-dim);
}
.footer__brand-logo {
  font-family: 'Cinzel', serif; font-size: var(--fs-sm); letter-spacing: 0.2em;
  color: var(--gold-light); display: flex; align-items: center; gap: 9px; margin-bottom: 9px;
}
.footer__hex {
  width: 22px; height: 22px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--gold);
}
.footer__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-body); font-style: italic; font-weight: 300;
  color: var(--text-muted);
}
.footer__nav { display: flex; gap: 52px; flex-wrap: wrap; }
.footer__col-head {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-eyebrow); letter-spacing: 0.2em; color: var(--gold);
  margin-bottom: 13px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: var(--fs-body); color: var(--text-muted); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--gold-light); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: var(--fs-sm); color: var(--text-muted); }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--gold-light); }

/* ═══════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════ */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }

/* ═══════════════════════════════════
   SCROLLBAR
═══════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(201,147,58,.2); }