:root {
  --ink: #031c1b;
  --deep: #042a29;
  --teal: #015151;
  --teal-2: #0b6b66;
  --teal-3: #3fb6ac;
  --red: #e81d4a;
  --cream: #f2ede4;
  --paper: #faf7f1;
  --line: rgba(255,255,255,.14);
  --muted: rgba(255,255,255,.75);
  --serif: "Didot", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --bar-h: 26px;
  --nav-h: 64px;
  --ease: cubic-bezier(.16,1,.3,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.smooth { scroll-behavior: auto; }
body { background: var(--ink); color: #fff; font-family: var(--sans); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* concept notice (fixed, thin) + progress */
.concept-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 60; background: var(--red); color: #fff; font-size: 11.5px; letter-spacing: .03em; display: flex; align-items: center; justify-content: center; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.concept-bar .short { display: none; }
@media (max-width: 640px) { .concept-bar .long { display: none; } .concept-bar .short { display: inline; } }
.progress { position: fixed; top: var(--bar-h); left: 0; right: 0; height: 2px; z-index: 61; background: var(--teal-3); transform-origin: left; transform: scaleX(0); }

/* nav */
.nav { position: fixed; top: var(--bar-h); left: 0; right: 0; height: var(--nav-h); z-index: 50; display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(3,28,27,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-3d { width: 38px; height: 33px; perspective: 400px; flex: none; }
.brand-word { width: 160px; height: 34px; background: url("img/brand/skf-logo-light.png") no-repeat -45px 0 / 205px 34px; flex: none; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { opacity: .85; position: relative; transition: opacity .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 600; transition: background .3s; }
.menu-btn:hover { background: rgba(255,255,255,.08); }
.burger { display: grid; gap: 4px; }
.burger i { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.menu-btn[aria-expanded="true"] .burger i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--pad); }
.menu a { font-family: var(--serif); font-size: clamp(34px, min(9vw, 8svh), 68px); line-height: 1.15; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 99px; padding: 13px 22px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s, box-shadow .4s; will-change: transform; position: relative; }
.pill .arrow { transition: transform .4s var(--spring); }
.pill:hover .arrow { transform: translateX(5px); }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { box-shadow: 0 12px 34px rgba(255,255,255,.2); }
.pill-ghost { border: 1px solid rgba(255,255,255,.4); background: rgba(3,28,27,.35); }
.pill-ghost:hover { background: rgba(255,255,255,.12); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-red { background: var(--red); color: #fff; }
.pill-red:hover { background: #ff2f5c; box-shadow: 0 14px 40px rgba(232,29,74,.45); }
.pill.big { padding: 18px 30px; font-size: 17px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(232,29,74,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(232,29,74,0); } 100% { box-shadow: 0 0 0 0 rgba(232,29,74,0); } }

/* 3D logo layers */
.x3d { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.x3d svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* photos + glow */
.bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; pointer-events: none; }
.hero-photo { filter: brightness(.42) saturate(.8); transform: scale(1.12); will-change: transform; }
.haze { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; mix-blend-mode: screen; opacity: .8; pointer-events: none; }

/* ---------------- HERO: always fits one screen ---------------- */
.hero { position: relative; height: 100svh; min-height: 560px; display: flex; flex-direction: column; padding: calc(var(--bar-h) + var(--nav-h) + 8px) var(--pad) clamp(20px, 4svh, 40px); overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 30% 40%, rgba(3,28,27,.1), rgba(3,28,27,.55) 70%), linear-gradient(to bottom, rgba(3,28,27,.4), rgba(3,28,27,0) 30%, rgba(3,28,27,.3) 70%, var(--ink)); }
.mega-wrap { position: relative; flex: 1; display: flex; align-items: center; min-height: 0; }

/* headline: size is set by main.js so line 1 fills the width exactly */
.mega { position: relative; z-index: 2; width: 100%; font-weight: 900; font-size: var(--fs, clamp(36px, min(8.8vw, 12.4svh), 160px)); line-height: .9; letter-spacing: -.045em; text-shadow: 0 6px 30px rgba(3,28,27,.55), 0 2px 6px rgba(3,28,27,.35); pointer-events: none; }
.mega .line { display: flex; overflow: hidden; padding: .03em 0 .06em; }
.mega .l1 { justify-content: flex-start; }
.mega .rise > :last-child .ch:last-child { margin-right: .045em; }   /* cancel the tight letter-spacing at the line end, so edges line up exactly */
.mega .l2 { justify-content: flex-end; }
.mega .rise { white-space: nowrap; }
.mega .ch { pointer-events: auto; }
.mega em { font-weight: 400; color: var(--red); letter-spacing: -.02em; padding-right: .04em; }
.rise { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-loaded .rise { transform: none; }
.is-loaded .l2 .rise { transition-delay: .12s; }
.word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; transition: transform .6s var(--spring), color .3s; }
.ch:hover { transform: translateY(-.1em) rotate(-5deg); color: var(--teal-3); }

/* tall photo card behind the words (position set by main.js) */
.hero-pic { position: absolute; z-index: 1; right: 4%; top: 6%; width: 30%; height: 88%; border-radius: 20px; display: block; opacity: 0; transform: translateY(40px) scale(.96); transition: opacity 1.2s var(--ease) .25s, transform 1.4s var(--ease) .25s, box-shadow .5s; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.is-loaded .hero-pic { opacity: 1; transform: none; }
.hero-pic-inner { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: var(--deep); }
.hero-pic-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(3,28,27,.12), rgba(3,28,27,0) 35%, rgba(3,28,27,.5)), linear-gradient(to right, rgba(3,28,27,.35), rgba(3,28,27,0) 22%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); border-radius: inherit; }
.hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.14); transition: opacity 1.4s var(--ease), transform 6s linear; }
.hero-pic img.on { opacity: 1; transform: scale(1.02); }
.hero-pic:hover { box-shadow: 0 50px 90px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.5); }
.hero-pic:hover img.on { transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 1.2s var(--ease); }
.hero-card-info { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 3px; }
.hero-card-kind { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--red); padding: 3px 9px; border-radius: 99px; }
.hero-card-info { right: 16px; }
.hero-card-place { font-size: clamp(15px, 1.4vw, 21px); font-weight: 700; color: #fff; line-height: 1.2; }
.hero-card-cta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; padding-bottom: 2px; border-bottom: 1.5px solid rgba(255,255,255,.5); transition: gap .45s var(--spring), border-color .3s; }
.hero-pic:hover .hero-card-cta { gap: 10px; border-color: #fff; }
.hero-card-info.swap { animation: infoIn .8s var(--ease); }
@keyframes infoIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-card-dots { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; gap: 6px; }
.hero-card-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.5); transition: width .5s var(--ease), background .5s; }
.hero-card-dots i.on { width: 22px; background: #fff; }

/* pop-out badges (positions set by main.js, always off the words) */
.badge { position: absolute; left: 0; top: 0; width: var(--bs, 100px); aspect-ratio: 1; border-radius: 50%; background: #f2c230; color: var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,.35); display: grid; place-items: center; z-index: 3; transform: translate(var(--bx, 0), var(--by, 0)) scale(0) rotate(-60deg); opacity: 0; transition: transform .7s var(--spring), opacity .25s; pointer-events: none; }
.badge.teal { background: #4f60c8; color: #fff; }
.badge.red { background: #e2533e; color: #fff; }
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spinRing 14s linear infinite; }
.badge svg.ring text { font: 700 8.6px var(--sans); fill: currentColor; }
.badge .core { width: 38%; height: 38%; }
@keyframes spinRing { to { transform: rotate(360deg); } }
.bd1 { --rot: -8deg; } .bd2 { --rot: 10deg; } .bd3 { --rot: -6deg; }
.tagpop { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: clamp(13px, 1.2vw, 17px); padding: 9px 14px; border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.35); white-space: nowrap; transform: translate(var(--bx, 0), var(--by, 0)) translateY(20px) rotate(-4deg) scale(.4); opacity: 0; transition: transform .7s var(--spring), opacity .25s; pointer-events: none; }
.tagpop svg { width: 1.4em; height: 1.4em; color: var(--red); }
.badge.off, .tagpop.off, .hero-pic.off { display: none; }
.mega-wrap.show .badge, .mega-wrap.show .tagpop { opacity: 1; }
.mega-wrap.show .badge { transform: translate(var(--bx, 0), var(--by, 0)) scale(1) rotate(var(--rot)); }
.mega-wrap.show .tagpop { transform: translate(var(--bx, 0), var(--by, 0)) rotate(-4deg); }
.mega-wrap.show .bd2 { transition-delay: .06s; }
.mega-wrap.show .bd3 { transition-delay: .12s; }
.mega-wrap.show .tagpop { transition-delay: .1s; }

.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.lede { max-width: 470px; font-size: clamp(14px, min(1.3vw, 2.2svh), 17px); color: rgba(255,255,255,.85); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.rise-soft { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .4s, transform 1s var(--ease) .4s; }
.is-loaded .rise-soft { opacity: 1; transform: none; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; font-size: clamp(17px, 2vw, 26px); font-weight: 600; white-space: nowrap; will-change: transform; }
.marquee-track span { transition: color .3s; }
.marquee-track span:hover { color: var(--teal-3); }
.marquee-track b { color: var(--red); font-size: .6em; align-self: center; }

/* pinned claim: the whole sentence fits the screen */
.claim { height: 220vh; position: relative; }
.claim-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: calc(var(--bar-h) + var(--nav-h)) var(--pad) 0; overflow: hidden; }
.claim-copy { position: relative; z-index: 1; }
.claim-text { font-family: var(--serif); font-size: clamp(28px, min(4.3vw, 7.2svh), 80px); line-height: 1.1; letter-spacing: -.02em; max-width: 19ch; }
.claim-by { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: clamp(18px, 3.5svh, 34px); font-size: clamp(14px, 1.2vw, 17px); opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.claim-by.on { opacity: 1; transform: none; }
.claim-by span { font-weight: 700; letter-spacing: .02em; }
.claim-by b { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.claim-by b::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.claim-text .w { opacity: .28; transition: opacity .5s var(--ease), color .5s; }
.claim-text .w.on { opacity: 1; }
.claim-text .w.hot.on { color: var(--red); font-style: italic; }
.claim-mark { flex: none; width: clamp(140px, min(26vw, 42svh), 380px); aspect-ratio: 124/106; color: rgba(255,255,255,.07); will-change: transform; }
.claim-mark svg { width: 100%; height: 100%; }

/* section basics: headings sized to the screen height too */
section { position: relative; }
.section-head { padding: 0 var(--pad); margin-bottom: clamp(28px, 5svh, 52px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
h2 { font-weight: 800; font-size: clamp(30px, min(4.4vw, 7.6svh), 70px); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
h2 em { color: var(--teal-3); }
.hint { margin-top: 14px; font-size: 14px; color: rgba(3,28,27,.55); }

/* numbers */
.numbers { background: var(--cream); color: var(--ink); padding: clamp(60px, 9svh, 110px) 0; border-radius: 28px 28px 0 0; }
.numbers h2 em { color: var(--teal); }
.numbers .section-head { margin-bottom: clamp(20px, 3.5svh, 40px); }
.numbers h2 { max-width: none; }
.num-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(3,28,27,.15); margin: 0 var(--pad); }
.num { position: relative; display: block; color: inherit; min-height: clamp(190px, 27svh, 240px); padding: 22px 16px 26px 14px; border-bottom: 1px solid rgba(3,28,27,.15); cursor: pointer; transition: background .45s var(--ease), box-shadow .45s var(--ease); border-radius: 12px; outline-offset: -2px; }
.num:hover, .num:focus-visible { background: #fff; box-shadow: 0 18px 40px rgba(3,28,27,.1); }
.num-svc { display: block; min-height: 2.6em; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); line-height: 1.3; margin-bottom: 10px; }
.num-fig { display: flex; align-items: baseline; flex-wrap: wrap; transition: transform .6s var(--spring); }
.num-svc { transition: opacity .3s, transform .5s var(--ease); }
/* on hover the number moves up into the service-name space, so the pop-up never covers it */
.num:hover .num-svc, .num:focus-visible .num-svc { opacity: 0; transform: translateY(-8px); }
.num:hover .num-fig, .num:focus-visible .num-fig { transform: translateY(-38px); }
.num strong { display: inline-block; font-size: clamp(36px, min(3.9vw, 7.4svh), 68px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; transition: transform .6s var(--spring), color .3s; transform-origin: left bottom; }
.num .unit { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 28px); color: var(--red); margin-left: 4px; }
.num p { margin-top: 10px; font-size: 15px; color: rgba(3,28,27,.72); max-width: 22ch; transition: opacity .3s; }
.pop b { display: block; margin-top: 6px; font-size: 12.5px; color: var(--teal-3); }
.num-note { margin: 14px var(--pad) 0; font-size: 13px; color: rgba(3,28,27,.55); }
.pop { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; padding: 12px 14px; border-radius: 10px; box-shadow: 0 14px 34px rgba(3,28,27,.3); opacity: 0; transform: translateY(16px) scale(.94); pointer-events: none; transition: opacity .35s var(--ease), transform .6s var(--spring); }
.num:hover .pop, .num:focus-visible .pop { opacity: 1; transform: none; }
.num:hover p, .num:focus-visible p { opacity: 0; }
.num:hover strong, .num:focus-visible strong { color: var(--teal); }

/* spaces horizontal */
.spaces { background: var(--cream); color: var(--ink); height: 300vh; }
.spaces-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: calc(var(--bar-h) + var(--nav-h)); }
.spaces-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 0 var(--pad); margin-bottom: clamp(16px, 3svh, 32px); flex-wrap: wrap; }
.spaces h2 em { color: var(--teal); }
.spaces-rail { display: flex; gap: 24px; padding: 0 var(--pad); will-change: transform; }
.space-card { flex: 0 0 clamp(250px, 28vw, 380px); background: #fff; border-radius: 20px; overflow: hidden; position: relative; padding-bottom: 20px; box-shadow: 0 1px 0 rgba(3,28,27,.08); transition: box-shadow .5s var(--ease), transform .7s var(--ease); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.space-card:hover { --lift: -8px; box-shadow: 0 30px 60px rgba(3,28,27,.2); }
.photo { height: clamp(140px, 27svh, 260px); overflow: hidden; background: var(--deep); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.space-card:hover .photo img { transform: scale(1.08); }
.space-card .more { position: absolute; left: 12px; right: 12px; margin-top: -46px; display: flex; gap: 6px; flex-wrap: wrap; transform: translateY(14px); opacity: 0; transition: opacity .35s var(--ease), transform .6s var(--spring); }
.space-card .more span { background: rgba(3,28,27,.85); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; }
.space-card:hover .more { opacity: 1; transform: none; }
.space-card h3 { font-size: clamp(17px, 2.6svh, 21px); letter-spacing: -.02em; margin: 16px 20px 2px; }
.space-card p { margin: 0 20px; color: rgba(3,28,27,.68); font-size: 14.5px; }
.space-card { display: block; color: inherit; }
.space-card[hidden] { display: none; }
.space-card.enter { animation: cardIn .7s var(--ease) backwards; }   /* "backwards" so the hover lift/tilt still works afterwards */
.space-card .desc { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: rgba(3,28,27,.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.space-card .go { display: inline-flex; align-items: center; gap: 6px; margin: 12px 20px 0; font-size: 13.5px; font-weight: 700; color: var(--teal); transition: gap .45s var(--spring); }
.space-card:hover .go { gap: 10px; }
.space-card .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,28,27,.55), transparent 45%); opacity: 0; transition: opacity .4s; }
.space-card:hover .photo::after { opacity: 1; }
.space-card .more { z-index: 2; }

/* property type filters */
.spaces-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sp-filters { position: relative; display: flex; gap: 2px; padding: 5px; border: 1px solid rgba(3,28,27,.15); border-radius: 99px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.sp-filters::-webkit-scrollbar { display: none; }
.sp-filters button { position: relative; z-index: 1; flex: none; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: rgba(3,28,27,.75); transition: color .35s; }
.sp-filters button small { font-size: 11px; font-weight: 700; opacity: .55; margin-left: 2px; }
.sp-filters button[aria-selected="true"] { color: #fff; }
.sp-ink { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 99px; background: var(--ink); transition: transform .6s var(--spring), width .6s var(--spring); z-index: 0; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; z-index: 2; }
.tag-red { background: var(--red); }
.note { padding: 14px var(--pad) 0; font-size: 13px; color: rgba(3,28,27,.55); }

/* services */
.services { background: var(--paper); color: var(--ink); padding: clamp(70px, 12svh, 120px) 0 clamp(80px, 14svh, 140px); }
.services h2 em { color: var(--teal); }
.tabs { position: relative; display: inline-flex; gap: 6px; margin: 0 var(--pad) 36px; padding: 6px; border: 1px solid rgba(3,28,27,.15); border-radius: 99px; flex-wrap: wrap; }
.tab-ink { position: absolute; top: 0; left: 0; height: calc(100% - 12px); border-radius: 99px; background: var(--ink); transition: transform .6s var(--spring), width .6s var(--spring); z-index: 0; }
.tabs button { position: relative; z-index: 1; border-radius: 99px; padding: 10px 22px; font-weight: 600; font-size: 15px; transition: color .35s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tab-panels { padding: 0 var(--pad); }
.panel { display: none; }
.panel.is-on { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; animation: fadeUp .7s var(--ease); }
.panel-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--bar-h) + var(--nav-h) + 20px); }
.panel-lede { font-family: var(--serif); font-size: clamp(22px, min(2.4vw, 4svh), 36px); line-height: 1.18; }
.svc-photo { position: relative; aspect-ratio: 4/3; max-width: 460px; border-radius: 16px; overflow: hidden; background: var(--deep); box-shadow: 0 24px 50px rgba(3,28,27,.18); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,28,27,.75), rgba(3,28,27,0) 50%); pointer-events: none; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-cap { position: absolute; z-index: 1; left: 14px; bottom: 14px; right: 40%; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; }
.svc-stat { position: absolute; z-index: 1; right: 14px; bottom: 12px; text-align: right; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.1; opacity: .9; }
.svc-stat b { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.04em; color: #fff; }
.svc-stat[hidden] { display: none; }
.svc-photo.pop-in { animation: popIn .7s var(--spring); }
.svc-photo.pop-in img { animation: zoomIn 1.4s var(--ease); }
@keyframes popIn { 0% { transform: scale(.93) rotate(-1.5deg); } 100% { transform: none; } }
@keyframes zoomIn { from { transform: scale(1.15); opacity: .5; } to { transform: scale(1); opacity: 1; } }

/* service rows: click to open their details */
.svc { list-style: none; border-top: 1px solid rgba(3,28,27,.15); }
.svc-row { border-bottom: 1px solid rgba(3,28,27,.15); }
.svc-head { position: relative; width: 100%; display: grid; grid-template-columns: 52px 1fr 1fr 28px; gap: 16px; align-items: baseline; text-align: left; padding: 22px 12px 22px 0; transition: padding .6s var(--ease), color .35s; cursor: pointer; }
.svc-head::before { content: ""; position: absolute; inset: 4px 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: 0; border-radius: 10px; }
.svc-head > * { position: relative; z-index: 1; }
.svc-head:hover { color: #fff; padding-left: 16px; }
.svc-head:hover::before { transform: scaleY(1); }
.svc-head .n { font-size: 13px; font-weight: 700; color: var(--red); }
.svc-head h3 { font-size: clamp(19px, 1.9vw, 26px); letter-spacing: -.02em; }
.svc-head p { font-size: 15px; opacity: .78; }
.plus { align-self: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; transition: transform .5s var(--spring), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.plus::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.svc-row.open .plus { transform: rotate(180deg); background: var(--red); border-color: var(--red); color: #fff; }
.svc-row.open .plus::after { rotate: 0deg; }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc-row.open .svc-body { grid-template-rows: 1fr; }
.svc-body-in { overflow: hidden; padding-left: 68px; }
.svc-body-in > * { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease); }
.svc-row.open .svc-body-in > * { opacity: 1; transform: none; transition-delay: .12s; }
.svc-body .intro { font-size: 16px; line-height: 1.6; color: rgba(3,28,27,.82); max-width: 62ch; padding-top: 2px; }
.svc-body h5 { margin-top: 18px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.scope { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.scope li { font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid rgba(3,28,27,.12); transition: transform .4s var(--spring), border-color .3s, background .3s; }
.scope li:hover { transform: translateY(-3px); border-color: var(--teal); background: rgba(1,81,81,.06); }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 24px; font-size: 14.5px; font-weight: 700; color: var(--teal); border-bottom: 1.5px solid transparent; transition: border-color .3s, gap .4s var(--spring); }
.svc-more:hover { border-color: var(--teal); gap: 12px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* research */
.research { padding: clamp(60px, 9svh, 110px) 0; }
.research h2 { max-width: none; }
.research .section-head { margin-bottom: clamp(20px, 3.5svh, 40px); }
.rs-grid { display: grid; grid-template-columns: minmax(300px, .85fr) 1.6fr; gap: clamp(24px, 3vw, 48px); padding: 0 var(--pad); align-items: stretch; }

/* featured latest report */
.rs-feature { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.2vw, 30px); border-radius: 22px; background: linear-gradient(160deg, rgba(11,107,102,.35), rgba(3,28,27,.6)); border: 1px solid var(--line); overflow: hidden; }
.rs-feature::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(232,29,74,.28), transparent 65%); pointer-events: none; }
.rs-feature-top { display: flex; gap: 20px; align-items: flex-start; position: relative; }
.rs-feature .cover { flex: none; width: clamp(130px, 11vw, 180px); }
.rs-feature .tag-latest { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 11px; border-radius: 99px; margin-bottom: 12px; }
.rs-feature .tag-latest::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ping 1.8s infinite; }
.rs-feature h3 { font-size: clamp(22px, min(2vw, 3.6svh), 32px); line-height: 1.1; letter-spacing: -.025em; }
.rs-feature .stat { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.88); }
.rs-feature .lead { position: relative; font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.55; }
.rs-feature .actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* covers (real ones from their site) */
.cover { position: relative; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: linear-gradient(150deg, #0b6b66, #022e2d); box-shadow: 0 18px 40px rgba(0,0,0,.4); transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .7s var(--ease), box-shadow .5s var(--ease); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s var(--ease); }
.cover img.bd { object-fit: cover; filter: blur(14px) brightness(.75) saturate(1.2); transform: scale(1.25); }
.cover img.main { object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.cover .fallback { position: absolute; inset: 0; display: none; padding: 14px; font-weight: 800; font-size: 14px; line-height: 1.15; color: #fff; }
.cover.nocover img { display: none; }
.cover.nocover .fallback { display: block; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.18), transparent 8%, transparent 92%, rgba(0,0,0,.18)); pointer-events: none; }   /* book-like spine light */
.glare { position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.35), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }

/* library: year chips + sliding shelf */
.rs-library { min-width: 0; display: flex; flex-direction: column; }
.rs-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rs-years { position: relative; display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.rs-years::-webkit-scrollbar { display: none; }
.rs-years button { position: relative; z-index: 1; flex: none; padding: 8px 15px; border-radius: 99px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); transition: color .35s; }
.rs-years button:hover { color: #fff; }
.rs-years button[aria-selected="true"] { color: var(--ink); }
.rs-ink { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 99px; background: #fff; transition: transform .6s var(--spring), width .6s var(--spring); z-index: 0; }
.rs-nav { display: flex; gap: 8px; flex: none; }
.rs-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: 17px; transition: background .3s, color .3s, transform .4s var(--spring), opacity .3s; }
.rs-arrow:hover { background: #fff; color: var(--ink); transform: scale(1.08); }
.rs-arrow:disabled { opacity: .3; pointer-events: none; }
.rs-shelf { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding-inline: 8px; padding: 14px 8px 18px; margin: -14px -8px 0; scrollbar-width: none; }
.rs-shelf::-webkit-scrollbar { display: none; }
.rs-card { flex: 0 0 clamp(150px, 13.5vw, 205px); scroll-snap-align: start; display: block; }
.rs-card[hidden] { display: none; }
.rs-card.enter { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.rs-card .cover .more { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 34px 12px 12px; background: linear-gradient(to top, rgba(3,28,27,.95), rgba(3,28,27,.75) 60%, transparent); font-size: 12.5px; line-height: 1.4; color: #fff; transform: translateY(100%); transition: transform .55s var(--ease); }
.rs-card .cover .more b { display: block; margin-top: 6px; color: var(--teal-3); font-size: 12px; }
.rs-card:hover .cover, .rs-card:focus-visible .cover { --lift: -8px; box-shadow: 0 28px 50px rgba(0,0,0,.55); }
.rs-card:hover .cover img.main { transform: scale(1.05); }
.rs-card:hover .cover .more, .rs-card:focus-visible .cover .more { transform: none; }
.rs-card:hover .glare { opacity: 1; }
.rs-card .yr { display: block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.rs-card h4 { margin-top: 4px; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.rs-card:hover h4 { color: var(--teal-3); }
.rs-card .sub { margin-top: 3px; font-size: 13px; color: rgba(255,255,255,.6); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rs-note { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.55); }

/* global */
.global { padding: clamp(48px, 7svh, 104px) var(--pad); overflow: hidden; isolation: isolate; }
.global-photo { z-index: 0; filter: brightness(.3) saturate(.7); }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; z-index: 1; }
.global::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, var(--ink), rgba(3,28,27,.45) 30%, rgba(3,28,27,.45) 70%, var(--ink)); }
.global-inner { position: relative; z-index: 2; }
.global h2 { font-size: clamp(30px, min(4.4vw, 7svh), 80px); max-width: none; }
.global h2 em { color: var(--red); }
.gl-intro { max-width: 720px; margin-top: 14px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: rgba(255,255,255,.85); }
.global-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: clamp(20px, 3.5svh, 44px); }
.global-stats div { padding-top: 12px !important; }
.global-stats strong { font-size: clamp(26px, min(3vw, 5.6svh), 48px) !important; }

/* partner cards */
.gl-partners { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; margin-top: clamp(18px, 3.5svh, 40px); }
.gl-partner { position: relative; padding: 18px 20px 16px; border-radius: 18px; background: rgba(3,28,27,.55); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .7s var(--spring), border-color .4s, background .4s, box-shadow .5s; cursor: default; overflow: hidden; }
.gl-partner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.gl-partner:hover, .gl-partner:focus-visible { transform: translateY(-8px); border-color: rgba(255,255,255,.3); background: rgba(3,28,27,.75); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.gl-partner:hover::after, .gl-partner:focus-visible::after { transform: scaleX(1); }
.gl-partner.main { background: linear-gradient(150deg, rgba(232,29,74,.28), rgba(3,28,27,.6)); }
.gl-role { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.gl-partner.main .gl-role { color: #fff; }
.gl-partner h3 { margin-top: 6px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.02em; }
.gl-where { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
.gl-partner p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.82); max-width: none; }
.gl-partner ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gl-partner li { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.1); transition: background .3s, transform .4s var(--spring); }
.gl-partner:hover li { background: rgba(255,255,255,.18); }
.gl-partner li:hover { transform: translateY(-2px); }

/* awards & memberships */
.recog { background: var(--deep); padding: clamp(56px, 8svh, 110px) 0; }
.recog h2 { max-width: none; }
.recog h2 em { color: var(--teal-3); }
.recog .section-head { margin-bottom: clamp(16px, 3svh, 40px); }
.recog h2 { font-size: clamp(28px, min(3.8vw, 6.4svh), 64px); }
.recog-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); padding: 0 var(--pad); align-items: start; }
.awards-lead { display: flex; align-items: center; gap: 20px; padding: 14px 20px; border-radius: 18px; background: linear-gradient(135deg, var(--red), #8f0f2d); margin-bottom: 14px; }
.awards-lead strong { font-size: clamp(48px, min(5vw, 9svh), 84px); font-weight: 900; letter-spacing: -.05em; line-height: .9; }
.awards-lead p { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.92); }
.aw-list { list-style: none; }
.aw-list li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: baseline; padding: clamp(6px, 1.1svh, 12px) 10px; border-bottom: 1px solid var(--line); border-radius: 8px; transition: background .35s, padding .5s var(--ease); cursor: default; }
.aw-list li:hover, .aw-list li:focus-visible { background: rgba(255,255,255,.06); padding-left: 16px; }
.aw-ic { color: var(--teal-3); font-size: 13px; transition: transform .5s var(--spring); }
.aw-list li.world .aw-ic { color: #f2c230; }
.aw-list li:hover .aw-ic { transform: scale(1.4) rotate(20deg); }
.aw-t { font-size: 15px; font-weight: 600; }
.aw-y { font-size: 13px; color: rgba(255,255,255,.6); text-align: right; font-variant-numeric: tabular-nums; }
.mem-title { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; margin-bottom: 14px; }
.mem-line { list-style: none; position: relative; }
.mem-line::before { content: ""; position: absolute; left: 58px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal-3), rgba(63,182,172,.15)); }
.mem-line li { position: relative; display: grid; grid-template-columns: 46px 26px 1fr; align-items: center; padding: clamp(0px, .4svh, 5px) 0; cursor: default; }
.mem-y { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; transition: color .3s; }
.mem-dot { justify-self: center; width: 12px; height: 12px; border-radius: 50%; background: var(--deep); border: 2px solid var(--teal-3); transition: transform .5s var(--spring), background .3s; position: relative; z-index: 1; }
.mem-body { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; min-width: 0; padding: 5px 12px; border-radius: 10px; transition: background .35s, transform .5s var(--spring); }
.mem-body b { font-size: 15px; }
.mem-name { font-size: 13px; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mem-note { grid-column: 1 / -1; }
.mem-line li:hover .mem-name { white-space: normal; }
.mem-note { font-size: 12px; color: var(--teal-3); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .3s; }
.mem-line li:hover .mem-body, .mem-line li:focus-visible .mem-body { background: rgba(255,255,255,.06); transform: translateX(6px); }
.mem-line li:hover .mem-dot, .mem-line li:focus-visible .mem-dot { transform: scale(1.5); background: var(--teal-3); }
.mem-line li:hover .mem-y, .mem-line li:focus-visible .mem-y { color: #fff; }
.mem-line li:hover .mem-note, .mem-line li:focus-visible .mem-note { max-height: 20px; opacity: 1; }
.recog-note { color: rgba(255,255,255,.45); }
.global-stats div { border-top: 1px solid var(--line); padding-top: 18px; transition: border-color .4s, transform .6s var(--spring); cursor: default; }
.global-stats div:hover { border-color: var(--red); transform: translateY(-6px); }
.global-stats strong { display: block; font-size: clamp(30px, 3.4vw, 52px); font-weight: 800; letter-spacing: -.04em; transition: color .3s; }
.global-stats div:hover strong { color: var(--red); }
.global-stats span { color: rgba(255,255,255,.75); font-size: 14px; }

/* cta: text left, big 3D logo right, all on one screen */
.cta { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--bar-h) + var(--nav-h) + 24px) var(--pad) 60px; overflow: hidden; isolation: isolate; }
.cta-photo { filter: brightness(.36) saturate(.8); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--ink), rgba(3,28,27,.25) 35%, rgba(3,28,27,.6)); }
.cta-grid { width: 100%; display: grid; grid-template-columns: .95fr 1.2fr; gap: 32px; align-items: center; }
.mega-2 { font-size: clamp(38px, min(6vw, 10.5svh), 112px); line-height: 1; margin-bottom: clamp(16px, 3svh, 28px); max-width: 12ch; }
.mega-2 em { color: #fff; }
.cta-intro { font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.85); max-width: 40ch; margin-bottom: clamp(20px, 3.5svh, 32px); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.cta-mail svg { width: 20px; height: 20px; color: var(--red); }
.cta-mail:hover { color: #fff; border-color: var(--red); }

/* enquiry form + offices */
.contact { background: var(--ink); padding: clamp(40px, 6svh, 90px) var(--pad); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.enq { position: relative; display: grid; gap: clamp(8px, 1.4svh, 14px); padding: clamp(20px, 2.4vw, 32px); border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px rgba(0,0,0,.35); overflow: hidden; }
.enq-head h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; }
.enq-head p { margin-top: 4px; font-size: 14.5px; color: rgba(3,28,27,.62); }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { position: relative; display: block; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid rgba(3,28,27,.14); border-radius: 12px; padding: 20px 14px 6px; outline: none; resize: vertical; transition: border-color .3s, box-shadow .3s; }
.fld textarea { min-height: 76px; }
.fld span { position: absolute; left: 15px; top: 13px; font-size: 15px; color: rgba(3,28,27,.55); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.fld input:focus, .fld textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(1,81,81,.12); }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span, .fld textarea:focus + span, .fld textarea:not(:placeholder-shown) + span { transform: translateY(-9px) scale(.78); color: var(--teal); }
.fld.bad input, .fld.bad textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(232,29,74,.12); animation: shake .4s; }
.fld.bad span { color: var(--red); }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.enq-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.enq-label { width: 100%; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.enq-topics button { padding: 6px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid rgba(3,28,27,.14); transition: background .3s, color .3s, border-color .3s, transform .45s var(--spring); }
.enq-topics button:hover { border-color: var(--teal); transform: translateY(-2px); }
.enq-topics button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.chk { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(3,28,27,.78); cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.chk i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid rgba(3,28,27,.3); background: #fff; position: relative; transition: background .3s, border-color .3s; }
.chk i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--spring); }
.chk input:checked + i { background: var(--teal); border-color: var(--teal); }
.chk input:checked + i::after { transform: rotate(45deg) scale(1); }
.chk input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 2px; }
.chk.bad i { border-color: var(--red); box-shadow: 0 0 0 4px rgba(232,29,74,.12); }
.enq-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.enq-err { font-size: 14px; font-weight: 600; color: var(--red); }
.enq-done { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px; background: var(--paper); animation: fadeUp .6s var(--ease); }
.enq-done h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; }
.enq-done p { max-width: 42ch; color: rgba(3,28,27,.7); }
.enq-done .pill-ghost { color: var(--ink); border-color: rgba(3,28,27,.3); background: transparent; }
.tick { width: 70px; height: 70px; border-radius: 50%; background: var(--teal); position: relative; animation: pop .6s var(--spring); }
.tick::after { content: ""; position: absolute; left: 25px; top: 15px; width: 16px; height: 30px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.contact-info { display: grid; gap: 16px; }
.off-list { display: grid; gap: 16px; }
.off { padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .4s, background .4s, transform .6s var(--spring); }
.off:hover, .off:focus-within { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); transform: translateY(-4px); }
.off-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.off-top h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.off-top span { font-size: 18px; font-weight: 700; }
.off-addr { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.8); }
.off-ph { list-style: none; margin-top: 10px; display: grid; gap: 2px; }
.off-ph li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.off-ph span { color: rgba(255,255,255,.55); }
.off-ph a, .off-ph b { font-weight: 700; font-variant-numeric: tabular-nums; }
.off-ph a { border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.off-ph a:hover { color: #fff; border-color: var(--red); }
.off-map { display: inline-flex; gap: 6px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--teal-3); transition: gap .45s var(--spring); }
.off-map:hover { gap: 10px; }
.mail-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: linear-gradient(135deg, var(--red), #8f0f2d); transition: transform .6s var(--spring), box-shadow .4s; }
.mail-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(232,29,74,.35); }
.mail-ic svg { width: 26px; height: 26px; }
.mail-card small { display: block; font-size: 12px; opacity: .85; }
.mail-card b { font-size: 14.5px; overflow-wrap: normal; }
.mail-card .arrow { font-size: 18px; transition: transform .45s var(--spring); }
.mail-card:hover .arrow { transform: translate(3px, -3px); }
.social { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-radius: 18px; border: 1px solid var(--line); }
.social > span { white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, color .3s, transform .45s var(--spring); }
.social-links a:hover { background: #fff; color: var(--ink); transform: translateY(-4px) scale(1.08); }
.social-links svg { width: 19px; height: 19px; }
.logo-stage { position: relative; height: clamp(260px, 66svh, 640px); perspective: 1600px; display: grid; place-items: center; }
.logo-rig { position: relative; width: min(86%, 100svh, 720px); aspect-ratio: 2.3 / 1; transform-style: preserve-3d; will-change: transform; }
.x3d svg.shine { opacity: 0; mix-blend-mode: normal; }
.logo-rig .x3d.big { position: absolute; top: 0; height: 100%; }
.santos-3d { left: 0; width: 53%; }
.kf-3d { right: 0; width: 41%; top: 4% !important; height: 92% !important; }
.logo-shadow { position: absolute; bottom: 2%; left: 50%; width: 60%; height: 18px; translate: -50% 0; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%); filter: blur(4px); }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* custom cursor (mouse only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); pointer-events: none; display: grid; place-items: center; transition: width .5s var(--spring), height .5s var(--spring), margin .5s var(--spring), background .3s, opacity .3s; opacity: 0; }
.cursor span { font-size: 13px; font-weight: 700; color: #fff; opacity: 0; transition: opacity .25s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(232,29,74,.92); }
.cursor.big span { opacity: 1; transition-delay: .1s; }
.cursor.hide { opacity: 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* tour */
.tour-bar { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 70; background: #fff; color: var(--ink); border-radius: 99px; padding: 8px 8px 8px 18px; font-size: 14px; font-weight: 600; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.tour-bar button { background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 14px; font-size: 13px; }

/* tablet */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .num { min-height: 0; }
  .panel.is-on { grid-template-columns: 1fr; gap: 24px; }
  .svc-photo { display: none; }
  .rs-grid { grid-template-columns: 1fr; }
  .panel-side { position: static; }
  .global-stats { grid-template-columns: repeat(3, 1fr); }
  .gl-partners { grid-template-columns: 1fr; }
  .recog-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .logo-stage { order: -1; height: clamp(190px, 34svh, 340px); }
  .logo-rig { width: min(96%, 64svh); }
  .contact-grid { grid-template-columns: 1fr; }
  .claim-mark { position: absolute; right: -8%; bottom: 6%; width: 46vw; }
}

/* phone */
@media (max-width: 640px) {
  :root { --nav-h: 58px; }
  .concept-bar { font-size: 10.5px; }
  .brand-word { width: 128px; height: 27px; background-position: -36px 0; background-size: 163px 27px; }
  .brand-3d { width: 31px; height: 27px; }
  .mega-wrap { align-items: flex-end; padding-bottom: 3svh; }
  .mega .rise { display: flex; flex-direction: column; align-items: flex-start; white-space: normal; }
  .mega .l2 { justify-content: flex-start; }
  .hero-pic { border-radius: 16px; }
  .hero-card-info { left: 14px; bottom: 12px; }
  .hero-card-place { font-size: 14px; }
  .hero-card-dots { left: 12px; top: 12px; }
  .tagpop { display: none; }
  .hero-ctas .pill { padding: 12px 18px; font-size: 14px; }
  .tabs { display: flex; flex-wrap: nowrap; gap: 2px; padding: 4px; }
  .tabs button { flex: 1; padding: 9px 6px; font-size: 13.5px; white-space: nowrap; }
  .svc-head { grid-template-columns: 34px 1fr 26px; gap: 10px; }
  .svc-head p { grid-column: 2; grid-row: 2; font-size: 14px; }
  .svc-head .plus { grid-column: 3; grid-row: 1 / span 2; }
  .svc-head:hover { padding-left: 0; color: inherit; }
  .svc-head:hover::before { transform: scaleY(0); }
  .svc-body-in { padding-left: 44px; }
  .svc-body .intro { font-size: 15px; }
  .spaces { height: auto; }
  .spaces-sticky { position: static; height: auto; padding: 90px 0 70px; }
  .spaces-rail { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; transform: none !important; }
  .space-card { flex-basis: 80vw; scroll-snap-align: start; }
  .global-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .aw-list li { grid-template-columns: 22px 1fr; }
  .aw-y { grid-column: 2; text-align: left; }
  .awards-lead { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mem-note { max-height: 20px; opacity: 1; }
  .spaces-tools { width: 100%; min-width: 0; }
  .sp-filters { width: 100%; }
  .space-card .more { opacity: 1; transform: none; }
  .claim { height: 180vh; }
  .num { padding-right: 10px; }
  .pop { display: none; }
  .num:hover p { opacity: 1; }
  .num:hover .num-fig, .num:focus-visible .num-fig { transform: none; }
  .num:hover .num-svc, .num:focus-visible .num-svc { opacity: 1; transform: none; }
  .rs-card { flex-basis: 42vw; }
  .rs-nav { display: none; }
  .rs-feature .cover { width: 34vw; }
  .rs-card .cover .more { display: none; }
  .enq-row { grid-template-columns: 1fr; }
  .contact-grid > * { min-width: 0; }
  .social { padding: 12px 14px; }
  .social-links { gap: 5px; }
  .social-links a { width: 36px; height: 36px; }
  .social > span { font-size: 12px; letter-spacing: .06em; }
  .cta-actions .pill.big { padding: 15px 22px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise-soft { opacity: 1; transform: none; }
  .rise { transform: none; }
}

/* ---------------- Frankie chat assistant ---------------- */
.fk { position: fixed; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 85; font-family: var(--sans); }
.fk-launch { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 99px; background: var(--red); color: #fff; box-shadow: 0 16px 40px rgba(232,29,74,.4), 0 4px 12px rgba(0,0,0,.25); transition: transform .5s var(--spring), box-shadow .4s, opacity .3s; }
.fk-launch:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 50px rgba(232,29,74,.5), 0 4px 12px rgba(0,0,0,.25); }
.fk.open .fk-launch { opacity: 0; pointer-events: none; transform: scale(.8); }
.fk-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); }
.fk-avatar svg { width: 24px; height: 21px; }
.fk-launch-text { display: grid; text-align: left; line-height: 1.15; }
.fk-launch-text b { font-size: 15px; }
.fk-launch-text small { font-size: 11.5px; opacity: .85; }
.fk-ping { position: absolute; top: 4px; left: 38px; width: 12px; height: 12px; border-radius: 50%; background: #3fdc8f; border: 2px solid var(--red); animation: ping 2.2s infinite; box-shadow: 0 0 0 0 rgba(63,220,143,.6); }
.fk-panel { position: absolute; right: 0; bottom: 0; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100svh - 110px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(3,28,27,.08); transform-origin: bottom right; animation: fkIn .5s var(--spring); }
@keyframes fkIn { from { opacity: 0; transform: translateY(20px) scale(.92); } to { opacity: 1; transform: none; } }
.fk-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--ink); color: #fff; }
.fk-head > div { flex: 1; display: grid; line-height: 1.2; }
.fk-head b { font-size: 16px; }
.fk-head small { font-size: 12px; opacity: .8; display: flex; align-items: center; gap: 6px; }
.fk-head small i { width: 7px; height: 7px; border-radius: 50%; background: #f2c230; }
.fk-head small.ai i { background: #3fdc8f; box-shadow: 0 0 0 3px rgba(63,220,143,.25); }
.fk-x { width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; color: #fff; background: rgba(255,255,255,.1); transition: background .3s, transform .4s var(--spring); }
.fk-x:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.fk-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.fk-msg { display: flex; animation: fadeUp .4s var(--ease); }
.fk-msg.user { justify-content: flex-end; }
.fk-bub { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.fk-msg.bot .fk-bub { background: #fff; border: 1px solid rgba(3,28,27,.08); border-bottom-left-radius: 6px; box-shadow: 0 4px 14px rgba(3,28,27,.06); }
.fk-msg.user .fk-bub { background: var(--teal); color: #fff; border-bottom-right-radius: 6px; }
.fk-bub p + p, .fk-bub p + ul, .fk-bub ul + p { margin-top: 8px; }
.fk-bub ul { margin: 6px 0 0 18px; display: grid; gap: 4px; }
.fk-bub a { color: var(--teal); font-weight: 700; border-bottom: 1px solid rgba(1,81,81,.3); }
.fk-msg.user .fk-bub a { color: #fff; }
.fk-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.fk-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(3,28,27,.35); animation: fkDot 1s infinite; }
.fk-dots i:nth-child(2) { animation-delay: .15s; } .fk-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes fkDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.fk-chips { display: flex; gap: 6px; padding: 0 14px 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.fk-chips::-webkit-scrollbar { display: none; }
.fk-chips button { flex: none; padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--teal); background: #fff; border: 1.5px solid rgba(1,81,81,.25); transition: background .3s, color .3s, transform .4s var(--spring); animation: fadeUp .4s var(--ease) both; }
.fk-chips button:nth-child(2) { animation-delay: .05s; } .fk-chips button:nth-child(3) { animation-delay: .1s; } .fk-chips button:nth-child(4) { animation-delay: .15s; }
.fk-chips button:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.fk-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(3,28,27,.08); background: #fff; flex: none; }
.fk-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 99px; border: 1.5px solid rgba(3,28,27,.14); outline: none; color: var(--ink); background: var(--paper); transition: border-color .3s, box-shadow .3s; }
.fk-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(1,81,81,.12); }
.fk-send { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .4s var(--spring), opacity .3s; }
.fk-send:hover { transform: scale(1.08); }
.fk-send svg { width: 20px; height: 20px; }
.fk-form.busy .fk-send { opacity: .5; pointer-events: none; }
.fk-note { flex: none; padding: 0 14px 10px; background: #fff; font-size: 11px; line-height: 1.4; color: rgba(3,28,27,.5); }
@media (max-width: 640px) {
  .fk-launch { padding: 6px; }
  .fk-launch-text { display: none; }
  .fk-avatar { width: 46px; height: 46px; }
  .fk-ping { left: 40px; }
  .fk.open { inset: 0; right: 0; bottom: 0; }
  .fk-panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .fk-panel, .fk-msg, .fk-chips button { animation: none; } }
