/* K.G. — A Journey Built on Vision, Hard Work and Trust
   Design system modelled on the Quantexa website: Switzer type, Dubai desert palette (ivory, sand, terracotta, burnt sienna, deep umber), 24px rounded cards,
   glass bars, card sliders, dark band with white rounded panel. */
:root {
  --p800: #292421; --p700: #3B2B25; --p600: #9E4F3D; --p500: #C66F52; --p400: #D8C5AE; --p300: #B69A7B; --p100: #E9DCCB; --p50: #F7F3ED;
  --green: #C66F52; --green-h: #873F2F; --pink: #9E4F3D; --line: #B69A7B;
  --ink: #292421; --text: #3B2B25; --muted: #75645a; --hair: rgba(59, 43, 37, .12);
  --sans: 'Switzer', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1224px;
  --card-shadow: 0 35px 35px #a58a6c2b, 0 30px 30px #a58a6c14, 0 20px 20px #a58a6c0f, 0 10px 10px #a58a6c0d, 0 4px 4px #a58a6c08;
  --card-shadow-hover: 0 50px 50px #a58a6c40, 0 30px 30px #a58a6c26, 0 20px 20px #a58a6c0f, 0 10px 10px #a58a6c0d, 0 4px 4px #a58a6c08;
  --glass: linear-gradient(169deg, rgba(255, 255, 255, .12), rgba(223, 238, 250, .05) 28%, rgba(237, 219, 255, .05)), rgba(255, 255, 255, .10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--p600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--p500); }
h1, h2, h3, h4, h5 { font-family: var(--sans); color: var(--p700); margin: 0 0 clamp(1.1rem, .95rem + .75vw, 1.7rem); }
h1 { font-size: clamp(3rem, 2.4rem + 3.7vw, 5.5rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.5rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
h3 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
h4 { font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1.1rem; }
.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }
.center { text-align: center; }
.eyebrow { display: block; font-size: .85rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.sub { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: var(--text); max-width: 62ch; }
.center .sub { margin-inline: auto; }
.grad { background: linear-gradient(90deg, var(--green), var(--p400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.6rem; border-radius: 8px; border: 1px solid transparent; font: 500 1rem/1.4 var(--sans); cursor: pointer; transition: color .15s, background .15s, border-color .15s, box-shadow .2s; }
.btn svg { width: 16px; height: 16px; transition: transform .2s ease-in; }
.btn:hover svg { transform: translateX(5px); }
.btn.green { background: var(--green); color: var(--p800); }
.btn.green:hover { background: var(--green-h); color: var(--p800); }
.btn.lilac { background: var(--p400); color: var(--p800); }
.btn.lilac:hover { background: var(--p100); color: var(--p800); }
.btn.dark { background: var(--p600); color: #fff; }
.btn.dark:hover { background: var(--p700); color: #fff; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--p700); }
.btn.pink { background: var(--pink); color: #fff; }
.btn.pink:hover { background: #873F2F; color: #fff; }
.btn.sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.link { font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; }
.link svg { width: 14px; height: 14px; transition: transform .2s ease-in; }
.link:hover svg { transform: translateX(4px); }

/* Header — sticky white bar, centred nav, mega panels */
.site-header { position: sticky; top: 0; z-index: 2000; background: #fff; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.hdr { max-width: 1440px; margin: 0 auto; padding: 0 16px; min-height: 62px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--p700); }
.brand:hover { color: var(--p700); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--p700); display: grid; place-items: center; font-weight: 600; font-size: .95rem; color: #fff; letter-spacing: .02em; box-shadow: inset 0 -4px 0 -1px var(--green); }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 1.2rem; font-weight: 500; letter-spacing: .02em; }
.brand-text span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav li { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 20px 12px 17px; font-weight: 500; font-size: 1rem; color: var(--p700); border-bottom: 4px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: var(--sans); }
.nav-link:hover, .nav-link.active { color: var(--p600); border-bottom-color: var(--p600); }
.chev { width: 12px; height: 12px; transition: transform .2s; }
li.has-mega:hover .chev, li.has-mega.open .chev { transform: rotate(180deg); }
.mega { position: absolute; left: 50%; top: 100%; width: min(980px, 94vw); transform: translateX(-50%); margin-top: 10px; background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 16px; padding: 22px; box-shadow: var(--card-shadow-hover); display: grid; grid-template-columns: 1fr 1fr 250px; gap: 26px; opacity: 0; pointer-events: none; transition: all .2s ease-in-out; }
li.has-mega:hover .mega, li.has-mega:focus-within .mega, li.has-mega.open .mega { opacity: 1; pointer-events: auto; margin-top: 4px; }
.mega .mh, .mega h6 { margin: 0 0 12px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--p600); }
.mega ul { display: block; }
.mega li a { display: block; padding: 7px 0; color: var(--p700); font-size: .98rem; }
.mega li a:hover { color: var(--p500); }
.mega-tile { border-radius: 10px; overflow: hidden; position: relative; min-height: 190px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.mega-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out; z-index: 0; }
.mega-tile::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(41, 36, 33, .1), rgba(41, 36, 33, .85)); }
.mega-tile:hover img { transform: scale(1.1); }
.mega-tile span, .mega-tile b { position: relative; z-index: 2; }
.mega-tile b { font-weight: 500; font-size: 1.05rem; line-height: 1.25; }
.mega-tile span { font-size: .85rem; opacity: .9; margin-top: 4px; }
.mega-tile:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; background: var(--p700); margin: 7px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, rgba(41, 36, 33, .94) 0%, rgba(59, 43, 37, .86) 55%, rgba(110, 64, 48, .74) 100%), var(--img) center / cover no-repeat, var(--p800); --img: url('../images/hero-plant.webp'); }
.hero.h-about { --img: url('../images/kuwait.webp'); }
.hero.h-philosophy { --img: url('../images/meeting.webp'); }
.hero.h-legacy { --img: url('../images/volunteers.webp'); }
.hero.h-gallery { --img: url('../images/crane.webp'); }
.hero.h-contact { --img: url('../images/dubai-night.webp'); }
.hero::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 60%; opacity: .55; pointer-events: none; background: radial-gradient(rgba(216, 197, 174, .4) 1.3px, transparent 1.6px) 0 0 / 20px 20px; -webkit-mask-image: radial-gradient(circle at 78% 55%, #000 0%, transparent 62%); mask-image: radial-gradient(circle at 78% 55%, #000 0%, transparent 62%); }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding: 110px 0 200px; }
.hero h1 { color: #fff; max-width: 15ch; }
.tagline { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 300; line-height: 1.4; color: rgba(255, 255, 255, .88); max-width: 34ch; margin-bottom: 0; }
.page-hero .wrap { padding: 70px 0 90px; }
.page-hero h1 { font-size: clamp(2.6rem, 2rem + 3vw, 4.6rem); }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--p400); }
.crumbs a:hover { color: #fff; }
.hero-bar { position: absolute; z-index: 3; left: 50%; bottom: 88px; transform: translateX(-50%); width: min(var(--wrap), 92%); display: flex; align-items: center; gap: 26px; padding: 16px 28px; border-radius: 24px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.hb-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; gap: 44px; width: max-content; animation: logos 45s linear infinite; }
.mq-track span { display: flex; align-items: center; gap: 44px; white-space: nowrap; color: rgba(255, 255, 255, .92); font-size: .98rem; font-weight: 500; }
.mq-track span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.hero-bar:hover .mq-track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(-50%); } }

/* White section lifting over the hero */
.lift { background: #fff; border-radius: 48px 48px 0 0; margin-top: -56px; position: relative; z-index: 4; }
.lift.tint { background: #fff; }

/* Latest — two horizontal feature cards */
.latest { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.lcard { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--hair); box-shadow: var(--card-shadow); transition: box-shadow .2s, transform .2s; }
.lcard:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.lc-text { padding: 34px 30px; display: flex; flex-direction: column; }
.lc-text h4 { font-weight: 400; font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem); line-height: 1.25; margin-bottom: 14px; }
.lc-text p { font-size: .95rem; margin-bottom: auto; }
.lc-text .link { margin-top: 22px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.lc-img { position: relative; background: linear-gradient(160deg, var(--p600), var(--p800)); min-height: 240px; overflow: hidden; }
.lc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out; }
.lcard:hover .lc-img img { transform: scale(1.1); }
.lc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 64, 48, .15), rgba(41, 36, 33, .35)); }
.lc-years { display: grid; place-content: center; height: 100%; text-align: center; color: #fff; position: absolute; inset: 0; z-index: 1; padding: 20px; }
.lc-years b { font-size: clamp(2.2rem, 3vw, 3rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.lc-years small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 8px; }

/* Dark glass feature cards */
.dcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.dcard { position: relative; border-radius: 24px; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--p700), var(--p600)); padding: 14px; box-shadow: 0 30px 50px rgba(59, 43, 37, .25); }
.dcard::before { content: ''; position: absolute; inset: 7px; border-radius: 18px; border: 1px solid rgba(216, 197, 174, .35); pointer-events: none; }
.dc-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.dc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out; }
.dcard:hover .dc-img img { transform: scale(1.1); }
.dc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 64, 48, .2), rgba(59, 43, 37, .7)); }
.dc-body { padding: 24px 14px 16px; }
.dcard h4 { color: #fff; font-weight: 500; }
.dcard ul { margin: 0; padding-left: 1.2rem; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.dcard li { margin-bottom: 10px; }
.cta-center { text-align: center; margin-top: 44px; }

/* Card slider (milestones) */
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.s-head h2 { margin-bottom: 14px; }
.s-head .sub { margin: 0; }
.s-arrows { display: flex; gap: 10px; }
.arr { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); box-shadow: 1px 10px 10px rgba(0, 0, 0, .1); display: grid; place-items: center; color: var(--p600); cursor: pointer; transition: box-shadow .2s, opacity .2s; }
.arr:hover { box-shadow: 1px 5px 5px rgba(0, 0, 0, .1); }
.arr[disabled] { opacity: .45; cursor: default; }
.s-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 36px; margin: 0 -4px; }
.s-track::-webkit-scrollbar { display: none; }
.sc { flex: 0 0 calc((100% - 72px) / 3.15); scroll-snap-align: start; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #fff 55%, var(--p50)); border: 1px solid var(--hair); box-shadow: var(--card-shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.sc:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.sc-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--p700); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out; }
.sc:hover .sc-img img { transform: scale(1.1); }
.sc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 64, 48, .05), rgba(59, 43, 37, .3)); }
.sc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.sc-org { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.sc h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.005em; margin-bottom: 12px; }
.sc p { font-size: .95rem; margin-bottom: 20px; }
.sc .link { margin-top: auto; font-size: .95rem; }
.s-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.s-dots button { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--p700); background: transparent; padding: 0; position: relative; cursor: pointer; }
.s-dots button::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--p700); opacity: 0; transition: opacity .4s; }
.s-dots button.on::after { opacity: 1; }
.viewall { display: block; text-align: center; margin-top: 26px; font-size: .9rem; text-decoration: underline; color: var(--p700); }

/* Dark band with white rounded panel (tabs + accordion + photo card) */
.band { background: var(--p800); padding: clamp(40px, 6vw, 75px) clamp(8px, 1vw, 14px); }
.panel { background: #fff; border-radius: 48px; padding: clamp(36px, 6vw, 90px) clamp(22px, 6vw, 90px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); max-width: 1440px; margin: 0 auto; }
.panel h2 { max-width: 14ch; }
.pills { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 22px; }
.pill { font: 400 .95rem var(--sans); padding: 8px 18px; border-radius: 22px; border: 1px solid var(--line); background: transparent; color: var(--line); cursor: pointer; transition: all .2s; }
.pill:hover { color: var(--p600); border-color: var(--p600); }
.pill.on { background: var(--p600); border-color: var(--p600); color: #fff; }
.pane { display: none; }
.pane.on { display: block; }
.ai { border-bottom: 1px solid var(--hair); }
.ai:last-child { border-bottom: 0; }
.ai-h { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 22px 0; font: 500 1.1rem/1.3 var(--sans); color: var(--p700); text-align: left; cursor: pointer; }
.pm { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(59, 43, 37, .15); position: relative; flex: none; }
.pm::before, .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--p600); transform: translate(-50%, -50%); transition: transform .25s; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.ai.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.ai-b { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.ai-b p { font-size: .95rem; padding: 0 44px 22px 0; margin: 0; }
.ai.open .ai-b { max-height: 300px; }
.bphotos { position: relative; min-height: 460px; }
.bphoto { position: absolute; inset: 0; margin: 0; border-radius: 24px; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .5s; background: var(--p700); }
.bphoto.on { opacity: 1; pointer-events: auto; }
.bphoto img { width: 100%; height: 100%; object-fit: cover; }
.bphoto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 64, 48, .5), rgba(41, 36, 33, .55)); }
.bphoto h3 { position: absolute; z-index: 2; top: 28px; left: 32px; color: #fff; font-weight: 300; margin: 0; }
.gpill { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 500; }
.gpill:hover { background: #fff; color: var(--p700); }
.gpill svg { width: 16px; height: 16px; }

/* At a glance — dotted map + glass stats */
.glance { background: var(--p800); color: #fff; overflow: hidden; }
.glance h2 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); font-weight: 300; }
.glance .sub { color: rgba(255, 255, 255, .8); }
.map { position: relative; margin-top: 44px; border-radius: 24px; aspect-ratio: 2.1 / 1; min-height: 360px; background: radial-gradient(rgba(216, 197, 174, .45) 1.4px, transparent 1.8px) 0 0 / 18px 18px, linear-gradient(160deg, #3a2f2a, #292421); border: 1px solid rgba(216, 197, 174, .18); overflow: hidden; }
.pin { position: absolute; transform: translate(-6px, -6px); display: flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pin::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(198, 111, 82, .22); animation: pulse 2.4s ease-out infinite; }
.pin span { background: rgba(41, 36, 33, .85); border: 1px solid rgba(198, 111, 82, .4); padding: 3px 9px; border-radius: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 111, 82, .5); } 100% { box-shadow: 0 0 0 14px rgba(198, 111, 82, 0); } }
.gstats { position: absolute; left: 3%; bottom: 6%; width: min(560px, 62%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; padding: 22px 26px; border-radius: 18px; background: rgba(59, 43, 37, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(216, 197, 174, .22); }
.gs b { display: block; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.gs span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .72); line-height: 1.3; margin: 4px 0 12px; }

/* Hub cards */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.hcard { display: block; background: #fff; border-radius: 24px; border: 1px solid var(--hair); padding: 28px 28px 26px; box-shadow: var(--card-shadow); color: var(--text); transition: box-shadow .2s, transform .2s; }
.hcard:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); color: var(--text); }
.hc-top { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; }
.hc-top h5 { margin: 0; font-size: 1.25rem; font-weight: 500; }
.hc-top svg { width: 18px; height: 18px; color: var(--p600); transition: transform .2s; }
.hcard:hover .hc-top svg { transform: translateX(5px); }
.hcard p { font-size: .95rem; margin: 0; }
.icn { width: 40px; height: 40px; color: var(--p600); }

/* Banner */
.banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 40px; padding: 24px 28px; border-radius: 24px; background: var(--p800); color: #fff; box-shadow: var(--card-shadow); }
.banner .tile { width: 150px; height: 80px; border-radius: 12px; background: linear-gradient(135deg, var(--p600), var(--p700)); display: grid; place-items: center; font-weight: 500; letter-spacing: .1em; font-size: 1.05rem; border: 1px solid rgba(216, 197, 174, .4); }
.banner h4 { color: #fff; margin: 0 0 6px; }
.banner p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .78); }

/* Inner pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--p600), var(--p800)); display: grid; place-items: center; text-align: center; color: rgba(255, 255, 255, .65); box-shadow: var(--card-shadow); }
.photo::after { content: ''; position: absolute; right: 0; top: 0; width: 34%; aspect-ratio: 1; background: rgba(216, 197, 174, .2); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.photo .ph { position: relative; z-index: 1; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; padding: 20px; }
.photo .ph b { display: block; font-size: 3.2rem; font-weight: 300; letter-spacing: -.02em; margin-bottom: 6px; background: linear-gradient(90deg, var(--green), var(--p400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qband { background: var(--p800); color: #fff; text-align: center; overflow: hidden; position: relative; }
.qband::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 60%; opacity: .45; background: radial-gradient(rgba(216, 197, 174, .4) 1.3px, transparent 1.6px) 0 0 / 20px 20px; -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 50%, #000, transparent 70%); pointer-events: none; }
.qband .wrap { position: relative; }
.quote { max-width: 900px; margin-inline: auto; }
.quote::before { content: '\201C'; display: block; font-family: Georgia, serif; font-size: 6.5rem; line-height: .7; margin-bottom: 14px; background: linear-gradient(90deg, var(--green), var(--p400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote { margin: 0; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); font-weight: 300; line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.qband .eyebrow { color: var(--p400); }
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pcard { background: #fff; border-radius: 24px; padding: 40px 36px; border: 1px solid var(--hair); border-left: 3px solid var(--p400); box-shadow: var(--card-shadow); transition: box-shadow .2s, transform .2s; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.pcard h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.tintbg { background: var(--p50); }

/* Dark glass grid (philosophy) */
.dark-s { background: var(--p800); color: #fff; position: relative; overflow: hidden; }
.dark-s h2, .dark-s h3, .dark-s h4 { color: #fff; }
.dark-s .sub { color: rgba(255, 255, 255, .8); }
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.gcard { padding: 32px 28px; border-radius: 24px; background: var(--glass); border: 1px solid rgba(216, 197, 174, .22); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: background .3s, transform .2s, border-color .3s; }
.gcard:hover { transform: translateY(-2px); border-color: rgba(198, 111, 82, .5); background: rgba(255, 255, 255, .13); }
.gcard .icn { color: var(--green); margin-bottom: 20px; }
.gcard h4 { color: #fff; margin-bottom: 10px; }
.gcard p { font-size: .95rem; color: rgba(255, 255, 255, .82); margin: 0; }
.gcard small { display: block; font-size: .78rem; letter-spacing: .1em; color: var(--p400); margin-bottom: 14px; }

/* Image cards grid (legacy) */
.igrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.igrid .sc { flex: none; }
.igrid .sc-img { aspect-ratio: 16 / 8; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; margin: 0; background: var(--p700); box-shadow: var(--card-shadow); cursor: zoom-in; transition: box-shadow .2s, transform .2s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.tile:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-in-out; }
.tile:hover img { transform: scale(1.1); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 64px 22px 18px; font-size: .95rem; color: #fff; background: linear-gradient(transparent, rgba(41, 36, 33, .94) 60%); }
.tile figcaption small { display: block; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; color: var(--green); margin-bottom: 2px; }
.tile.hide { display: none; }
.note { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 32px; }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(25, 21, 19, .96); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px 10px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 78vh; margin-inline: auto; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { margin-top: 18px; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.lb-close, .lb-nav { background: rgba(255, 255, 255, .08); border: 1px solid rgba(216, 197, 174, .45); border-radius: 50%; color: var(--green); cursor: pointer; font-size: 1.8rem; line-height: 1; width: 48px; height: 48px; justify-self: center; transition: background .3s, color .3s; }
.lb-close:hover, .lb-nav:hover { background: var(--green); color: var(--p800); }
.lb-close { position: absolute; top: 20px; right: 20px; z-index: 2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr .42fr; gap: 24px; align-items: start; }
.form { background: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--hair); box-shadow: var(--card-shadow); }
.form h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); }
.form label { display: block; font-size: .85rem; font-weight: 500; color: var(--p700); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; font: inherit; color: var(--ink); padding: 0 16px; height: 46px; margin-bottom: 20px; background: #fff; border: 1px solid #E0D2BF; border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.form textarea { height: 150px; padding-top: 12px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--p500); box-shadow: 0 0 0 4px rgba(198, 111, 82, .12); }
.form .btn { width: 100%; justify-content: center; }
.form-msg { margin-top: 14px; font-size: .95rem; color: var(--p600); min-height: 1.4em; }
.info { border-radius: 20px; padding: clamp(28px, 4vw, 48px); color: #fff; background: linear-gradient(150deg, var(--p600), var(--p800)); position: relative; overflow: hidden; }
.info::before { content: ''; position: absolute; inset: 0; opacity: .5; background: radial-gradient(rgba(216, 197, 174, .4) 1.2px, transparent 1.5px) 0 0 / 18px 18px; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 65%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 65%); }
.info > * { position: relative; }
.info h3 { color: #fff; font-size: 1.8rem; }
.info dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: 22px; }
.info dd { margin: 4px 0 0; font-size: 1.05rem; word-break: break-word; }

/* Footer */
.site-footer { background: var(--p800); color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 52px 0 38px; border-bottom: 1px solid rgba(216, 197, 174, .22); }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-text span { color: var(--p400); }
.site-footer .brand-mark { background: var(--p600); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding: 50px 0; }
.site-footer h5 { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--green); }
.motto { font-size: 1.35rem; font-weight: 300; line-height: 1.4; color: #fff; max-width: 26ch; letter-spacing: -.01em; }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; text-align: center; color: rgba(255, 255, 255, .6); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1100px) {
  .sc { flex-basis: calc((100% - 24px) / 2.15); }
  .dcards, .hub, .glass-grid { grid-template-columns: repeat(2, 1fr); }
  .panel { grid-template-columns: 1fr; border-radius: 36px; }
  .bphotos { min-height: 420px; }
  .latest { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .banner { grid-template-columns: 1fr; text-align: left; }
  .banner .tile { width: 130px; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; display: block; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; padding: 0 16px 10px; opacity: 0; visibility: hidden; pointer-events: none; transition: all .5s ease-in-out; border-bottom: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 24px 40px rgba(0, 0, 0, .12); }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav ul { display: block; }
  .nav-link { display: flex; width: 100%; padding: 16px 0; border-bottom: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
  .nav li:first-child .nav-link { border-top: 0; }
  .nav-link:hover, .nav-link.active { border-bottom: 0; }
  .chev, .mega { display: none; }
  .header-cta { display: none; }
  .hero .wrap { padding: 70px 0 190px; }
  .hero-bar { bottom: 84px; padding: 12px 18px; gap: 14px; }
  .hb-label { display: none; }
  .lift { border-radius: 32px 32px 0 0; margin-top: -48px; }
}
@media (max-width: 760px) {
  .sc { flex-basis: 82%; }
  .s-head { flex-direction: column; align-items: flex-start; }
  .dcards, .hub, .glass-grid, .pcards, .igrid, .grid, .footer-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .photo { aspect-ratio: 4 / 3; }
  .lcard { grid-template-columns: 1fr; }
  .lc-img { min-height: 200px; order: -1; }
  .map { aspect-ratio: auto; min-height: 520px; }
  .gstats { width: auto; right: 3%; left: 3%; bottom: 3%; grid-template-columns: repeat(2, 1fr); }
  .pin { font-size: .62rem; }
  .brand-text span { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .btn { justify-content: center; }
  .btn-row .btn { width: 100%; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lb-nav { width: 40px; height: 40px; }
  .panel { padding: 36px 20px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mq-track, .pin::before { animation: none; }
}

/* Refinements (from QA) */
.accent { color: var(--p500); }
.hero .accent, .dark-s .accent, .qband .accent { background: linear-gradient(90deg, var(--p400), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { text-wrap: balance; }
.page-hero .wrap { padding-bottom: 130px; }
.page-hero .hero-waves { opacity: .55; -webkit-mask-image: linear-gradient(to right, transparent 20%, #000 65%); mask-image: linear-gradient(to right, transparent 20%, #000 65%); }
.tile img[src$="plant-night.webp"] { filter: brightness(1.7) contrast(1.05); }
.form { padding-bottom: clamp(24px, 4vw, 44px); }
@media (max-width: 1100px) { .footer-grid > :first-child { grid-column: 1 / -1; } }
.s-track { padding-bottom: 90px; margin-bottom: -54px; }

/* Orion-style animated flow: one vision -> sector groups -> totals */
.fpanel { background: var(--p50); border: 1px solid var(--hair); border-radius: 40px; padding: clamp(24px, 4vw, 56px); margin-top: 44px; }
.f-toolbar { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 34px; }
.f-label { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--p700); font-weight: 600; }
.f-pills { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 4px; background: #fff; border-radius: 40px; box-shadow: 0 6px 18px rgba(59, 43, 37, .08); }
.f-pills .pill { border: 0; color: var(--p700); padding: 8px 18px; font-size: .88rem; border-radius: 30px; }
.f-pills .pill:hover { color: var(--p500); }
.f-pills .pill.on { background: var(--p600); color: #fff; box-shadow: 0 8px 18px rgba(110, 64, 48, .4); }
.flowviz { position: relative; display: grid; grid-template-columns: .8fr 1.1fr .9fr; gap: clamp(56px, 9vw, 150px); align-items: center; padding: 6px 0; }
.fv-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.fv-col { position: relative; z-index: 1; display: grid; gap: clamp(14px, 2vw, 26px); }
.fv-box { border-radius: 14px; padding: 18px 22px; box-shadow: 0 16px 36px rgba(59, 43, 37, .14); transition: opacity .4s, transform .3s, box-shadow .3s; }
.fv-box:hover { transform: translateY(-3px); box-shadow: 0 24px 44px rgba(59, 43, 37, .22); }
.fv-box.root { background: #fff; padding: 26px; color: var(--text); }
.fv-box.root .icn { width: 34px; height: 34px; margin-bottom: 36px; }
.fv-box.root h4 { margin: 0 0 2px; font-size: 1.3rem; }
.fv-box.root small { font-size: .74rem; color: var(--muted); }
.fv-box.mid { background: linear-gradient(135deg, #E0A183, #D8C5AE); color: #fff; }
.fv-box.end { background: linear-gradient(135deg, #C66F52, #9E4F3D); color: #fff; }
.fv-label { display: block; font-size: .85rem; line-height: 1.3; margin-bottom: 8px; opacity: .95; }
.fv-num { display: block; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.fv-unit { font-size: .74rem; opacity: .9; }
.rb { fill: none; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1), opacity .4s; }
.flowviz.go .rb { stroke-dashoffset: 0; }
.pl { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 90; opacity: 0; animation: fvflow 3.4s linear infinite; transition: opacity .5s; }
.flowviz.go .pl { opacity: .8; transition-delay: 1.5s; }
@keyframes fvflow { to { stroke-dashoffset: -96; } }
.js .fv-box { opacity: 0; transform: translateX(-14px); }
.js .flowviz.go .fv-box { opacity: 1; transform: none; transition: opacity .6s var(--d, 0s), transform .6s var(--d, 0s), box-shadow .3s; }
.js .flowviz.go .fv-box:hover { transform: translateY(-3px); }
.js .flowviz.go .fv-box.dim { opacity: .3; }
.rb.dim, .pl.dim { opacity: .1 !important; }
.f-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; text-align: center; }
.fs-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fff; box-shadow: 0 6px 14px rgba(59, 43, 37, .1); margin-bottom: 10px; }
.fs-ico .icn { width: 24px; height: 24px; }
.f-stats small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--p700); font-weight: 600; }
.f-stats b { display: block; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; color: var(--p700); }
@media (max-width: 860px) {
  .flowviz { grid-template-columns: 1fr; gap: 0; }
  .fv-svg { display: none; }
  .fv-col:not(:last-child)::after { content: ''; display: block; width: 2px; height: 32px; margin: 14px auto; background: linear-gradient(var(--p400), var(--p500)); }
  .fpanel { border-radius: 28px; }
}
@media (max-width: 560px) { .f-stats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pl { display: none; } .rb { transition: none; } .js .fv-box { opacity: 1; transform: none; } }
@media (max-width: 560px) { .f-pills { border-radius: 24px; } .f-pills .pill { padding: 8px 14px; } }

/* Journey trail (Confluera-style): thick gradient trail, waypoints, concentric arcs */
.trail { position: relative; overflow: hidden; background: #fff; }
.t-arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.t-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.t-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; background: #fff; border: 1px solid var(--hair); border-radius: 24px; box-shadow: var(--card-shadow); overflow: hidden; margin-top: 28px; transition: opacity .2s, transform .2s; }
.t-card.swap { opacity: 0; transform: translateY(8px); }
.t-img { position: relative; min-height: 200px; background: var(--p700); }
.t-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 64, 48, .05), rgba(59, 43, 37, .35)); }
.t-body { padding: 22px 22px 24px 2px; }
.t-year { display: block; font-size: 2.5rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--p600); }
.t-body h4 { margin: 8px 0; font-weight: 600; font-size: 1.15rem; }
.t-body p { font-size: .93rem; margin-bottom: 14px; }
.t-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.t-count { margin-left: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; color: var(--muted); letter-spacing: .08em; }
.t-viz svg { width: 100%; height: auto; display: block; overflow: visible; }
.tl-base, .tl-glow, .tl-prog { fill: none; stroke: url(#tg); stroke-width: 70; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.tl-base { opacity: .3; transition: stroke-dashoffset 2.4s ease; }
.tl-glow { filter: url(#tb); opacity: .45; transition: stroke-dashoffset 2.4s ease; }
.tl-prog { transition: stroke-dashoffset 1.1s cubic-bezier(.3, .7, .2, 1); }
.t-viz.go .tl-base, .t-viz.go .tl-glow { stroke-dashoffset: 0; }
.t-deco { opacity: 0; transition: opacity 1s ease .6s; }
.t-viz.go .t-deco { opacity: 1; }
.tn { cursor: pointer; opacity: 0; transition: opacity .5s var(--d, 0s); }
.t-viz.go .tn { opacity: 1; }
.tn .nc { fill: #fff; stroke: var(--p700); stroke-width: 2.5; transition: stroke .2s; }
.tn .nd { fill: var(--p700); transition: fill .2s; }
.tn .ln { stroke: var(--p700); stroke-width: 1.2; }
.tn text { font: 600 15px ui-monospace, Menlo, Consolas, monospace; fill: var(--pink); letter-spacing: .08em; }
.tn .rg { fill: none; stroke: var(--pink); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.tn:hover .nc, .tn:focus-visible .nc { stroke: var(--pink); }
.tn.on .nd { fill: var(--pink); }
.tn.on .rg { animation: tpulse 1.9s ease-out infinite; }
@keyframes tpulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } .t-viz { order: -1; } }
@media (max-width: 760px) {
  .tn text { font-size: 24px; }
  .tn .ng { transform: scale(1.5); }
  .t-card { grid-template-columns: 1fr; }
  .t-img { min-height: 170px; }
  .t-body { padding: 4px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { .tl-base, .tl-glow, .tl-prog, .tn, .t-deco { transition: none; } .tn.on .rg { animation: none; } }

/* QA fixes: banner logo, map with land mask + legend, tablet orphan card, pill contrast, label wrapping */
.banner-logo { width: 150px; height: 80px; border-radius: 12px; background: linear-gradient(135deg, var(--p600), var(--p700)); display: grid; place-items: center; font-weight: 500; letter-spacing: .1em; font-size: 1.05rem; border: 1px solid rgba(216, 197, 174, .4); }
.map-wrap { position: relative; margin-top: 44px; }
.map-wrap .map { margin-top: 0; }
.map-land { position: absolute; inset: 0; background: radial-gradient(rgba(216, 197, 174, .95) 1.7px, transparent 2.1px) 0 0 / 18px 18px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cg fill=%22black%22%3E%3Cpolygon points=%220.00,0.00 11.11,0.00 15.83,15.50 16.94,23.00 18.33,30.00 21.67,35.00 22.78,39.00 23.89,43.00 25.56,40.50 26.67,43.50 26.39,47.50 29.17,49.00 33.33,49.50 36.67,45.50 39.44,39.00 40.00,43.00 41.67,50.00 45.00,52.50 49.44,58.00 46.11,68.00 43.61,76.00 37.50,83.50 28.61,90.00 19.44,96.50 9.72,102.50 0.00,100.00%22/%3E%3Cpolygon points=%228.33,0.00 100.00,0.00 100.00,100.00 91.67,100.00 89.72,97.50 86.94,82.50 85.56,70.00 79.72,66.00 75.00,58.50 72.22,52.50 68.06,44.00 54.17,44.50 47.22,43.00 41.67,37.00 35.56,36.50 30.56,34.00 25.83,26.00 22.78,20.00 18.89,19.00 15.83,15.50 11.11,0.00%22/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cg fill=%22black%22%3E%3Cpolygon points=%220.00,0.00 11.11,0.00 15.83,15.50 16.94,23.00 18.33,30.00 21.67,35.00 22.78,39.00 23.89,43.00 25.56,40.50 26.67,43.50 26.39,47.50 29.17,49.00 33.33,49.50 36.67,45.50 39.44,39.00 40.00,43.00 41.67,50.00 45.00,52.50 49.44,58.00 46.11,68.00 43.61,76.00 37.50,83.50 28.61,90.00 19.44,96.50 9.72,102.50 0.00,100.00%22/%3E%3Cpolygon points=%228.33,0.00 100.00,0.00 100.00,100.00 91.67,100.00 89.72,97.50 86.94,82.50 85.56,70.00 79.72,66.00 75.00,58.50 72.22,52.50 68.06,44.00 54.17,44.50 47.22,43.00 41.67,37.00 35.56,36.50 30.56,34.00 25.83,26.00 22.78,20.00 18.89,19.00 15.83,15.50 11.11,0.00%22/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: .8; }
.map { background: radial-gradient(rgba(216, 197, 174, .16) 1.4px, transparent 1.8px) 0 0 / 18px 18px, linear-gradient(160deg, #3a2f2a, #292421); }
.map-legend { display: none; list-style: none; margin: 16px 0 0; padding: 0; flex-wrap: wrap; gap: 8px 16px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.map-legend li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; }
.nb { white-space: nowrap; }
.pill { color: var(--p600); }
@media (max-width: 1100px) { .dcards > :last-child { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .map-wrap .gstats { position: static; width: auto; margin-top: 16px; }
  .map-wrap .map { aspect-ratio: 1.7 / 1; min-height: 300px; }
}
@media (max-width: 600px) {
  .map-wrap .map { aspect-ratio: 1.25 / 1; min-height: 260px; }
  .map-wrap .pin span { display: none; }
  .map-legend { display: flex; }
}
.s-track { scroll-padding-inline: 4px; }

/* Globe section */
.globe-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 70px); align-items: center; margin-top: 40px; }
.globe-wrap .gstats { position: static; width: auto; grid-template-columns: repeat(2, 1fr); }
.g-help { font-size: .85rem; color: rgba(255, 255, 255, .6); margin: 22px 0 12px; }
.g-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.g-btn { font: 500 .9rem var(--sans); color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(216, 197, 174, .35); border-radius: 22px; padding: 8px 16px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.g-btn::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 9px; }
.g-btn:hover { border-color: var(--green); }
.g-btn.on { background: var(--green); border-color: var(--green); color: var(--p800); }
.g-btn.on::before { background: var(--p800); }
.g-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-inline: auto; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .globe-wrap { grid-template-columns: 1fr; } .g-stage { order: -1; max-width: 520px; } }


/* ==========================================================================
   Dubai Desert enterprise palette (from the colour direction PDF)
   ivory #F7F3ED / sand #D8C5AE / dune #B69A7B / terracotta #C66F52 / umber #3B2B25
   champagne #E9DCCB / clay #B9785D / sienna #9E4F3D / charcoal #292421
   ========================================================================== */
:root { --ivory: #F7F3ED; --sand: #D8C5AE; --dune: #B69A7B; --terracotta: #C66F52; --umber: #3B2B25; --champagne: #E9DCCB; --clay: #B9785D; --sienna: #9E4F3D; --charcoal: #292421; }
body { background: var(--ivory); color: var(--umber); }
h1, h2, h3, h4, h5 { color: var(--charcoal); }
.lift, .trail { background: var(--ivory); }
.tintbg { background: var(--champagne); }
.fpanel { background: #EFE5D8; border-color: rgba(59, 43, 37, .12); }
.site-header { background: #fff; }
.nav-link { color: var(--charcoal); }
.nav-link:hover, .nav-link.active { color: var(--sienna); border-bottom-color: var(--terracotta); }
.eyebrow { color: var(--sienna); }
.dark-s .eyebrow, .glance .eyebrow, .hero .eyebrow { color: var(--sand); }
.accent { color: var(--terracotta); }

/* Buttons: CTA = Burnt Sienna with white text (AA contrast) */
.btn.green, .btn.lilac, .btn.pink, .btn.dark { background: var(--sienna); border-color: var(--sienna); color: #fff; }
.btn.green:hover, .btn.lilac:hover, .btn.pink:hover, .btn.dark:hover { background: #873F2F; border-color: #873F2F; color: #fff; }
.site-footer .btn.lilac { background: var(--sand); border-color: var(--sand); color: var(--charcoal); }
.site-footer .btn.lilac:hover { background: var(--ivory); border-color: var(--ivory); color: var(--charcoal); }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn.ghost:hover { background: #fff; color: var(--charcoal); }

/* Dark areas become warm charcoal / umber */
.band { background: var(--sand); }
.panel { background: #fff; }
.pill.on, .f-pills .pill.on { background: var(--sienna); border-color: var(--sienna); }
.banner, .banner-logo { background: var(--charcoal); }
.banner-logo { background: linear-gradient(135deg, var(--umber), var(--charcoal)); }
.fv-box.mid { background: linear-gradient(135deg, #B8654A, #9E4F3D); color: #fff; }
.fv-box.end { background: linear-gradient(135deg, #4a3830, #292421); color: #fff; }
.fv-box.root { color: var(--umber); }
.rb, .pl { mix-blend-mode: normal; }
.sc, .lcard, .hcard, .pcard { border-color: rgba(59, 43, 37, .12); }
.sc { background: linear-gradient(180deg, #fff 55%, #F3EBDF); }
.dcard { background: linear-gradient(180deg, var(--umber), #5a372b); }
.form input, .form textarea { border-color: #E0D2BF; }
.info { background: linear-gradient(150deg, #5a372b, var(--charcoal)); }

/* Logo: image + sheen that sweeps across the letters and the pattern */
.brand { gap: 14px; }
.logo { position: relative; display: inline-block; line-height: 0; }
.brand-logo { height: 40px; width: auto; display: block; }
.logo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat; -webkit-mask: url('../images/logo.png') center / 100% 100% no-repeat; mask: url('../images/logo.png') center / 100% 100% no-repeat; animation: sheen 5.5s ease-in-out 1.2s infinite; }
.site-footer .logo::after { background-image: linear-gradient(105deg, transparent 38%, rgba(198, 111, 82, .9) 50%, transparent 62%); }
@keyframes sheen { 0% { background-position: 130% 0; } 28%, 100% { background-position: -30% 0; } }
.brand:hover .logo::after { animation-duration: 1.4s; }
.brand-text { padding-left: 14px; border-left: 1px solid rgba(59, 43, 37, .25); }
.brand-text span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: block; line-height: 1.3; }
.site-footer .brand-text { border-left-color: rgba(255, 255, 255, .25); }
.site-footer .brand-text span { color: var(--sand); }
@media (max-width: 760px) { .brand-text { display: none; } .brand-logo { height: 32px; } }

/* Geometric star lattice (echoes the pattern in the K) replaces the dotted texture, drifting slowly */
.hero::before, .qband::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 62%; opacity: .2; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D8C5AE' stroke-width='1'%3E%3Crect x='14' y='14' width='52' height='52'/%3E%3Crect x='14' y='14' width='52' height='52' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 80px 80px; -webkit-mask-image: radial-gradient(ellipse at 80% 55%, #000 0%, transparent 68%); mask-image: radial-gradient(ellipse at 80% 55%, #000 0%, transparent 68%); animation: drift 90s linear infinite; }
@keyframes drift { to { background-position: 400px 400px; } }

/* Intro: logo reveal (once per session) */
.intro { display: none; position: fixed; inset: 0; z-index: 5000; background: var(--ivory); place-items: center; transition: transform .7s cubic-bezier(.7, 0, .2, 1), opacity .5s ease .2s; cursor: pointer; }
.show-intro .intro { display: grid; }
.show-intro.intro-out .intro { transform: translateY(-100%); opacity: 0; }
.show-intro body { overflow: hidden; }
.intro-box { position: relative; text-align: center; }
.intro .logo.big { width: min(58vw, 330px); }
.intro .logo.big img { width: 100%; height: auto; clip-path: inset(0 100% 0 0); animation: wipe 1.05s cubic-bezier(.7, 0, .2, 1) .3s forwards; }
.intro .logo.big::after { animation: sheen 1.6s ease-in-out 1.15s 1; background-position: 130% 0; }
.intro p { margin: 22px 0 0; font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--sienna); opacity: 0; animation: fadeup .7s ease 1.1s forwards; }
.intro-geo { position: absolute; width: min(70vw, 520px); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .55; animation: spin 14s linear infinite; }
.intro-geo * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawln 1.6s ease .1s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes drawln { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .logo::after, .hero::before, .qband::before { animation: none; } .intro { display: none !important; } }

/* Hero heading: clean reveal (no scrambling) */
.hero h1, .hero .tagline, .hero .btn-row, .crumbs { animation: heroUp .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .tagline { animation-delay: .15s; }
.hero .btn-row { animation-delay: .3s; }
.hero h1 .accent { display: inline-block; animation: accentWipe 1.1s cubic-bezier(.7, 0, .2, 1) .35s both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes accentWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .hero h1, .hero .tagline, .hero .btn-row, .crumbs, .hero h1 .accent { animation: none; } }

/* ==========================================================================
   Footer: light ivory with a Gulf / Dubai skyline illustration
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: #F3EADF; color: var(--umber); border-top: 1px solid rgba(59, 43, 37, .1); font-size: .95rem; }
.site-footer .brand, .site-footer .brand:hover { color: var(--charcoal); }
.site-footer .brand-text { border-left-color: rgba(59, 43, 37, .25); }
.site-footer .brand-text span { color: var(--muted); }
.site-footer .logo::after { background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%); }
.f-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 60px 0 36px; border-bottom: 1px solid rgba(59, 43, 37, .12); }
.f-brand { max-width: 520px; }
.f-brand p { margin: 18px 0 0; font-size: .95rem; line-height: 1.6; color: var(--umber); }
.f-cta { text-align: left; }
.f-cta p { margin: 0 0 16px; font-size: .92rem; color: var(--muted); }
.site-footer h5 { font: 600 1.05rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--charcoal); margin: 0 0 14px; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 34px 0 30px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: .9rem; color: var(--umber); }
.site-footer a { color: var(--umber); }
.site-footer a:hover { color: var(--sienna); }
.site-footer .btn.lilac { background: var(--sienna); border-color: var(--sienna); color: #fff; }
.site-footer .btn.lilac:hover { background: #873F2F; border-color: #873F2F; color: #fff; }
.site-footer .copy { border-top: 1px solid rgba(59, 43, 37, .12); padding: 18px 0 30px; text-align: center; font-size: .85rem; color: var(--muted); }

.skyline { position: relative; height: clamp(130px, 17vw, 250px); line-height: 0; margin-top: -4px; }
.skyline svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: hidden; }
.skyline .lm { transform-box: fill-box; transform-origin: 50% 100%; }
.js .skyline .lm { opacity: 0; transform: translateY(54px); transition: transform 1.15s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), opacity .9s ease var(--d, 0s); }
.js .skyline.go .lm { opacity: 1; transform: none; }
.skyline .win { animation: twinkle 3.4s ease-in-out infinite; animation-delay: var(--w, 0s); }
.skyline .cloud { animation: cloudmove 70s linear infinite; }
.skyline .cloud.c1 { transform: translate(-80px, 70px); }
.skyline .cloud.c2 { transform: translate(-80px, 110px); animation-duration: 95s; animation-delay: -40s; }
@keyframes twinkle { 0%, 100% { opacity: .12; } 50% { opacity: 1; } }
@keyframes cloudmove { from { transform: translate(-100px, var(--cy, 70px)); } to { transform: translate(1540px, var(--cy, 70px)); } }
.skyline .cloud.c1 { --cy: 70px; }
.skyline .cloud.c2 { --cy: 112px; }
@media (max-width: 900px) { .f-cols { grid-template-columns: repeat(2, 1fr); } .f-top { flex-direction: column; } }
@media (max-width: 520px) { .f-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .skyline { height: 130px; } }
@media (prefers-reduced-motion: reduce) { .js .skyline .lm { opacity: 1; transform: none; transition: none; } .skyline .win, .skyline .cloud { animation: none; } .skyline .win { opacity: .7; } }

/* ==========================================================================
   Sectors: frosted glass panel on a reeded (ribbed) background, soft numbered cards
   ========================================================================== */
.gl-sec { position: relative; overflow: hidden; background: var(--ivory); padding: clamp(46px, 6vw, 90px) 0; }
.gl-sec::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(38% 46% at 6% 72%, rgba(198, 111, 82, .38), transparent 70%), radial-gradient(34% 40% at 96% 8%, rgba(185, 120, 93, .26), transparent 70%), radial-gradient(40% 30% at 55% 100%, rgba(216, 197, 174, .6), transparent 70%); }
.gl-ribs { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 2px, rgba(216, 197, 174, .4) 2px 6px, rgba(198, 111, 82, .12) 6px 8px); -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 15%, transparent 85%, #000 100%), linear-gradient(0deg, #000 0, transparent 14%); mask-image: linear-gradient(90deg, #000 0, transparent 15%, transparent 85%, #000 100%); }
.gl-sec > .wrap { position: relative; }
.gl-panel { position: relative; border-radius: 36px; padding: clamp(30px, 5vw, 64px) clamp(16px, 4vw, 56px) clamp(30px, 4vw, 52px); background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(247, 243, 237, .5)); border: 1px solid rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(120, 80, 50, .16), inset 0 1px 0 rgba(255, 255, 255, .95); }
.gl-panel h2 { font-weight: 400; max-width: none; }
.gl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: 38px; }
.gl-card { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 20px 22px 24px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #F7EADF 0%, #EBD4C3 52%, #F3E5D8 100%); box-shadow: 0 18px 40px rgba(120, 80, 50, .13), inset 0 1px 0 rgba(255, 255, 255, .8); transition: transform .3s, box-shadow .3s; }
.gl-card:hover { transform: translateY(-4px); box-shadow: 0 26px 54px rgba(120, 80, 50, .2), inset 0 1px 0 rgba(255, 255, 255, .8); }
.gl-no { font-size: .8rem; letter-spacing: .06em; color: var(--umber); }
.gl-art { position: relative; height: 210px; margin: 6px 0 14px; }
.gl-card h4 { margin: 16px 0 8px; font-size: 1.12rem; font-weight: 600; letter-spacing: -.005em; }
.gl-card p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--umber); }
.gl-badge { position: absolute; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #C66F52, #9E4F3D); box-shadow: 0 14px 26px rgba(158, 79, 61, .42); }
.gl-badge.sm { position: absolute; left: 8px; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); box-shadow: 0 6px 12px rgba(158, 79, 61, .35); }
.gl-mini { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 12px; background: #fff; font-size: .72rem; color: var(--charcoal); box-shadow: 0 12px 26px rgba(120, 80, 50, .16); }
.tgl { position: relative; width: 28px; height: 15px; border-radius: 9px; background: var(--sienna); animation: tglbg 5s ease-in-out infinite; }
.tgl::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; animation: tglknob 5s ease-in-out infinite; }
@keyframes tglknob { 0%, 8% { transform: translateX(13px); } 45%, 62% { transform: translateX(0); } 100% { transform: translateX(13px); } }
@keyframes tglbg { 0%, 8% { background: var(--sienna); } 45%, 62% { background: #CBB9A5; } 100% { background: var(--sienna); } }
.spark { display: block; width: 100%; height: 28px; fill: none; stroke: var(--terracotta); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: sparkdraw 4.4s ease-in-out infinite; }
@keyframes sparkdraw { 0% { stroke-dashoffset: 200; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -200; } }
.gl-bub { position: absolute; padding: 5px 13px; border-radius: 20px; background: #fff; font-size: .68rem; color: var(--charcoal); box-shadow: 0 8px 18px rgba(120, 80, 50, .15); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* card 1 */
.a1 .rg { position: absolute; left: 6%; top: 50%; border-radius: 50%; transform: translate(0, -50%); border: 1px solid rgba(158, 79, 61, .22); animation: ripple 6s ease-in-out infinite; }
.a1 .g1 { width: 150px; height: 150px; background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%); }
.a1 .g2 { width: 230px; height: 230px; animation-delay: -2s; }
.a1 .g3 { width: 310px; height: 310px; animation-delay: -4s; }
@keyframes ripple { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
.a1 .gl-badge { left: 12%; top: 50%; transform: translateY(-50%); }
.a1 .gl-mini { left: 38%; top: 24px; }
.a1 .b1 { left: 22%; bottom: 8px; }
.a1 .b2 { right: 4%; bottom: 36px; animation-delay: -2.5s; }
/* card 2 */
.a2 .circ { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(158, 79, 61, .28); stroke-width: 1.2; }
.a2 .circ circle { fill: var(--sienna); stroke: none; }
.gl-row { position: absolute; left: 7%; right: 7%; height: 36px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .8); font-size: .7rem; color: var(--charcoal); box-shadow: 0 8px 18px rgba(120, 80, 50, .12); animation: rowhi 8s ease-in-out infinite; }
.gl-row.r1 { top: 4px; left: 14%; animation-delay: 0s; opacity: .8; }
.gl-row.r2 { top: 50px; padding-left: 44px; animation-delay: 2s; }
.gl-row.r3 { top: 96px; left: 12%; animation-delay: 4s; }
.gl-row.r4 { top: 142px; left: 16%; animation-delay: 6s; }
@keyframes rowhi { 0%, 100% { transform: scale(1); background: rgba(255, 255, 255, .8); } 12%, 24% { transform: scale(1.05); background: #fff; box-shadow: 0 14px 28px rgba(158, 79, 61, .28); } 36% { transform: scale(1); } }
/* card 3 */
.gl-win { position: absolute; inset: 6px 2px 18px 2px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(120, 80, 50, .15); overflow: hidden; }
.gl-win .dots { display: flex; gap: 4px; margin-bottom: 14px; }
.gl-win .dots i { width: 6px; height: 6px; border-radius: 50%; background: #E3D3BE; }
.gl-win .bars { display: flex; align-items: flex-end; gap: 5px; height: 96px; }
.gl-win .bars b { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(#C66F52, #EBC0A8); transform-origin: bottom; animation: barg 3.2s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes barg { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.a3 .gl-badge { right: 8%; top: 42%; }
.a3 .m3 { left: 6%; bottom: 0; }
@media (max-width: 980px) { .gl-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .gl-card { min-height: 0; } .gl-card h4 { margin-top: 12px; } }
@media (prefers-reduced-motion: reduce) { .tgl, .tgl::after, .spark, .gl-bub, .a1 .rg, .gl-row, .gl-win .bars b { animation: none; } .spark { stroke-dashoffset: 0; } }
.gl-mini.m1 { flex-direction: column; align-items: stretch; gap: 6px; width: 168px; }
.gl-mini .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 980px) { .gl-card h4 { margin-top: 12px; } }


/* ---- Audit fixes: contrast, focus, offscreen animation pause ---- */
:focus-visible { outline: 2px solid var(--sienna); outline-offset: 3px; }
.hero :focus-visible, .dark-s :focus-visible, .qband :focus-visible, .glance :focus-visible, .banner :focus-visible, .dcard :focus-visible { outline-color: #fff; }
.tn:focus-visible .nc { stroke: var(--sienna); stroke-width: 4; }
a:hover { color: #873F2F; }
.tintbg .eyebrow, .tintbg .sc-org { color: #8E4332; }
.tintbg .sub, .tintbg p { color: #4a3a33; }
.quote cite { color: var(--sand); }
.tile figcaption small { color: #E9B79F; }
.info dt { color: var(--sand); }
.pill { color: #75645a; border-color: #B69A7B; }
.pill:hover { color: var(--sienna); border-color: var(--sienna); }
.pill.on { color: #fff; }
.anim-off, .anim-off *, .anim-off::before, .anim-off::after { animation-play-state: paused !important; }

/* ==========================================================================
   Floating pill header (stretches: compact on scroll, expands on hover/focus)
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; background: transparent; border-bottom: 0; box-shadow: none; padding: 14px 16px; pointer-events: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: padding .3s; }
.site-header .hdr { max-width: 1320px; margin: 0 auto; padding: 0; min-height: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.h-chip { pointer-events: auto; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(59, 43, 37, .13); font-size: .82rem; font-weight: 500; color: var(--charcoal); white-space: nowrap; transition: transform .25s, box-shadow .25s; }
.h-chip:hover { color: var(--sienna); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(59, 43, 37, .18); }
.h-since { justify-self: start; }
.h-since svg { color: var(--sienna); }
.h-round { justify-self: end; width: 46px; padding: 0; justify-content: center; }
.h-pill { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(247, 243, 237, .84); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 38px rgba(59, 43, 37, .18), inset 0 1px 0 rgba(255, 255, 255, .9); }
.h-pill .brand { height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; display: flex; align-items: center; box-shadow: 0 4px 14px rgba(59, 43, 37, .1); }
.h-pill .brand-logo { height: 30px; width: auto; }
.h-pill .nav { flex: none; margin: 0; display: block; overflow: hidden; max-width: 820px; transition: max-width .6s cubic-bezier(.7, 0, .2, 1), opacity .4s ease; }
.h-pill .nav ul { gap: 2px; padding: 0 4px; width: max-content; }
.h-pill .nav-link { padding: 13px 15px; border: 0; border-radius: 999px; font-size: .88rem; white-space: nowrap; transition: background .2s, color .2s; }
.h-pill .nav-link:hover, .h-pill .nav-link.active { background: #fff; color: var(--sienna); border-bottom: 0; }
.h-pill .header-cta { height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: linear-gradient(135deg, #B26149, #9E4F3D); color: #fff; box-shadow: 0 8px 20px rgba(158, 79, 61, .35); white-space: nowrap; }
.h-pill .header-cta:hover { background: linear-gradient(135deg, #9E4F3D, #873F2F); color: #fff; transform: none; }
.h-pill .mega { top: calc(100% + 10px); margin-top: 0; }
.h-pill li.has-mega:hover .mega, .h-pill li.has-mega:focus-within .mega, .h-pill li.has-mega.open .mega { margin-top: 0; }
@media (min-width: 1024px) {
  .site-header.compact .h-pill:not(:hover):not(:focus-within) .nav { max-width: 0; opacity: 0; pointer-events: none; }
}
@media (max-width: 1023px) {
  .site-header .hdr { grid-template-columns: 1fr; }
  .h-chip { display: none; }
  .h-pill { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; justify-content: space-between; border-radius: 22px; position: static; }
  .h-pill .brand { box-shadow: none; padding: 0 12px; }
  .nav-toggle { margin-left: 0; }
  .h-pill .nav { position: absolute; top: calc(100% - 4px); left: 16px; right: 16px; width: auto; max-width: none; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; border-radius: 22px; background: #fff; padding: 6px 18px 10px; box-shadow: 0 24px 50px rgba(59, 43, 37, .22); transition: all .5s ease-in-out; }
  .h-pill .nav ul { width: auto; padding: 0; }
  .h-pill .nav-link { border-radius: 0; padding: 16px 0; border-top: 1px solid rgba(59, 43, 37, .1); width: 100%; background: none; }
  .h-pill .nav li:first-child .nav-link { border-top: 0; }
  .h-pill .nav-link:hover, .h-pill .nav-link.active { background: none; }
}
/* the header floats over content now: give hero blocks room for it */
.hero .wrap { padding-top: 150px; }
.page-hero .wrap { padding-top: 138px; }
@media (max-width: 1023px) { .hero .wrap { padding-top: 112px; } .page-hero .wrap { padding-top: 110px; } }

/* ==========================================================================
   Notice card (modal-style): glow + icon chip + dismiss, grey + dark buttons
   ========================================================================== */
.notice-wrap { display: flex; justify-content: center; margin-top: 48px; }
.notice { position: relative; isolation: isolate; width: min(100%, 540px); padding: 56px 36px 30px; border-radius: 32px; background: #fff; text-align: center; overflow: hidden; box-shadow: 0 30px 70px rgba(59, 43, 37, .14), 0 2px 0 rgba(255, 255, 255, .9) inset; transition: opacity .35s, transform .35s, max-height .5s, padding .5s, margin .5s; }
.notice.gone { opacity: 0; transform: scale(.96); }
.notice-glow { position: absolute; z-index: -1; left: 50%; top: 18px; width: 440px; height: 330px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(198, 111, 82, .3), rgba(216, 197, 174, .28) 55%, transparent 100%); filter: blur(10px); animation: glowpulse 6s ease-in-out infinite; }
@keyframes glowpulse { 0%, 100% { opacity: .8; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.1); } }
.notice-x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #EFEBE6; color: #7a6d64; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .3s; }
.notice-x:hover { background: #E3DBD1; color: var(--charcoal); transform: rotate(90deg); }
.notice-ico { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #fff; color: var(--sienna); box-shadow: 0 10px 30px rgba(158, 79, 61, .18), 0 0 0 1px rgba(59, 43, 37, .04); animation: icobob 4.5s ease-in-out infinite; }
@keyframes icobob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.notice h3 { margin: 34px 0 14px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); font-weight: 500; color: var(--charcoal); letter-spacing: -.01em; }
.n-sub { margin: 0 auto 34px; max-width: 40ch; font-size: .98rem; line-height: 1.55; color: #8b7d72; }
.n-sub strong { color: var(--charcoal); font-weight: 500; }
.notice-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice-btns a { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 58px; border-radius: 20px; font: 500 1rem var(--sans); transition: transform .2s, background .2s, box-shadow .2s; }
.notice-btns a:hover { transform: translateY(-2px); }
.nb-grey { background: #F1EEEA; color: var(--charcoal); box-shadow: inset 0 -2px 0 rgba(59, 43, 37, .05); }
.nb-grey:hover { background: #E8E2DB; color: var(--charcoal); }
.nb-dark { background: var(--charcoal); color: #fff; box-shadow: 0 10px 24px rgba(41, 36, 33, .3); }
.nb-dark:hover { background: #000; color: #fff; }
.nb-dark svg { width: 16px; height: 16px; transition: transform .2s; }
.nb-dark:hover svg { transform: translateX(5px); }
@media (max-width: 520px) { .notice { padding: 52px 20px 22px; border-radius: 28px; } .notice-btns { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .notice-glow, .notice-ico { animation: none; } }

/* ==========================================================================
   "Everything in one place": modal-style cards (glow + icon chip + title + text + button)
   ========================================================================== */
.mhub { gap: 24px; }
.mcard { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 46px 28px 24px; min-height: 330px; border-radius: 32px; background: #fff; color: var(--text); overflow: hidden; box-shadow: 0 24px 56px rgba(59, 43, 37, .1), inset 0 2px 0 rgba(255, 255, 255, .9); transition: transform .3s, box-shadow .3s; }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 34px 70px rgba(59, 43, 37, .17), inset 0 2px 0 rgba(255, 255, 255, .9); color: var(--text); }
.mc-glow { position: absolute; z-index: -1; left: 50%; top: -6px; width: 360px; height: 260px; transform: translateX(-50%); filter: blur(8px); background: radial-gradient(closest-side, var(--g1), var(--g2) 55%, transparent 100%); transition: transform .5s, opacity .4s; }
.mcard:hover .mc-glow { transform: translateX(-50%) scale(1.15); }
.t1 { --g1: rgba(198, 111, 82, .34); --g2: rgba(216, 197, 174, .22); --ic: #C66F52; }
.t2 { --g1: rgba(214, 170, 102, .36); --g2: rgba(233, 220, 203, .3); --ic: #B8863F; }
.t3 { --g1: rgba(212, 120, 130, .30); --g2: rgba(233, 200, 190, .25); --ic: #B5535E; }
.t4 { --g1: rgba(182, 154, 123, .40); --g2: rgba(233, 220, 203, .3); --ic: #8C6E50; }
.t5 { --g1: rgba(158, 79, 61, .30); --g2: rgba(216, 160, 130, .22); --ic: #9E4F3D; }
.t6 { --g1: rgba(230, 150, 90, .34); --g2: rgba(250, 226, 200, .3); --ic: #D1773A; }
.mc-ico { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; color: var(--ic); box-shadow: 0 10px 28px rgba(59, 43, 37, .12), 0 0 0 1px rgba(59, 43, 37, .04); transition: transform .4s; }
.mcard:hover .mc-ico { transform: translateY(-4px) scale(1.06); }
.mc-svg { width: 28px; height: 28px; }
.mcard h4 { margin: 30px 0 10px; font-size: 1.3rem; font-weight: 500; color: var(--charcoal); letter-spacing: -.01em; }
.mcard p { margin: 0 auto 26px; max-width: 30ch; font-size: .93rem; line-height: 1.5; color: #8b7d72; }
.mc-btn { margin-top: auto; width: 100%; height: 54px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: #F1EEEA; color: var(--charcoal); font: 500 .98rem var(--sans); box-shadow: inset 0 -2px 0 rgba(59, 43, 37, .05); transition: background .2s; }
.mc-btn svg { width: 15px; height: 15px; transition: transform .2s; }
.mcard:hover .mc-btn { background: #E8E2DB; }
.mcard:hover .mc-btn svg { transform: translateX(5px); }
.mc-btn.dark { background: var(--charcoal); color: #fff; box-shadow: 0 10px 24px rgba(41, 36, 33, .28); }
.mcard:hover .mc-btn.dark { background: #000; }
@media (max-width: 1100px) { .mhub { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .mhub { grid-template-columns: 1fr; } .mcard { min-height: 0; } }


/* ---- QA fixes: accordion label, compact header chips, waves on small screens, lazy-image placeholder ---- */
.ai-t { flex: 1; min-width: 0; text-align: left; }
.site-header .h-chip { transition: opacity .3s, transform .3s, box-shadow .25s; }
.site-header.compact .h-since, .site-header.compact .h-round { opacity: 0; pointer-events: none; transform: translateY(-8px); }
@media (max-width: 860px) { .hero-waves { opacity: .45; } }
.sc-img img, .tile img, .t-img img, .bphoto img, .mega-tile img, .lc-img img, .strip img, .dc-img img { background: var(--sand); color: transparent; font-size: 0; }


/* ==========================================================================
   Inner pages: numbers strip, long modal cards, glass-panel values, masonry gallery
   ========================================================================== */
.mhub.two { grid-template-columns: repeat(2, 1fr); }
.mcard.long { align-items: flex-start; text-align: left; padding: 46px 34px 26px; }
.mcard.long .mc-ico { align-self: flex-start; }
.mcard.long p { max-width: none; margin: 0 0 26px; font-size: .96rem; line-height: 1.6; color: #6f6258; }
.mcard.long h4 { margin-top: 26px; font-size: 1.5rem; letter-spacing: -.015em; }
.mc-eyebrow { margin-top: 22px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sienna); }
.mcard.long .mc-eyebrow + h4 { margin-top: 8px; }
.mcard.nobtn { min-height: 290px; }
.mcard.nobtn p { margin-bottom: 8px; }
.mc-no { margin-top: 22px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #a59686; }
.mcard.nobtn .mc-no + h4 { margin-top: 8px; }
.nums .gl-panel { padding-bottom: clamp(30px, 4vw, 56px); }
.n-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.n-card { text-align: center; padding: 30px 14px 24px; border-radius: 24px; background: rgba(255, 255, 255, .7); box-shadow: 0 14px 34px rgba(120, 80, 50, .1); }
.n-card span { display: block; margin-top: 18px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8b7d72; }
.n-card .ring b { color: var(--sienna); }
.n-card .ring { background: conic-gradient(#C66F52, #D8C5AE, #C66F52); }
.n-card .ring::before { background: #FBF6EF; }
.gl-sec.lift { overflow: hidden; }

/* Gallery: wide + tall tiles for rhythm */
.grid { grid-auto-rows: 250px; grid-auto-flow: dense; }
.grid .tile { aspect-ratio: auto; }
.grid .tile:nth-child(6n+1) { grid-column: span 2; }
.grid .tile:nth-child(6n+4) { grid-row: span 2; }
@media (max-width: 760px) { .grid { grid-auto-rows: 220px; } .grid .tile:nth-child(6n+1), .grid .tile:nth-child(6n+4) { grid-column: auto; grid-row: auto; } }

@media (max-width: 1100px) { .n-grid { grid-template-columns: repeat(2, 1fr); } .mhub.two { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .n-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .n-card .ring { width: 118px; } .n-card .ring b { font-size: 1.4rem; } }

/* Ring (conic gradient) used by the numbers strip */
.ring { position: relative; width: 140px; aspect-ratio: 1; margin-inline: auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#C66F52, #D8C5AE, #C66F52); }
.ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #FBF6EF; }
.ring b { position: relative; font-size: 1.7rem; font-weight: 400; color: var(--sienna); letter-spacing: -.02em; line-height: 1; }
.mcard.long .mc-glow { left: 74px; top: 0; width: 300px; height: 220px; }
.mcard.long:hover .mc-glow { transform: translateX(-50%) scale(1.15); }
.tintbg .banner p, .tintbg .banner h4 { color: rgba(255, 255, 255, .82); }
.tintbg .banner h4 { color: #fff; }
