/* Inaya Quran Academy, premium layer for the public site.
   Light sage palette: ivory and cream surfaces, sage and olive for secondary bands, deep forest only for headings, buttons and small accents, champagne gold used sparingly.
   Loaded after site.css and glass.css, public pages only. The admin, teacher and student portals do not link this file. */
:root {
  --ivory: #FAF8F0; --cream: #F5F1E5; --sand: #EEE9D8; --sage: #A7B89A; --olive: #899D78; --botanical: #6F8F70; --forest: #174F3E;
  --gold: #C5A66A; --gold-soft: #D8C69C; --gold-ink: #86692B; --grey: #6A6B63;
  --sage-wash: color-mix(in srgb, var(--sage) 24%, transparent);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --glass-bg: rgba(255, 255, 255, .6); --glass-bg-strong: rgba(255, 255, 255, .8); --glass-line: rgba(255, 255, 255, .85);
  --glass-edge: rgba(23, 79, 62, .08); --glass-shadow: 0 22px 50px -30px rgba(23, 79, 62, .32); --glass-r: 24px;
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 220'%3E%3Cg fill='%236F8F70'%3E%3Cpath d='M80 214C78 160 82 100 118 18c-34 36-52 92-38 196z' opacity='.5'/%3E%3Cpath d='M80 170c-24-8-42-30-44-58 26 6 44 28 44 58z' opacity='.6'/%3E%3Cpath d='M82 128c22-8 38-28 38-52-24 4-40 26-38 52z' opacity='.5'/%3E%3Cpath d='M80 92c-18-6-30-22-30-42 20 4 32 22 30 42z' opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
}
body {
  background:
    radial-gradient(900px 560px at 4% -6%, color-mix(in srgb, var(--sage) 34%, transparent), transparent 64%),
    radial-gradient(760px 520px at 100% 8%, color-mix(in srgb, var(--gold-soft) 26%, transparent), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
  background-attachment: fixed; color: var(--text);
}
h1, h2, h3, h4 { color: var(--forest); }
a { color: var(--forest); }
.eyebrow { color: var(--gold-ink); letter-spacing: .24em; font-weight: 700; }
.muted, .lead { color: var(--grey); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--botanical) 70%, #fff); outline-offset: 3px; }
.ic { width: 22px; height: 22px; flex: none; }
.ic.s { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn { background: var(--forest); border-color: var(--forest); color: #fff; box-shadow: 0 12px 24px -14px rgba(23, 79, 62, .7); transition: transform .25s var(--ease), box-shadow .25s ease, background-color .25s ease, color .25s ease; }
.btn:hover { background: color-mix(in srgb, var(--forest) 86%, #fff); border-color: color-mix(in srgb, var(--forest) 86%, #fff); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(23, 79, 62, .75); }
.btn.arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.btn.arrow:hover::after { transform: translateX(4px); }
.btn.ghost { background: rgba(255, 255, 255, .7); color: var(--forest); border-color: color-mix(in srgb, var(--forest) 22%, transparent); box-shadow: none; }
.btn.ghost:hover { background: #fff; color: var(--forest); border-color: color-mix(in srgb, var(--forest) 40%, transparent); box-shadow: 0 12px 24px -16px rgba(23, 79, 62, .5); }
.btn.light { background: #fff; color: var(--forest); border-color: #fff; box-shadow: 0 12px 26px -16px rgba(23, 79, 62, .6); }
.btn.light:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn.play .ic { margin-inline-end: -2px; }

/* ---------- Floating navigation ---------- */
.site-header { position: sticky; top: 10px; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 14px; min-height: 0; }
.site-header .container { max-width: 1200px; }
.header-in { position: relative; min-height: 66px; gap: 14px; padding: 0 14px 0 20px; background: rgba(250, 248, 240, .7); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .85); border-radius: 24px; box-shadow: 0 18px 44px -26px rgba(23, 79, 62, .45), inset 0 1px 0 rgba(255, 255, 255, .8); transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.scrolled .header-in { background: rgba(250, 248, 240, .88); box-shadow: 0 20px 46px -22px rgba(23, 79, 62, .5); }
.site-header { margin-top: 10px; }
.nav { flex: 1; gap: 2px; }
.nav > a.nav-link:first-child, .nav > .nav-item:first-child { margin-inline-start: auto; }
.nav > .btn:last-child { margin-inline-start: 0; }
.nav a.nav-link { color: var(--forest); font-weight: 500; padding: 8px 15px; border-radius: 999px; transition: background-color .25s ease, color .25s ease; position: relative; }
.nav a.nav-link:hover { background: color-mix(in srgb, var(--sage) 28%, transparent); color: var(--forest); }
.nav a.nav-link[aria-current="page"] { background: color-mix(in srgb, var(--sage) 42%, transparent); color: var(--forest); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.nav .btn.sm { padding: 10px 20px; font-size: .9rem; }
.lang-btn { border-radius: 999px; background: rgba(255, 255, 255, .6); border-color: color-mix(in srgb, var(--forest) 16%, transparent); color: var(--forest); }
.lang-btn:hover { background: #fff; }
.lang-menu, .sub-menu { background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(23, 79, 62, .45); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lang-menu button[aria-checked="true"], .lang-menu button:hover { background: color-mix(in srgb, var(--sage) 30%, transparent); }
.menu-btn { border-radius: 999px; background: rgba(255, 255, 255, .6); color: var(--forest); border-color: color-mix(in srgb, var(--forest) 18%, transparent); }
@media (max-width: 860px) {
  .site-header { top: 6px; margin-top: 6px; padding: 0 10px; }
  .header-in { min-height: 60px; padding: 0 10px 0 16px; border-radius: 20px; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex: none; display: flex; flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; background: rgba(250, 248, 240, .94); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: 0 28px 54px -24px rgba(23, 79, 62, .5);
    visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top center; transition: opacity .25s ease, transform .25s var(--ease), visibility .25s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav > a.nav-link:first-child, .nav > .nav-item:first-child, .nav > .btn { margin-inline-start: 0; }
  .nav a.nav-link { padding: 14px 16px; }
  .nav > .btn { margin-top: 8px; }
  .lang-switch { margin-inline-start: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.sec-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 60ch; }
.center .sec-head, .section.center .sec-head { text-align: center; }
.sec-head .rich { margin-inline: auto; }
.section h2 { font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section.soft { background: linear-gradient(180deg, transparent 0, var(--sage-wash) 22%, var(--sage-wash) 78%, transparent 100%); }
.section.green { background: linear-gradient(120deg, #E4ECDB 0%, var(--sage) 48%, var(--olive) 100%); color: var(--forest); border-radius: 36px; margin: 20px 16px; }
.section.green h1, .section.green h2, .section.green h3 { color: var(--forest); }
.section.green .lead, .section.green .muted { color: color-mix(in srgb, var(--forest) 82%, #000); }
.section.green a:not(.btn) { color: var(--forest); }
@media (max-width: 700px) { .section { padding: 60px 0; } .section.green { margin: 14px 8px; border-radius: 26px; } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 88px; background: linear-gradient(180deg, color-mix(in srgb, var(--sage) 30%, transparent) 0%, transparent 92%); }
.hero::before { content: ""; position: absolute; left: -30px; top: 80px; width: 190px; height: 260px; background: var(--leaf) center/contain no-repeat; transform: rotate(-24deg); opacity: .7; pointer-events: none; }
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; position: relative; z-index: 1; }
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.07; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; margin-bottom: .45em; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--forest); }
.hero .lead { font-size: 1.1rem; max-width: 46ch; color: color-mix(in srgb, var(--forest) 70%, var(--grey)); }
.hero .btn-row { margin-top: 1.7rem; }
.hero-note { margin-top: 1.5rem; font-size: .84rem; color: var(--grey); background: rgba(255, 255, 255, .62); }
.hero-art { width: min(100%, 500px); justify-self: end; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: -14px -14px 6px; border: 1.5px solid color-mix(in srgb, var(--gold) 62%, transparent); border-radius: 999px 999px 40px 40px; pointer-events: none; z-index: 0; }
.hero-art .arch { position: relative; z-index: 1; aspect-ratio: 4 / 4.7; border-radius: 999px 999px 32px 32px; border: 7px solid rgba(255, 255, 255, .78); background: var(--sand); box-shadow: 0 40px 80px -40px rgba(23, 79, 62, .55); }
.hero-art img { object-position: 52% 36%; }
.hero-art .orb { position: absolute; z-index: -1; right: -60px; top: 10%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sage) 62%, transparent), transparent 70%); filter: blur(34px); }
.hero-art .leaf { position: absolute; z-index: 2; right: -34px; bottom: -26px; width: 130px; color: var(--botanical); opacity: .72; transform: rotate(14deg); pointer-events: none; }
@media (max-width: 860px) {
  .hero { padding: 26px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: 2; }
  .hero-copy { max-width: none; }
  .hero-art { justify-self: center; width: min(86%, 380px); }
  .hero::before { width: 120px; height: 170px; top: 40px; left: -34px; opacity: .55; }
    .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-art .leaf { width: 96px; right: -18px; }
}

/* ---------- Program slider ---------- */
.prog-sec { padding-top: 60px; }
.pc { position: relative; max-width: 1140px; margin: 0 auto; text-align: start; }
.pc-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 22px; margin: 0 -4px; outline-offset: -2px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.02fr 1.12fr 1fr 1fr; overflow: hidden; background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); border-radius: 30px; box-shadow: 0 30px 70px -40px rgba(23, 79, 62, .5); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: .5; transform: scale(.985); transition: opacity .45s ease, transform .45s var(--ease); }
.pc-slide.on { opacity: 1; transform: none; }
.pc-media { position: relative; min-height: 310px; background: linear-gradient(165deg, #E4ECDB, var(--sage)); border-radius: 0 110px 110px 0 / 0 180px 180px 0; overflow: hidden; }
.pc-media .mq, .pc-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(23, 79, 62, .82) 100%); }
.pc-cap { position: absolute; z-index: 2; inset: auto 20px 20px 22px; color: #fff; display: grid; gap: 4px; padding-inline-end: 56px; }
.pc-no { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .92; font-weight: 600; }
.pc-cap b { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: 1.25rem; line-height: 1.25; }
.pc-go { position: absolute; inset-inline-end: 0; bottom: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--forest); transition: transform .25s var(--ease); }
.pc-go:hover { transform: scale(1.08); color: var(--forest); }
.pc-main { padding: 34px 26px 30px 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.pc-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--sage) 38%, #fff); color: var(--forest); margin-bottom: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.pc-main h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 500; margin-bottom: .35em; }
.pc-main p { color: var(--grey); font-size: .96rem; }
.row-link { color: var(--forest); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); padding-bottom: 2px; }
.row-link:hover { color: var(--forest); border-color: var(--forest); }
.row-link .arr { transition: transform .25s var(--ease); }
.row-link:hover .arr { transform: translateX(4px); }
.pc-path, .pc-gain { padding: 34px 22px; }
.pc-path { border-inline-start: 1px solid color-mix(in srgb, var(--forest) 10%, transparent); }
.pc-gain { margin: 16px 16px 16px 0; padding: 20px 20px; border-radius: 22px; background: color-mix(in srgb, var(--sage) 26%, rgba(255, 255, 255, .5)); }
.pc-path h4, .pc-gain h4 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; margin-bottom: 14px; color: var(--forest); letter-spacing: 0; }
.pc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; font-size: .92rem; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.pc-list b { font-weight: 600; color: var(--forest); }
.ck { flex: none; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: var(--botanical); color: #fff; margin-top: 1px; }
.ck .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.ck.g { background: var(--gold-soft); color: var(--forest); }
.pc-ctl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.pc-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .8); border: 1px solid rgba(23, 79, 62, .14); color: var(--forest); cursor: pointer; box-shadow: 0 12px 24px -16px rgba(23, 79, 62, .5); transition: transform .25s var(--ease), background-color .25s ease, opacity .25s ease; }
.pc-btn:hover:not(:disabled) { background: #fff; transform: scale(1.06); }
.pc-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.pc-dots { display: flex; gap: 8px; align-items: center; }
.pc-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--sage) 70%, #fff); cursor: pointer; transition: width .3s var(--ease), background-color .3s ease; position: relative; }
.pc-dots button::before { content: ""; position: absolute; inset: -10px -4px; }
.pc-dots button.on { width: 30px; background: var(--forest); }
.pc.single .pc-ctl, .ts.single .pc-ctl { display: none; }
@media (max-width: 1020px) {
  .pc-slide { grid-template-columns: 1fr 1fr; }
  .pc-media { grid-column: 1 / -1; min-height: 210px; border-radius: 0 0 90px 90px / 0 0 60px 60px; }
  .pc-main { grid-column: 1 / -1; padding: 26px 28px 8px; }
  .pc-path { border-inline-start: 0; padding: 18px 24px 26px; }
  .pc-gain { margin: 8px 16px 16px 8px; }
}
@media (max-width: 620px) {
  .pc-slide { grid-template-columns: 1fr; border-radius: 26px; }
  .pc-media { min-height: 190px; }
  .pc-main { padding: 22px 22px 4px; }
  .pc-path { padding: 14px 22px 8px; }
  .pc-gain { margin: 8px 14px 16px; }
  .pc-track { gap: 14px; }
}

/* ---------- Academic journey ---------- */
.jr { display: flex; align-items: stretch; justify-content: center; gap: 10px; max-width: 1040px; margin: 0 auto; }
.jr-c { position: relative; flex: 1 1 0; min-width: 0; padding: 38px 22px 28px; text-align: center; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9); border-radius: 26px; box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .3s var(--ease), box-shadow .3s ease; }
.jr-c:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -30px rgba(23, 79, 62, .42); }
.jr-n { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; background: var(--forest); color: #fff; box-shadow: 0 8px 16px -8px rgba(23, 79, 62, .7); }
.jr-i { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: color-mix(in srgb, var(--sage) 34%, #fff); color: var(--forest); }
.jr-i .ic { width: 28px; height: 28px; }
.jr-c h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .3em; }
.jr-c p { margin: 0; color: var(--grey); font-size: .94rem; }
.jr-ar { flex: none; align-self: center; width: 30px; color: var(--gold-ink); display: grid; place-items: center; }
@media (max-width: 760px) {
  .jr { flex-direction: column; gap: 6px; max-width: 420px; }
  .jr-c { padding: 34px 20px 24px; }
  .jr-ar { transform: rotate(90deg); width: auto; height: 28px; }
}

/* ---------- Why choose (five features) ---------- */
.grid.c5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1140px; margin: 0 auto; }
.grid.c5 > .card { flex: 1 1 190px; max-width: 224px; }
.card.feat { text-align: center; padding: 28px 16px 24px; }
.feat .fi { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; color: var(--forest); background: color-mix(in srgb, var(--sage) 32%, #fff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); transition: transform .3s var(--ease), background-color .3s ease; }
.feat:hover .fi { transform: translateY(-3px) scale(1.05); background: color-mix(in srgb, var(--sage) 50%, #fff); }
.feat h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .35em; }
.feat p { font-size: .9rem; }
.card { transition: transform .3s var(--ease), box-shadow .3s ease; }
.card:hover { transform: translateY(-3px); }

/* ---------- Testimonials ---------- */
.ts { position: relative; max-width: 920px; margin: 0 auto; }
.ts .pc-track { padding-block: 6px 20px; }
.ts-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; display: flex; align-items: center; gap: 30px; text-align: start; padding: 34px 42px; background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .9); border-radius: 30px; box-shadow: 0 30px 70px -42px rgba(23, 79, 62, .5); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.ts-ph { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 12px 26px -14px rgba(23, 79, 62, .6); }
.ts-q { display: grid; place-items: center; font-family: var(--font-head); font-size: 3.2rem; line-height: 1; padding-top: 14px; color: var(--forest); background: color-mix(in srgb, var(--sage) 38%, #fff); }
.ts blockquote { margin: 0 0 14px; font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; color: var(--forest); }
.ts figcaption b { display: block; color: var(--forest); }
.ts figcaption span { color: var(--grey); font-size: .88rem; }
@media (max-width: 640px) { .ts-slide { flex-direction: column; text-align: center; padding: 28px 22px; gap: 18px; } }

/* ---------- Closing call to action ---------- */
.section.cta-sec { position: relative; overflow: hidden; max-width: 1200px; margin: 28px auto; padding: 84px 0; border-radius: 36px; background: linear-gradient(115deg, #E8EFE0 0%, #BCCBB0 42%, var(--sage) 70%, var(--olive) 100%); box-shadow: 0 40px 80px -50px rgba(23, 79, 62, .55); }
.cta-sec .cta-art { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.cta-sec .cta-art .mq { width: 100%; height: 100%; }
.cta-sec .leaf { position: absolute; right: 2%; top: 8%; width: 120px; color: var(--botanical); opacity: .55; transform: rotate(20deg); pointer-events: none; }
.cta-sec .container { position: static; }
.cta-sec .cta-box { position: relative; z-index: 1; margin-inline: auto; }
.cta-sec .cta-box { max-width: 640px; padding: 38px 36px 40px; border-radius: 28px; background: rgba(250, 248, 240, .55); border: 1px solid rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cta-sec h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.cta-sec .btn.ghost { background: rgba(255, 255, 255, .5); }
@media (max-width: 760px) { .section.cta-sec { margin: 18px 10px; padding: 52px 0; border-radius: 28px; max-width: none; } .cta-sec .cta-box { padding: 28px 20px 30px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; margin-top: 64px; padding: 60px 0 26px; color: var(--grey); background: linear-gradient(180deg, color-mix(in srgb, var(--sand) 40%, transparent) 0%, var(--sand) 100%); border-radius: 40px 40px 0 0; border-top: 1px solid rgba(255, 255, 255, .8); }
.site-footer::before { content: ""; position: absolute; right: -20px; bottom: -30px; width: 230px; height: 310px; background: var(--leaf) center/contain no-repeat; opacity: .55; pointer-events: none; }
.site-footer::after { content: ""; position: absolute; left: -30px; top: 30px; width: 150px; height: 210px; background: var(--leaf) center/contain no-repeat; opacity: .35; transform: rotate(-30deg) scaleX(-1); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer a { color: var(--forest); text-decoration: none; }
.site-footer a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); }
.foot-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--forest); font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.foot-logo img.mono { filter: none; }
.foot-tag { font-family: var(--font-head); font-style: italic; color: var(--forest); font-size: 1.1rem; margin: 0 0 .5em; }
.foot-txt { max-width: 34ch; font-size: .94rem; margin: 0; }
.foot-cta { margin-top: 18px; }
.soc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); border: 1px solid rgba(23, 79, 62, .14); color: var(--forest); transition: background-color .25s ease, color .25s ease, transform .25s var(--ease); }
.soc:hover { background: var(--forest); color: #fff !important; transform: translateY(-2px); text-decoration: none !important; }
.foot-bottom { border-top: 1px solid rgba(23, 79, 62, .14); color: var(--grey); margin-top: 40px; padding-top: 20px; }
.foot-legal { display: inline-flex; gap: 0; }
.foot-legal a + a::before { content: "|"; margin: 0 12px; color: var(--gold-ink); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .site-footer { border-radius: 30px 30px 0 0; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } .foot-bottom { flex-direction: column; } }

/* ---------- Inner pages: same palette ---------- */
.page-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--sage) 22%, transparent), transparent); padding-bottom: 28px; }
.pill, .lv { background: color-mix(in srgb, var(--sage) 36%, #fff); color: var(--forest); }
.faq details { border-radius: 20px; }
.faq summary { color: var(--forest); }

/* ---------- Intro video ---------- */
.vid-ov { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 18px; background: rgba(23, 50, 40, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: vidin .25s ease; }
.vid-box { position: relative; width: min(940px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0E2A21; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.vid-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-x { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--forest); font-size: 1.5rem; line-height: 1; cursor: pointer; }
body.vid-open { overflow: hidden; }
@keyframes vidin { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .pc-slide, .btn, .jr-c, .card, .nav { transition: none !important; } .pc-slide { opacity: 1; transform: none; } .vid-ov { animation: none; } }

/* footer button keeps its own text colour */
.site-footer a.btn, .site-footer a.btn:hover { color: #fff; text-decoration: none; }

/* ---------- Hero photo, full bleed on the right and melting into the page (matches the reference) ---------- */
.hero { min-height: 640px; display: flex; align-items: center; padding: 70px 0 80px; }
.hero > .container { width: 100%; }
.hero-grid { grid-template-columns: minmax(0, 560px) 1fr; }
.hero-art { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 40%; width: auto; justify-self: auto; }
.hero-art::before { display: none; }
.hero-art .arch { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 82%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 82%, transparent 100%); mask-composite: intersect; }
.hero-art img { object-fit: cover; object-position: 62% 34%; }
.hero-art:hover .arch img { transform: none; }
.hero-art .orb { display: none; }
.hero-art .leaf { z-index: 2; right: 1.5%; bottom: 3%; width: 150px; opacity: .8; transform: rotate(10deg); }
.hero::before { z-index: 3; }
.hero-copy { position: relative; z-index: 2; }
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 26px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-art { position: relative; inset: auto; left: auto; width: 100%; height: 340px; margin-top: 18px; }
  .hero-art .arch { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%); mask-image: linear-gradient(180deg, transparent 0, #000 26%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero-art img { object-position: 60% 30%; }
  .hero-art .leaf { width: 100px; }
}
.hero > .container { position: static; }
.hero-grid { position: static; }
@media (max-width: 860px) { .hero > .container { position: relative; } .hero-grid { position: relative; } }

/* The header floats over the page: no separate strip behind it */
.site-header { margin-bottom: -76px; }
.hero { padding-top: 130px; }
@media (max-width: 860px) { .site-header { margin-bottom: -66px; } .hero { padding-top: 92px; } }
.page-hero, main > .section:first-child:not(.hero) { scroll-margin-top: 90px; }
.page-hero { padding-top: 120px; }
main:not([data-page="home"]) > .section:first-child:not(.hero) { padding-top: 130px; }
@media (max-width: 860px) { .page-hero { padding-top: 96px; } main:not([data-page="home"]) > .section:first-child:not(.hero) { padding-top: 96px; } }

/* ---------- Login button in the header ---------- */
.login-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 14px; font: inherit; font-size: .9rem; font-weight: 600; letter-spacing: .01em; color: #fff; cursor: pointer; border-radius: 999px;
  background: linear-gradient(135deg, var(--botanical) 0%, var(--forest) 100%); border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 12px 22px -14px rgba(23, 79, 62, .8), inset 0 1px 0 rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), box-shadow .25s ease, filter .25s ease; }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -14px rgba(23, 79, 62, .85), inset 0 1px 0 rgba(255, 255, 255, .32); filter: brightness(1.05); }
.login-btn:active { transform: translateY(0); }
.login-btn .ic { width: 18px; height: 18px; }
.nav > .login-btn { margin-inline-start: auto; }
.nav > .login-btn + .btn { margin-inline-start: 0; }
@media (max-width: 860px) { .nav > .login-btn { margin-inline-start: 0; justify-content: center; padding: 14px 18px; margin-top: 8px; } .nav > .login-btn + .btn { margin-top: 8px; } }
