/* Logan Marks — light, human, photo-led. Brand: navy/indigo + teal; Montserrat + Instrument Serif accents. */
:root {
  --navy: #0b0b24;
  --ink: #17163f;
  --ink-2: #4a4870;
  --muted: #6d6b8c;
  --indigo: #3a39cc;
  --indigo-dark: #2a2898;
  --teal: #3fd6dc;
  --teal-ink: #0b7a80;
  --lav: #efeefd;
  --sky: #e5f7f8;
  --peach: #fff0e5;
  --sand: #f8f5f0;
  --line: #e7e6f1;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --brand-serif: "Marcellus", Georgia, serif;
  --max: 1200px;
  --r-lg: 28px;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink-2); background: #fff; line-height: 1.65; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.14; margin: 0 0 16px; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1 em, h2 em { color: var(--indigo); }
p { margin: 0 0 14px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; }
.lead { font-size: 18px; max-width: 640px; color: var(--ink-2); }
.center { text-align: center; }
.center .lead, .center.lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 15px var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--indigo); box-shadow: 0 10px 24px rgba(58,57,204,.25); }
.btn-soft { background: var(--lav); color: var(--ink); }
.btn-soft:hover { background: #e2e1fb; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn .arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); transition: transform .2s var(--ease); }
.btn-soft .arrow, .btn-light .arrow { background: #fff; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center .btn-row { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; font-size: 15px; }
.link::after { content: "→"; transition: transform .2s var(--ease); }
.link:hover::after { transform: translateX(4px); }

/* Floating header */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; padding: 0 14px; pointer-events: none; }
.nav { pointer-events: auto; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 20px; border-radius: 22px; background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(231,230,241,.9); box-shadow: 0 6px 30px rgba(23,22,63,.06); transition: box-shadow .3s, background .3s; }
.scrolled .nav { background: rgba(255,255,255,.92); box-shadow: 0 10px 40px rgba(23,22,63,.10); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.mark { width: 32px; height: auto; }
.brand img.word { height: 14px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); transition: background .2s; }
.nav-links a:hover { background: var(--lav); }
.nav-links a[aria-current="page"] { background: var(--lav); color: var(--indigo); }
.nav-cta { padding: 11px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links, .nav .nav-cta { display: none; }
  .site-header.open .nav { flex-wrap: wrap; }
  .site-header.open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 6px 0 8px; }
  .site-header.open .nav-links a { padding: 12px 10px; font-size: 16px; }
}

/* Hero */
.hero { position: relative; padding: 150px 0 90px; background: radial-gradient(60% 70% at 0% 0%, #efeefd 0%, transparent 60%), radial-gradient(50% 60% at 100% 20%, #e5f7f8 0%, transparent 60%), #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding-top: 120px; } }
.tagline { font-family: var(--brand-serif); color: var(--teal-ink); font-size: 18px; letter-spacing: .04em; margin-bottom: 14px; }
.hero-media { position: relative; }
.hero-media .frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: 0 30px 80px rgba(23,22,63,.16); }
.hero-media .frame img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(23,22,63,.14); border: 1px solid rgba(255,255,255,.8); font-size: 13px; line-height: 1.35; color: var(--ink-2); max-width: 250px; }
.chip b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; color: var(--ink); margin-bottom: 2px; }
.chip .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(63,214,220,.25); }
.chip.c1 { left: -28px; bottom: 60px; }
.chip.c2 { right: -18px; top: 40px; }
.chip.c3 { right: 24px; bottom: -22px; }
@media (max-width: 900px) { .chip.c1 { left: 10px; } .chip.c2 { right: 10px; } .chip.c3 { right: 10px; } }
.hero-sub { padding: 140px 0 70px; }
.hero-sub .lead { margin-bottom: 26px; }
.hero-banner { margin-top: 48px; border-radius: var(--r-lg); overflow: hidden; height: clamp(240px, 38vw, 480px); position: relative; }
.hero-banner img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }
.hero-banner .chip { left: 22px; bottom: 22px; }

/* Sections */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.bg-lav { background: var(--lav); }
.bg-sky { background: var(--sky); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #c9c8ee; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy h2 em { color: var(--teal); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 6px; }

/* Grids */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* Photo cards: image background + gradient overlay */
.photo-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 28px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.photo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,36,0) 25%, rgba(11,11,36,.55) 55%, rgba(11,11,36,.92) 100%); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.photo-card p { color: rgba(255,255,255,.84); margin-bottom: 16px; font-size: 15px; }
.photo-card .kicker { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 14px; }
.photo-card .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.photo-card .go::after { content: "→"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .25s var(--ease); }
.photo-card:hover .go::after { transform: translateX(4px); }
.photo-card.short { min-height: 360px; }

/* Split feature rows: image beside text */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 100px; }
.feature.flip .feature-media { order: 2; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature.flip .feature-media { order: 0; } .feature + .feature { margin-top: 72px; } }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .chip { left: 18px; bottom: 18px; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
ul.ticks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.bg-navy ul.ticks li::before { background-color: rgba(63,214,220,.18); }

/* Plain cards (for text-only content) */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.bg-navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #c9c8ee; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--lav); color: var(--indigo); margin-bottom: 12px; }
.tag.teal { background: var(--sky); color: var(--teal-ink); }

/* Stat cards: pastel, serif numbers, animated mini charts */
.stat-card { border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; min-height: 310px; position: relative; overflow: hidden; }
.stat-card.lav { background: linear-gradient(160deg, #f4f3ff, #e6e4fd); }
.stat-card.sky { background: linear-gradient(160deg, #f0fbfc, #d8f3f5); }
.stat-card.peach { background: linear-gradient(160deg, #fff7f1, #ffe4d2); }
.stat-card.sand { background: linear-gradient(160deg, #fbf9f5, #efe9df); }
.stat-card .num { font-family: var(--serif); font-size: clamp(48px, 5vw, 66px); line-height: 1; color: var(--ink); margin-bottom: 10px; }
.stat-card .label { font-size: 14px; color: var(--ink-2); max-width: 260px; }
.viz { height: 110px; margin-bottom: 26px; display: flex; align-items: flex-end; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 100%; width: 100%; }
.bars span { flex: 1; max-width: 46px; border-radius: 10px 10px 4px 4px; background: rgba(23,22,63,.12); height: var(--h); transform-origin: bottom; }
.bars span.hi { background: linear-gradient(180deg, var(--indigo), #7d7cf5); }
.sky .bars span.hi { background: linear-gradient(180deg, var(--teal-ink), var(--teal)); }
.peach .bars span.hi { background: linear-gradient(180deg, #f08a4b, #ffb27d); }
.ring { width: 110px; height: 110px; }
.ring circle { fill: none; stroke-width: 12; }
.ring .track { stroke: rgba(23,22,63,.1); }
.ring .val { stroke: var(--indigo); stroke-linecap: round; }
.sky .ring .val { stroke: var(--teal-ink); }
.peach .ring .val { stroke: #f08a4b; }
.people-row { display: grid; grid-template-columns: repeat(6, 18px); gap: 8px; align-content: end; }
.people-row i { width: 18px; height: 18px; border-radius: 50%; background: rgba(23,22,63,.14); }
.people-row i.on { background: var(--indigo); }
.peach .people-row i.on { background: #f08a4b; }
.sky .people-row i.on { background: var(--teal-ink); }
.source { font-size: 12px; color: var(--muted); margin-top: 22px; }

/* Tabs (Lyra-style, image swaps, autoplay with progress) */
.tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.center .tabs-nav, .tabs-nav.center { justify-content: center; }
.tab-btn { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14px var(--sans); padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: border-color .2s, background .2s; }
.tab-btn[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.tab-btn .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.tab-panel { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); min-height: 460px; }
.tab-panel[hidden] { display: none; }
.tp-media { position: relative; overflow: hidden; min-height: 280px; }
.tp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-body { padding: 52px; color: #c9c8ee; display: flex; flex-direction: column; justify-content: center; }
.tp-body h3 { color: #fff; font-size: 30px; }
.tp-body .step-no { font-family: var(--serif); font-size: 60px; color: var(--teal); line-height: 1; margin-bottom: 14px; }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; } .tp-body { padding: 30px; } }

/* Funnel (case study) */
.funnel { display: grid; gap: 14px; }
.funnel-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 16px; }
.funnel-row .n { font-family: var(--serif); font-size: 42px; color: var(--ink); line-height: 1; text-align: right; }
.funnel-row .track { height: 48px; border-radius: 14px; background: rgba(23,22,63,.06); overflow: hidden; }
.funnel-row .fill { height: 100%; width: var(--w); border-radius: 14px; background: linear-gradient(90deg, var(--indigo), #7d7cf5); display: flex; align-items: center; padding: 0 16px; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; transform-origin: left; }
.funnel-row.teal .fill { background: linear-gradient(90deg, var(--teal-ink), var(--teal)); }
.funnel-row.zero .fill { background: none; color: var(--ink-2); padding-left: 4px; }

/* Ecosystem diagram */
.eco-wrap { position: relative; max-width: 1040px; margin: 0 auto; }
.eco-svg { width: 100%; height: auto; display: block; overflow: visible; }
.eco-svg .wire { fill: none; stroke: #cfcdef; stroke-width: 1.6; }
.eco-svg .pulse { fill: var(--teal); }
.eco-node rect { fill: #fff; stroke: var(--line); stroke-width: 1.2; transition: stroke .2s, fill .2s; }
.eco-node:hover rect, .eco-node:focus rect { stroke: var(--indigo); fill: #f7f7ff; }
.eco-node text { font-family: var(--sans); fill: var(--ink); }
.eco-node .t1 { font-size: 15px; font-weight: 600; }
.eco-node .t2 { font-size: 11.5px; fill: var(--muted); }
.eco-node .cat { width: 6px; }
.eco-core .halo { fill: none; stroke: var(--teal); stroke-width: 1.5; }
.eco-list { display: none; }
@media (max-width: 760px) { .eco-svg { display: none; } .eco-list { display: grid; gap: 10px; } }
.eco-list a { display: block; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.eco-list b { display: block; color: var(--ink); } .eco-list small { color: var(--muted); }
.eco-legend { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: 13px; color: var(--muted); }
.eco-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: middle; background: var(--c); }

/* Marquee of sectors */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 42s linear infinite; }
.marquee-track span { font-size: 18px; font-weight: 600; color: var(--ink); opacity: .55; white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 56px; color: var(--teal-ink); font-size: 12px; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-size: 22px; font-weight: 600; color: var(--ink); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lav); display: grid; place-items: center; font-size: 22px; font-weight: 400; transition: transform .3s var(--ease), background .2s, color .2s; }
.acc-item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.acc-body { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding: 0 0 30px; align-items: start; }
.acc-body img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .acc-body { grid-template-columns: 1fr; } .acc-item summary { font-size: 19px; } }

/* Quote */
.quote-card { border-radius: var(--r-lg); padding: 40px; background: #fff; border: 1px solid var(--line); height: 100%; }
.quote { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--ink); margin: 0 0 18px; }
.quote-by { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Photo CTA band */
.cta-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(48px, 7vw, 92px); color: #fff; isolation: isolate; }
.cta-photo img { position: absolute; inset: -10% 0 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; will-change: transform; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,11,36,.93) 0%, rgba(23,22,63,.78) 45%, rgba(58,57,204,.35) 100%); }
.cta-photo h2 { color: #fff; max-width: 660px; }
.cta-photo h2 em { color: var(--teal); }
.cta-photo p { color: rgba(255,255,255,.84); max-width: 560px; margin-bottom: 26px; }

/* Timeline steps */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 23px; right: 0; top: 22px; height: 2px; background: var(--line); }
.timeline .line-fill { position: absolute; left: 23px; right: 0; top: 22px; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--teal)); transform-origin: left; }
.t-step { position: relative; padding-top: 70px; }
.t-step::before { content: attr(data-n); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-family: var(--serif); font-size: 22px; display: grid; place-items: center; z-index: 1; }
.t-step h3 { margin-bottom: 6px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline::before, .timeline .line-fill { display: none; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
table.plans { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.plans th, table.plans td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plans tr:last-child td { border-bottom: 0; }
table.plans th { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--sand); }
table.plans td strong { color: var(--ink); }
table.plans .price { font-family: var(--serif); font-size: 26px; color: var(--ink); white-space: nowrap; }

/* People */
.person { display: flex; gap: 18px; align-items: flex-start; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--teal-ink)); }
.person h3 { margin-bottom: 2px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-list a { color: var(--indigo); text-decoration: none; font-weight: 600; }
form.enquiry { display: grid; gap: 14px; }
form.enquiry .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { form.enquiry .row2 { grid-template-columns: 1fr; } }
form.enquiry label { font-size: 13px; font-weight: 600; color: var(--ink); display: grid; gap: 6px; }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: 15px var(--sans); padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
form.enquiry textarea { min-height: 130px; resize: vertical; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: 2px solid var(--indigo); border-color: transparent; }

/* Footer */
.site-footer { background: var(--navy); color: #a9a8d6; padding: 80px 0 30px; font-size: 14px; }
.site-footer a { text-decoration: none; color: #d4d3f7; }
.site-footer a:hover { color: var(--teal); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img.word { height: 14px; filter: brightness(0) invert(1); margin: 12px 0 14px; }
.foot-brand img.mark { width: 40px; }
.foot-brand .serif { font-size: 22px; color: #fff; display: block; margin-bottom: 8px; }
.site-footer h4 { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }

/* Motion opt-in: everything is visible unless site.js has loaded and claimed it. */
.motion [data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .motion [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}
.funnel.roi .funnel-row { grid-template-columns: 130px 1fr; }
.tp-body .step-no.word { font-size: 36px; }
.bg-navy .timeline::before { background: rgba(255,255,255,.14); }
.bg-navy .t-step::before { background: var(--navy); border-color: var(--teal); color: #fff; }
.bg-navy .t-step h3 { color: #fff; }

/* Accordion v2: the open item's photo fills the whole item as its background. */
.acc-item { position: relative; isolation: isolate; transition: margin .35s var(--ease); }
.acc-item > summary { position: relative; z-index: 1; transition: color .3s, padding .35s var(--ease); }
.acc-body { display: block; position: relative; z-index: 1; padding: 0 0 34px; max-width: 620px; min-height: 0; }
.acc-body p { font-size: 17px; }
.acc-body img, .acc-body .acc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 0; z-index: -2; }
.acc-item .acc-bg { display: none; }
.acc-item[open] { margin: 14px 0; border-bottom-color: transparent; border-radius: var(--r-lg); overflow: hidden; }
.acc-item[open]::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(11,11,36,.9) 0%, rgba(11,11,36,.66) 45%, rgba(11,11,36,.18) 100%); pointer-events: none; }
.acc-item[open] > summary { color: #fff; padding: 30px 30px 18px; }
.acc-item[open] > summary::after { background: #fff; color: var(--ink); }
.acc-item[open] .acc-body { padding: 0 30px 40px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.acc-item[open] .acc-body p { color: rgba(255,255,255,.88); }
.acc-item[open] .link { color: #fff; }
.acc-item[open] .acc-body > img { position: absolute; z-index: -1; }
.acc-item[open] { z-index: 0; }
@media (max-width: 700px) { .acc-item[open] .acc-body { min-height: 220px; } .acc-item[open] > summary { padding: 24px 20px 14px; } .acc-item[open] .acc-body { padding: 0 20px 28px; } }
/* Layer order for open accordion items: photo (-2) < gradient (-1) < text (1). */
.acc-body { position: static; z-index: auto; }
.acc-body > :not(img) { position: relative; z-index: 1; }
.acc-item[open]::before { z-index: -1; }
.acc-item[open] .acc-body > img { z-index: -2; }
/* Ministry of Education approval badge */
.moe-badge { display: flex; align-items: center; gap: 18px; max-width: 620px; margin: 4px 0 28px; padding: 14px 20px 14px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(23,22,63,.06); }
.moe-badge img { flex: none; width: auto; height: 84px; }
.moe-badge p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.moe-badge b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 560px) { .moe-badge { flex-direction: column; align-items: flex-start; } }
.eco-node rect.cat { stroke: none; }
