@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --black: #050505;
  --black-2: #0c0a08;
  --graphite: #15110d;
  --gold: #d6a84d;
  --gold-2: #f1d28a;
  --champagne: #f5ead2;
  --muted: #b9aa8b;
  --line: rgba(214, 168, 77, .24);
  --glass: rgba(10, 8, 6, .72);
  --shadow: 0 24px 80px rgba(0,0,0,.42);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--champagne);
  background:
    radial-gradient(circle at 20% 10%, rgba(214,168,77,.18), transparent 28rem),
    radial-gradient(circle at 90% 30%, rgba(106,72,28,.22), transparent 32rem),
    linear-gradient(180deg, #050505 0%, #0b0907 42%, #050505 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: screen;
  z-index: 20;
  background-image:
    repeating-radial-gradient(circle at 30% 30%, rgba(255,255,255,.45) 0 1px, transparent 1px 4px);
}

.topbar {
  position: fixed;
  inset: 18px 18px auto 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5,5,5,.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}

.brand-mini img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(214,168,77,.45);
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(245,234,210,.78);
  font-size: 13px;
  transition: .25s ease;
}

.nav a:hover {
  color: var(--gold-2);
  background: rgba(214,168,77,.11);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 118px 22px 70px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/ledu-hero-v06-clear.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.005);
  filter: saturate(1.08) contrast(1.04) brightness(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.34) 42%, rgba(0,0,0,.18) 76%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.05) 40%, rgba(5,5,5,.74) 100%);
}

.hero-content {
  width: min(900px, 100%);
  text-align: center;
  padding: 34px 24px;
}

.hero-logo {
  width: min(280px, 72vw);
  border-radius: 26px;
  margin-bottom: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 40px rgba(214,168,77,.12);
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--gold-2);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: Cinzel, Georgia, serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 8vw, 92px);
  max-width: 980px;
  margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(0,0,0,.65);
}

.lead {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.75;
  color: rgba(245,234,210,.86);
}

.hero-actions,
.contact-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: .03em;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #080604;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: rgba(241,210,138,.6);
  box-shadow: 0 16px 48px rgba(214,168,77,.22);
}

.btn.ghost {
  color: var(--champagne);
  background: rgba(255,255,255,.04);
}

.btn.ghost:hover {
  border-color: rgba(241,210,138,.55);
  background: rgba(214,168,77,.12);
}

.section {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}

.section-copy,
.signature-card,
.pillar,
.service,
.contact-card,
.manifesto-inner,
.gallery-frame,
.gallery-text {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-copy,
.signature-card {
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 54px);
}

.section-copy h2,
.section-head h2,
.gallery-text h2,
.manifesto h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 62px);
  text-wrap: balance;
}

.section-copy p,
.section-head p,
.gallery-text p,
.manifesto p,
.contact-card p {
  color: rgba(245,234,210,.75);
  line-height: 1.8;
  font-size: 17px;
}

.signature-card {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 360px;
  overflow: hidden;
}

.signature-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(214,168,77,.22), transparent 45%);
  transform: translate(24%, -20%);
}

.quote-mark {
  position: absolute;
  top: 24px;
  left: 32px;
  font-family: Cinzel, serif;
  font-size: 120px;
  color: rgba(214,168,77,.32);
}

.signature-card p {
  position: relative;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.18;
  margin: 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 26px;
}

.pillar,
.service {
  border-radius: 24px;
  padding: 26px;
}

.pillar span {
  display: inline-block;
  color: var(--gold-2);
  margin-bottom: 30px;
  font-weight: 700;
}

.pillar h3,
.service h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.pillar p,
.service p {
  color: rgba(245,234,210,.70);
  line-height: 1.7;
  margin: 0;
}

.services {
  padding-top: 62px;
}

.section-head {
  max-width: 820px;
  text-align: center;
  margin: 0 auto 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service {
  min-height: 210px;
}

.gallery {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.gallery-text {
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 50px);
}

.gallery-frame {
  border-radius: var(--radius);
  padding: 12px;
  overflow: hidden;
}

.gallery-frame img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.manifesto {
  width: 100%;
  padding: 110px 22px;
  background:
    linear-gradient(rgba(0,0,0,.66), rgba(0,0,0,.66)),
    url("assets/ledu-hero-v06-clear.png") center/cover fixed;
}

.manifesto-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  padding: clamp(34px, 6vw, 68px);
  text-align: center;
}

.contact-card {
  border-radius: var(--radius);
  padding: clamp(30px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(214,168,77,.16), transparent 36rem),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.info-list {
  margin: 34px auto 0;
  display: grid;
  gap: 10px;
  max-width: 780px;
  text-align: left;
}

.info-list p {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(214,168,77,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.info-list strong {
  display: block;
  color: var(--gold-2);
  margin-bottom: 5px;
}

.note {
  margin-top: 22px;
  font-size: 14px !important;
  color: rgba(245,234,210,.56) !important;
}

.footer {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 42px 20px 52px;
  color: rgba(245,234,210,.62);
  text-align: center;
  border-top: 1px solid rgba(214,168,77,.12);
}

.footer img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  opacity: .9;
}

.install-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  border: 1px solid rgba(241,210,138,.5);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #080604;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  cursor: pointer;
}

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

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

@media (max-width: 900px) {
  .topbar {
    align-items: center;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .split,
  .gallery {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .manifesto {
    background-attachment: scroll;
  }
}

@media (max-width: 560px) {
  .topbar {
    inset: 12px;
  }

  .brand-mini span {
    font-size: 11px;
  }

  .hero-content {
    padding-inline: 0;
  }

  .hero-logo {
    width: min(220px, 74vw);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    width: min(100% - 26px, 1180px);
    padding: 68px 0;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .gallery-frame img {
    min-height: 300px;
  }

  .info-list {
    text-align: center;
  }
}


/* ===== v07 hero alignment fix ===== */
.hero {
  padding: 118px 22px 70px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.30) 42%, rgba(0,0,0,.10) 78%, rgba(0,0,0,.20) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.04) 40%, rgba(5,5,5,.70) 100%);
}

.hero-shell {
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 1fr);
  align-items: center;
  gap: 28px;
}

.hero-content {
  width: 100%;
  text-align: left;
  padding: 28px 10px 28px 8px;
}

.hero-logo {
  width: min(240px, 64vw);
}

h1 {
  font-size: clamp(40px, 7vw, 88px);
  max-width: 760px;
  margin-inline: 0;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
}

.hero-actions,
.contact-actions {
  justify-content: flex-start;
}

.hero-phrase {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 320px;
  padding-right: clamp(10px, 2vw, 24px);
}

.hero-phrase span {
  display: block;
  max-width: 430px;
  text-align: right;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.22;
  color: rgba(245,234,210,.95);
  text-shadow: 0 18px 50px rgba(0,0,0,.95);
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-content {
    text-align: center;
    padding-inline: 0;
  }

  h1 {
    margin-inline: auto;
    max-width: 900px;
  }

  .lead {
    margin: 22px auto 0;
    max-width: 720px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-phrase {
    justify-content: center;
    min-height: auto;
    padding-right: 0;
    margin-top: 2px;
  }

  .hero-phrase span {
    max-width: 620px;
    text-align: center;
    font-size: clamp(22px, 5vw, 34px);
  }
}

@media (max-width: 560px) {
  .hero-phrase {
    display: none;
  }
}


/* ===== v08 prime hero fix ===== */
.hero {
  padding: 118px 26px 78px;
}

.hero-bg {
  background-image: url("assets/ledu-hero-v06-clear.png");
  background-position: center center;
  background-size: cover;
  transform: scale(1.01);
  filter: saturate(1.04) contrast(1.02) brightness(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.56) 0%, rgba(0,0,0,.28) 38%, rgba(0,0,0,.06) 70%, rgba(0,0,0,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.03) 42%, rgba(5,5,5,.66) 100%);
}

.hero-shell {
  width: min(1240px, 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  width: min(640px, 100%);
  text-align: left;
  padding: 14px 10px 24px 10px;
}

.hero-logo {
  width: min(210px, 56vw);
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(38px, 6.4vw, 84px);
  max-width: 620px;
  margin-inline: 0;
  text-align: left;
  text-wrap: pretty;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.68;
  color: rgba(245,234,210,.90);
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.hero-phrase {
  display: none !important;
}

@media (max-width: 980px) {
  .hero {
    padding: 104px 18px 62px;
  }

  .hero-shell {
    display: block;
    width: min(100%, 860px);
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding: 6px 0 18px;
  }

  h1 {
    text-align: center;
    margin-inline: auto;
  }

  .lead {
    margin: 18px auto 0;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.18) 38%, rgba(5,5,5,.76) 100%);
  }

  .hero-logo {
    width: min(180px, 52vw);
  }

  h1 {
    font-size: clamp(34px, 12vw, 58px);
  }

  .lead {
    font-size: 17px;
    line-height: 1.6;
  }
}


/* ===== v09 desktop + app refinement ===== */
.hero {
  padding: 112px 26px 76px;
}

.hero-bg {
  background-image: url("assets/ledu-hero-v06-clear.png");
  background-position: 58% center;
  background-size: cover;
  transform: scale(1.008);
  filter: saturate(1.03) contrast(1.02) brightness(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.54) 0%, rgba(0,0,0,.26) 34%, rgba(0,0,0,.04) 70%, rgba(0,0,0,.09) 100%),
    linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.02) 40%, rgba(5,5,5,.62) 100%);
}

.hero-shell {
  width: min(1280px, 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  width: min(585px, 100%);
  text-align: left;
  padding: 8px 10px 18px 6px;
  margin-left: clamp(8px, 1.2vw, 20px);
}

.hero-logo {
  width: min(182px, 48vw);
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: .26em;
}

h1 {
  max-width: 540px;
  font-size: clamp(38px, 6vw, 80px);
  line-height: .98;
  margin: 0;
}

.lead {
  max-width: 545px;
  margin: 18px 0 0;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.62;
  color: rgba(245,234,210,.92);
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.install-btn[hidden] { display: none !important; }

@media (max-width: 1200px) {
  .hero-bg { background-position: 61% center; }
}

@media (max-width: 980px) {
  .hero { padding: 102px 18px 60px; }
  .hero-bg { background-position: 64% center; }
  .hero-content {
    width: min(640px, 100%);
    text-align: center;
    margin-inline: auto;
    padding: 6px 0 16px;
  }
  .hero-logo { margin-inline: auto; }
  h1 {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    font-size: clamp(36px, 9vw, 64px);
  }
  .lead {
    max-width: 680px;
    margin: 18px auto 0;
    text-align: center;
  }
  .hero-actions { justify-content: center; }
}

@media (max-width: 560px) {
  .hero { min-height: 100svh; padding: 96px 16px 52px; }
  .hero-bg { background-position: 68% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,.44) 0%, rgba(0,0,0,.14) 36%, rgba(5,5,5,.74) 100%);
  }
  .hero-logo { width: min(168px, 44vw); }
  .eyebrow { letter-spacing: .22em; font-size: 12px; }
  h1 { font-size: clamp(34px, 12vw, 56px); }
  .lead { font-size: 17px; line-height: 1.58; }
  .hero-actions { gap: 10px; }
  .btn { padding-inline: 20px; }
}


/* ===== v10 prime mobile + webview fix ===== */
html, body { overflow-x: hidden; }

.hero-bg {
  background-position: 54% center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.56) 0%, rgba(0,0,0,.28) 38%, rgba(0,0,0,.10) 73%, rgba(0,0,0,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.04) 42%, rgba(5,5,5,.72) 100%);
}

.hero-shell {
  align-items: center;
}

.hero-content {
  width: min(560px, 100%);
  padding: 10px 10px 16px 4px;
}

.hero-logo {
  width: min(170px, 40vw);
  margin-bottom: 14px;
}

.eyebrow {
  margin-bottom: 10px;
}

h1 {
  max-width: 11ch;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.96;
}

.lead {
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(18px, 1.28vw, 21px);
}

.hero-actions {
  margin-top: 26px;
  gap: 12px;
}

.split {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 22px;
  align-items: stretch;
}

.section-copy,
.signature-card {
  padding: clamp(28px, 4vw, 44px);
}

.section-copy h2 {
  font-size: clamp(30px, 4.25vw, 58px);
  line-height: 1.03;
  max-width: 10.5ch;
}

.section-copy p:last-child {
  max-width: 34ch;
}

.signature-card {
  min-height: 380px;
}

.signature-card::before {
  inset: -28%;
  transform: translate(12%, -14%);
}

.quote-mark {
  top: 18px;
  left: 24px;
  font-size: clamp(66px, 8vw, 112px);
}

.signature-card p {
  max-width: 10.5ch;
  font-size: clamp(24px, 3.1vw, 40px);
  line-height: 1.14;
}

.install-btn { display: none !important; }

@media (max-width: 1100px) {
  .hero-bg { background-position: 57% center; }
  .hero-content { width: min(520px, 100%); }
  h1 { font-size: clamp(42px, 5.8vw, 74px); }
  .split { gap: 18px; }
}

@media (max-width: 820px) {
  .grain { display: none; }

  .topbar {
    position: sticky;
    top: 10px;
    inset: auto;
    margin: 10px 10px 0;
    padding: 10px 12px;
    border-radius: 20px;
    background: rgba(5,5,5,.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 12px 26px rgba(0,0,0,.22);
  }

  .brand-mini { gap: 8px; }
  .brand-mini img { width: 30px; height: 30px; }

  .hero {
    min-height: auto;
    padding: 44px 16px 50px;
  }

  .hero-bg {
    background-position: 62% center;
    transform: scale(1.02);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.20) 36%, rgba(5,5,5,.78) 100%);
  }

  .hero-shell {
    width: 100%;
    display: block;
  }

  .hero-content {
    width: min(430px, 100%);
    margin: 0 auto;
    padding: 18px 0 0;
    text-align: left;
  }

  .hero-logo {
    width: min(138px, 34vw);
    margin-bottom: 12px;
  }

  .eyebrow { font-size: 11px; }

  h1 {
    max-width: 8.6ch;
    font-size: clamp(34px, 10.6vw, 54px);
    line-height: 0.99;
  }

  .lead {
    max-width: 22ch;
    font-size: 15px;
    line-height: 1.55;
    margin-top: 16px;
  }

  .hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    width: auto;
    min-height: 48px;
    padding-inline: 18px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 54px 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-copy,
  .signature-card,
  .pillar,
  .service,
  .gallery-text,
  .contact-card,
  .manifesto-inner {
    border-radius: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .section-copy h2,
  .signature-card p {
    max-width: none;
  }

  .section-copy h2 {
    font-size: clamp(30px, 9vw, 46px);
    line-height: 1.02;
  }

  .section-copy p:last-child { max-width: none; }

  .signature-card {
    min-height: auto;
    padding-top: 58px;
  }

  .quote-mark {
    top: 10px;
    left: 18px;
    font-size: 64px;
  }

  .signature-card p {
    font-size: clamp(24px, 8vw, 36px);
    line-height: 1.16;
  }

  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .topbar {
    border-radius: 18px;
    margin-inline: 8px;
  }

  .brand-mini span {
    font-size: 10.5px;
    letter-spacing: .04em;
  }

  .hero { padding: 34px 14px 46px; }
  .hero-bg { background-position: 66% center; }

  .hero-content {
    width: min(360px, 100%);
  }

  h1 {
    font-size: clamp(32px, 11.2vw, 46px);
  }

  .lead {
    font-size: 14px;
    max-width: 24ch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@supports (-webkit-touch-callout: none) {
  .topbar, .section-copy, .signature-card, .pillar, .service, .gallery-text, .gallery-frame, .manifesto-inner, .contact-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}


/* ===== v11 high-standard surgical fix ===== */
:root {
  --champagne-soft: #fbf6eb;
  --smoke: #cfc4ae;
  --glass-strong: linear-gradient(145deg, rgba(20,18,15,.88), rgba(10,9,8,.76));
}

body {
  color: var(--champagne-soft);
}

.topbar {
  background: rgba(5,5,5,.92);
}

.hero {
  padding: 120px 24px 78px;
}

.hero-bg {
  background-position: 44% center;
  filter: saturate(1.03) contrast(1.02) brightness(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.57) 0%, rgba(0,0,0,.26) 39%, rgba(0,0,0,.12) 70%, rgba(0,0,0,.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.04) 42%, rgba(5,5,5,.72) 100%);
}

.hero-shell {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(280px, 1fr);
  gap: 26px;
  align-items: center;
}

.hero-content {
  width: min(640px, 100%);
  margin: 0;
  padding: 20px 8px 18px 4px;
}

.hero-logo {
  width: min(170px, 38vw);
  margin-bottom: 14px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold-2);
}

h1 {
  max-width: 8.6ch;
  font-size: clamp(48px, 5.8vw, 84px);
  line-height: .98;
  color: var(--champagne-soft);
}

.lead {
  max-width: 28ch;
  margin-top: 18px;
  color: rgba(251,246,235,.90);
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 24px;
}

.hero-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100%;
  padding-right: clamp(14px, 2.5vw, 34px);
}

.hero-note span {
  display: block;
  max-width: 15ch;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(24px, 2.55vw, 41px);
  line-height: 1.22;
  text-align: right;
  color: rgba(241,210,138,.90);
  text-shadow: 0 16px 46px rgba(0,0,0,.82);
}

.section {
  width: min(1240px, calc(100% - 34px));
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.section-copy,
.signature-card,
.pillar,
.service,
.contact-card,
.manifesto-inner,
.gallery-frame,
.gallery-text {
  background: var(--glass-strong);
}

.essence-copy,
.essence-quote {
  min-height: 560px;
  padding: 34px 38px 38px;
  border-radius: 30px;
}

.essence-copy .kicker {
  margin-bottom: 18px;
  color: rgba(241,210,138,.88);
  letter-spacing: .22em;
  font-size: 13px;
}

.essence-copy h2 {
  max-width: 10.2ch;
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.02;
  color: var(--champagne-soft);
  text-wrap: pretty;
}

.essence-copy p:last-child {
  margin-top: 24px;
  max-width: 29ch;
  color: rgba(251,246,235,.82);
  font-size: 18px;
  line-height: 1.72;
}

.essence-quote {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.essence-quote .quote-mark {
  top: 18px;
  left: 24px;
  font-size: 92px;
  color: rgba(214,168,77,.34);
}

.essence-quote p {
  max-width: 11.5ch;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.12;
  color: var(--champagne-soft);
}

.section-copy p,
.section-head p,
.gallery-text p,
.manifesto p,
.contact-card p,
.pillar p,
.service p {
  color: rgba(251,246,235,.78);
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-content {
    width: min(560px, 100%);
    margin: 0 auto;
    text-align: left;
  }
  .hero-note {
    justify-content: center;
    padding-right: 0;
    min-height: auto;
  }
  .hero-note span {
    max-width: 24ch;
    text-align: center;
  }
  .essence-copy,
  .essence-quote {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  .hero {
    padding: 34px 14px 46px;
  }

  .hero-bg {
    background-position: 49% center;
    transform: scale(1.015);
  }

  .hero-shell {
    width: 100%;
    gap: 10px;
  }

  .hero-content {
    width: min(380px, 100%);
    margin: 0 auto;
    padding: 12px 0 0;
  }

  .hero-logo {
    width: min(134px, 34vw);
    border-radius: 24px;
  }

  h1 {
    max-width: 7.8ch;
    font-size: clamp(36px, 12vw, 54px);
    line-height: .98;
  }

  .lead {
    max-width: 20ch;
    font-size: 14px;
    line-height: 1.58;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-note {
    display: block;
    width: min(380px, 100%);
    margin: 2px auto 0;
    padding: 4px 2px 0;
  }

  .hero-note span {
    max-width: none;
    text-align: left;
    font-size: 18px;
    line-height: 1.35;
    color: rgba(241,210,138,.88);
  }

  .section {
    width: min(100% - 18px, 1240px);
    padding: 42px 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .essence-copy,
  .essence-quote {
    min-height: auto;
    padding: 24px 22px 24px;
    border-radius: 24px;
  }

  .essence-copy .kicker {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: .18em;
  }

  .essence-copy h2 {
    max-width: none;
    font-size: clamp(24px, 9.1vw, 42px);
    line-height: 1.04;
  }

  .essence-copy p:last-child {
    max-width: none;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.72;
  }

  .essence-quote .quote-mark {
    top: 10px;
    left: 18px;
    font-size: 58px;
  }

  .essence-quote p {
    max-width: none;
    font-size: clamp(24px, 8.6vw, 40px);
    line-height: 1.14;
    padding-top: 16px;
  }
}

@media (max-width: 460px) {
  .hero-content,
  .hero-note {
    width: min(342px, 100%);
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .lead {
    max-width: none;
  }

  .hero-note span {
    font-size: 17px;
  }

  .essence-copy,
  .essence-quote {
    padding-inline: 18px;
  }

  .essence-copy h2 {
    font-size: clamp(23px, 8.7vw, 38px);
  }

  .essence-quote p {
    font-size: clamp(22px, 8.4vw, 34px);
  }
}


/* ===== v12 hero surgical fix ===== */
.hero-note { display: none !important; }

.hero-shell {
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  gap: 16px;
}

.hero-content {
  width: min(590px, 100%);
  padding: 16px 0 18px 0;
}

.hero-bg {
  background-position: 58% center;
  filter: saturate(1.03) contrast(1.01) brightness(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.34) 39%, rgba(0,0,0,.09) 73%, rgba(0,0,0,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.04) 44%, rgba(5,5,5,.70) 100%);
}

.hero-logo {
  width: min(150px, 22vw);
  margin-bottom: 10px;
}

.eyebrow {
  margin-bottom: 8px;
}

h1 {
  max-width: 6.7ch;
  font-size: clamp(52px, 5.4vw, 82px);
  line-height: .97;
}

.lead {
  max-width: 20ch;
  font-size: clamp(18px, 1.15vw, 21px);
  line-height: 1.56;
  margin-top: 16px;
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }
  .hero-content {
    width: min(560px, 100%);
  }
  .hero-bg {
    background-position: 60% center;
  }
}

@media (max-width: 820px) {
  .hero-content {
    width: min(390px, 100%);
    padding-top: 8px;
  }
  .hero-logo {
    width: min(132px, 34vw);
  }
  h1 {
    max-width: 8.4ch;
    font-size: clamp(36px, 10.8vw, 52px);
  }
  .lead {
    max-width: 21ch;
    font-size: 14px;
    line-height: 1.52;
  }
}


/* ===== v13 layout balance fix ===== */
.hero-bg {
  background-image: url("assets/ledu-hero-v06-clear.png") !important;
  background-position: 64% center !important;
  filter: saturate(1.03) contrast(1.02) brightness(1.02) !important;
}

.hero-shell {
  width: min(1320px, 100%) !important;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr) !important;
  gap: 12px !important;
}

.hero-content {
  width: min(560px, 100%) !important;
  padding: 14px 0 18px !important;
}

.hero-logo {
  width: min(148px, 22vw) !important;
}

h1 {
  max-width: 6.4ch !important;
  font-size: clamp(50px, 5.2vw, 80px) !important;
}

.lead {
  max-width: 19ch !important;
  font-size: clamp(17px, 1.1vw, 20px) !important;
  line-height: 1.58 !important;
}

.gallery-frame img {
  object-position: 66% center;
}

.split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.essence-copy, .essence-quote {
  min-height: 600px;
  padding: 40px 38px;
}

.essence-copy h2 {
  max-width: 9.2ch;
  font-size: clamp(34px, 3.45vw, 58px);
  line-height: 1.03;
}

.essence-copy p:last-child {
  max-width: 30ch;
  font-size: 17px;
  line-height: 1.7;
}

.essence-quote {
  display: flex;
  align-items: center;
  justify-content: center;
}

.essence-quote p {
  max-width: 12.5ch;
  font-size: clamp(26px, 2.35vw, 40px);
  line-height: 1.14;
}

@media (max-width: 1280px) {
  .hero-bg { background-position: 66% center !important; }
}

@media (max-width: 1080px) {
  .hero-bg { background-position: 68% center !important; }
  .gallery-frame img { object-position: 70% center; }
  .essence-copy, .essence-quote { min-height: 540px; }
  .essence-quote p { font-size: clamp(24px, 2.3vw, 34px); }
}

@media (max-width: 980px) {
  .hero-shell {
    grid-template-columns: 1fr !important;
  }
  .hero-content {
    width: min(560px, 100%) !important;
  }
  .hero-bg { background-position: 70% center !important; }
  .gallery-frame img { object-position: 72% center; }
  .essence-copy, .essence-quote {
    min-height: auto;
    padding: 30px 28px;
  }
  .essence-copy h2 {
    max-width: 10ch;
    font-size: clamp(30px, 5.3vw, 46px);
  }
  .essence-quote p {
    max-width: 15ch;
    font-size: clamp(24px, 4.15vw, 32px);
  }
}

@media (max-width: 820px) {
  .hero-bg { background-position: 72% center !important; }
  .gallery-frame img { object-position: 74% center; }
  .hero-content { width: min(390px, 100%) !important; }
  .essence-copy, .essence-quote {
    padding: 26px 22px;
    border-radius: 24px;
  }
  .essence-copy h2 {
    max-width: none;
    font-size: clamp(28px, 8.2vw, 40px);
  }
  .essence-copy p:last-child {
    max-width: none;
    font-size: 15px;
  }
  .essence-quote p {
    max-width: none;
    font-size: clamp(23px, 7.2vw, 31px);
    line-height: 1.18;
  }
}


/* ===== v14 premium contact actions ===== */
.premium-contact-actions {
  width: min(920px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.premium-contact-actions .btn {
  width: 100%;
  min-height: 60px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 16px;
  letter-spacing: .01em;
  box-shadow: 0 10px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}

.premium-contact-actions .btn.primary {
  background: linear-gradient(135deg, #f1d28a 0%, #d6a84d 100%);
  color: #110b04;
  border-color: rgba(241,210,138,.72);
  box-shadow: 0 16px 44px rgba(214,168,77,.22), inset 0 1px 0 rgba(255,255,255,.34);
}

.premium-contact-actions .btn.primary:hover {
  box-shadow: 0 22px 48px rgba(214,168,77,.28), inset 0 1px 0 rgba(255,255,255,.34);
}

.premium-contact-actions .btn.ghost {
  background: linear-gradient(145deg, rgba(22,19,16,.96), rgba(14,12,10,.88));
  border-color: rgba(214,168,77,.26);
  color: #f6ecda;
}

.premium-contact-actions .btn.ghost:hover {
  background: linear-gradient(145deg, rgba(34,29,24,.98), rgba(20,17,14,.94));
  border-color: rgba(241,210,138,.58);
  color: #fff8ee;
}

@media (max-width: 980px) {
  .premium-contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-contact-actions .btn.primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .premium-contact-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .premium-contact-actions .btn {
    min-height: 56px;
    border-radius: 16px;
    font-size: 15px;
  }
}


/* ===== v15 contact CTA hover swap ===== */
.premium-contact-actions .btn {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease, opacity .22s ease;
}

/* default state */
.premium-contact-actions .btn.primary {
  background: linear-gradient(135deg, #f1d28a 0%, #d6a84d 100%);
  color: #110b04;
  border-color: rgba(241,210,138,.72);
}

/* when interacting with the group, the highlight can move */
.premium-contact-actions:hover .btn.primary:not(:hover):not(:focus-visible) {
  background: linear-gradient(145deg, rgba(22,19,16,.96), rgba(14,12,10,.88));
  color: #f6ecda;
  border-color: rgba(214,168,77,.26);
  box-shadow: 0 10px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}

.premium-contact-actions .btn.ghost:hover,
.premium-contact-actions .btn.ghost:focus-visible {
  background: linear-gradient(135deg, #f1d28a 0%, #d6a84d 100%);
  color: #110b04;
  border-color: rgba(241,210,138,.72);
  box-shadow: 0 16px 44px rgba(214,168,77,.22), inset 0 1px 0 rgba(255,255,255,.34);
}

.premium-contact-actions .btn:hover,
.premium-contact-actions .btn:focus-visible {
  transform: translateY(-2px);
}
