/* Care Horizon Hub - 3D cinematic horizon theme. Petrol ocean, sunset apricot, Syncopate + Host Grotesk. */
:root {
  --abyss: #041820;
  --deep: #072a36;
  --tide: #0d4250;
  --sea: #13606e;
  --sun-a: #ffd38a;
  --sun-b: #ffa065;
  --sun-c: #ff7d6b;
  --sun: linear-gradient(135deg, var(--sun-a), var(--sun-b) 55%, var(--sun-c));
  --shell: #fbf7f1;
  --sand: #f3eadf;
  --ink: #0b2530;
  --muted: #566c73;
  --light: #e9f2f1;
  --light-mute: #a5bcc0;
  --line-d: rgba(255, 255, 255, .14);
  --line-l: rgba(11, 37, 48, .12);
  --r: 22px;
  --display: "Syncopate", "Host Grotesk", sans-serif;
  --text: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html { overflow-x: clip; scroll-behavior: smooth; }
body { font-family: var(--text); color: var(--ink); background: var(--shell); font-size: 1.04rem; line-height: 1.7; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--sun-b); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--sun-b); outline-offset: 3px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 10001; background: var(--sun-a); color: var(--abyss); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.disp { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.12; color: #fff; font-size: clamp(1.45rem, 3.1vw, 2.55rem); margin-bottom: 1.1rem; overflow-wrap: break-word; }
.disp.dark { color: var(--ink); }
.disp.xl { font-size: clamp(1.7rem, 4.6vw, 3.7rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--sun-a); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 18px; height: 9px; border-radius: 18px 18px 0 0; background: var(--sun); box-shadow: 0 0 14px rgba(255, 160, 101, .7); flex: none; }
.eyebrow.dark { color: var(--sea); }
.lede { font-size: 1.12rem; color: var(--light-mute); max-width: 560px; }
.sec-lede { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.sun-text { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn-sun, .btn-glass, .btn-ink, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 999px; padding: .9rem 1.55rem; font-weight: 700; font-size: .98rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s; white-space: nowrap; }
.btn-sun { background: var(--sun); color: var(--abyss); box-shadow: 0 10px 30px -8px rgba(255, 125, 107, .65), inset 0 1px 0 rgba(255, 255, 255, .5); background-size: 160% 160%; }
.btn-sun:hover { color: var(--abyss); box-shadow: 0 18px 44px -10px rgba(255, 125, 107, .85), inset 0 1px 0 rgba(255, 255, 255, .5); background-position: 100% 50%; }
.btn-sun.sm { padding: .62rem 1.2rem; font-size: .9rem; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-ink { background: var(--deep); color: #fff; box-shadow: 0 10px 26px -10px rgba(4, 24, 32, .7); }
.btn-ink:hover { background: var(--tide); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid rgba(11, 37, 48, .3); }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-sun i, .btn-ink i, .btn-line i { transition: transform .3s; }
.btn-sun:hover i.bi-arrow-right, .btn-ink:hover i.bi-arrow-right, .btn-line:hover i.bi-arrow-right { transform: translateX(4px); }
.link-plain { color: var(--sea); font-weight: 600; }

/* ---------- Header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 1000; padding: 18px 0; transition: padding .35s, background .35s, box-shadow .35s; }
.site-head.scrolled { padding: 10px 0; background: rgba(4, 24, 32, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line-d), 0 18px 40px -24px rgba(0, 0, 0, .7); }
.head-row { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; white-space: nowrap; }
.brand svg { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 6px 16px rgba(255, 160, 101, .35)); }
.brand span { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: .92rem; letter-spacing: .04em; }
.site-head nav { margin-left: auto; }
.main-nav { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: .5rem .85rem; color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.head-actions { display: flex; align-items: center; gap: 1rem; }
.head-tel { display: inline-flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
.head-tel i { color: var(--sun-a); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { background: rgba(4, 24, 32, .96); }
.mobile-menu .container { padding-top: 1rem; padding-bottom: 1.4rem; }
.m-link { display: block; padding: .8rem 0; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-d); }
.m-link.active { color: var(--sun-a); }
@media (max-width: 1199.98px) { .head-tel span { display: none; } }
@media (max-width: 991.98px) {
  .site-head nav, .head-actions { display: none; }
  .menu-btn { display: block; }
  .site-head:has(.mobile-menu.show), .site-head:has(.mobile-menu.collapsing) { background: rgba(4, 24, 32, .96); }
}
@media (max-width: 399.98px) { .brand span { font-size: .8rem; } .brand svg { width: 36px; height: 36px; } }

/* Scroll progress: a small sun travels the top edge */
.sun-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 1001; pointer-events: none; }
.sun-progress::before { content: ""; position: absolute; inset: 0; background: var(--sun); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.sun-progress span { position: absolute; top: -4px; left: calc(var(--sp, 0) * 100%); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--sun-a); box-shadow: 0 0 12px 3px rgba(255, 160, 101, .8); opacity: var(--spo, 0); }

/* ---------- Curtain (page change) and dawn intro ---------- */
.curtain { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.curtain span { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--abyss); transition: transform .55s var(--ease); }
.curtain .c-top { top: 0; transform: translateY(-101%); border-bottom: 1px solid rgba(255, 211, 138, .5); }
.curtain .c-bot { bottom: 0; transform: translateY(101%); border-top: 1px solid rgba(255, 211, 138, .5); }
html.arrive .curtain span, .curtain.shut span { transform: none; }
html.arrive .curtain span { transition: none; }
.dawn { display: none; }
html.dawn-on .dawn { display: block; position: fixed; inset: 0; z-index: 9998; pointer-events: none; animation: dawnGone 0s 2.5s forwards; }
.dawn .d-top, .dawn .d-bot { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--abyss); }
.dawn .d-top { top: 0; animation: dawnUp 1s 1.45s var(--ease) forwards; }
.dawn .d-bot { bottom: 0; animation: dawnDown 1s 1.45s var(--ease) forwards; }
.dawn .d-line { position: absolute; left: 50%; top: 50%; height: 2px; width: 100%; margin-top: -1px; transform: translateX(-50%) scaleX(0); background: var(--sun); box-shadow: 0 0 22px 4px rgba(255, 160, 101, .7); animation: dawnLine .9s .2s var(--ease) forwards, fadeOut .5s 1.5s forwards; }
.dawn .d-word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-160%); text-align: center; font-family: var(--display); font-weight: 700; text-transform: uppercase; color: #fff; letter-spacing: .5em; font-size: clamp(.8rem, 2.4vw, 1.3rem); opacity: 0; animation: dawnWord 1.2s .45s var(--ease) forwards; }
@keyframes dawnLine { to { transform: translateX(-50%) scaleX(1); } }
@keyframes dawnWord { 0% { opacity: 0; letter-spacing: .9em; } 40% { opacity: 1; } 80% { opacity: 1; letter-spacing: .4em; } 100% { opacity: 0; letter-spacing: .35em; } }
@keyframes dawnUp { to { transform: translateY(-101%); } }
@keyframes dawnDown { to { transform: translateY(101%); } }
@keyframes dawnGone { to { visibility: hidden; } }
@keyframes fadeOut { to { opacity: 0; } }

/* ---------- Sky (CSS fallback) + WebGL canvas ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #041820 0%, #072a36 30%, #0d4250 48%, #b9775c 61%, #ffb27a 64%, #0b3340 64.4%, #062430 80%, #041820 100%); transition: opacity 1.2s; }
.sky-sun { position: absolute; left: 74%; top: 46%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; background: radial-gradient(circle, #ffe2a8 0 42%, rgba(255, 160, 101, .55) 44%, rgba(255, 125, 107, 0) 70%); }
.sky-sea { position: absolute; left: 0; right: 0; top: 64.4%; bottom: 0; background: repeating-linear-gradient(180deg, rgba(255, 211, 138, .06) 0 2px, transparent 2px 14px); }
.horizon-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s; }
.gl-on .horizon-gl { opacity: 1; }
.gl-on .sky { opacity: 0; }
.haze { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 24, 32, .82) 0%, rgba(4, 24, 32, .45) 45%, rgba(4, 24, 32, 0) 75%), linear-gradient(180deg, rgba(4, 24, 32, .55) 0%, rgba(4, 24, 32, 0) 28%, rgba(4, 24, 32, 0) 82%, rgba(4, 24, 32, .6) 100%); pointer-events: none; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 110px; background: var(--abyss); color: #fff; overflow: hidden; isolation: isolate; }
.hero-in { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.1rem, 6.2vw, 5.2rem); line-height: 1.04; margin-bottom: 1.4rem; }
.hero-title .ln { display: block; }
.hero-title .w { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; transform-origin: 50% 100%; }
html:not(.no-js) .hero-title .ch { opacity: 0; transform: translateY(70%) rotateX(-85deg); }
.hero-title { perspective: 600px; }
.hero.go .hero-title .ch { opacity: 1; transform: none; transition: transform 1.1s var(--ease), opacity .8s; transition-delay: calc(var(--d) * 32ms + 150ms); }
.hero-title .sun-text .ch { background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 2rem 0 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; color: var(--light); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-chips i { color: var(--sun-a); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; color: var(--light-mute); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--sun-a)); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--sun-a); animation: cue 2.2s infinite; }
@keyframes cue { from { top: -6px; } to { top: 46px; } }

/* Sun portal: round photo backlit by the shader sun, with a tilted orbit ring and floating glass cards */
.portal { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; perspective: 1100px; transform-style: preserve-3d; }
.portal > * { transform-style: preserve-3d; }
.p-wrap { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.p-halo { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 120, .55), rgba(255, 125, 107, .18) 45%, transparent 68%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }
.p-disc { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255, 211, 138, .55); box-shadow: 0 0 0 10px rgba(255, 211, 138, .07), 0 0 90px -10px rgba(255, 160, 101, .75), 0 40px 80px -30px rgba(0, 0, 0, .8); transform: translateZ(30px); }
.p-disc img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.p-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(200deg, rgba(255, 190, 120, .35), transparent 45%, rgba(4, 24, 32, .45)); }
.p-orbit { position: absolute; inset: -2%; border-radius: 50%; border: 1.5px dashed rgba(255, 211, 138, .45); transform: rotateX(72deg) rotateZ(0); animation: orbit 30s linear infinite; }
.p-orbit::before { content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--sun-a); box-shadow: 0 0 18px 4px rgba(255, 160, 101, .8); }
@keyframes orbit { to { transform: rotateX(72deg) rotateZ(360deg); } }
.p-card { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem .8rem .8rem; border-radius: 18px; background: rgba(7, 42, 54, .62); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); font-size: .85rem; line-height: 1.35; animation: bob 7s ease-in-out infinite; }
.p-card strong { display: block; font-size: .95rem; }
.p-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sun); color: var(--abyss); font-size: 1.1rem; flex: none; }
.pc-a { left: -4%; top: 16%; transform: translateZ(90px); }
.pc-b { right: -6%; bottom: 14%; transform: translateZ(120px); animation-delay: -3.5s; }
@keyframes bob { 50% { margin-top: -12px; } }
@media (max-width: 575.98px) { .pc-a { left: 0; top: 6%; } .pc-b { right: 0; bottom: 4%; } .p-card { font-size: .78rem; padding: .6rem .8rem .6rem .6rem; } .p-card .ic { width: 34px; height: 34px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.shell { background: var(--shell); }
.sand { background: var(--sand); }
.deep { background: radial-gradient(120% 80% at 80% 0%, #0d4250 0%, var(--deep) 40%, var(--abyss) 100%); color: var(--light); overflow: hidden; }
.deep p { color: var(--light-mute); }
@media (max-width: 767.98px) { .section { padding: 80px 0; } }

/* Rising headings */
.rise .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rise .ln > span { display: inline-block; transform-origin: 50% 100%; }
html:not(.no-js) .rise .ln > span { transform: translateY(105%) rotateX(-40deg); opacity: 0; }
html:not(.no-js) .rise.in .ln > span { transform: none; opacity: 1; transition: transform 1s var(--ease), opacity .7s; }
.rise.in .ln:nth-child(2) > span { transition-delay: .12s; }
.rise.in .ln:nth-child(3) > span { transition-delay: .24s; }
html:not(.no-js) .reveal, html:not(.no-js) .fade-up { opacity: 0; transform: translateY(36px); }
html:not(.no-js) .reveal.in, html:not(.no-js) .fade-up.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--dl, 0s); }

/* About: 3D depth gallery driven by scroll */
.depth { position: relative; height: 560px; perspective: 1200px; transform-style: preserve-3d; }
.dp { position: absolute; margin: 0; overflow: hidden; border-radius: 26px; box-shadow: 0 40px 70px -35px rgba(4, 24, 32, .6); will-change: transform; }
.dp img { width: 100%; height: 100%; object-fit: cover; }
.dp-a { left: 0; top: 0; width: 66%; height: 86%; transform: translate3d(0, calc(var(--p, 0) * 40px), -60px) rotateY(calc(var(--p, 0) * 10deg)); }
.dp-b { right: 0; bottom: 0; width: 48%; height: 62%; border: 8px solid var(--shell); transform: translate3d(0, calc(var(--p, 0) * -70px), 60px) rotateY(calc(var(--p, 0) * -8deg)); }
.dp-c { right: 6%; top: 2%; width: 30%; aspect-ratio: 1; height: auto; border-radius: 50%; border: 6px solid var(--shell); transform: translate3d(0, calc(var(--p, 0) * -120px), 120px); }
.dp-sun { position: absolute; left: 44%; top: 40%; width: 180px; height: 180px; border-radius: 50%; background: var(--sun); opacity: .9; transform: translate3d(0, calc(var(--p, 0) * 90px), -140px); z-index: -1; }
.about-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-points li { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line-l); }
.about-points .ic, .info .ic, .j-step .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--deep); color: var(--sun-a); font-size: 1.1rem; }
.about-points strong { display: block; line-height: 1.3; }
.about-points span { font-size: .9rem; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 575.98px) { .depth { height: 420px; } .about-points { grid-template-columns: 1fr; } }

/* Scroll-lit quote */
.lit-quote { position: relative; padding: 150px 0; background: var(--abyss); overflow: hidden; text-align: center; }
.lq-bg { position: absolute; inset: -10% 0; }
.lq-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(.8); transform: translateY(calc(var(--p, 0) * 8%)) scale(1.1); }
.lq-shade { position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 50%, rgba(4, 24, 32, .55), rgba(4, 24, 32, .92)); }
.lq-text { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.15rem, 2.7vw, 2.15rem); line-height: 1.45; color: #fff; max-width: 1000px; margin: 0 auto 1.6rem; }
.lq-text span { opacity: .16; transition: opacity .4s, color .4s; }
.lq-text span.lit { opacity: 1; }
.lq-text span.lit:nth-child(n+7):nth-child(-n+9) { color: var(--sun-a); }
.lq-sign { color: var(--light-mute); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }

/* Why: pinned horizontal drift */
.drift-sec { position: relative; background: linear-gradient(180deg, var(--abyss), var(--deep)); color: var(--light); }
.drift-pin { padding: 110px 0 90px; overflow: hidden; }
.drift-head { margin-bottom: 2.6rem; }
.drift-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 30px 0 40px; perspective: 1400px; }
.drift-track::-webkit-scrollbar { display: none; }
.drift-row { display: flex; gap: 26px; padding: 0 max(16px, calc((100vw - 1296px) / 2 + 12px)); width: max-content; transform-style: preserve-3d; }
.drift-card { scroll-snap-align: center; width: min(78vw, 360px); flex: none; position: relative; padding: 1.8rem; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid var(--line-d); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); transform: translateY(var(--ty, 0)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0)); transition: border-color .4s; will-change: transform; }
.drift-card.has-pic { padding-top: 1.2rem; }
.drift-card:not(.has-pic) { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.drift-card .wm { position: absolute; right: -14px; top: -26px; font-size: 10rem; line-height: 1; color: #fff; opacity: .05; }
.d-glow { position: absolute; left: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 160, 101, .22), transparent 65%); pointer-events: none; }
.drift-card figure { margin: 0 0 1.3rem; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; }
.drift-card figure img { width: 100%; height: 100%; object-fit: cover; }
.drift-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sun); color: var(--abyss); font-size: 1.35rem; margin-bottom: 1.1rem; box-shadow: 0 12px 26px -10px rgba(255, 125, 107, .8); }
.drift-card h3 { font-size: 1.3rem; font-weight: 700; color: #fff; }
.drift-card p { color: var(--light-mute); margin: 0; }
.drift-card.near { border-color: rgba(255, 211, 138, .45); }
.drift-line { height: 2px; background: var(--line-d); border-radius: 2px; position: relative; }
.drift-line span { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--dp, 0) * 100%); background: var(--sun); border-radius: 2px; }
.drift-line span::after { content: ""; position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun-a); box-shadow: 0 0 14px 3px rgba(255, 160, 101, .8); }
.drift-sec.pinned { height: var(--h, 300vh); }
.drift-sec.pinned .drift-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 40px; }
.drift-sec.pinned .drift-track { overflow: visible; scroll-snap-type: none; }
.drift-sec.pinned .drift-row { transform: translateX(var(--tx, 0)); }

/* Services: 3D ring carousel */
.ring-sec { overflow: hidden; }
.ring-stage { position: relative; height: 600px; perspective: 1700px; perspective-origin: 50% 30%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; margin-top: 10px; }
.ring-stage.drag { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: 20px; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--R) * -1)) rotateY(var(--a, 0deg)); --R: 560px; --cw: 310px; }
.ring.anim { transition: transform .9s var(--ease); }
.r-card { position: absolute; left: calc(var(--cw) / -2); top: 0; width: var(--cw); transform: rotateY(calc(var(--i) * 36deg)) translateZ(var(--R)); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: opacity .6s, filter .6s; }
.r-in { border-radius: 26px; background: #fff; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(4, 24, 32, .55); border: 1px solid var(--line-l); transition: transform .6s var(--ease); }
.r-card:not(.front) { opacity: .55; filter: saturate(.6); }
.r-card.front .r-in { transform: translateY(-10px); box-shadow: 0 50px 80px -40px rgba(4, 24, 32, .7), 0 0 0 2px rgba(255, 160, 101, .6); }
.r-in figure { margin: 0; position: relative; aspect-ratio: 6 / 5; overflow: hidden; }
.r-in figure img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease); }
.r-card.front figure img { transform: scale(1.06); }
.r-ic { position: absolute; left: 16px; bottom: -22px; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--sun); color: var(--abyss); font-size: 1.3rem; box-shadow: 0 10px 22px -8px rgba(255, 125, 107, .8); }
.r-in figure { overflow: visible; }
.r-in figure img { border-radius: 0; }
.r-in figure::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(4, 24, 32, .35)); pointer-events: none; }
.r-ic { z-index: 2; }
.r-body { padding: 2rem 1.4rem 1.5rem; }
.r-body h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: .45rem; }
.r-body p { color: var(--muted); font-size: .95rem; line-height: 1.55; min-height: 4.65em; margin-bottom: 1rem; }
.r-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: .55rem 1rem; border-radius: 999px; background: var(--sand); transition: background .3s, color .3s; }
.r-link:hover, .r-card.front .r-link { background: var(--deep); color: #fff; }
.ring-ctrl { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.ring-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .14em; min-width: 260px; text-align: center; color: var(--sea); }
.rc-btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(11, 37, 48, .25); background: #fff; color: var(--ink); font-size: 1.15rem; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.rc-btn:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.rc-btn.light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; }
.rc-btn.light:hover { background: var(--sun-a); color: var(--abyss); }
@media (max-width: 767.98px) {
  .ring-stage { height: 560px; perspective: 1100px; }
  .ring { --R: 400px; --cw: 260px; }
  .ring-name { min-width: 0; flex: 1; font-size: .68rem; }
}
.no-ring .ring-stage { height: auto; perspective: none; cursor: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 0 30px; }
.no-ring .ring { position: static; transform: none; display: flex; gap: 20px; width: max-content; height: auto; padding: 0 16px; }
.no-ring .r-card { position: relative; left: 0; transform: none; opacity: 1; filter: none; scroll-snap-align: center; }
.no-ring .ring-ctrl { display: none; }

/* Testimonials: 3D deck */
.deck { position: relative; height: 400px; perspective: 1400px; transform-style: preserve-3d; outline: none; touch-action: pan-y; }
.d-card { position: absolute; inset: 0 0 auto; height: 340px; margin: 0; padding: 2.2rem 2.2rem 1.8rem; border-radius: 28px; background: linear-gradient(150deg, #fdf9f3, #f1e6d8); color: var(--ink); box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .8); display: flex; flex-direction: column; transform-origin: 50% 120%; transition: transform .8s var(--ease), opacity .6s; will-change: transform; cursor: grab; user-select: none; -webkit-user-select: none; }
.d-card .q-mark { font-size: 2.6rem; line-height: 1; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d-card blockquote { font-size: 1.16rem; line-height: 1.6; margin: .6rem 0 auto; font-weight: 500; }
.d-card figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line-l); }
.d-card .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--sun-a); font-weight: 800; font-size: .9rem; flex: none; }
.d-card figcaption strong { display: block; line-height: 1.2; }
.d-card figcaption em { font-style: normal; color: var(--muted); font-size: .9rem; }
.d-card .stars { margin-left: auto; color: var(--sun-b); font-size: .8rem; white-space: nowrap; }
.d-card.dragging { transition: none; cursor: grabbing; }
.deck-ctrl { display: flex; gap: .8rem; margin-top: 1.8rem; }
@media (max-width: 575.98px) { .deck { height: 470px; } .d-card { height: 410px; padding: 1.6rem; } .d-card blockquote { font-size: 1.04rem; } .d-card .stars { display: none; } }

/* Blog: rack-focus cards */
.focus-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border-radius: 26px; background: #fff; border: 1px solid var(--line-l); overflow: hidden; transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s; }
.focus-card:hover { color: var(--ink); transform: perspective(900px) translateY(-8px) rotateX(4deg); box-shadow: 0 40px 60px -35px rgba(4, 24, 32, .5); }
.fc-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.4s var(--ease); }
html:not(.no-js) .focus-card .fc-img img { filter: blur(10px) saturate(.6); transform: scale(1.12); }
html:not(.no-js) .focus-card.in .fc-img img { filter: none; transform: scale(1); transition-delay: .2s; }
html:not(.no-js) .focus-card.in:hover .fc-img img { transform: scale(1.06); transition-delay: 0s; }
.fc-cat { position: absolute; left: 16px; top: 16px; padding: .35rem .8rem; border-radius: 999px; background: rgba(4, 24, 32, .72); color: var(--sun-a); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fc-cat.static { position: static; display: inline-block; margin-bottom: 1rem; }
.fc-txt { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.fc-txt h3 { font-size: 1.22rem; font-weight: 800; line-height: 1.35; }
.fc-txt p { color: var(--muted); font-size: .96rem; }
.more { margin-top: auto; font-weight: 700; color: var(--sea); display: inline-flex; gap: .4rem; align-items: center; }
.focus-card:hover .more i { transform: translateX(4px); }
.more i { transition: transform .3s; }
.focus-card.wide { flex-direction: row; }
.focus-card.wide .fc-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 380px; }
.focus-card.wide .fc-txt { padding: 2.4rem; justify-content: center; }
.focus-card.wide h3 { font-size: 1.7rem; }
@media (max-width: 767.98px) { .focus-card.wide { flex-direction: column; } .focus-card.wide .fc-img { min-height: 0; aspect-ratio: 3 / 2; } .focus-card.wide .fc-txt { padding: 1.5rem; } .focus-card.wide h3 { font-size: 1.3rem; } }

/* FAQ */
.faq .accordion-item { border: 0; background: #fff; border-radius: 20px !important; margin-bottom: .9rem; overflow: hidden; box-shadow: 0 16px 36px -28px rgba(4, 24, 32, .5); }
.faq .accordion-button { gap: .9rem; font-weight: 700; font-size: 1.04rem; color: var(--ink); background: #fff; padding: 1.2rem 1.4rem; box-shadow: none; }
.faq .accordion-button::after { background-image: none; content: "\F4FE"; font-family: "bootstrap-icons"; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transform: none; transition: transform .4s, background .3s; flex: none; }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(135deg); background: var(--sun-a); }
.faq .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(11, 37, 48, .2); flex: none; transition: background .3s, box-shadow .3s; }
.faq .accordion-button:not(.collapsed) .dot { background: var(--sun-b); box-shadow: 0 0 12px 3px rgba(255, 160, 101, .6); }
.faq .accordion-body { padding: 0 1.4rem 1.3rem 3.3rem; color: var(--muted); }
.faq-photo { position: relative; margin: 2rem 0 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.2; max-width: 440px; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4, 24, 32, .7)); }
.faq-photo figcaption { position: absolute; left: 18px; bottom: 18px; z-index: 1; }
.faq-photo figcaption a { display: inline-flex; gap: .5rem; align-items: center; padding: .65rem 1.1rem; border-radius: 999px; background: var(--sun); color: var(--abyss); font-weight: 700; text-decoration: none; }

/* Sunrise finale */
.sunrise { position: relative; padding: 170px 0 150px; background: var(--abyss); overflow: hidden; text-align: center; color: #fff; isolation: isolate; }
.sr-bg { position: absolute; inset: 0; z-index: -3; }
.sr-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.7); transform: scale(calc(1.15 - var(--p, 0) * .1)); }
.sr-sun { position: absolute; left: 50%; bottom: 26%; width: min(78vw, 560px); aspect-ratio: 1; margin-left: calc(min(78vw, 560px) / -2); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffe6b2, #ffa065 55%, #ff7d6b 80%); box-shadow: 0 0 140px 30px rgba(255, 140, 90, .45); transform: translateY(calc((1 - var(--p, 1)) * 70%)); z-index: -2; opacity: .92; }
.sr-rays { position: absolute; left: 50%; bottom: 26%; width: 180vmax; height: 180vmax; margin: 0 0 -90vmax -90vmax; z-index: -2; background: repeating-conic-gradient(from 0deg, rgba(255, 211, 138, .11) 0 4deg, transparent 4deg 12deg); -webkit-mask: radial-gradient(circle, #000 0, transparent 55%); mask: radial-gradient(circle, #000 0, transparent 55%); animation: rays 80s linear infinite; opacity: var(--p, 1); }
@keyframes rays { to { transform: rotate(360deg); } }
.sr-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: -1; background: linear-gradient(180deg, rgba(7, 42, 54, .97), var(--abyss)); }
.sr-shade::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 190, 120, .16) 0 2px, transparent 2px 12px); -webkit-mask: radial-gradient(40% 100% at 50% 0, #000, transparent); mask: radial-gradient(40% 100% at 50% 0, #000, transparent); }
.sr-line { position: absolute; left: 0; right: 0; bottom: 26%; height: 2px; z-index: -1; background: linear-gradient(90deg, transparent, var(--sun-a), transparent); box-shadow: 0 0 20px 2px rgba(255, 160, 101, .6); }
.sunrise::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 50% 30%, rgba(4, 24, 32, .2), rgba(4, 24, 32, .75)); }
.sr-in { max-width: 820px; margin: 0 auto; position: relative; }
.sr-in p { font-size: 1.14rem; color: #f3e6da; margin-bottom: 2rem; text-shadow: 0 2px 20px rgba(4, 24, 32, .8); }
.sr-in .disp { text-shadow: 0 6px 40px rgba(4, 24, 32, .6); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 170px 0 110px; background: var(--abyss); color: #fff; overflow: hidden; isolation: isolate; min-height: 560px; display: flex; align-items: center; }
.page-hero > .container { z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; color: var(--light-mute); margin-bottom: 1.4rem; }
.crumbs a { color: var(--sun-a); text-decoration: none; }
.crumbs i { font-size: .7rem; }
.window3d { position: relative; perspective: 1200px; max-width: 430px; margin-left: auto; }
.win-in { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 7 / 8; border: 1px solid rgba(255, 211, 138, .4); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(255, 160, 101, .5); transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 5deg)); transition: transform .7s var(--ease); }
.win-in img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.win-glow { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 211, 138, .3), transparent 35%, transparent 70%, rgba(4, 24, 32, .5)); }
.win-line { position: absolute; left: 8%; right: 8%; bottom: -28px; height: 2px; background: linear-gradient(90deg, transparent, var(--sun-a), transparent); box-shadow: 0 0 18px 2px rgba(255, 160, 101, .6); }
html:not(.no-js) .window3d { opacity: 0; transform: translateY(60px) rotateX(20deg); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
html:not(.no-js) .window3d.in { opacity: 1; transform: none; }
.post-hero { min-height: 0; padding: 170px 0 150px; text-align: center; }
.post-head { max-width: 900px; margin: 0 auto; }
.post-head .crumbs { justify-content: center; }
.post-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; color: #fff; }
.post-by { color: var(--light-mute); display: inline-flex; gap: .5rem; align-items: center; margin: .6rem 0 0; }
.post-body { padding-top: 0; }
.post-img { margin: -90px 0 2.4rem; position: relative; z-index: 3; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(4, 24, 32, .7); transition: transform .6s var(--ease); }
.post-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body .sidebar { margin-top: 0; }
@media (min-width: 992px) { .post-body .sidebar { position: sticky; top: 100px; } }
@media (max-width: 991.98px) { .page-hero { min-height: 0; padding: 140px 0 80px; } .post-hero { padding-bottom: 130px; } }

/* About page: folding triptych */
.fold { display: flex; aspect-ratio: 4 / 3.2; perspective: 1400px; border-radius: 26px; }
.f-panel { flex: 1; position: relative; background: url("../img/fold-photo.jpg") no-repeat; background-size: 300% 100%; box-shadow: 0 30px 60px -35px rgba(4, 24, 32, .6); transition: transform .2s linear; }
.f-panel:nth-child(1) { background-position: 0 50%; border-radius: 26px 0 0 26px; transform-origin: 100% 50%; transform: rotateY(calc((1 - var(--f, 1)) * 38deg)); }
.f-panel:nth-child(2) { background-position: 50% 50%; transform: translateZ(calc((1 - var(--f, 1)) * -40px)); }
.f-panel:nth-child(3) { background-position: 100% 50%; border-radius: 0 26px 26px 0; transform-origin: 0 50%; transform: rotateY(calc((1 - var(--f, 1)) * -38deg)); }
.f-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(4, 24, 32, .5), transparent); opacity: calc((1 - var(--f, 1)) * 1); }
.f-panel:nth-child(3)::after { background: linear-gradient(270deg, rgba(4, 24, 32, .5), transparent); }
.f-panel:nth-child(2)::after { background: rgba(255, 190, 120, .25); }
.glass-card { position: relative; height: 100%; padding: 2.2rem; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); border: 1px solid var(--line-d); overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.glass-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sun); color: var(--abyss); font-size: 1.4rem; margin-bottom: 1.2rem; }
.glass-card h3 { color: #fff; font-size: 1.3rem; font-weight: 700; }
.glass-card p { margin: 0; }
.g-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 211, 138, .18), transparent 60%); }
.journey { position: relative; }
.j-line { position: relative; height: 2px; background: var(--line-l); margin: 0 0 2.4rem; border-radius: 2px; }
.j-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--jp, 0) * 100%); background: var(--sun); border-radius: 2px; }
.j-sun { position: absolute; top: -9px; left: calc(var(--jp, 0) * 100%); width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 20px 5px rgba(255, 160, 101, .6); }
.j-step { height: 100%; padding: 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--line-l); }
.j-step h3 { font-size: 1.2rem; font-weight: 800; margin: 1rem 0 .4rem; }
.j-step p { color: var(--muted); margin: 0; font-size: .96rem; }
.name-photo { position: relative; margin: 0; border-radius: 28px; overflow: visible; transition: transform .6s var(--ease); }
.name-photo img { border-radius: 28px; width: 100%; aspect-ratio: 14 / 11; object-fit: cover; box-shadow: 0 40px 70px -35px rgba(4, 24, 32, .6); position: relative; }
.np-sun { position: absolute; right: -26px; top: -26px; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); z-index: -1; box-shadow: 0 0 60px rgba(255, 160, 101, .6); }
.name-photo { z-index: 0; }
.name-list > div { display: flex; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-l); }
.name-list strong { font-family: var(--display); text-transform: uppercase; font-size: .9rem; min-width: 110px; color: var(--sea); padding-top: .2rem; }
.name-list span { color: var(--muted); }

/* ---------- Blog page ---------- */
.blog-sub { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 2.4rem; border-radius: 28px; background: radial-gradient(90% 140% at 100% 0, var(--tide), var(--abyss)); }
.blog-sub .disp { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.6rem); }

/* Prose + sidebar */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin: 2.2rem 0 .8rem; }
.prose ul { padding-left: 0; list-style: none; margin-bottom: 1.4rem; }
.prose ul li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 6px; border-radius: 12px 12px 0 0; background: var(--sun); }
.pull { margin: 2rem 0; padding: 1.6rem 1.8rem; border-radius: 22px; background: var(--deep); color: #fff; font-size: 1.15rem; font-weight: 600; border-left: 4px solid var(--sun-b); }
.disclaimer { margin-top: 2rem; font-size: .9rem; color: var(--muted); font-style: italic; }
.post-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.8rem; border-radius: 24px; background: var(--sand); }
.post-cta h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 .2rem; }
.post-cta p { margin: 0; color: var(--muted); }
.sidebar { display: grid; gap: 1.2rem; }
.side-box { padding: 1.6rem; border-radius: 24px; background: #fff; border: 1px solid var(--line-l); }
.side-box h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.side-box.dark { background: radial-gradient(120% 120% at 100% 0, var(--tide), var(--abyss)); color: #fff; border: 0; }
.side-box.dark p { color: var(--light-mute); }
.side-post { display: flex; gap: .9rem; align-items: center; text-decoration: none; color: var(--ink); padding: .6rem 0; border-bottom: 1px solid var(--line-l); }
.side-post:last-child { border-bottom: 0; }
.side-post img { width: 80px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.side-post span { font-weight: 700; font-size: .92rem; line-height: 1.35; }
.side-post em { display: block; font-style: normal; color: var(--sea); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.side-post:hover { color: var(--sea); }
.toc { position: sticky; top: 100px; padding: 1.6rem; border-radius: 24px; background: #fff; border: 1px solid var(--line-l); }
.toc h3 { font-size: 1rem; font-weight: 800; margin-bottom: .8rem; }
.toc a { display: block; padding: .4rem 0 .4rem .9rem; color: var(--muted); text-decoration: none; border-left: 2px solid var(--line-l); font-size: .95rem; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--sun-b); }
.legal section { scroll-margin-top: 100px; }
.legal h2 { margin-top: 1.8rem; }
.updated { color: var(--muted); font-size: .92rem; }

/* ---------- Contact + forms ---------- */
.info-list { display: grid; gap: .9rem; margin-top: 1.8rem; }
.info { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 20px; background: #fff; border: 1px solid var(--line-l); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
a.info:hover { color: var(--ink); transform: translateX(6px); box-shadow: 0 20px 40px -28px rgba(4, 24, 32, .6); }
.info strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sea); }
.info span { overflow-wrap: anywhere; }
.form-card { padding: 2.4rem; border-radius: 28px; background: #fff; box-shadow: 0 40px 80px -50px rgba(4, 24, 32, .55); border: 1px solid var(--line-l); }
.form-card h3 { font-size: 1.45rem; font-weight: 800; }
.form-card > p { color: var(--muted); }
.form-label { font-weight: 700; font-size: .92rem; }
.form-control, .form-select { border-radius: 14px; border: 1.5px solid rgba(11, 37, 48, .16); padding: .8rem 1rem; background-color: var(--shell); }
.form-control:focus, .form-select:focus { border-color: var(--sun-b); box-shadow: 0 0 0 4px rgba(255, 160, 101, .2); background-color: #fff; }
.form-check-input:checked { background-color: var(--deep); border-color: var(--deep); }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid rgba(11, 37, 48, .16); cursor: pointer; font-weight: 600; font-size: .92rem; transition: all .25s; }
.seg .btn-check:checked + label { background: var(--deep); color: #fff; border-color: var(--deep); }
.seg .btn-check:focus-visible + label { outline: 2px solid var(--sun-b); outline-offset: 2px; }
.form-success { display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 16px; background: #e5f4ef; color: #0d5a49; font-weight: 600; }
.form-success.show { display: block; }
.perk-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.perk-list li { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; background: #fff; border-radius: 18px; border: 1px solid var(--line-l); font-weight: 600; }
.perk-list i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sun); color: var(--abyss); flex: none; }
.map-wrap { background: var(--shell); padding-bottom: 110px; }
.map-frame { position: relative; border-radius: 30px; overflow: hidden; height: 440px; box-shadow: 0 40px 80px -50px rgba(4, 24, 32, .6); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-card { position: absolute; left: 20px; bottom: 20px; display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; border-radius: 20px; background: var(--abyss); color: #fff; max-width: calc(100% - 40px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.map-card .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--sun); color: var(--abyss); flex: none; }
.map-card strong { display: block; }
.map-card span span { color: var(--light-mute); }
@media (max-width: 575.98px) { .form-card { padding: 1.5rem; } .map-frame { height: 380px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--abyss); color: var(--light-mute); padding: 100px 0 30px; overflow: hidden; }
.foot-sun { position: absolute; left: 50%; top: -340px; width: 640px; height: 640px; margin-left: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 160, 101, .32), transparent 65%); pointer-events: none; }
.news-band { padding: 2.4rem; border-radius: 30px; background: linear-gradient(140deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid var(--line-d); margin-bottom: 4rem; }
.news-band .disp { font-size: clamp(1.1rem, 2.3vw, 1.7rem); margin-bottom: .6rem; }
.site-footer .brand { color: #fff; }
.site-footer h3 { font-family: var(--display); color: #fff; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--light-mute); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--sun-a); }
.socials { display: flex; gap: .55rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); color: #fff; transition: background .3s, color .3s, transform .3s; }
.socials a:hover { background: var(--sun-a); color: var(--abyss); transform: translateY(-3px); }
.foot-contact { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 3rem 0 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.foot-contact a { display: inline-flex; gap: .55rem; align-items: center; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.foot-contact i { color: var(--sun-a); }
.bottom { font-size: .9rem; }
.bottom .sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--light-mute); margin: 0 .8rem; vertical-align: middle; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--abyss); font-size: 1.2rem; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(255, 125, 107, .8); opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--abyss); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.dawn-on .dawn { display: none; }
  html:not(.no-js) .reveal, html:not(.no-js) .fade-up, html:not(.no-js) .rise .ln > span, html:not(.no-js) .hero-title .ch, html:not(.no-js) .window3d { opacity: 1; transform: none; }
  html:not(.no-js) .focus-card .fc-img img { filter: none; transform: none; }
  .lq-text span { opacity: 1; }
}
