/* Eternall Keyy website
   Follows Brand Standards Manual, Edition 1.0.
   White base, Eternall Purple and Eternall Gold preserved exactly.
   Square corners, hairlines only, two type families. */

:root {
  --ek-purple: #3D1A82;
  --ek-gold: #B7873D;
  --ek-white: #FFFFFF;
  --ek-ground: #F7F6F8;
  --ek-ink: #2A2630;
  --ek-hairline: #E4E1E7;

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --margin: clamp(20px, 5vw, 80px);
  --section: clamp(64px, 9vw, 128px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ek-white);
  color: var(--ek-ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 28px;
  font-feature-settings: "kern", "lnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 599px) {
  body { font-size: 16px; line-height: 26px; }
}

img, svg { display: block; max-width: 100%; }

a { color: var(--ek-purple); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ek-gold); }

:focus-visible { outline: 2px solid var(--ek-purple); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ek-purple); color: #fff; padding: 12px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ek-purple);
  letter-spacing: 0;
  margin: 0;
}

h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.22; }
h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }

.sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 22px);
  line-height: 1.36;
  color: var(--ek-purple);
}

p { margin: 0 0 16px; max-width: 66ch; }
p:last-child { margin-bottom: 0; }

.lede { font-size: 18px; line-height: 30px; color: var(--ek-ink); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ek-purple);
  margin-bottom: 16px;
}

.caption { font-size: 13px; line-height: 20px; letter-spacing: 0.01em; color: #5b5663; }

.rule { width: 48px; height: 1px; background: var(--ek-gold); border: 0; margin: 24px 0; }
.rule.center { margin-left: auto; margin-right: auto; }

.placeholder { color: #6d6875; background: var(--ek-ground); padding: 0 4px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ek-purple); border-radius: 0;
  background: var(--ek-purple); color: #fff;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: #2f1466; border-color: #2f1466; }
.btn.ghost { background: transparent; color: var(--ek-purple); }
.btn.ghost:hover { background: var(--ek-ground); }
.btn.on-purple { background: #fff; color: var(--ek-purple); border-color: #fff; }
.btn.on-purple:hover { background: var(--ek-ground); }
.btn svg { width: 18px; height: 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.textlink {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ek-purple);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
.textlink::after { content: "→"; letter-spacing: 0; transition: transform .2s ease; }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--ek-hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ek-purple); }
.brand svg.sym { width: 34px; height: 34px; color: var(--ek-gold); flex: none; }
.brand .wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1;
  letter-spacing: 0.01em; color: var(--ek-purple);
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ek-ink);
  padding: 12px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ek-purple); }
.nav a[aria-current="page"] { color: var(--ek-purple); border-bottom-color: var(--ek-gold); }
.nav .btn { min-height: 44px; padding: 0 20px; color: #fff; border-bottom: 1px solid var(--ek-purple); }
.nav .btn:hover, .nav .btn[aria-current="page"] { color: #fff; }

.menu-toggle {
  display: none; background: none; border: 0; padding: 0; width: 44px; height: 44px;
  color: var(--ek-purple); cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 899px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--margin) 32px;
    border-top: 1px solid var(--ek-hairline);
    visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s;
  }
  .nav a { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 18px 0; border-bottom: 1px solid var(--ek-hairline); color: var(--ek-purple); }
  .nav a[aria-current="page"] { border-bottom-color: var(--ek-hairline); }
  .nav a[aria-current="page"]::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--ek-gold); vertical-align: middle; margin-right: 12px; }
  .nav .btn { margin-top: 32px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; min-height: 52px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { visibility: visible; opacity: 1; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 399px) {
  .brand .wordmark { font-size: 23px; }
  .brand svg.sym { width: 30px; height: 30px; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section.ground { background: var(--ek-ground); }
.section + .section:not(.ground):not(.purple) { border-top: 1px solid var(--ek-hairline); }

.section-head { display: grid; grid-template-columns: 2fr 10fr; gap: var(--gutter); margin-bottom: 56px; }
.section-head .num { font-family: var(--serif); font-size: 22px; color: var(--ek-gold); padding-top: 8px; }
.section-head p { margin-top: 16px; }
@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 40px; }
  .section-head .num { padding-top: 0; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(48px, 8vw, 112px) 0 var(--section); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 24px; max-width: 34em; }
.hero .contact-line { margin-top: 40px; display: flex; gap: 16px; align-items: center; }
.hero .contact-line .rule { margin: 0; }

.hero-art { position: relative; justify-self: end; width: 100%; max-width: 420px; }

.portrait {
  aspect-ratio: 4 / 5; width: 100%;
  background: var(--ek-ground);
  border: 1px solid var(--ek-hairline);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  position: relative; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph-sym { width: 30%; color: var(--ek-purple); opacity: 0.16; }
.portrait .ph-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #6d6875; text-align: center; padding: 0 16px; }
.portrait-caption { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.portrait-caption .rule { margin: 0; width: 40px; flex: none; }
.portrait-caption span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ek-purple); }
.portrait-caption small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #5b5663; margin-top: 2px; }

.cycle-arc { position: absolute; pointer-events: none; color: var(--ek-gold); }
.hero .cycle-arc { width: 620px; height: 620px; right: -300px; top: -180px; opacity: 0.9; }

@media (max-width: 899px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { justify-self: start; max-width: 360px; }
  .hero .cycle-arc { width: 420px; height: 420px; right: -240px; top: -140px; }
}
@media (max-width: 599px) {
  .hero .btn-row .btn { width: 100%; }
  .hero-art { max-width: none; }
}

/* ---------- Service cards ---------- */

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 48px var(--gutter); } }
@media (max-width: 599px) { .cards { grid-template-columns: 1fr; gap: 40px; } }

.card { border-top: 1px solid var(--ek-gold); padding-top: 24px; display: flex; flex-direction: column; }
.card .icon { width: 32px; height: 32px; color: var(--ek-purple); margin-bottom: 24px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 16px; line-height: 26px; flex: 1; }
.card .textlink { margin-top: 16px; align-self: flex-start; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); counter-reset: step; }
.step { border-top: 1px solid var(--ek-hairline); padding-top: 24px; }
.step .n { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--ek-gold); display: block; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 26px; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Purple field ---------- */

.purple { background: var(--ek-purple); color: #fff; position: relative; overflow: hidden; }
.purple h2, .purple h3, .purple .sub { color: #fff; }
.purple p { color: rgba(255,255,255,0.9); }
.purple .eyebrow { color: #fff; }
.purple .watermark { position: absolute; width: 520px; height: 520px; right: -140px; bottom: -160px; color: #fff; opacity: 0.08; pointer-events: none; }
.purple .gold { color: var(--ek-gold); }
.purple a:not(.btn) { color: #fff; }

.cta-band .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: end; position: relative; z-index: 1; }
.cta-band .phone { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: #fff; text-decoration: none; display: inline-block; }
.cta-band .phone-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
@media (max-width: 899px) { .cta-band .wrap { grid-template-columns: 1fr; gap: 40px; align-items: start; } }

/* ---------- Split layouts ---------- */

.split { display: grid; grid-template-columns: 5fr 7fr; gap: calc(var(--gutter) * 3); align-items: start; }
.split.rev { grid-template-columns: 7fr 5fr; }
@media (max-width: 899px) { .split, .split.rev { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Life path calculator ---------- */

.calc { display: grid; grid-template-columns: 6fr 6fr; gap: calc(var(--gutter) * 2); align-items: center; }
@media (max-width: 899px) { .calc { grid-template-columns: 1fr; gap: 40px; } }
.calc form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 24px; }
.calc .field { flex: 1 1 220px; }
.calc-result { text-align: center; border: 1px solid var(--ek-hairline); background: #fff; padding: 40px 24px; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.calc-result .big { font-family: var(--serif); font-size: clamp(96px, 10vw, 120px); line-height: 1; color: var(--ek-gold); font-weight: 500; }
.calc-result .working { font-size: 14px; line-height: 22px; color: #5b5663; margin: 16px auto 0; font-variant-numeric: tabular-nums; }
.calc-result .num-wrap { position: relative; width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.calc-result .ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ek-gold); pointer-events: none; }
.calc-result .big { position: relative; top: -4px; }
.calc-result .btn { margin-top: 24px; }

/* ---------- Forms ---------- */

.field label, .field legend { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ek-purple); margin-bottom: 8px; padding: 0; }
.field .hint { font-size: 13px; line-height: 20px; color: #5b5663; margin: 6px 0 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  font-family: var(--sans); font-size: 16px; color: var(--ek-ink);
  background: #fff; border: 1px solid #cfcad5; border-radius: 0;
  padding: 12px 14px;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233D1A82' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 26px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ek-purple); box-shadow: 0 0 0 1px var(--ek-purple); }
.field .error { display: none; font-size: 13px; color: #9b1c3a; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: #9b1c3a; }
.field.invalid .error { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--gutter); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } .form-grid .btn { width: 100%; } }

.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0; margin: 0; padding: 0; }
@media (max-width: 599px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-cards label.opt {
  display: flex; gap: 12px; align-items: center; min-height: 64px; padding: 12px 16px;
  border: 1px solid #cfcad5; cursor: pointer; text-transform: none; letter-spacing: 0;
  font-size: 15px; font-weight: 500; color: var(--ek-ink); margin: 0;
  transition: border-color .2s ease, background-color .2s ease;
}
.radio-cards label.opt svg { width: 24px; height: 24px; color: var(--ek-purple); flex: none; }
.radio-cards input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-cards input:checked + label.opt { border-color: var(--ek-purple); box-shadow: inset 0 0 0 1px var(--ek-purple); background: var(--ek-ground); }
.radio-cards input:focus-visible + label.opt { outline: 2px solid var(--ek-purple); outline-offset: 2px; }

/* ---------- Service detail ---------- */

.service { display: grid; grid-template-columns: 4fr 8fr; gap: calc(var(--gutter) * 2); padding: 72px 0; border-top: 1px solid var(--ek-hairline); scroll-margin-top: 96px; }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service .meta .icon { width: 40px; height: 40px; color: var(--ek-purple); margin-bottom: 24px; }
.service .meta .numeral { font-family: var(--serif); font-size: 22px; color: var(--ek-gold); display: block; margin-bottom: 16px; }
.service .sub { margin: 12px 0 24px; }
.service dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); margin: 32px 0; border-top: 1px solid var(--ek-hairline); }
.service dl div { padding: 16px 0; border-bottom: 1px solid var(--ek-hairline); }
.service dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ek-purple); }
.service dd { margin: 4px 0 0; font-size: 16px; }
.service ul { padding-left: 0; list-style: none; margin: 0 0 16px; }
.service li { padding-left: 24px; position: relative; margin-bottom: 8px; }
.service li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 1px; background: var(--ek-gold); }
@media (max-width: 899px) { .service { grid-template-columns: 1fr; gap: 16px; padding: 56px 0; } }
@media (max-width: 599px) { .service dl { grid-template-columns: 1fr; } }

/* ---------- Curriculum ---------- */

.curriculum { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 calc(var(--gutter) * 2); counter-reset: c; }
.curriculum li { counter-increment: c; display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--ek-hairline); align-items: baseline; }
.curriculum li::before { content: counter(c, decimal-leading-zero); font-family: var(--serif); font-size: 22px; color: var(--ek-gold); }
.curriculum strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; color: var(--ek-purple); }
.curriculum span { font-size: 15px; line-height: 24px; color: #5b5663; }
@media (max-width: 899px) { .curriculum { grid-template-columns: 1fr; } }

.deck-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 48px; }
.deck-stats div { border-top: 1px solid rgba(255,255,255,0.3); padding-top: 16px; }
.deck-stats .big { font-family: var(--serif); font-size: clamp(56px, 7vw, 88px); line-height: 1; color: var(--ek-gold); display: block; }
.deck-stats span:last-child { font-size: 15px; color: rgba(255,255,255,0.9); }
@media (max-width: 599px) { .deck-stats { grid-template-columns: 1fr; } }

/* ---------- Values / FAQ ---------- */

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.values div { border-top: 1px solid var(--ek-gold); padding-top: 16px; }
.values h3 { font-size: 24px; margin-bottom: 8px; }
.values p { font-size: 15px; line-height: 24px; }
@media (max-width: 1023px) { .values { grid-template-columns: repeat(2, 1fr); gap: 32px var(--gutter); } }
@media (max-width: 599px) { .values { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--ek-hairline); }
.faq details:first-child { border-top: 1px solid var(--ek-hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.3; color: var(--ek-purple);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-family: var(--sans); font-weight: 400; font-size: 24px; color: var(--ek-gold); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 24px; }

/* ---------- Page intro ---------- */

.page-intro { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--ek-hairline); position: relative; overflow: hidden; }
.page-intro h1 { max-width: 18ch; }
.page-intro .lede { margin-top: 24px; max-width: 36em; }
.page-intro .cycle-arc { width: 520px; height: 520px; right: -260px; top: -200px; }
@media (max-width: 599px) { .hero .cycle-arc, .page-intro .cycle-arc { display: none; } }

.jump { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--ek-hairline); padding: 72px 0 40px; font-size: 15px; line-height: 24px; }
.site-footer .cols { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: var(--gutter); }
.site-footer .brand-block .sym { width: 40px; height: 40px; color: var(--ek-gold); margin-bottom: 16px; }
.site-footer .brand-block .wordmark { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--ek-purple); letter-spacing: 0.01em; }
.site-footer .brand-block .founder { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ek-purple); margin-top: 12px; }
.site-footer .brand-block .title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #5b5663; }
.site-footer h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ek-purple); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { color: var(--ek-ink); text-decoration: none; }
.site-footer li a:hover { color: var(--ek-purple); text-decoration: underline; }
.site-footer .legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ek-hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 20px; color: #5b5663; }
.site-footer .legal p { max-width: 70ch; margin: 0; }
@media (max-width: 899px) { .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 40px var(--gutter); } .site-footer .brand-block { grid-column: 1 / -1; } }
@media (max-width: 399px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Floating WhatsApp button (mobile only) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 20px;
  background: var(--ek-purple); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(61, 26, 130, 0.25);
}
.wa-float svg { width: 18px; height: 18px; }
@media (max-width: 599px) { .wa-float { display: inline-flex; } body { padding-bottom: 72px; } }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .38s ease, transform .38s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

.calc-result .btn { max-width: 100%; min-height: 48px; height: auto; padding: 12px 20px; text-align: center; line-height: 20px; }

/* ---------- Brand artefacts: Veil and Bloom ----------
   Flat Eternall Purple layered at low opacity (no gradients) with Gold hairlines.
   One artefact per section, always bleeding off an edge, never behind body text. */

.art { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.hero > .wrap, .page-intro > .wrap, .has-art > .wrap, .purple > .wrap { position: relative; z-index: 1; }
.has-art { position: relative; overflow: hidden; }

.hero .art-veil { width: 1000px; right: -220px; top: -90px; }
.page-intro .art-veil { width: 600px; right: -140px; top: -60px; }
.purple .art-veil { width: 640px; right: -120px; top: -40px; opacity: 0.9; }

.art-bloom { width: 440px; }
.has-art .art-bloom { right: -150px; top: -150px; }
.has-art.art-left .art-bloom { right: auto; left: -170px; bottom: -170px; }
.purple .art-bloom { width: 520px; right: -150px; bottom: -190px; }

@media (max-width: 1023px) {
  .hero .art-veil { width: 520px; right: -200px; top: -60px; }
  .page-intro .art-veil { width: 420px; right: -180px; }
  .art-bloom, .purple .art-bloom { width: 320px; }
}
@media (max-width: 599px) {
  .hero .art-veil, .page-intro .art-veil { width: 300px; right: -120px; top: -50px; opacity: 0.75; }
  .art-bloom, .purple .art-bloom { width: 240px; }
  .has-art .art-bloom { width: 200px; right: -100px; top: -100px; }
  .has-art.art-left { padding-bottom: 140px; }
  .has-art.art-left .art-bloom { left: -100px; bottom: -100px; top: auto; }
  .purple .art-bloom { right: -100px; bottom: -120px; }
}

/* ---------- v3: statement headings, reversing cards, circle numbers ---------- */

/* Two-line statement headings: first line purple, second line gold (display sizes only) */
.hl { color: var(--ek-gold); }
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.hero h1, .page-intro h1 { max-width: none; }

/* Eyebrow with a short gold lead-in rule */
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--ek-gold); flex: none; }
.calc-result .eyebrow::before { display: none; }
.calc-result .eyebrow { justify-content: center; }

/* Hero intro: one step smaller, founder name picked out in purple */
.hero .hero-lede { font-size: 17px; line-height: 28px; }
.hero-lede .name { color: var(--ek-purple); font-weight: 600; }
@media (max-width: 599px) { .hero .hero-lede { font-size: 15px; line-height: 25px; } }

/* Section heads without numbers */
.section-head { grid-template-columns: 1fr; gap: 0; }

/* Service cards and step cards: bordered grid, colour-reverse on hover */
.cards, .cardgrid { gap: 0; border: 1px solid var(--ek-hairline); background: #fff; }
.cards > .card, .cardgrid > .step {
  border: 0; border-right: 1px solid var(--ek-hairline);
  padding: 40px 32px; position: relative;
  transition: background-color .3s ease, color .3s ease;
}
.cards > .card:last-child, .cardgrid > .step:last-child { border-right: 0; }
.card .stripe { display: block; width: 40px; height: 3px; background: var(--ek-gold); margin-bottom: 28px; transition: background-color .3s ease; }
.card .icon { width: 52px; height: 52px; margin-bottom: 24px; transition: color .3s ease; }
.card-lbl { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ek-purple); margin-bottom: 8px; transition: color .3s ease; }
.card h3 a, .card h3, .card p, .card .textlink, .step h3, .step p { transition: color .3s ease; }
.hv:hover { background: var(--ek-purple); }
.hv:hover h3, .hv:hover h3 a, .hv:hover p, .hv:hover .textlink, .hv:hover .card-lbl, .hv:hover .icon { color: #fff; }
.hv:hover .stripe { background: #fff; }
.hv:hover .circ { background: #fff; color: var(--ek-purple); }
.hv:hover .placeholder { background: rgba(255,255,255,0.14); color: #fff; }
.hv:focus-within { background: var(--ek-purple); }
.hv:focus-within h3, .hv:focus-within h3 a, .hv:focus-within p, .hv:focus-within .textlink, .hv:focus-within .card-lbl, .hv:focus-within .icon { color: #fff; }
.hv:focus-within .stripe { background: #fff; }
.hv:focus-within :focus-visible { outline-color: #fff; }

@media (max-width: 1023px) {
  .cards > .card:nth-child(2n) { border-right: 0; }
  .cards > .card:nth-child(-n+2) { border-bottom: 1px solid var(--ek-hairline); }
}
@media (max-width: 899px) {
  .cardgrid > .step { border-right: 0; border-bottom: 1px solid var(--ek-hairline); }
  .cardgrid > .step:last-child { border-bottom: 0; }
}
@media (max-width: 599px) {
  .cards > .card { border-right: 0; border-bottom: 1px solid var(--ek-hairline); padding: 32px 24px; }
  .cards > .card:last-child { border-bottom: 0; }
  .cardgrid > .step { padding: 32px 24px; }
}

/* Filled circle numbers, used for every numbered or bulleted list */
.circ {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ek-purple); color: #fff;
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  transition: background-color .3s ease, color .3s ease;
}
.step .circ { margin-bottom: 20px; }
.purple .circ { background: #fff; color: var(--ek-purple); }

.step.row { display: flex; gap: 20px; align-items: center; padding: 20px 0; border-top: 0; border-bottom: 1px solid var(--ek-hairline); }
.step.row p { margin: 0; }

.circ-list, .service ol.circ-list { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: cl; }
.circ-list li, .service ol.circ-list li { counter-increment: cl; position: relative; padding: 8px 0 8px 52px; margin: 0; min-height: 48px; display: flex; align-items: center; }
.circ-list li::before, .service ol.circ-list li::before {
  content: counter(cl); position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ek-purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
}

.curriculum li { grid-template-columns: 56px 1fr; align-items: center; }
.curriculum li::before {
  content: counter(c); width: 40px; height: 40px; border-radius: 50%;
  background: var(--ek-purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
}

.service .meta .icon { width: 56px; height: 56px; }

/* Artefact in the top-left corner, heading block moved to the right half */
.has-art.art-tl .art-bloom { right: auto; left: -150px; top: -150px; bottom: auto; }
.flip .section-head { margin-left: 50%; padding-left: calc(var(--gutter) * 2); }
@media (max-width: 899px) { .flip .section-head { margin-left: 0; padding-left: 0; padding-top: 72px; } }
@media (max-width: 599px) {
  .has-art.art-tl .art-bloom { left: -100px; top: -100px; }
  .flip .section-head { padding-top: 64px; }
}

/* Photographs */
.portrait.photo { background: var(--ek-ground); border: 0; display: block; }
.portrait.photo img, .landscape img { width: 100%; height: 100%; object-fit: cover; display: block; }
.landscape { aspect-ratio: 3 / 2; width: 100%; overflow: hidden; background: var(--ek-ground); }
.page-intro.with-photo .wrap { display: grid; grid-template-columns: 6fr 6fr; gap: calc(var(--gutter) * 2); align-items: center; }
.page-intro.with-photo h1 { max-width: none; }
@media (max-width: 899px) { .page-intro.with-photo .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* Footer contact with icons */
.site-footer li.ci a, .site-footer li.ci > span { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; }
.site-footer li.ci svg { width: 20px; height: 20px; color: var(--ek-purple); flex: none; }
.name { color: var(--ek-purple); font-weight: 600; }

/* Region selector for fees (Services page) */
.region-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px 24px; margin-bottom: 56px; background: var(--ek-ground); border-top: 1px solid var(--ek-gold); }
.region-bar label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ek-purple); }
.region-select {
  min-height: 44px; padding: 8px 40px 8px 14px; font-family: var(--sans); font-size: 15px; color: var(--ek-ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233D1A82' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid #cfcad5; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.region-select:focus { outline: none; border-color: var(--ek-purple); box-shadow: 0 0 0 1px var(--ek-purple); }
.region-note { flex-basis: 100%; }
.fee { font-weight: 600; color: var(--ek-purple); }
@media (max-width: 599px) { .region-select { width: 100%; } .region-bar { padding: 16px; } }
#region-note { margin: 0 0 48px; }

/* Classes curriculum heading: centred over the full width, artefact stays top-left */
.flip .section-head { margin-left: 0; padding-left: 0; text-align: center; justify-items: center; }
.flip .section-head p { margin-left: auto; margin-right: auto; }
