/* Cool Guru Suraj — Premium Documentary Brand Styles */
:root {
  --charcoal: #1c1917;
  --charcoal-soft: #292524;
  --earth: #3f2e1f;
  --earth-mid: #5c4030;
  --ivory: #f7f3ec;
  --ivory-deep: #efe8dc;
  --gold: #b08d57;
  --gold-soft: #c9a66b;
  --gold-muted: #8a6d3b;
  --white: #ffffff;
  --black: #0c0a09;
  --text: #2a241f;
  --text-muted: #6b625a;
  --border: rgba(176, 141, 87, 0.22);
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.12);
  --shadow-soft: 0 10px 30px rgba(28, 25, 23, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 72px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0 0 0.6em;
}
p { margin: 0 0 1rem; color: var(--text-muted); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-dark { background: var(--charcoal); color: var(--ivory); }
.section-earth {
  background: linear-gradient(145deg, #2c2118 0%, #1c1917 55%, #3a2a1c 100%);
  color: var(--ivory);
}
.section-muted { background: var(--ivory-deep); }

/* Dark sections — force readable light text */
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-dark .section-title,
.section-earth h1, .section-earth h2, .section-earth h3, .section-earth h4,
.section-earth .section-title,
.failures-theme h1, .failures-theme h2, .failures-theme h3, .failures-theme h4,
.failures-theme .section-title {
  color: var(--ivory);
}
.section-dark p, .section-dark .section-lead,
.section-earth p, .section-earth .section-lead,
.failures-theme p, .failures-theme .section-lead {
  color: rgba(247, 243, 236, 0.78);
}
.section-dark .eyebrow,
.section-earth .eyebrow,
.failures-theme .eyebrow {
  color: var(--gold-soft);
}
.section-dark .quote-block,
.section-earth .quote-block,
.failures-theme .quote-block {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--gold);
}
.section-dark .quote-block cite,
.section-earth .quote-block cite,
.failures-theme .quote-block cite {
  color: rgba(247, 243, 236, 0.78);
}
.section-dark .btn-outline,
.section-earth .btn-outline,
.failures-theme .btn-outline {
  border-color: rgba(247, 243, 236, 0.35);
  color: var(--ivory);
}
.section-dark .btn-outline:hover,
.section-earth .btn-outline:hover,
.failures-theme .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.section-dark .btn-ghost,
.section-earth .btn-ghost,
.failures-theme .btn-ghost {
  border-color: rgba(176, 141, 87, 0.35);
  color: var(--gold-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 16ch; }
.section-lead { font-size: 1.125rem; max-width: 48ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--black); box-shadow: 0 10px 30px rgba(176,141,87,0.35); }
.btn-primary:hover { background: var(--gold-soft); color: var(--black); }
.btn-outline { border-color: rgba(255,255,255,0.45); color: var(--ivory); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-dark { background: var(--charcoal); color: var(--ivory); }
.btn-dark:hover { background: var(--earth); color: var(--ivory); }
.btn-ghost { border-color: var(--border); color: var(--charcoal); background: transparent; }

/* Loader */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--charcoal);
  display: grid; place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hide { opacity: 0; visibility: hidden; }
.loader-brand {
  font-family: var(--font-display); font-size: 2rem; color: var(--ivory); letter-spacing: 0.04em;
}
.loader-brand span { color: var(--gold); }
.loader-line {
  width: 80px; height: 2px; margin: 1rem auto 0; background: rgba(176,141,87,0.25); position: relative; overflow: hidden;
}
.loader-line::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 40%;
  background: var(--gold); animation: loadSlide 1s ease-in-out infinite;
}
@keyframes loadSlide { 0%{left:0} 50%{left:60%} 100%{left:0} }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled, .site-header.solid {
  background: rgba(12,10,9,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(176,141,87,0.12);
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100% - 2rem, 1280px); margin-inline: auto;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem; color: var(--ivory); z-index: 5; flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-soft), var(--earth));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--black); font-size: 1rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em;
}
.brand-text small { display: none; }

.nav-desktop { display: none; align-items: center; gap: 0; }
@media (min-width: 1180px) { .nav-desktop { display: flex; } }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.7rem; color: rgba(247,243,236,0.78); font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active { color: var(--gold-soft); }
.mega {
  position: absolute; top: calc(100% + 0.35rem); left: 0; transform: translateY(8px);
  min-width: 260px; background: rgba(16,14,12,0.98); border: 1px solid rgba(176,141,87,0.18);
  border-radius: 14px; padding: 0.55rem; opacity: 0; visibility: hidden;
  transition: all var(--transition); box-shadow: var(--shadow);
}
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega a {
  display: block; padding: 0.65rem 0.85rem; border-radius: 10px; color: rgba(247,243,236,0.82); font-size: 0.86rem;
}
.mega a:hover { background: rgba(176,141,87,0.12); color: var(--gold-soft); }
.header-actions { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.header-actions .btn {
  padding: 0.7rem 1.2rem; font-size: 0.84rem;
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14);
  background: transparent; color: var(--ivory); display: grid; place-items: center; cursor: pointer;
}
.nav-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ivory); cursor: pointer;
}
@media (min-width: 1180px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 999; background: rgba(12,10,9,0.97);
  padding: calc(var(--header-h) + 1rem) 1.25rem 2rem; transform: translateX(100%);
  transition: transform var(--transition); overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--ivory); }
.mobile-nav .sub { padding-left: 1rem; font-size: 0.92rem; opacity: 0.8; }

/* Hero — brand-first full composition */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  color: var(--ivory);
  overflow: hidden;
  background: var(--black);
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(145deg, #1a1510, #0c0a09);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% top;
  display: block;
  transform: scale(1.05);
  animation: heroKen 18s ease-in-out infinite alternate;
}
@media (min-width: 900px) {
  .hero-media img {
    width: min(62vw, 820px);
    object-position: center top;
  }
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,7,6,0.98) 0%, rgba(8,7,6,0.9) 32%, rgba(8,7,6,0.4) 55%, rgba(8,7,6,0.08) 78%, rgba(8,7,6,0.18) 100%),
    linear-gradient(180deg, rgba(8,7,6,0.18) 0%, rgba(8,7,6,0.05) 48%, rgba(8,7,6,0.75) 100%);
  pointer-events: none;
}
@keyframes heroKen {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-0.6%, 0.5%, 0); }
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 4.5rem) 0 5.5rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
@media (min-width: 900px) {
  .hero-content {
    max-width: 640px;
    margin-left: max(1.5rem, calc((100vw - var(--container)) / 2));
    margin-right: auto;
    padding-bottom: 6.5rem;
  }
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--ivory);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.hero-brand em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(247,243,236,0.92);
  max-width: 22ch;
  line-height: 1.35;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.hero .lead {
  font-size: 1.05rem;
  color: rgba(247,243,236,0.68);
  max-width: 40ch;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 0;
}
.hero-actions .btn-outline {
  border-color: rgba(247,243,236,0.28);
}
.scroll-indicator {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 3;
  color: rgba(247,243,236,0.55); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
}
.scroll-indicator i { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* Secondary strip under hero */
.hero-rail {
  background: var(--charcoal);
  border-top: 1px solid rgba(176,141,87,0.14);
  border-bottom: 1px solid rgba(176,141,87,0.08);
  padding: 1.35rem 0;
}
.hero-rail-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-rail-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
  }
}
.badge-strip {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem;
  align-items: center;
}
.badge-pill {
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.55);
  background: transparent;
  position: relative;
}
.badge-pill:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 1.1rem;
  vertical-align: middle;
  opacity: 0.7;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
.stat-item strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2rem); color: var(--gold-soft); line-height: 1;
}
.stat-item span { font-size: 0.72rem; letter-spacing: 0.04em; color: rgba(247,243,236,0.55); }

/* Cards */
.card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.premium-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-soft); height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.premium-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.premium-card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(176,141,87,0.18), rgba(63,46,31,0.08));
  color: var(--gold-muted); font-size: 1.25rem; margin-bottom: 1.1rem;
}
.premium-card h3 { font-size: 1.55rem; }

/* Signature services intro — editorial frame (not hero style) */
.services-intro {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
@media (min-width: 900px) {
  .services-intro {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}
.services-intro .section-title {
  max-width: 14ch;
}
.services-intro-visual {
  position: relative;
  margin: 0;
  padding: 1.1rem 1.1rem 2.4rem;
}
.services-intro-visual::before {
  content: "";
  position: absolute;
  inset: 0 12% 18% 0;
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 4px;
  transform: rotate(-2.5deg);
  z-index: 0;
}
.services-frame {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.14);
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  transform: rotate(1.5deg);
  transition: transform var(--transition);
}
.services-intro-visual:hover .services-frame {
  transform: rotate(0deg);
}
.services-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.services-frame-note {
  position: absolute;
  z-index: 2;
  left: 0.4rem;
  bottom: 0;
  background: var(--white);
  border: 1px solid rgba(176, 141, 87, 0.25);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-soft);
  max-width: 85%;
}
.services-frame-note span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.25rem;
}
.services-frame-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--charcoal);
  font-weight: 600;
}

/* Achievements — archive / press-clip design */
.achievements-intro {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .achievements-intro {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.achievements-visual {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.achievements-clip {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}
.achievements-clip::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247, 243, 236, 0.28);
  pointer-events: none;
}
.achievements-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.92);
}
.achievements-stamp {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 2px;
}
.achievements-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.achievements-ticks span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  border: 1px solid rgba(176, 141, 87, 0.35);
  padding: 0.35rem 0.65rem;
  background: var(--ivory);
}

/* Mentees — circular orbit design */
.mentees-intro {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}
@media (min-width: 900px) {
  .mentees-intro {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}
.mentees-visual {
  position: relative;
  margin: 0 auto;
  width: min(100%, 380px);
  aspect-ratio: 1;
}
.mentees-orbit {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(28, 25, 23, 0.18);
}
.mentees-orbit-lg {
  width: 100%;
  height: 100%;
  border: 6px solid var(--white);
  background: var(--charcoal);
}
.mentees-orbit-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mentees-orbit-sm {
  position: absolute;
  right: -6%;
  bottom: 8%;
  width: 118px;
  height: 118px;
  background: linear-gradient(145deg, var(--earth), var(--charcoal));
  border: 4px solid var(--ivory-deep);
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--ivory);
  gap: 0.1rem;
  box-shadow: var(--shadow-soft);
}
.mentees-orbit-sm span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
.mentees-orbit-sm strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-soft);
  line-height: 1;
}
.mentees-badge {
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.glass-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px); border-radius: var(--radius); padding: 1.75rem;
}

.quote-block {
  position: relative; padding: 1.6rem 1.6rem 1.6rem 1.75rem;
  border-left: 3px solid var(--gold); background: rgba(176,141,87,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: var(--charcoal); line-height: 1.35;
  margin-bottom: 1rem;
}
.quote-block cite {
  display: block; margin-top: 0.85rem; font-family: var(--font-body);
  font-size: 0.88rem; color: var(--text-muted); font-style: normal;
}

/* Timeline */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--gold), transparent);
}
.timeline-item { position: relative; padding: 0 0 2.5rem 1.5rem; }
.timeline-item::before {
  content: ""; position: absolute; left: -1.5rem; top: 0.35rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(176,141,87,0.18);
  transform: translateX(-5px);
}
.timeline-year { color: var(--gold-muted); font-weight: 700; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 0.35rem; }

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background:
    linear-gradient(135deg, rgba(12,10,9,0.88), rgba(63,46,31,0.75)),
    url('../images/page-hero.svg') center/cover;
  color: var(--ivory);
}
.page-hero h1 { color: var(--ivory); font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.88rem; margin-bottom: 1.25rem; color: rgba(247,243,236,0.7); }
.breadcrumb a:hover { color: var(--gold-soft); }

/* Failures dark theme */
.failures-theme { background: #100e0c; color: var(--ivory); }
.failures-theme .premium-card {
  background: rgba(255,255,255,0.03); border-color: rgba(176,141,87,0.2); color: var(--ivory);
}
.failures-theme .premium-card h3 { color: var(--ivory); }
.failures-theme .premium-card p { color: rgba(247,243,236,0.72); }
.failures-theme .btn-ghost {
  border-color: rgba(176, 141, 87, 0.35);
  color: var(--gold-soft);
}

/* Forms */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.form-control {
  width: 100%; padding: 0.9rem 1rem; border-radius: 12px;
  border: 1px solid rgba(28,25,23,0.15); background: var(--white); font: inherit; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176,141,87,0.15); }
textarea.form-control { min-height: 140px; resize: vertical; }

/* Gallery */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  background: var(--charcoal-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* Footer */
.site-footer {
  background: var(--black); color: rgba(247,243,236,0.78); padding: 4.5rem 0 2rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--ivory); font-size: 1.25rem; margin-bottom: 1rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.9rem;
}
.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
}

#back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--black); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
#back-to-top.show { opacity: 1; visibility: visible; }

.alert {
  padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert-success { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.25); color: #166534; }
.alert-error { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.25); color: #991b1b; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: #1a1510;
  box-shadow: var(--shadow);
}
.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.mentor-portrait {
  align-self: stretch;
}
.mentor-portrait-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.35rem 1.25rem;
  background: linear-gradient(transparent, rgba(8, 7, 6, 0.88));
  color: var(--ivory);
  margin: 0;
}
.mentor-portrait-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ivory);
}
.mentor-portrait-caption span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.before-after { display: grid; gap: 1rem; }
@media (min-width: 700px) { .before-after { grid-template-columns: 1fr 1fr; } }
.ba-box { padding: 1.25rem; border-radius: var(--radius-sm); background: var(--ivory-deep); }
.ba-box.before { border-top: 3px solid #78716c; }
.ba-box.after { border-top: 3px solid var(--gold); }

.testimonial-card { height: 100%; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 0.75rem; }
.swiper { padding-bottom: 2.5rem; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }

.map-embed {
  border: 0; width: 100%; min-height: 360px; border-radius: var(--radius); filter: grayscale(30%) contrast(1.05);
}

.cta-banner {
  border-radius: calc(var(--radius) + 6px); padding: clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(120deg, rgba(28,25,23,0.95), rgba(63,46,31,0.9)),
    url('../images/cta-bg.svg') center/cover;
  color: var(--ivory); text-align: center;
}
.cta-banner h2 { color: var(--ivory); max-width: 18ch; margin-inline: auto; }

.tag-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.tag-filters a {
  padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid var(--border);
  font-size: 0.85rem; background: var(--white);
}
.tag-filters a.active, .tag-filters a:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.search-overlay-form { display: flex; gap: 0.5rem; }
.search-overlay-form input { flex: 1; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
