/* ===========================================================
   IVELINA HS — Design System
   charcoal + champagne gold + ivory, subtle olive accent
   =========================================================== */

:root {
  --charcoal: #14120f;
  --charcoal-2: #1b1815;
  --charcoal-3: #221f1a;
  --ivory: #f4eee2;
  --beige: #e7dcc7;
  --beige-2: #d9c9ab;
  --gold: #c9a35d;
  --gold-light: #e3caa0;
  --gold-dim: #9c7f49;
  --olive: #6f6d4c;
  --ink: #1b1815;
  --white: #fffdf9;

  --serif: 'Bodoni Moda', 'Georgia', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --gap: clamp(1.25rem, 3vw, 3rem);
  --radius: 2px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: .01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dim);
  margin: 0 0 1rem;
}
.on-dark .eyebrow { color: var(--gold-light); }

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section.dark { background: var(--charcoal); color: var(--beige); }
.section.charcoal-2 { background: var(--charcoal-2); color: var(--beige); }

/* gold hairline divider motif */
.hairline {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}
.hairline.center { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 2.1rem;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; opacity: .92; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }
.on-dark .btn-outline { border-color: var(--beige-2); }
.on-dark .btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.scrolled {
  background: rgba(20, 18, 15, .92);
  backdrop-filter: blur(10px);
  padding: .85rem 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.nav-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ivory);
  letter-spacing: .02em;
}
.nav-logo span { color: var(--gold); font-style: normal; }
.nav-links {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.2rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--beige);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
.nav-links a:hover { color: var(--gold-light); border-color: var(--gold); }
.nav-cta { display: none; }
.nav-burger {
  display: none;
  background: none; border: none;
  width: 32px; height: 22px;
  position: relative;
}
.nav-burger span, .nav-burger::before, .nav-burger::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: var(--ivory);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-burger::before { top: 0; }
.nav-burger span { top: 50%; transform: translateY(-50%); }
.nav-burger::after { bottom: 0; }
.nav-burger.open::before { transform: translateY(10px) rotate(45deg); }
.nav-burger.open::after { transform: translateY(-11px) rotate(-45deg); }
.nav-burger.open span { opacity: 0; }

@media (max-width: 880px) {
  .nav-links { position: fixed; inset: 0 0 0 30%; background: var(--charcoal); flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.6rem; padding: 2rem 2.4rem; transform: translateX(100%); transition: transform .45s var(--ease); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav-burger { display: block; z-index: 101; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding: clamp(6rem, 10vw, 4rem) clamp(1.5rem, 6vw, 5rem) 4rem;
  color: var(--ivory);
  position: relative;
  z-index: 2;
}
.hero-word {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: .02em;
  color: var(--white);
  margin-bottom: .4rem;
}
.hero-role {
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  font-weight: 400;
}
.hero-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--beige);
  max-width: 30ch;
  margin-bottom: 1rem;
  line-height: 1.35;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--beige-2);
  max-width: 42ch;
  margin-bottom: 2.4rem;
  font-weight: 300;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 64% 22%;
  transform: scale(1.04);
  animation: heroreveal 1.8s var(--ease) forwards;
}
@keyframes heroreveal { from { transform: scale(1.12); filter: brightness(.8); } to { transform: scale(1.04); filter: brightness(1); } }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--charcoal) 0%, rgba(20,18,15,.95) 24%, rgba(20,18,15,.6) 46%, rgba(20,18,15,.18) 66%, rgba(20,18,15,0) 82%),
    linear-gradient(0deg, rgba(14,12,10,.5) 0%, transparent 26%);
}
.scroll-cue {
  position: absolute;
  left: clamp(1.5rem, 5vw, 4.5rem);
  bottom: 2rem;
  display: flex; align-items: center; gap: .7rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--beige-2);
  z-index: 3;
}
.scroll-cue .line { width: 30px; height: 1px; background: var(--gold); animation: pulseline 2.4s ease-in-out infinite; }
@keyframes pulseline { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

@media (max-width: 880px) {
  .hero-media img { object-position: 58% 18%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, var(--charcoal) 0%, rgba(20,18,15,.92) 38%, rgba(20,18,15,.35) 62%, rgba(20,18,15,.05) 78%),
      linear-gradient(100deg, rgba(20,18,15,.55) 0%, transparent 55%);
  }
  .hero-copy { max-width: none; justify-content: flex-end; padding-bottom: 5.5rem; }
}

/* ---------- split / editorial layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.045); }
.split-media.pos-center img { object-position: 50% 32%; }
.split-media.pos-low img { object-position: 50% 50%; }
/* dynamic forest photo — zoomed in further so she reads bigger and the trees recede */
.split-media.crop-subject img { object-position: 60% 42%; transform: scale(1.3); }
.split-media.crop-subject:hover img { transform: scale(1.34); }
.split-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 1.3rem; }
.split-copy h2.heading-narrow { max-width: 17ch; }
@media (max-width: 880px) { .split-copy h2.heading-narrow { max-width: none; } }
.split-copy p { line-height: 1.75; font-size: 1.02rem; margin: 0 0 1.1rem; opacity: .92; }
.on-dark .split-copy p { color: var(--beige-2); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .split-media { aspect-ratio: 5 / 4; }
  .split-media.crop-subject img { object-position: 60% 32%; transform: scale(1.5); }
  .split-media.crop-subject:hover img { transform: scale(1.5); }
  .split-media.crop-about img { object-position: 50% 40%; }
}
@media (max-width: 560px) {
  .split-media { aspect-ratio: 4 / 5; }
  .split-media.crop-subject img { object-position: 58% 38%; transform: scale(1.3); }
  .split-media.crop-subject:hover img { transform: scale(1.3); }
  .split-media.crop-about img { object-position: 50% 62%; }
}

/* ---------- events cards ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--charcoal);
  margin-top: 3rem;
  border: 1px solid var(--charcoal-3);
}
@media (max-width: 980px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .events-grid { grid-template-columns: 1fr; }
}
.event-card {
  background: var(--charcoal);
  padding: 2.4rem 1.8rem;
  position: relative;
  transition: background .4s var(--ease);
}
.event-card:hover { background: var(--charcoal-2); }
.event-num { font-family: var(--serif); font-size: .85rem; color: var(--gold-dim); margin-bottom: 1.4rem; display: block; }
.event-card h3 { font-size: 1.25rem; color: var(--ivory); margin-bottom: .6rem; }
.event-card p { font-size: .88rem; color: var(--beige-2); line-height: 1.55; margin: 0; opacity: .85; }

/* ---------- video ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--charcoal-3);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; gap: 1rem; }
  .video-card { aspect-ratio: 4 / 5; }
}
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .35s, transform .8s var(--ease); }
.video-card:hover img { opacity: .5; transform: scale(1.05); }
.play-btn {
  position: absolute; inset: 0; margin: auto;
  width: 58px; height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.play-btn svg { width: 16px; height: 16px; margin-left: 3px; }
.video-card-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; font-size: .78rem; letter-spacing: .06em; color: var(--beige); background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); }
.video-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin-top: 1.6rem; font-size: .82rem; color: var(--beige-2); opacity: .75; }

/* ---------- durations ---------- */
.durations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(201,163,93,.18);
  margin: 3rem 0 2.5rem;
  border: 1px solid rgba(201,163,93,.18);
}
.duration-card { background: var(--charcoal); text-align: center; padding: 2.6rem 1rem; }
.duration-num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold); display: block; line-height: 1; }
.duration-unit { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--beige-2); margin-top: .6rem; display: block; }

/* ---------- testimonials ---------- */
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: var(--gap);
  margin-top: 3rem;
}
.testi-card {
  background: var(--charcoal-2);
  padding: 2.4rem 2rem;
  border-top: 1px solid var(--gold-dim);
}
.testi-card p { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: var(--ivory); margin: 0 0 1.4rem; }
.testi-name { font-size: .82rem; letter-spacing: .06em; color: var(--gold-light); }
.testi-context { display: block; font-size: .76rem; color: var(--beige-2); opacity: .75; margin-top: .2rem; }
.testi-more-wrap { text-align: center; margin-top: 2.6rem; }
.testi-hidden { display: none; }
.testi-hidden.show { display: grid; }

@media (max-width: 980px) {
  .testi-track { grid-template-columns: 1fr; }
}


/* ---------- footer ---------- */
footer {
  background: #0e0c0a;
  color: var(--beige-2);
  padding: 4rem 0 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  text-align: center;
  padding-bottom: 2.2rem;
}
.footer-logo { font-family: var(--serif); font-style: italic; font-size: 2.1rem; color: var(--ivory); white-space: nowrap; }
.footer-logo span { color: var(--gold); font-style: normal; }
.footer-tagline { font-size: .9rem; opacity: .7; max-width: 34ch; margin: 0; }
.socials { display: flex; gap: 1rem; margin-top: .5rem; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.socials a:hover { border-color: var(--gold); color: var(--gold-light); }
.socials svg { width: 16px; height: 16px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .9rem 2.2rem;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links a {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--beige-2);
  opacity: .9;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .78rem; opacity: .55; }

/* ---------- enquiry form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--gap);
  align-items: start;
}
.contact-intro p { line-height: 1.75; color: var(--beige-2); margin-bottom: 1.6rem; }
.contact-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .6rem !important; opacity: .85; }
.contact-detail { display: flex; align-items: center; gap: .8rem; font-size: .92rem; margin-bottom: .9rem; color: var(--beige); }
.contact-detail .gold-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(231,220,199,.3);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: .96rem;
  padding: .6rem .1rem;
  outline: none;
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field select option { background: var(--charcoal); }
.field textarea { resize: vertical; min-height: 90px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: .6rem; }
.form-note { font-size: .76rem; color: var(--beige-2); opacity: .7; max-width: 30ch; }
.form-success { display: none; padding: 1.6rem; border: 1px solid var(--gold-dim); font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-light); grid-column: 1/-1; }
.form-success.show { display: block; }
.form-error { display: none; padding: 1rem 1.2rem; border: 1px solid #8a4a3a; font-size: .88rem; color: #e2a897; grid-column: 1/-1; }
.form-error.show { display: block; }
@media (max-width: 880px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .enquiry-form { grid-template-columns: 1fr; }
}

/* ---------- sticky mobile cta ---------- */
.mobile-cta {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  display: none;
  justify-content: center;
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta a {
  width: 100%; text-align: center;
  background: var(--gold);
  color: var(--charcoal);
  padding: 1rem;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
@media (max-width: 780px) { .mobile-cta { display: flex; } body { padding-bottom: 0; } }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,9,7,.92);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; aspect-ratio: 16/9; position: relative; }
.lightbox-close { position: absolute; top: -2.6rem; right: 0; color: var(--beige); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox iframe { width: 100%; height: 100%; border: 0; }

/* ---------- misc section headers ---------- */
.section-head { max-width: 62ch; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.section-head p { line-height: 1.75; color: inherit; opacity: .85; margin-top: 1rem; font-size: 1.02rem; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--charcoal); padding: .8rem 1.2rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

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