:root {
  --bg:        #F9F6F0;
  --bg2:       #F2EBE0;
  --bg3:       #FFFFFF;
  --accent:    #C4621F;
  --accent-dk: #a84e18;
  --accent-lt: rgba(196,98,31,0.10);
  --gold:      #C9A84C;
  --text:      #1A1A1A;
  --sub:       #4a4438;
  --muted:     #7a7060;
  --border:    #DDD5C4;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --max:    1100px;
  --max-sm:  720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(249,246,240,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 10px 22px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dk); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── HERO ─── */
#hero {
  padding: 140px 48px 0;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lt);
  border: 1px solid rgba(196,98,31,0.2);
  padding: 6px 14px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.25s forwards;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s forwards;
}
.hero-visual {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.06);
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}
.hero-visual-bar {
  background: #fff;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-screen {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, var(--bg2), var(--bg2) 16px, var(--border) 16px, var(--border) 32px);
  opacity: 0.4;
}
.hero-screen-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
  text-align: center;
  line-height: 1.7;
}

/* ─── TRUST BAR ─── */
#trust {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 48px;
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
  white-space: nowrap;
}
.trust-brands {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-brand {
  font-size: 13px;
  font-weight: 500;
  color: var(--border);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── SECTION HEADER ─── */
.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.section-h {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-h em { font-style: italic; color: var(--accent); }
.section-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── SERVICES ─── */
#services {
  padding: 100px 48px;
  background: var(--bg);
}
.services-cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.service-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 40px 36px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(196,98,31,0.08);
}
.service-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ─── FEATURE ROWS ─── */
#features {
  padding: 100px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.feature-row {
  max-width: var(--max);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.feature-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.feature-text h3 em { font-style: italic; color: var(--accent); }
.feature-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.feature-visual {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg3);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}
.feature-screen {
  aspect-ratio: 4/3;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, var(--bg), var(--bg) 12px, var(--border) 12px, var(--border) 24px);
  opacity: 0.35;
}
.feature-screen-label {
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
  text-align: center;
  line-height: 1.8;
}
.feature-screen-bar {
  background: var(--bg3);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── PORTFOLIO ─── */
#portfolio {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.portfolio-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.video-tile {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--bg2);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
}
.video-tile:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Video element — covers the tile when a src is set */
.tile-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Striped placeholder pattern — shows when no video loaded */
.tile-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, var(--bg2), var(--bg2) 12px, var(--border) 12px, var(--border) 24px);
  opacity: 0.5;
}
.tile-label-text {
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
  text-align: center;
  line-height: 1.7;
}
/* Hide placeholder once a video is present */
.video-tile:has(.tile-video[src]) .tile-thumb { display: none; }

.tile-bottom-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 16px 16px;
  background: linear-gradient(transparent, rgba(249,246,240,0.97));
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sub);
  z-index: 4;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.85);
  width: 48px; height: 48px;
  border: 1.5px solid rgba(196,98,31,0.5);
  border-radius: 50%;
  background: rgba(249,246,240,0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.25s;
  z-index: 5;
}
.play-btn svg { margin-left: 3px; fill: var(--accent); }
.video-tile:hover .play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.video-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(196,98,31,0.04);
  opacity: 0; transition: opacity 0.2s;
  z-index: 3;
}
.video-tile:hover::after { opacity: 1; }

/* ─── VIDEO MODAL ─── */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.90);
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal video {
  max-width: 90vw;
  max-height: 85vh;
  outline: none;
  box-shadow: 0 0 80px rgba(0,0,0,0.5);
}
.modal-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 36px;
  line-height: 1;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.modal-close:hover { color: #fff; }

/* ─── PRICING ─── */
#pricing {
  padding: 100px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.pricing-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 44px 36px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.price-card:hover { box-shadow: 0 8px 32px rgba(196,98,31,0.09); transform: translateY(-2px); }
.price-card.featured { background: var(--accent); border-color: var(--accent); }
.price-card.featured:hover { box-shadow: 0 12px 40px rgba(196,98,31,0.22); }
.price-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 28px;
  display: inline-block;
  background: var(--accent-lt);
  color: var(--accent);
  border: 1px solid rgba(196,98,31,0.2);
}
.price-card.featured .price-badge {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.price-tier { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.price-card.featured .price-tier { color: rgba(255,255,255,0.55); }
.price-amount {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: 6px;
}
.price-currency { font-size: 26px; padding-top: 16px; color: var(--gold); opacity: 0.8; }
.price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-currency { color: rgba(255,255,255,0.6); opacity: 1; }
.price-per { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.price-card.featured .price-per { color: rgba(255,255,255,0.55); }
.price-divider { width: 24px; height: 1px; background: var(--border); margin-bottom: 28px; }
.price-card.featured .price-divider { background: rgba(255,255,255,0.25); }
.price-desc { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 36px; }
.price-desc strong { color: var(--text); font-weight: 500; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.7); }
.price-card.featured .price-desc strong { color: #fff; }
.price-card.featured .btn-solid { background: #fff; color: var(--accent); }
.price-card.featured .btn-solid:hover { background: rgba(255,255,255,0.9); }
.price-card:not(.featured) .btn-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── ABOUT ─── */
#about {
  padding: 100px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-copy { font-size: 16px; color: var(--sub); line-height: 1.85; margin-bottom: 36px; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.founder-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 24px;
  transition: border-color 0.2s;
}
.founder-card:hover { border-color: var(--accent); }
.founder-avatar {
  width: 44px; height: 44px;
  background: var(--accent-lt);
  border: 1px solid rgba(196,98,31,0.2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--accent);
}
.founder-name { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.founder-role { font-size: 11px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.stats-col { display: flex; flex-direction: column; gap: 3px; }
.stat-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 36px 40px;
  transition: border-color 0.2s;
}
.stat-block:hover { border-color: var(--accent); }
.stat-num { font-family: var(--font-display); font-size: 64px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-size: 13px; color: var(--muted); }

/* ─── BOOK ─── */
#book {
  padding: 100px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.book-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  margin-bottom: 20px;
}
.book-title em { font-style: italic; color: var(--accent); }
.book-sub {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 52px;
  line-height: 1.6;
}
.cal-box {
  max-width: 640px;
  margin: 0 auto 40px;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.cal-box::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 20px, var(--border) 20px, var(--border) 40px);
  opacity: 0.25;
}
.cal-inner { position: relative; z-index: 1; }
.cal-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  background: var(--accent-lt);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-inner p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ─── FOOTER ─── */
footer {
  background: #181510;
  border-top: 1px solid #222;
  padding: 56px 48px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0ebe0;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.25);
  text-align: center;
}
.footer-links { display: flex; gap: 24px; justify-content: flex-end; list-style: none; }
.footer-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.15); letter-spacing: 0.08em; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(249,246,240,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }

  #hero { padding: 80px 24px 0; }

  section,
  #services, #features, #portfolio, #pricing, #about, #book {
    padding: 64px 24px;
  }
  #trust { padding: 24px; }

  .services-cards { grid-template-columns: 1fr; gap: 12px; }

  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip { direction: ltr; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .video-tile:first-child { grid-column: span 1; aspect-ratio: 16/9; }
  .video-tile { aspect-ratio: 16/9; }

  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .price-amount { font-size: 48px; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }

  .cal-box { padding: 40px 24px; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  footer { padding: 40px 24px; }

  .video-modal video { max-width: 95vw; max-height: 60vh; }
  .modal-close { top: 12px; right: 16px; }
}
