/* =============================================================================
   Maryam Tabatabaei — The Coffee Atelier
   Global CSS Design Tokens & Base Styles
   ============================================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Plus+Jakarta+Sans:wght@200;300;400;500;600&family=Amiri:wght@400;700&display=swap');

/* =============================================================================
   CSS Custom Properties (Design Tokens)
   ============================================================================= */

:root {
  /* --- Color: Dark Backgrounds --- */
  --noir:        #0A0806;               /* Primary background — deepest black */
  --onyx:        #111009;               /* Section backgrounds (proof, testimonials) */
  --slate:       #1A1610;               /* Mid-tone panels */
  --mah:         #4A2008;               /* Mahogany — eyebrow accents on light sections */

  /* --- Color: Primary Accent (Saffron Gold) --- */
  --saffron:     #C4891A;               /* Primary accent — headlines, CTAs, links */
  --saf-lt:      #E0A83A;               /* Light saffron — hover states, italic highlights */
  --saf-dim:     rgba(196, 137, 26, .18); /* Saffron at 18% — borders, card outlines */
  --saf-glow:    rgba(196, 137, 26, .07); /* Saffron at 7% — subtle backgrounds */

  /* --- Color: Light Surfaces --- */
  --ivory:       #F2EBE0;               /* Body text, primary light surface */
  --parch:       #F8F4EE;               /* Parchment — Academy/FAQ section background */

  /* --- Color: Ivory Opacity Scale --- */
  --silk:        rgba(242, 235, 224, .55); /* Secondary body text */
  --veil:        rgba(242, 235, 224, .38); /* Tertiary text, nav links */
  --ghost:       rgba(242, 235, 224, .12); /* Subtle dividers, card borders */
  --mist:        rgba(242, 235, 224, .07); /* Faintest backgrounds */

  /* --- Color: Pomegranate (Secondary Accent) --- */
  --anar:        #8B2E2E;               /* Urgency/scarcity — seat counts, alerts */

  /* --- Typography --- */
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Plus Jakarta Sans', system-ui, sans-serif;
  --farsi:       'Amiri', 'Traditional Arabic', serif;

  /* --- Motion --- */
  --ease:        cubic-bezier(.16, 1, .3, 1); /* Snappy spring easing */

  /* --- Spacing --- */
  --page-x:      56px;   /* Horizontal page padding (desktop) */
  --page-x-sm:   20px;   /* Horizontal page padding (mobile) */
  --section-y:   120px;  /* Vertical section padding (desktop) */
  --section-y-sm: 60px;  /* Vertical section padding (mobile) */
}


/* =============================================================================
   Reset & Base
   ============================================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--noir);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


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

.font-serif  { font-family: var(--serif); }
.font-sans   { font-family: var(--sans); }
.font-farsi  { font-family: var(--farsi); direction: rtl; }

/* Display Headings */
.heading-hero {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 8.5vw, 120px);
  line-height: .88;
  color: var(--ivory);
  letter-spacing: -.01em;
}

.heading-section {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  color: var(--ivory);
}

.heading-section--dark {
  color: var(--noir);
}

.heading-section em,
.heading-hero em {
  font-style: italic;
  color: var(--saffron);
}

/* Eyebrow Labels */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--saffron);
  flex-shrink: 0;
}

.eyebrow--dark {
  color: var(--mah);
}

.eyebrow--dark .eyebrow-line {
  background: var(--mah);
}

/* Body Text */
.body-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--silk);
}

.body-text strong {
  color: var(--ivory);
  font-weight: 400;
}

.body-text--dark {
  color: rgba(10, 8, 6, .6);
}


/* =============================================================================
   Color Utility Classes
   ============================================================================= */

.bg-noir    { background: var(--noir); }
.bg-onyx    { background: var(--onyx); }
.bg-slate   { background: var(--slate); }
.bg-parch   { background: var(--parch); }

.text-ivory   { color: var(--ivory); }
.text-saffron { color: var(--saffron); }
.text-silk    { color: var(--silk); }
.text-veil    { color: var(--veil); }
.text-anar    { color: var(--anar); }
.text-noir    { color: var(--noir); }


/* =============================================================================
   Button / CTA Components
   ============================================================================= */

/* Primary Button — filled saffron */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--saffron);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .4s var(--ease), transform .4s var(--ease);
}

.btn-primary:hover {
  background: var(--saf-lt);
  transform: translateY(-2px);
}

/* Ghost Button — text with underline */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ghost);
  transition: border-color .3s, gap .3s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--ivory);
  gap: 16px;
}

/* Nav CTA — outlined saffron */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--saffron);
  text-decoration: none;
  padding: 9px 20px;
  border: 1px solid var(--saf-dim);
  transition: all .35s;
  cursor: pointer;
}

.btn-nav:hover {
  background: var(--saffron);
  color: var(--noir);
  border-color: var(--saffron);
}


/* =============================================================================
   Badge / Tag Components
   ============================================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--saf-dim);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--saffron);
}

.badge-coming {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(196, 137, 26, .1);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron);
}


/* =============================================================================
   Scroll Reveal
   ============================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }


/* =============================================================================
   Persian Girih Tile Texture
   ============================================================================= */

.girih-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69.3'%3E%3Cpolygon points='30,3 54,16.5 54,43.5 30,57 6,43.5 6,16.5' fill='none' stroke='%23C4891A' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 60px 69.3px;
  opacity: .07;
}


/* =============================================================================
   Film Grain Overlay
   ============================================================================= */

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 998;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(2) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3px, 2px); }
  50%  { transform: translate(2px, -2px); }
  75%  { transform: translate(-1px, 3px); }
  100% { transform: translate(1px, -1px); }
}


/* =============================================================================
   Custom Cursor
   ============================================================================= */

body { cursor: none; }

#cur-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--saffron);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s;
}

#cur-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(196, 137, 26, .32);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s;
}

body.c-hov #cur-dot { width: 8px; height: 8px; }
body.c-hov #cur-ring { width: 48px; height: 48px; border-color: var(--saffron); }
body.c-click #cur-dot { transform: translate(-50%, -50%) scale(.55); }

/* Hide custom cursor on mobile */
@media (max-width: 960px) {
  body { cursor: auto; }
  #cur-dot, #cur-ring { display: none; }
}


/* =============================================================================
   Keyframe Animations
   ============================================================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes haloPulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.03); }
}

@keyframes markSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes seatPulse {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%      { opacity: 1;  transform: scaleY(1.1); }
}


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

@media (max-width: 960px) {
  :root {
    --page-x: var(--page-x-sm);
    --section-y: var(--section-y-sm);
  }
}


/* =============================================================================
   Maryam Atelier — Section Layout CSS
   All component/section-specific styles
   ============================================================================= */

/* ===================== NAVIGATION ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--page-x);
  transition: background .4s, backdrop-filter .4s;
}
nav.scrolled {
  background: rgba(10,8,6,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nl {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nl-mark { flex-shrink: 0; }
.nl-en {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: .02em;
}
.nl-fa {
  font-family: var(--farsi);
  font-size: 13px;
  color: var(--veil);
  direction: rtl;
  letter-spacing: 0;
}
.nav-mid {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-mid a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--veil);
  text-decoration: none;
  transition: color .3s;
}
.nav-mid a:hover { color: var(--ivory); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--saffron);
  text-decoration: none;
  padding: 9px 20px;
  border: 1px solid var(--saf-dim);
  transition: all .35s;
}
.nav-cta:hover {
  background: var(--saffron);
  color: var(--noir);
  border-color: var(--saffron);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 460px;
  grid-template-rows: auto;
  align-content: end;
  padding: 120px var(--page-x) 100px;
  overflow: hidden;
  background: var(--noir);
  gap: 0;
}
.hero-girih {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='69.3'%3E%3Cpolygon points='30,3 54,16.5 54,43.5 30,57 6,43.5 6,16.5' fill='none' stroke='%23C4891A' stroke-width='0.3'/%3E%3C/svg%3E");
  background-size: 60px 69.3px;
  opacity: .04;
  pointer-events: none;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, transparent 25%, var(--noir) 75%);
  pointer-events: none;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}
.hero-mark-wrap {
  grid-column: 2;
  grid-row: 1 / 8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 400px;
  height: 400px;
  align-self: center;
  justify-self: center;
  z-index: 2;
}
.hero-halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--saf-dim);
  animation: haloPulse 4s ease-in-out infinite;
}
.hero-halo.h1 { inset: 0; }
.hero-halo.h2 { inset: -50px; animation-delay: .8s; border-color: rgba(196,137,26,.10); }
.hero-halo.h3 { inset: -100px; animation-delay: 1.6s; border-color: rgba(196,137,26,.05); }
.hero-mark-wrap svg { position: relative; z-index: 3; }
.hero-eyebrow {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--saffron);
  position: relative;
  z-index: 2;
  align-self: end;
}
.hero-eline { width: 40px; height: 1px; background: var(--saffron); opacity: .5; flex-shrink: 0; }
.hero-fa { font-family: var(--farsi); font-size: 13px; letter-spacing: 0; text-transform: none; direction: rtl; }
.hero-hl {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 7.5vw, 110px);
  line-height: .9;
  color: var(--ivory);
  letter-spacing: -.01em;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.hero-hl em { font-style: italic; color: var(--saffron); }
.hero-hl-sub {
  display: block;
  font-size: clamp(14px, 1.6vw, 20px);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: .1em;
  color: var(--silk);
  margin-top: 20px;
}
.hero-body {
  grid-column: 1;
  grid-row: 3;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--silk);
  max-width: 520px;
  margin-top: 28px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.hero-cta-wrap {
  grid-column: 1;
  grid-row: 4;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 44px;
  position: relative;
  z-index: 2;
}
.cta-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--saffron);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, transform .3s;
}
.cta-p:hover { background: var(--saf-lt); transform: translateY(-2px); }
.cta-g {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ghost);
  transition: border-color .3s, gap .3s;
}
.cta-g:hover { border-color: var(--ivory); gap: 16px; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--veil);
  z-index: 2;
}
.sline {
  width: 1px;
  height: 40px;
  background: var(--saffron);
  opacity: .5;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===================== TICKER ===================== */
.ticker {
  background: var(--saffron);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 32s linear infinite;
}
.ticker-item {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--noir);
  padding: 0 2px;
}
.ticker-sep {
  padding: 0 28px;
  color: var(--noir);
  opacity: .45;
  font-size: 8px;
}

/* ===================== PROOF (CREDENTIALS) ===================== */
.proof {
  background: var(--onyx);
  padding: var(--section-y) var(--page-x);
}
.proof-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}
.proof-ey {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
}
.proof-ey-line { width: 32px; height: 1px; background: var(--saffron); flex-shrink: 0; }
.proof-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--ivory);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.pc {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.pci1 { background: linear-gradient(145deg, #1a1208 0%, #2e1a06 50%, #0a0806 100%); }
.pci2 { background: linear-gradient(145deg, #111009 0%, #1a1208 50%, #0a0806 100%); }
.pci3 { background: linear-gradient(145deg, #2e1a06 0%, #1a0c02 50%, #0a0806 100%); }
.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.pc:hover .pc-img { transform: scale(1.04); }
.pc-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(10,8,6,.75);
  border: 1px solid var(--saf-dim);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron);
}
.pc-ph-icon { font-size: 14px; }
.pc-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,.95) 0%, rgba(10,8,6,.4) 40%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}
.pc-date {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 6px;
}
.pc-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 6px;
}
.pc-desc {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--silk);
  line-height: 1.6;
}

/* ===================== STATS ===================== */
.stats {
  background: var(--noir);
  padding: 64px var(--page-x);
  border-top: 1px solid var(--ghost);
  border-bottom: 1px solid var(--ghost);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 40px;
  border-right: 1px solid var(--ghost);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(44px, 4.5vw, 72px);
  font-weight: 300;
  color: var(--saffron);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silk);
}

/* ===================== PHILOSOPHY (ABOUT) ===================== */
.philosophy {
  padding: var(--section-y) var(--page-x);
  background: var(--noir);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.phil-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.phil-ph {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--slate) 0%, var(--mah) 100%);
  position: relative;
  overflow: hidden;
}
.phil-ph img { width: 100%; height: 100%; object-fit: cover; }
.phil-ph-icon {
  font-size: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity: .08;
}
.phil-ph-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  color: rgba(196,137,26,.12);
  pointer-events: none;
}
.phil-bar {
  position: absolute;
  left: -20px;
  top: 10%;
  height: 80%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--saffron) 20%, var(--saffron) 80%, transparent);
  opacity: .4;
}
.phil-bar-dot {
  width: 7px;
  height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -2.5px;
}
.phil-cred {
  position: absolute;
  bottom: 28px;
  right: -24px;
  background: var(--onyx);
  border: 1px solid var(--saf-dim);
  padding: 16px 20px;
  min-width: 180px;
}
.phil-content { display: flex; flex-direction: column; }
.p-ey {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 20px;
}
.p-ey-line { width: 32px; height: 1px; background: var(--saffron); flex-shrink: 0; }
.p-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  color: var(--ivory);
  margin-bottom: 24px;
}
.p-title em { font-style: italic; color: var(--saffron); }
.p-body {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--silk);
  margin-bottom: 36px;
}
.p-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--saf-dim);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--saffron);
}
.p-strip {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ghost);
}
.ps-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ghost);
}
.ps-ico { font-size: 18px; flex-shrink: 0; }
.ps-txt { font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--silk); }

/* ===================== PATHWAY (COURSES) ===================== */
.pathway {
  background: var(--onyx);
  padding: var(--section-y) var(--page-x);
}
.pw-head { text-align: center; margin-bottom: 64px; }
.pw-ey {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 20px;
}
.pw-ey-line { width: 32px; height: 1px; background: var(--saffron); flex-shrink: 0; }
.pw-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--ivory);
  margin-bottom: 16px;
}
.pw-sub { font-family: var(--sans); font-size: 14px; color: var(--silk); max-width: 560px; margin: 0 auto; }
.pw-tracks { display: flex; flex-direction: column; gap: 3px; }
.pw-track {
  background: var(--slate);
  border: 1px solid var(--ghost);
  overflow: hidden;
}
.pw-th {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  border-bottom: 1px solid var(--ghost);
  background: rgba(196,137,26,.04);
}
.pwth-b { display: flex; align-items: center; gap: 16px; }
.pw-tk-icon { font-size: 22px; }
.pw-tk-name { font-family: var(--serif); font-size: 22px; font-weight: 300; color: var(--ivory); }
.pw-tk-fa { font-family: var(--farsi); font-size: 15px; color: var(--veil); direction: rtl; }
.pwth-r { display: flex; align-items: center; gap: 12px; }
.pwth-br {
  width: 24px;
  height: 24px;
  border: 1px solid var(--saf-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  font-size: 16px;
  font-weight: 300;
}
.pw-course {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 36px;
  border-bottom: 1px solid var(--ghost);
  text-decoration: none;
  transition: background .3s;
}
.pw-course:last-child { border-bottom: none; }
.pw-course:hover { background: var(--saf-glow); }
.pw-lb { display: flex; flex-direction: column; gap: 10px; }
.pw-ld { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pw-ll { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pwc-name { font-family: var(--serif); font-size: 20px; font-weight: 300; color: var(--ivory); }
.pwc-desc { font-family: var(--sans); font-size: 13px; color: var(--silk); line-height: 1.6; max-width: 560px; }
.pwc-foot { display: flex; align-items: center; gap: 10px; }
.pwc-seats { font-family: var(--sans); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--anar); }
.pwc-sd { font-family: var(--sans); font-size: 9px; color: var(--veil); }
.pwc-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--saf-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s, border-color .3s;
  color: var(--saffron);
}
.pw-course:hover .pwc-arrow { background: var(--saffron); color: var(--noir); border-color: var(--saffron); }
.pw-cta-row { text-align: center; margin-top: 52px; }
.pw-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--saffron);
  color: var(--noir);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, transform .3s;
}
.pw-cta-link:hover { background: var(--saf-lt); transform: translateY(-2px); }

/* ===================== TESTIMONIALS ===================== */
.testi {
  background: var(--onyx);
  padding: var(--section-y) var(--page-x);
  position: relative;
  overflow: hidden;
}
.testi-bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--serif);
  font-size: 260px;
  font-weight: 300;
  color: var(--ivory);
  opacity: .018;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.t-ey {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 52px;
  position: relative;
  z-index: 2;
}
.t-ey-line { width: 32px; height: 1px; background: var(--saffron); flex-shrink: 0; }
.testi-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.testi-photo {
  width: 320px;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--slate) 0%, var(--mah) 100%);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.tp-icon { font-size: 80px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); opacity: .08; }
.t-name-badge { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.tnb-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--slate);
  border: 2px solid var(--saf-dim);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.tnb-info { display: flex; flex-direction: column; gap: 4px; }
.tnb-name { font-family: var(--serif); font-size: 20px; font-weight: 300; color: var(--ivory); }
.tnb-role { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--silk); }
.tnb-stars { color: var(--saffron); font-size: 13px; letter-spacing: 3px; margin-top: 2px; }
.t-avs { display: flex; margin-bottom: 32px; }
.tav { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid var(--onyx); margin-right: -10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.tav.ta1 { background: var(--slate); }
.tav.ta2 { background: var(--mah); }
.tav.ta3 { background: #1a1610; }
.tav.ta4 { background: var(--noir); border: 2px solid var(--ghost); }
.tav-inner { font-size: 16px; }
.t-qmark { font-family: var(--serif); font-size: 96px; line-height: .7; color: var(--saffron); opacity: .2; margin-bottom: -24px; }
.t-body {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ivory);
  margin-bottom: 36px;
}
.t-nav { display: flex; align-items: center; gap: 12px; }
.t-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ghost);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--veil);
  transition: all .3s;
  background: transparent;
}
.t-btn:hover, .t-btn.act { border-color: var(--saffron); color: var(--saffron); }
.t-dots { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.t-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ghost); transition: background .3s; cursor: pointer; }
.t-dot.act { background: var(--saffron); width: 18px; border-radius: 3px; }

/* ===================== GALLERY ===================== */
.gallery {
  background: var(--noir);
  padding: var(--section-y) 0 var(--section-y) var(--page-x);
  overflow: hidden;
}
.gallery-head { margin-bottom: 44px; padding-right: var(--page-x); }
.gallery-scroll {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding-right: var(--page-x);
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: flex-end;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gi {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--slate);
}
.gb1 { width: 340px; height: 460px; }
.gb2 { width: 240px; height: 320px; }
.gb3 { width: 280px; height: 400px; }
.gb4 { width: 320px; height: 440px; }
.gb5 { width: 220px; height: 300px; }
.gb6 { width: 360px; height: 460px; }
.gb7 { width: 260px; height: 360px; }
.gp { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.gi:hover .gp { transform: scale(1.05); }
.gl { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,8,6,.8) 0%, transparent 55%); pointer-events: none; }
.gw { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.gs { font-family: var(--sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--veil); }
.gi-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: inherit;
}
.gi-icon { font-size: 48px; opacity: .15; }
.gi-cap { position: absolute; bottom: 16px; left: 16px; font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--veil); }

/* ===================== FAQ ===================== */
.faq {
  background: var(--parch);
  padding: var(--section-y) var(--page-x);
}
.faq-item { border-bottom: 1px solid rgba(10,8,6,.1); }
.faq-item:first-child { border-top: 1px solid rgba(10,8,6,.1); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  gap: 24px;
  user-select: none;
}
.faq-qt {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  color: var(--noir);
  line-height: 1.3;
}
.faq-ico {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(10,8,6,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--mah);
  transition: transform .35s var(--ease), background .35s, color .35s;
  line-height: 1;
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--mah); color: var(--parch); border-color: var(--mah); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), padding .45s var(--ease);
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 28px; }
.faq-a p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(10,8,6,.62);
}
.faq-contact {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid rgba(10,8,6,.1);
  flex-wrap: wrap;
}
.c-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: gap .3s;
}
.c-link:hover { gap: 18px; }
.c-ico { font-size: 22px; }
.c-ico-wa { color: #25D366; }
.c-ico-em { color: var(--mah); }
.c-txt { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--noir); }
.hrs-row { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }

/* ===================== CTA SECTION ===================== */
.cta {
  background: var(--noir);
  padding: var(--section-y) var(--page-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--saf-dim);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cr1 { width: 280px; height: 280px; }
.cr2 { width: 480px; height: 480px; opacity: .65; }
.cr3 { width: 680px; height: 680px; opacity: .35; }
.cr4 { width: 880px; height: 880px; opacity: .18; }
.cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-mark { margin-bottom: 40px; display: flex; justify-content: center; }
.cta-ey {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 24px;
}
.cta-ey-line { width: 32px; height: 1px; background: var(--saffron); flex-shrink: 0; }
.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 80px);
  line-height: .95;
  color: var(--ivory);
  margin-bottom: 20px;
}
.cta-title em { font-style: italic; color: var(--saffron); }
.cta-sub { font-family: var(--sans); font-size: 14px; color: var(--silk); margin-bottom: 52px; line-height: 1.7; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-btns .cta-p { /* inherits from hero cta-p */ }
.cta-btns .cta-g { color: var(--ivory); }

/* ===================== FOOTER ===================== */
.site-footer, footer.site-footer {
  background: var(--noir);
  border-top: 1px solid var(--ghost);
  padding: 48px var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--veil);
  letter-spacing: .08em;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--veil);
  text-decoration: none;
  transition: color .3s;
}
.footer-links a:hover { color: var(--saffron); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 360px; }
  .hero-mark-wrap { width: 320px; height: 320px; }
  .testi-layout { grid-template-columns: 260px 1fr; gap: 48px; }
  .testi-photo { width: 260px; }
}

@media (max-width: 960px) {
  nav { padding: 16px var(--page-x-sm); }
  .nav-mid { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px var(--page-x-sm) 80px;
    min-height: auto;
  }
  .hero-mark-wrap {
    grid-column: 1;
    grid-row: auto;
    width: 280px;
    height: 280px;
    margin: 0 auto 48px;
  }
  .hero-eyebrow, .hero-hl, .hero-body, .hero-cta-wrap { grid-column: 1; }
  .hero-hl { font-size: clamp(44px, 12vw, 72px); }
  .hero-cta-wrap { flex-wrap: wrap; }

  .proof-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid var(--ghost); }
  .stat-item:nth-child(even) { border-right: none; }

  .philosophy { grid-template-columns: 1fr; gap: 48px; }
  .phil-bar { display: none; }
  .phil-cred { right: 0; }

  .testi-layout { grid-template-columns: 1fr; }
  .testi-photo { width: 100%; max-width: 320px; }

  .gallery { padding-left: var(--page-x-sm); }
  .gallery-head { padding-right: var(--page-x-sm); }
  .gallery-scroll { padding-right: var(--page-x-sm); }
}

@media (max-width: 600px) {
  .proof-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .pw-th { padding: 20px 20px; }
  .pw-course { padding: 20px 20px; }
  .faq-contact { flex-direction: column; align-items: flex-start; }
}

/* FOOTER-V2 */
/* ===================== FOOTER ===================== */
footer {
  background: var(--noir);
  border-top: 1px solid var(--ghost);
  padding: 60px var(--page-x) 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--ghost);
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.fb-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.fb-name-en { font-family: var(--serif); font-size: 15px; font-weight: 300; color: var(--ivory); letter-spacing: .02em; }
.fb-name-fa { font-family: var(--farsi); font-size: 13px; color: var(--veil); direction: rtl; }
.fb-desc { font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--silk); line-height: 1.7; max-width: 260px; }
.fb-socials { display: flex; gap: 16px; }
.fb-soc { font-size: 16px; color: var(--veil); text-decoration: none; transition: color .3s; }
.fb-soc:hover { color: var(--saffron); }
.fc { display: flex; flex-direction: column; gap: 16px; }
.fc-head { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--saffron); margin-bottom: 4px; }
.fc a { font-family: var(--sans); font-size: 12px; font-weight: 300; color: var(--silk); text-decoration: none; transition: color .3s; display: block; }
.fc a:hover { color: var(--ivory); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; flex-wrap: wrap; gap: 12px; }
.fcopy { font-family: var(--sans); font-size: 11px; color: var(--veil); letter-spacing: .06em; }
