/* Orion Wealth: tokens, base and components */
:root {
  --ink: #0C1E1B;
  --ink-2: #113229;
  --text: #31423F;
  --green: #015941;
  --gold: #E2BF7F;
  --mint: #F3F9F3;
  --white: #FFFFFF;
  --line: rgba(12, 30, 27, .1);
  --radius: 16px;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --wrap: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.em-gold { color: var(--gold); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.section { padding: 110px 0; }
.section-mint { background: var(--mint); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.eyebrow { display: block; color: var(--green); font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.section-dark .eyebrow { color: var(--gold); }
.h2 { font-size: clamp(34px, 4.2vw, 50px); font-weight: 800; }
.h2 .em { display: block; }
.h2.inline .em { display: inline; }
.lead { font-size: 16px; max-width: 760px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 50px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--green); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--gold); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.site-header.solid { position: relative; background: var(--ink); }
.logo { position: relative; z-index: 30; }
.logo img { width: 188px; height: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--white); text-decoration: none; font-weight: 600; opacity: .85; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }

/* hero */
.hero { position: relative; min-height: 829px; display: flex; align-items: flex-end; color: var(--white); background: var(--ink) center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,30,27,.75), rgba(12,30,27,.15)); }
.hero .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 90px; }
.hero h1 { color: var(--white); font-size: clamp(48px, 6.5vw, 80px); font-weight: 900; line-height: 1.05; }
.hero h1 .em { display: block; color: var(--gold); }
.ticks { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; margin: 32px 0 0; padding: 0; font-size: 20px; font-weight: 600; }
.ticks li, .checks li { display: flex; align-items: center; gap: 10px; }
.stat-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px 24px; min-width: 260px; }
.stat-card .k { font-weight: 600; }
.stat-card .v { font-size: 36px; font-weight: 600; margin: 8px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* banner (inner pages) */
.banner { position: relative; height: 510px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--ink) center / cover no-repeat; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(12,30,27,.6); }
.banner h1 { position: relative; z-index: 1; color: var(--white); font-size: clamp(40px, 6vw, 80px); font-weight: 700; padding: 100px 20px 0; }

/* intro + features */
.center { text-align: center; }
.center .lead { margin: 18px auto 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 20px; text-align: center; }
.feature img { width: 40px; height: 48px; margin: 0 auto 26px; }
.feature .k { font-size: 16px; }
.feature .v { color: var(--ink); font-size: 18px; font-weight: 600; margin-top: 6px; }

/* who we are */
.who-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.who-grid { display: grid; grid-template-columns: 1fr 421px 1fr; gap: 40px; align-items: center; margin-top: 56px; }
.big-num { font-family: var(--serif); font-size: clamp(56px, 7vw, 80px); color: var(--ink); line-height: 1; }
.licence { display: flex; align-items: center; gap: 18px; margin-top: 24px; color: var(--ink); font-size: 18px; }
.licence img { width: 70px; }
.who-grid .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 421 / 492; }
.who-grid .photo img { width: 100%; height: 100%; object-fit: cover; }
.dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; color: var(--ink); }
.dot-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; margin-right: 12px; vertical-align: middle; }

/* photo band */
.band { position: relative; min-height: 505px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--ink) center / cover no-repeat; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(12,30,27,.55); }
.band h2 { position: relative; z-index: 1; color: var(--white); font-size: clamp(36px, 5vw, 60px); font-weight: 900; padding: 0 20px; }
.band h2 .em { display: block; color: var(--gold); }

/* services */
.svc-layout { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.svc-layout .intro { position: sticky; top: 110px; }
.svc-layout .intro .btn { margin-top: 32px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.svc-grid.three { grid-template-columns: repeat(3, 1fr); }
.svc-card { display: block; background: var(--mint); border-radius: var(--radius); padding: 32px 30px; text-decoration: none; color: var(--text); border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.svc-card:hover { border-color: var(--green); }
.svc-card h3 { font-size: 22px; font-weight: 600; }
.svc-card p { margin: 12px 0 0; }
.svc-card h4 { font-size: 20px; font-weight: 600; margin: 26px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink); }
.checks svg { flex: none; color: var(--green); }
.section-dark .checks, .together .checks, .ticks { color: inherit; }
.section-dark .checks svg, .together .checks svg, .ticks svg { color: var(--gold); }

/* collage */
.collage img { width: 100%; border-radius: var(--radius); }

/* framework */
.fw { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.fw-media { position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; min-height: 609px; display: flex; align-items: flex-end; background: var(--ink) center / cover no-repeat; }
.fw-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,30,27,.9) 10%, rgba(12,30,27,0) 65%); }
.fw-media .copy { position: relative; z-index: 1; padding: 36px; color: rgba(255,255,255,.85); }
.fw-media .copy .eyebrow { color: var(--gold); font-weight: 700; }
.fw-media .copy h2 { color: var(--white); font-size: clamp(36px, 4vw, 50px); font-weight: 700; margin-bottom: 14px; }
.fw-media .copy h2 .em { display: inline; }
.steps { display: grid; gap: 40px; }
.step { background: var(--white); border-radius: var(--radius); padding: 34px; }
.step .num { display: inline-block; background: var(--green); color: var(--white); font-size: 14px; border-radius: 30px; padding: 2px 12px; }
.step h3 { font-size: 22px; font-weight: 600; margin: 16px 0 12px; }
.step .checks { margin-top: 18px; }

/* philosophy */
.philo { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.philo .stat { display: flex; align-items: center; gap: 24px; margin: 32px 0 20px; }
.philo .stat b { font-size: 80px; font-weight: 700; color: var(--ink); line-height: 1; }
.philo .stat span { font-size: 22px; font-weight: 600; color: var(--ink); }
.gold-bar { width: 220px; height: 6px; border-radius: 6px; background: var(--gold); margin-bottom: 28px; }
.philo-media { position: relative; display: flex; justify-content: flex-end; min-height: 590px; }
.philo-media .ph-img { width: 70%; border-radius: var(--radius); object-fit: cover; }
.overview { position: absolute; left: 0; bottom: 40px; background: var(--ink); color: rgba(255,255,255,.75); border-radius: var(--radius); padding: 30px; width: min(340px, 80%); }
.overview .t { color: var(--white); font-size: 20px; margin-bottom: 18px; }
.overview b { display: block; color: var(--white); font-size: 26px; font-weight: 700; margin-top: 18px; }
.overview small { font-size: 14px; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 28px; margin-bottom: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 20px; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding-bottom: 24px; margin: 0; }

/* cta */
.cta { position: relative; text-align: center; background: var(--white) bottom center / 100% auto no-repeat; }
.cta .h2 { font-size: clamp(38px, 5vw, 60px); }
.cta .lead { margin: 18px auto 30px; }

/* about */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mv-card { background: var(--mint); border-radius: var(--radius); padding: 40px; }
.mv-card h2 { font-size: 40px; font-weight: 500; margin-bottom: 26px; }
.mv-card h3 { font-size: 24px; font-weight: 600; margin: 20px 0 6px; }
.people { position: relative; background: var(--ink) center / cover no-repeat; color: rgba(255,255,255,.82); }
.people .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.people h2 { color: var(--white); font-size: clamp(36px, 4.6vw, 60px); font-weight: 700; margin-bottom: 20px; }
.people .btn { margin-top: 18px; }
.people ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.people ol li { display: flex; gap: 20px; align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.15); }
.people ol span { color: var(--gold); }
.people ol b { color: var(--white); font-size: 32px; font-weight: 600; line-height: 1.1; }

/* service page */
.svc-detail { display: grid; grid-template-columns: 521px 1fr; gap: 60px; align-items: start; }
.svc-detail .photo { border-radius: var(--radius); overflow: hidden; }
.svc-detail .photo img { width: 100%; aspect-ratio: 521 / 436; object-fit: cover; }
.svc-detail .h2 { margin-bottom: 22px; }
.svc-detail .checks { margin-top: 24px; }
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.approach .card { background: var(--mint); border-radius: var(--radius); padding: 40px 30px; text-align: center; }
.approach img { width: 46px; height: 46px; margin: 0 auto 24px; }
.approach h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.together { position: relative; background: var(--ink) center / cover no-repeat; color: rgba(255,255,255,.85); }
.together::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,30,27,.92) 30%, rgba(12,30,27,.35)); }
.together .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; }
.together h2 { color: var(--white); font-size: clamp(36px, 4.4vw, 50px); font-weight: 700; margin-bottom: 20px; }
.together h2 .em { display: block; color: var(--gold); }
.together .checks { grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-top: 28px; font-size: 18px; font-weight: 400; }
.enquiry-card { background: var(--mint); color: var(--text); border-radius: var(--radius); padding: 34px; text-align: center; }
.enquiry-card h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.enquiry-card .btn { margin-top: 10px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.info-card { background: var(--mint); border-radius: var(--radius); overflow: hidden; margin-top: 32px; }
.info-card img { width: 100%; height: 220px; object-fit: cover; }
.info-card .body { padding: 30px; }
.info-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.info-card a { color: var(--green); font-weight: 600; }
.info-card .row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.form-card { background: var(--ink); border-radius: var(--radius); padding: 44px; color: rgba(255,255,255,.8); }
.form-card h2 { color: var(--white); font-size: clamp(34px, 4vw, 50px); font-weight: 700; margin-bottom: 28px; }
.form-card h2 .em { color: var(--gold); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: block; }
.fields .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fields input, .fields textarea { width: 100%; font: inherit; font-weight: 500; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 15px 18px; }
.fields input::placeholder, .fields textarea::placeholder { color: rgba(255,255,255,.55); }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--gold); }
.fields textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.form-note { font-size: 14px; margin-top: 16px; }
.form-note a { color: var(--gold); }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #ffb4a8; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 90px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 50px; }
.site-footer .logo img { width: 210px; margin-bottom: 22px; }
.site-footer h2 { color: var(--white); font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.site-footer h2 a { text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover, .doc-links a:hover { color: var(--gold); }
.doc-links { display: grid; gap: 6px; margin-top: 22px; }
.doc-links a { color: var(--white); font-size: 20px; font-weight: 600; text-decoration: none; }
.ids { margin-top: 18px; color: var(--white); font-size: 20px; font-weight: 600; display: grid; gap: 4px; }
.ids span { display: inline-block; width: 64px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.foot-legal a { color: var(--gold); text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }
.wordmark { font-weight: 800; font-size: clamp(90px, 21vw, 259px); line-height: .8; color: var(--gold); text-align: center; letter-spacing: -.02em; margin-bottom: -.12em; user-select: none; }

/* ---------- motion (mirrors the Framer design: scroll reveals, hovers, sticky header) ---------- */
.js [data-anim] { opacity: 0; transition: opacity .45s ease-out, transform .45s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js [data-anim="up"] { transform: translateY(28px); }
.js [data-anim="up-sm"] { transform: translateY(18px); }
.js [data-anim="down"] { transform: translateY(-28px); }
.js [data-anim="left"] { transform: translateX(-36px); }
.js [data-anim="right"] { transform: translateX(36px); }
.js [data-anim="scale"] { transform: scale(.8); }
.js [data-anim="slide"] { transform: translateX(-20%); transition-duration: .8s; }
.js [data-anim].in { opacity: 1; transform: none; }
.js [data-anim="fade"].in { opacity: 1; }

/* sticky header: transparent over the hero, solid once scrolled */
.site-header { position: fixed; transition: background .35s, box-shadow .35s, height .35s; }
.site-header .bar { transition: height .35s; }
.site-header.scrolled { background: rgba(12,30,27,.96); box-shadow: 0 10px 30px rgba(6,19,17,.25); backdrop-filter: blur(8px); }
.site-header.scrolled .bar { height: 78px; }
.site-header.solid { position: fixed; background: var(--ink); }
body:has(.site-header.solid) main { padding-top: 100px; }

/* shadows and hovers */
.stat-card { box-shadow: 20px 20px 40px -10px rgba(6,19,17,.6); }
.feature { box-shadow: 0 1px 2px rgba(197,188,237,.6); transition: transform .35s, box-shadow .35s, border-color .35s; }
.feature:hover { transform: scale(1.05); box-shadow: 0 14px 50px rgba(4,11,17,.12); border-color: transparent; }
.feature img { transition: transform .35s; }
.feature:hover img { transform: scale(1.05); }
.svc-card { position: relative; overflow: hidden; isolation: isolate; transition: background .35s, box-shadow .35s, transform .35s; }
.svc-card::before { content: ""; position: absolute; z-index: -1; width: 313px; height: 280px; right: -156px; top: -140px; background: url('/images/deco-blob.svg') no-repeat center / contain; }
.svc-card:hover { background: var(--white); border-color: transparent; transform: scale(1.05); box-shadow: 0 20px 40px rgba(3,23,9,.1); }
.step { box-shadow: 0 1px 2px rgba(197,188,237,.6); transition: transform .3s ease-out, box-shadow .3s; position: relative; } .step:hover, .feature:hover, .svc-card:hover, .approach .card:hover, .mv-card:hover { z-index: 2; }
.step:hover { transform: scale(1.05); box-shadow: 0 14px 50px rgba(4,11,17,.12); }
.approach .card { transition: background .35s, box-shadow .35s, transform .35s; }
.approach .card:hover { background: var(--white); transform: scale(1.05); box-shadow: 0 14px 50px rgba(4,11,17,.12); }
.approach .card img { transition: transform .35s; }
.approach .card:hover img { transform: scale(1.05) rotate(-4deg); }
.mv-card { transition: background .35s, box-shadow .35s, transform .35s; }
.mv-card:hover { background: var(--white); transform: scale(1.05); box-shadow: 0 14px 50px rgba(4,11,17,.12); }
.faq details { box-shadow: 0 1px 2px rgba(197,188,237,.6); transition: box-shadow .35s; }
.faq details[open], .faq details:hover { box-shadow: 0 14px 50px rgba(4,11,17,.12); }
.overview, .enquiry-card { box-shadow: 0 24px 50px -12px rgba(6,19,17,.45); }
.info-card, .form-card { box-shadow: 0 14px 50px rgba(4,11,17,.12); }
.who-grid .photo, .svc-detail .photo, .philo-media .ph-img, .collage img { box-shadow: 0 20px 40px rgba(3,23,9,.12); }
.who-grid .photo img, .svc-detail .photo img, .fw-media, .collage img { transition: transform .8s cubic-bezier(.22,1,.36,1); }
.who-grid .photo:hover img, .svc-detail .photo:hover img { transform: scale(1.04); }
.collage { overflow: hidden; border-radius: var(--radius); }
.collage:hover img { transform: scale(1.03); }
.btn { box-shadow: 0 0 0 rgba(0,0,0,0); transition: background .2s, color .2s, border-color .2s, transform .2s ease-out, box-shadow .2s; }
.btn:hover { transform: scale(1.05); box-shadow: 0 10px 24px rgba(6,19,17,.2); }
.btn:active { transform: scale(1); }
.people ol li { transition: padding-left .35s, border-color .35s; }
.people ol li:hover { padding-left: 10px; border-color: var(--gold); }
.dot-list li { transition: transform .3s; }
.dot-list li:hover { transform: translateX(6px); }
.nav ul a { position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }

/* decorative shapes from the design */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.hero .deco-dots { top: 134px; left: 20px; width: 61px; z-index: 1; }
.intro-sec { position: relative; overflow: hidden; }
.intro-sec .wrap { position: relative; z-index: 1; }
.intro-sec .deco-line { left: 0; top: 30px; width: 93px; }
.intro-sec .deco-loop { right: 0; bottom: 30px; width: 58px; }
.intro-sec .deco-lines { right: 8%; top: 60px; width: 51px; }
.h2 .deco-star { position: relative; display: inline-block; width: 30px; vertical-align: top; margin-left: 4px; }
.banner .deco-circles { left: -40px; bottom: -20px; width: 196px; z-index: 1; opacity: .7; }
.philo-media .deco-pattern { left: 30px; top: 30px; width: 80px; }

@media (max-width: 860px) {
  .site-header.scrolled .bar { height: 70px; }
  .intro-sec .deco-line, .intro-sec .deco-loop, .intro-sec .deco-lines { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .lead { margin: 18px auto 30px; }

/* responsive */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-grid .photo { grid-row: span 2; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-layout .intro { position: static; }
  .svc-grid.three { grid-template-columns: repeat(2, 1fr); }
  .svc-detail { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 30px; transform: translateX(100%); transition: transform .3s; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .nav ul a { font-size: 24px; }
  .menu-btn { position: relative; z-index: 30; }
  .hero { min-height: 760px; }
  .hero .wrap { flex-direction: column; align-items: flex-start; padding-bottom: 60px; }
  .ticks { font-size: 17px; }
  .banner { height: 380px; }
  .who-top, .fw, .philo, .faq, .people .wrap, .together .wrap, .contact-grid, .mv, .svc-detail { grid-template-columns: 1fr; }
  .fw-media { position: relative; top: 0; min-height: 480px; }
  .philo-media { min-height: 0; flex-direction: column; }
  .philo-media .ph-img { width: 100%; max-height: 420px; }
  .overview { position: relative; bottom: 0; width: 100%; margin-top: -60px; margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .approach { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .features, .svc-grid, .svc-grid.three, .who-grid { grid-template-columns: 1fr; }
  .who-grid .photo { grid-row: auto; }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .together .checks { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .nav .btn { width: auto; }
  .stat-card { width: 100%; }
  .philo .stat b { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.feature, .approach .card, .mv-card { position: relative; }

.js [data-anim].settled { transition: transform .25s ease-out, box-shadow .3s, background .3s, border-color .3s; transition-delay: 0s; }


/* ---------- round 3: matches the updated Framer design ---------- */
/* portfolio showcase */
.portfolio { background: var(--ink-2); color: var(--white); position: relative; overflow: hidden; }
.portfolio .head { position: relative; padding: 70px 0 80px; max-width: 760px; }
.portfolio .eyebrow { color: var(--white); }
.portfolio h2 { color: var(--white); font-size: clamp(36px, 4.2vw, 56px); font-weight: 700; position: relative; z-index: 1; }
.portfolio h2 .em { display: inline; }
.portfolio .oval { position: absolute; left: -40px; top: 0; width: 760px; max-width: 110%; height: 100%; overflow: visible; pointer-events: none; }
.portfolio .oval path { fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 2200; stroke-dashoffset: 2200; transition: stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1) .1s; }
.portfolio .head.in .oval path, .no-anim .portfolio .oval path { stroke-dashoffset: 0; }
.portfolio .collage { border-radius: 0; }
.portfolio .collage img { border-radius: 0; box-shadow: none; height: auto; }
@media (max-width: 860px) { .portfolio .collage, .portfolio .collage img { border-radius: var(--radius); } }

/* FAQ: white cards, soft deep shadow when open */
.faq { grid-template-columns: .9fr 1.6fr; }
.faq details { border-radius: 10px; padding: 0 46px; margin-bottom: 22px; background: var(--white); border: 1px solid rgba(12,30,27,.06); box-shadow: none; }
.faq details[open], .faq details:hover { border-color: transparent; box-shadow: 0 18px 50px rgba(12,30,27,.10); }
.faq summary { font-size: 24px; font-weight: 400; color: var(--text); padding: 34px 0; }
.faq summary svg { color: var(--green); width: 20px; height: 20px; }
.faq details p { font-size: 18px; line-height: 1.7; max-width: 760px; padding-bottom: 36px; }

/* mission / vision */
.mv { gap: 38px; }
.mv-card { min-height: 480px; padding: 80px 78px 70px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 10px; }
.mv-card h2 { font-size: clamp(40px, 4vw, 58px); font-weight: 500; margin: 0; }
.mv-card .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mv-card h3 { font-size: 28px; font-weight: 600; margin: 0 0 10px; }
.mv-card p { margin: 0; font-size: 18px; line-height: 1.4; }
.mv-mission { background: var(--green); color: rgba(255,255,255,.88); }
.mv-mission h2, .mv-mission h3 { color: var(--white); }
.mv-vision { background: var(--gold); color: var(--ink); }
.mv-mission:hover { background: var(--green); }
.mv-vision:hover { background: var(--gold); }

/* philosophy: larger photo, overview card overlapping its lower-left, doodle beside it */
.philo { grid-template-columns: 1fr 1fr; gap: 80px; }
.philo-media { min-height: 900px; display: block; }
.philo-media .ph-img { position: absolute; right: 0; top: 0; width: 72%; height: 860px; object-fit: cover; border-radius: 10px; }
.philo-media .deco-pattern { left: 4%; top: 40px; width: 130px; }
.overview { left: 0; bottom: 0; width: 64%; padding: 60px 56px; border-radius: 6px; background: var(--ink-2); }
.overview .t { font-size: 26px; margin-bottom: 28px; }
.overview b { font-size: 40px; margin-top: 30px; line-height: 1.1; }
.overview small { font-size: 20px; color: var(--white); font-weight: 500; }
.philo .stat b { font-size: 96px; }
.philo .stat span { font-size: 28px; }
.gold-bar { width: 340px; height: 10px; margin-bottom: 70px; }
.philo .checks { gap: 22px; font-size: 18px; }

/* service cards: bigger, wider, check bubbles */
.svc-grid, .svc-grid.three { gap: 38px; }
.svc-card { padding: 60px 64px 64px; border-radius: 10px; min-height: 480px; }
.svc-card h3 { font-size: 30px; font-weight: 500; color: var(--text); }
.svc-card p { font-size: 19px; line-height: 1.35; color: var(--ink); }
.svc-card h4 { font-size: 28px; font-weight: 500; color: var(--text); border-top: 0; padding-top: 0; margin: 56px 0 26px; padding-bottom: 16px; border-bottom: 1px solid rgba(12,30,27,.12); }
.svc-card .checks { gap: 18px; font-size: 19px; color: var(--text); }
.svc-card .checks svg, .step .checks svg { box-sizing: content-box; width: 10px; height: 10px; padding: 6px; background: var(--white); border-radius: 50%; box-shadow: 0 1px 3px rgba(197,188,237,.9); color: var(--green); }
.svc-card:hover .checks svg { background: var(--mint); }
.svc-layout { grid-template-columns: 380px 1fr; }

/* footer wordmark grows as the footer scrolls into view (scale set by JS) */
.wordmark { transform-origin: 50% 100%; transform: scale(var(--wm, 1)); transition: none !important; opacity: 1 !important; will-change: transform; }

@media (max-width: 1100px) {
  .mv-card { padding: 56px 44px; min-height: 380px; }
  .svc-card { padding: 44px 40px; min-height: 0; }
  .philo-media { min-height: 760px; }
  .philo-media .ph-img { height: 700px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .faq details { padding: 0 24px; }
  .faq summary { font-size: 19px; padding: 24px 0; }
  .faq details p { font-size: 16px; }
  .mv-card .cols { grid-template-columns: 1fr; gap: 24px; }
  .philo-media { min-height: 0; }
  .philo-media .ph-img { position: relative; width: 100%; height: 420px; }
  .philo-media .deco-pattern { display: none; }
  .overview { position: relative; width: 92%; margin-top: -90px; padding: 36px 30px; }
  .overview b { font-size: 28px; }
  .overview small { font-size: 16px; }
  .portfolio .oval { width: 120%; left: -60px; }
  .svc-card h3 { font-size: 24px; } .svc-card h4 { font-size: 22px; margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio .oval path { stroke-dashoffset: 0; transition: none; }
  .wordmark { transform: none; }
}
.portfolio h2 { max-width: 640px; }
.overview { width: 82%; }
.overview b { white-space: nowrap; font-size: clamp(26px, 2.6vw, 40px); }
.philo { grid-template-columns: 1.05fr 1fr; }
.philo .h2 { font-size: clamp(40px, 4.4vw, 66px); }
.philo p { font-size: 19px; line-height: 1.7; }
@media (max-width: 860px) { .overview b { white-space: normal; } }
.svc-card { padding: 50px 48px 54px; }
.svc-card h3 { font-size: 26px; }
.svc-card p { font-size: 17px; }
.svc-card h4 { font-size: 24px; margin-top: 44px; }
.svc-card .checks { font-size: 17px; }
.svc-card h3 { font-size: 24px; }

html, body { overflow-x: clip; }
@media (max-width: 860px) {
  .js [data-anim="left"], .js [data-anim="right"] { transform: translateY(28px); }
}
.faq details p a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq details p a:hover { color: var(--ink); }


@media (max-width: 1100px) { .svc-layout { grid-template-columns: 1fr; } }
/* mobile menu: a blurred header becomes the containing block for the fixed overlay, so drop the blur while open */
@media (max-width: 860px) {
  .site-header:has(.nav.open) { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .nav { height: 100vh; height: 100dvh; }
  .portfolio .head { padding: 0 0 36px; }
}
@media (max-width: 860px) { .faq, .philo { grid-template-columns: minmax(0, 1fr); gap: 40px; } .philo > *, .faq > * { min-width: 0; } .gold-bar { max-width: 60%; } .philo .stat { flex-direction: column; gap: 6px; } .philo .stat b { font-size: 64px !important; } .philo .stat span { font-size: 20px; } }

/* ---------- mobile + tablet: everything centred ---------- */
@media (max-width: 860px) {
  .section, .hero, .band, .portfolio, .people, .together, .site-footer { text-align: center; }
  .eyebrow { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero .wrap { align-items: center; }
  .ticks, .checks li, .ticks li, .licence, .philo .stat, .people ol li, .info-card .row, .form-foot { justify-content: center; }
  .checks, .dot-list { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; justify-items: start; }
  .checks li { text-align: left; justify-content: flex-start; }
  .stat-card { margin: 0 auto; }
  .who-top > *, .svc-layout .intro, .svc-card, .step, .fw-media .copy, .mv-card, .svc-detail > div, .info-card .body, .enquiry-card, .approach .card { text-align: center; }
  .fw-media { justify-content: center; }
  .gold-bar { margin-left: auto; margin-right: auto; }
  .dot-list { justify-items: center; }
  .portfolio .head { margin: 0 auto; text-align: center; }
  .portfolio h2 { margin-left: auto; margin-right: auto; }
  .overview { margin-left: auto; margin-right: auto; text-align: center; }
  .faq > div:first-child { text-align: center; }
  .faq details { text-align: left; }
  .form-card h2 { text-align: center; }
  .foot-grid { justify-items: center; }
  .site-footer .logo img { margin-left: auto; margin-right: auto; }
  .doc-links, .ids, .site-footer ul { justify-items: center; }
  .ids span { width: auto; margin-right: 8px; }
  .foot-legal { flex-direction: column; align-items: center; text-align: center; }
}
