/* ==========================================================================
   Ororo Waste Management - stylesheet (v2, motion-led)
   Concept: liquid gold. Amber oil moving over deep navy.
   Palette: ink navy, Ororo blue, oil amber, mist.  Type: Bricolage Grotesque + Figtree.
   No inline styles anywhere in the HTML, so a strict Content-Security-Policy works.
   ========================================================================== */

:root {
  --ink: #06123f;
  --ink-soft: #0d1f66;
  --footer: #040c2e;
  --blue: #0b5cff;
  --blue-deep: #0846c7;
  --blue-tint: #e6efff;
  --amber: #f2a31b;
  --amber-light: #ffd166;
  --amber-deep: #dc8f07;
  --mist: #eef3fa;
  --line: #dbe3f1;
  --text: #34415f;
  --muted: #5b6785;
  --white: #fff;

  --radius: 6px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .banner :focus-visible, .site-footer :focus-visible, .cta :focus-visible, .site-header:not(.is-solid) :focus-visible, .panel:focus-visible { outline-color: var(--amber); }

/* Fine film grain over everything: takes the digital flatness off */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.82); overflow: hidden; overflow: clip; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); z-index: 120; font-weight: 700; }
.skip:focus { top: 12px; }
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h2, .h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.05; font-weight: 720; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 650; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--ink .lead { color: rgba(255, 255, 255, 0.78); }

/* Scroll progress (element added by JS) */
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--amber), var(--amber-light)); transform: scaleX(0); transform-origin: left; z-index: 110; pointer-events: none; }

/* ---------- Kinetic words ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.w__i { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 65ms + 120ms); }
[data-split].is-in .w__i { transform: none; }
.is-ready .slide.is-active [data-split] .w__i { transform: none; transition-delay: calc(var(--i, 0) * 80ms + 350ms); }

/* Scroll-scrubbed sentence: words light up as you read down */
.sw { opacity: 0.2; transition: opacity 0.5s ease; }
.sw.is-lit { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-56px); }
.js [data-reveal="right"] { transform: translateX(56px); }
.js [data-reveal="scale"] { transform: scale(0.9); }
.js [data-reveal="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="wipe"] img { transform: scale(1.3); transition: transform 1.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="wipe"].is-in { clip-path: inset(1 1 1 1); }
.js [data-reveal="wipe"].is-in img { transform: none; }

/* ---------- Liquid blobs (SVG goo filter defined in page sprite) ---------- */
.blobs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; filter: url(#goo); opacity: 0.42; }
.blobs span { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--amber-light), var(--amber) 55%, #c9780a); animation: drift var(--d, 14s) ease-in-out var(--dl, 0s) infinite alternate; will-change: transform; }
.blobs span:nth-child(1) { width: 300px; height: 300px; right: -60px; top: 6%; --d: 15s; }
.blobs span:nth-child(2) { width: 170px; height: 170px; right: 26%; bottom: 12%; --d: 11s; --dl: -3s; }
.blobs span:nth-child(3) { width: 240px; height: 240px; left: -70px; bottom: -40px; --d: 17s; --dl: -6s; }
.blobs span:nth-child(4) { width: 110px; height: 110px; right: 42%; top: 16%; --d: 9s; --dl: -2s; }
.blobs span:nth-child(5) { width: 200px; height: 200px; left: 38%; bottom: -80px; --d: 13s; --dl: -8s; }
.blobs--sm span:nth-child(1) { width: 200px; height: 200px; }
.blobs--sm span:nth-child(3) { width: 150px; height: 150px; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 50px, 0) scale(1.18); }
  100% { transform: translate3d(50px, -70px, 0) scale(0.9); }
}
[data-pause].is-offscreen *, [data-pause].is-offscreen *::before, [data-pause].is-offscreen *::after { animation-play-state: paused !important; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.8rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.35); transform: translateX(-110%) skewX(-22deg); transition: transform 0.7s var(--ease); }
.btn:hover::after { transform: translateX(110%) skewX(-22deg); }
.btn--amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(242, 163, 27, 0.9); }
.btn--amber:hover { background: var(--amber-light); color: var(--ink); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 30px -12px rgba(11, 92, 255, 0.8); }
.btn--blue:hover { background: var(--blue-deep); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-soft); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.7rem 1.3rem; font-size: 0.95rem; }
.textlink { font-weight: 700; }

/* ---------- Header (transparent over the hero, glass once you scroll) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--white); transition: background-color 0.4s, box-shadow 0.4s; }
html:not(.js) .site-header { position: absolute; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 92px; transition: min-height 0.45s var(--ease); }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; filter: brightness(0) invert(1); transition: filter 0.3s; }
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav__list { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.nav__link { position: relative; display: block; padding: 0.6rem 0.1rem; color: var(--white); text-decoration: none; font-weight: 650; font-size: 1rem; transition: color 0.3s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__phone { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav__phone:hover { color: var(--amber); }
.nav__phone .icon { width: 1.1rem; height: 1.1rem; color: var(--amber); }
.nav__toggle { position: relative; z-index: 2; display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; width: 48px; height: 48px; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

.site-header.is-solid { background: rgba(255, 255, 255, 0.9); color: var(--ink); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .nav { min-height: 70px; }
.site-header.is-solid .brand img { filter: none; }
.site-header.is-solid .nav__link { color: var(--ink); }
.site-header.is-solid .nav__toggle { border-color: var(--line); }
.site-header.is-solid .nav__phone:hover { color: var(--blue); }

/* ---------- Hero slider ---------- */
.hero-wrap { position: relative; }
.hero { position: relative; height: 100vh; height: 100svh; min-height: 700px; max-height: 1020px; background: var(--ink); color: var(--white); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.slide.is-active .slide__img { animation: settle 12s ease-out both; }
@keyframes settle { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.slide__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 63, 0.95) 0%, rgba(6, 18, 63, 0.8) 40%, rgba(6, 18, 63, 0.22) 100%),
    linear-gradient(0deg, rgba(6, 18, 63, 0.7), transparent 40%);
}
.hero__glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(520px circle at var(--mx, 68%) var(--my, 40%), rgba(242, 163, 27, 0.3), transparent 62%); }
.hero .blobs { z-index: 2; }
.slide__inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding-top: 96px; padding-bottom: 130px; }
.slide__copy { max-width: 700px; }
.slide__title { font-size: clamp(2.6rem, 6.2vw, 6rem); line-height: 1; font-weight: 760; color: var(--white); letter-spacing: -0.04em; margin-bottom: 1.4rem; }
.slide__text, .slide__actions { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.9s var(--ease); }
.slide__text { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255, 255, 255, 0.9); max-width: 46ch; margin-bottom: 2rem; }
.is-ready .slide.is-active .slide__text { opacity: 1; transform: none; transition-delay: 0.85s; }
.is-ready .slide.is-active .slide__actions { opacity: 1; transform: none; transition-delay: 1.05s; }
html:not(.js) .slide__text, html:not(.js) .slide__actions { opacity: 1; transform: none; }

.hero__ui { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 5; }
.hero__ui-inner { display: flex; align-items: center; gap: 1.1rem; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { position: relative; width: 72px; height: 26px; background: none; border: 0; padding: 0; cursor: pointer; }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 3px; border-radius: 2px; }
.hero__dot::before { background: rgba(255, 255, 255, 0.32); }
.hero__dot::after { background: var(--amber); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-current::after { transform: scaleX(1); }
.hero.is-playing .hero__dot.is-current::after { animation: fill var(--dur, 7000ms) linear both; }
.hero.is-hover .hero__dot.is-current::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__count { display: flex; align-items: baseline; gap: 0.35rem; font-family: var(--font-head); color: rgba(255, 255, 255, 0.7); }
.hero__count b { color: var(--white); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.hero__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(6, 18, 63, 0.35); color: var(--white); display: inline-grid; place-items: center; cursor: pointer; transition: background-color 0.25s, border-color 0.25s, transform 0.35s var(--ease); }
.hero__btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.hero__btn .icon { width: 1.15rem; height: 1.15rem; }
.hero__btn .icon--play { display: none; }
.hero:not(.is-playing) .hero__btn--toggle .icon--pause { display: none; }
.hero:not(.is-playing) .hero__btn--toggle .icon--play { display: block; }
.hero__nav { display: flex; gap: 8px; margin-left: auto; }
.hero:not(.has-many) .hero__ui { display: none; }

/* Booking card: dark glass over the slider */
.hero-card-layer { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.hero-card-layer .container { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding-top: 84px; padding-bottom: 96px; }
.book-card {
  pointer-events: auto; width: min(410px, 100%); padding: 26px 28px; border-radius: 10px; color: rgba(255, 255, 255, 0.85);
  background: rgba(6, 18, 63, 0.58); border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.js .book-card { opacity: 0; transform: translateY(50px); transition: opacity 1s ease 1.1s, transform 1.2s var(--ease) 1.1s; }
.is-ready .book-card { opacity: 1; transform: none; }
.book-card h2 { color: var(--white); font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.book-card__intro { font-size: 0.92rem; line-height: 1.5; margin-bottom: 1rem; }
.book-card .form { gap: 0.75rem; }
.book-card .form__row { gap: 0.75rem; }
.book-card .field label { color: var(--white); }
.book-card .field .opt { color: rgba(255, 255, 255, 0.6); }
.book-card .field input, .book-card .field textarea { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); color: var(--white); color-scheme: dark; }
.book-card .field input::placeholder, .book-card .field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.book-card .field input:focus, .book-card .field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(242, 163, 27, 0.3); background: rgba(255, 255, 255, 0.14); }
.book-card .field textarea { min-height: 72px; }
.book-card .form__status.is-ok { color: #8cf0b6; }
.book-card .form__status.is-error { color: #ffa39b; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 0.9rem; }
.form__row { display: grid; gap: 0.9rem; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-size: 0.9rem; font-weight: 650; color: var(--ink); margin-bottom: 0.3rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid #c5d0e6; border-radius: var(--radius);
  padding: 0.75rem 0.9rem; min-height: 48px; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: #8390ad; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: 0.95rem; }
.form__status.is-ok { color: #0b6b3a; font-weight: 600; }
.form__status.is-error { color: #b42318; font-weight: 600; }

/* ---------- Tilted ribbon marquee ---------- */
.ribbon-wrap { position: relative; z-index: 8; margin-top: -70px; padding-block: 34px; overflow: hidden; pointer-events: none; }
.ribbon { width: 106%; margin-left: -3%; padding: 18px 0; background: var(--amber); color: var(--ink); transform: rotate(-1.8deg); box-shadow: 0 20px 50px -20px rgba(6, 18, 63, 0.6); overflow: hidden; }
.ribbon__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon__group { display: flex; align-items: center; flex: none; }
.ribbon__group span { font: 720 clamp(1.4rem, 2.8vw, 2.4rem)/1 var(--font-head); letter-spacing: -0.02em; padding-inline: 1.4rem; white-space: nowrap; }
.ribbon__group i { flex: none; width: 15px; height: 15px; background: var(--ink); border-radius: 0 50% 50% 50%; transform: rotate(-45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Home: about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.photo { position: relative; isolation: isolate; }
.photo::before { content: ""; position: absolute; z-index: -1; inset: -7% 8% 9% -7%; background: linear-gradient(135deg, var(--amber), var(--amber-light)); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; animation: morph 12s ease-in-out infinite alternate; }
@keyframes morph {
  0% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; transform: rotate(0deg); }
  100% { border-radius: 42% 58% 38% 62% / 58% 42% 60% 40%; transform: rotate(8deg); }
}
.photo__frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px 4px 4px 160px; }
.badge { position: absolute; z-index: 2; right: -14px; top: -38px; width: 152px; height: 152px; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); animation: spin 22s linear infinite; }
.badge__ring text { font: 600 15.5px var(--font-head); fill: var(--white); }
.badge img { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.split h2 { margin-bottom: 1.4rem; }
.stats { display: flex; gap: 3.5rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.stat b { display: block; font: 720 clamp(2.8rem, 5vw, 4rem)/1 var(--font-head); letter-spacing: -0.04em; color: var(--blue); }
.stat span { font-size: 0.95rem; color: var(--muted); }
.split .btn { margin-top: 0.75rem; }

/* ---------- Home: scrubbed statement ---------- */
.statement { padding-block: clamp(90px, 13vw, 190px); }
.statement .blobs { opacity: 0.3; }
.statement__text { position: relative; z-index: 2; max-width: 1050px; font: 640 clamp(1.9rem, 4.6vw, 3.9rem)/1.13 var(--font-head); letter-spacing: -0.03em; color: var(--white); margin: 0; }
.statement .container { position: relative; z-index: 2; }

/* ---------- Services panels (accordion) ---------- */
.head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.head-split h2 { max-width: 12ch; }
.head-split .lead { max-width: 46ch; margin: 0; }
.panels { display: flex; gap: 14px; height: clamp(520px, 74vh, 660px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--white); background: var(--ink); border-radius: 6px 6px 6px 60px; cursor: pointer; transition: flex-grow 0.9s var(--ease); }
.panel.is-open { flex-grow: 3.4; cursor: default; }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.4s var(--ease); }
.panel.is-open > img { transform: scale(1); }
.panel__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 18, 63, 0.95) 0%, rgba(6, 18, 63, 0.5) 55%, rgba(6, 18, 63, 0.6) 100%); transition: background-color 0.6s; }
.panel:not(.is-open) .panel__shade { background: linear-gradient(0deg, rgba(6, 18, 63, 0.9) 0%, rgba(6, 18, 63, 0.7) 100%); }
.panel__label { position: absolute; left: 26px; bottom: 30px; writing-mode: vertical-rl; transform: rotate(180deg); font: 650 1.4rem/1 var(--font-head); white-space: nowrap; letter-spacing: -0.01em; transition: opacity 0.4s; }
.panel.is-open .panel__label { opacity: 0; }
.panel__body { position: absolute; left: 0; bottom: 0; width: min(580px, 92vw); padding: 36px; opacity: 0; visibility: hidden; transform: translateY(28px); transition: opacity 0.4s, transform 0.5s var(--ease), visibility 0s 0.4s; }
.panel.is-open .panel__body { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s ease 0.4s, transform 0.9s var(--ease) 0.35s, visibility 0s; }
.panel .row__icon { background: var(--amber); color: var(--ink); }
.panel h3 { color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.02em; margin: 1rem 0 0.6rem; }
.panel p { color: rgba(255, 255, 255, 0.88); max-width: 44ch; margin-bottom: 1rem; }
.panel .textlink { color: var(--white); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.row__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease); }
.row__icon .icon { width: 1.6rem; height: 1.6rem; }

/* ---------- Why choose us ---------- */
.why { position: relative; z-index: 2; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.why h2 { margin-bottom: 1.4rem; }
.why > div:first-child { position: sticky; top: 130px; }
.section--ink .blobs { opacity: 0.22; }
.checks { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.check { display: grid; grid-template-columns: 34px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); transition: padding-left 0.5s var(--ease); }
.check:hover { padding-left: 14px; }
.check .icon { color: var(--amber); width: 1.85rem; height: 1.85rem; margin-top: 2px; }
.check h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.check p { margin: 0; color: rgba(255, 255, 255, 0.78); }

/* ---------- Process ---------- */
.section-head--center { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 84px); }
.section-head--center p { margin-inline: auto; }
.section-head h2 { margin-bottom: 1rem; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.steps__path { position: absolute; top: 0; left: 0; width: 100%; height: 88px; overflow: visible; pointer-events: none; }
.steps__base { fill: none; stroke: #b3c1de; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.steps__done { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; }
.steps__drop { fill: var(--amber); stroke: var(--white); stroke-width: 4; }
.step { position: relative; z-index: 1; }
.step__icon { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 0 0 9px var(--mist), 0 0 0 10px var(--line); transition: background-color 0.5s, color 0.5s, transform 0.7s var(--ease), box-shadow 0.5s; }
.step__icon .icon { width: 2rem; height: 2rem; }
.step__n { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 0.9rem/1 var(--font-body); display: grid; place-items: center; transition: background-color 0.5s, color 0.5s; }
.step.is-lit .step__icon { background: var(--amber); color: var(--ink); transform: scale(1.1); box-shadow: 0 0 0 9px var(--mist), 0 0 0 10px var(--amber), 0 20px 40px -14px rgba(242, 163, 27, 0.8); }
.step.is-lit .step__n { background: var(--white); color: var(--ink); }
.step h3 { font-size: 1.5rem; margin-bottom: 0.45rem; }
.step p { margin: 0 auto; max-width: 30ch; }
html:not(.js) .steps__path { display: none; }

/* ---------- CTA band with dripping oil ---------- */
.cta { position: relative; z-index: 3; background: var(--amber); color: var(--ink); padding-block: clamp(56px, 8vw, 104px); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--ink); margin-bottom: 0.5rem; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.cta p { margin: 0; color: var(--ink); font-size: 1.15rem; }
.cta a:not(.btn) { color: var(--ink); font-weight: 700; }
.cta__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.cta .btn--ink { box-shadow: 0 14px 30px -14px rgba(6, 18, 63, 0.9); }
.drips { position: absolute; left: 0; right: 0; top: 100%; height: 0; pointer-events: none; }
.drip { position: absolute; top: -1px; width: 14px; height: var(--h, 30px); background: var(--amber); border-radius: 0 0 7px 7px; animation: ooze var(--t, 6s) ease-in-out var(--dl, 0s) infinite; }
.drip::after { content: ""; position: absolute; left: -3px; bottom: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); }
.drip:nth-child(1) { left: 6%; --h: 22px; --t: 6s; }
.drip:nth-child(2) { left: 15%; --h: 34px; --t: 7s; --dl: -2s; }
.drip:nth-child(3) { left: 27%; --h: 16px; --t: 5s; --dl: -1s; }
.drip:nth-child(4) { left: 38%; --h: 30px; --t: 8s; --dl: -4s; }
.drip:nth-child(5) { left: 51%; --h: 20px; --t: 6.5s; --dl: -3s; }
.drip:nth-child(6) { left: 63%; --h: 36px; --t: 7.5s; --dl: -5s; }
.drip:nth-child(7) { left: 74%; --h: 18px; --t: 5.5s; --dl: -2.5s; }
.drip:nth-child(8) { left: 85%; --h: 28px; --t: 9s; --dl: -6s; }
.drip:nth-child(9) { left: 94%; --h: 20px; --t: 6s; --dl: -1.5s; }
@keyframes ooze { 0%, 100% { height: var(--h); } 50% { height: calc(var(--h) + 18px); } }
.fall { position: absolute; width: 11px; height: 15px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: var(--amber); opacity: 0; animation: fall 5s cubic-bezier(0.5, 0, 0.9, 0.6) var(--dl, 0s) infinite; }
.fall:nth-of-type(1) { left: calc(15% + 1.5px); top: 44px; --dl: 1s; }
.fall:nth-of-type(2) { left: calc(51% + 1.5px); top: 36px; --dl: 2.6s; }
.fall:nth-of-type(3) { left: calc(85% + 1.5px); top: 40px; --dl: 4s; }
@keyframes fall { 0% { transform: translateY(0) scale(0.5); opacity: 0; } 12% { opacity: 1; transform: translateY(0) scale(1); } 100% { transform: translateY(150px); opacity: 0; } }

/* ---------- Inner-page banner ---------- */
.banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(400px, 56vh, 560px); background: var(--ink); color: var(--white); overflow: hidden; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.banner__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 63, 0.94), rgba(6, 18, 63, 0.5)), linear-gradient(0deg, rgba(6, 18, 63, 0.6), transparent 50%); }
.banner .blobs { z-index: 1; }
.banner .container { position: relative; z-index: 2; }
.banner__inner { padding-block: 160px 64px; }
.banner h1 { color: var(--white); font-size: clamp(3rem, 8vw, 7rem); font-weight: 760; letter-spacing: -0.045em; line-height: 0.98; margin-bottom: 1rem; }
.crumbs { display: flex; gap: 0.6rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.crumbs a { color: var(--white); }

/* ---------- About page ---------- */
.mission { position: relative; z-index: 2; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 6vw, 96px); align-items: end; }
.mission h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4.4rem); }
.mission p { margin: 0; font-size: 1.15rem; color: rgba(255, 255, 255, 0.84); }
.blob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 110px) clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); }
.blob-item:nth-child(even) { margin-top: clamp(0px, 7vw, 110px); }
.blob-item__head { display: flex; align-items: center; gap: 14px; margin-bottom: 0.6rem; }
.blob-item__head .row__icon { width: 46px; height: 46px; }
.blob-item__head .row__icon .icon { width: 1.3rem; height: 1.3rem; }
.blob-item h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; }
.blob-item p { margin-bottom: 0.7rem; }
.blob-item:hover .row__icon { background: var(--amber); color: var(--ink); transform: rotate(-8deg) scale(1.08); }

/* ---------- Blob windows: a photo that only shows inside merging liquid shapes ---------- */
.blobwin { position: relative; isolation: isolate; margin: 0 0 1.6rem; width: 100%; aspect-ratio: 4 / 3; }
.blobwin::before { content: ""; position: absolute; z-index: -1; inset: 10% 2% -2% 12%; background: radial-gradient(closest-side, rgba(242, 163, 27, 0.32), transparent); }
.blobwin svg { display: block; width: 100%; height: 100%; }
.blobwin circle { animation: bwA var(--d, 10s) ease-in-out var(--dl, 0s) infinite alternate; }
.blobwin .b2 { animation-name: bwB; --d: 8s; --dl: -2s; }
.blobwin .b3 { animation-name: bwC; --d: 12s; --dl: -5s; }
.blobwin .b4 { animation-name: bwD; --d: 9s; --dl: -3s; }
.blobwin .b1 { --d: 13s; }
.blobwin .chaser { animation-name: bwC; --d: 7s; --dl: -1s; }
.blobwin .chaser.is-chasing { animation: none; }
@keyframes bwA { from { transform: translate(0, 0); } to { transform: translate(-18px, 14px); } }
@keyframes bwB { from { transform: translate(0, 0); } to { transform: translate(38px, -30px); } }
@keyframes bwC { from { transform: translate(0, 0); } to { transform: translate(-42px, -34px); } }
@keyframes bwD { from { transform: translate(0, 0); } to { transform: translate(-34px, 38px); } }
.values { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.values p { font-size: 1.2rem; margin: 0; }

/* ---------- Services page ---------- */
.intro { max-width: 820px; margin-bottom: clamp(24px, 4vw, 48px); }
.intro h2 { margin-bottom: 1.2rem; }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(36px, 5vw, 64px); scroll-margin-top: 110px; }
.service + .service { border-top: 1px solid var(--line); }
.service__media .blobwin { margin: 0; }
.service:nth-of-type(even) .service__media { order: 2; }
.service__title { display: flex; align-items: center; gap: 16px; margin-bottom: 1rem; }
.service__title .row__icon { width: 52px; height: 52px; }
.service__title .row__icon .icon { width: 1.4rem; height: 1.4rem; }
.service__title h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.who { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.18); margin-top: 2.5rem; }
.who li { padding: 28px 20px 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); color: var(--white); font: 650 clamp(1.2rem, 2vw, 1.6rem)/1.2 var(--font-head); letter-spacing: -0.02em; transition: color 0.3s, padding-left 0.5s var(--ease); }
.who li:hover { color: var(--amber); padding-left: 10px; }
.section--ink > .container { position: relative; z-index: 2; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { margin-bottom: 1.5rem; }
.info { border-top: 1px solid var(--line); }
.info__item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info__item:hover .row__icon { background: var(--amber); color: var(--ink); transform: rotate(-8deg) scale(1.08); }
.info__item .row__icon { width: 52px; height: 52px; }
.info__item .row__icon .icon { width: 1.35rem; height: 1.35rem; }
.info__item h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.info__item p, .info__item address { margin: 0; font-style: normal; }
.info__item a { font-weight: 600; }
.contact__form { background: var(--mist); border-radius: 10px 10px 10px 80px; padding: clamp(28px, 4vw, 48px); }
.contact__form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; align-items: center; padding-top: 160px; }
.notfound h1 { color: var(--white); font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 760; letter-spacing: -0.045em; line-height: 0.98; margin-bottom: 1.2rem; }
.notfound .container { position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: var(--footer); color: rgba(255, 255, 255, 0.78); padding-top: clamp(84px, 9vw, 120px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(24px, 4vw, 48px); }
.footer__brand img { height: 46px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.footer__brand p { max-width: 38ch; }
.site-footer h2 { color: var(--white); font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--amber); }
.footer__links li + li { margin-top: 0.55rem; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-bottom: 0.9rem; align-items: start; }
.footer__contact .icon { width: 1.15rem; height: 1.15rem; color: var(--amber); margin-top: 4px; }
.footer__contact address { font-style: normal; }
.footer__mark { display: block; margin: 0; padding-bottom: 0.02em; text-align: center; user-select: none; font: 800 clamp(6rem, 24vw, 21rem)/0.86 var(--font-head); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16); background: linear-gradient(100deg, transparent 30%, rgba(242, 163, 27, 0.55) 50%, transparent 70%) 200% 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0% { background-position: 200% 0; } 60%, 100% { background-position: -100% 0; } }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 22px; font-size: 0.92rem; position: relative; background: var(--footer); }
.footer__bar p { margin: 0; max-width: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__phone { display: none; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .slide__copy { max-width: calc(100% - 450px); }
}

@media (max-width: 1000px) {
  .hero { height: 88vh; height: 88svh; min-height: 600px; max-height: 760px; }
  .slide__inner { padding-bottom: 170px; align-items: flex-end; }
  .slide__shade { background: linear-gradient(0deg, rgba(6, 18, 63, 0.95) 12%, rgba(6, 18, 63, 0.62) 60%, rgba(6, 18, 63, 0.38) 100%); }
  .hero__ui { bottom: 100px; }
  .hero-card-layer { position: relative; inset: auto; margin-top: -76px; pointer-events: auto; }
  .hero-card-layer .container { display: block; padding: 0; }
  .book-card { width: min(100% - 2 * var(--gutter), 580px); margin-inline: auto; background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-wrap { background: var(--white); }
  .ribbon-wrap { margin-top: 0; padding-top: 44px; }
  .split, .why, .mission, .values, .contact { grid-template-columns: 1fr; }
  .why > div:first-child { position: static; }
  .photo { margin-inline: 4%; }
  .service { grid-template-columns: 1fr; }
  .service:nth-of-type(even) .service__media { order: 0; }
  .who { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 400px; flex: none; border-radius: 6px 6px 6px 48px; }
  .panel__label { display: none; }
  .panel__body { opacity: 1; visibility: visible; transform: none; width: 100%; padding: 26px; }
  .panel > img { transform: none; }
}

@media (max-width: 900px) {
  .nav { min-height: 76px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu { position: fixed; inset: 0; z-index: 1; background: var(--ink); flex-direction: column; justify-content: center; align-items: flex-start; gap: 2rem; padding: 100px var(--gutter) 48px; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
  html:not(.js) .nav__menu { position: static; opacity: 1; visibility: visible; background: transparent; flex-direction: row; flex-wrap: wrap; padding: 0 0 12px; }
  html:not(.js) .nav { flex-wrap: wrap; padding-block: 12px; }
  .site-header.nav-open .nav__menu { opacity: 1; visibility: visible; transition: opacity 0.4s; }
  .site-header.nav-open, .site-header.is-solid.nav-open { background: transparent; color: var(--white); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.nav-open .brand img { filter: brightness(0) invert(1); }
  .site-header.nav-open .nav__toggle { border-color: rgba(255, 255, 255, 0.4); }
  .nav__list { flex-direction: column; gap: 0.2rem; }
  .nav__link, .site-header.is-solid .nav__link { color: var(--white); font: 700 clamp(2rem, 9vw, 3rem)/1.15 var(--font-head); letter-spacing: -0.03em; padding: 0.3rem 0; }
  .nav__phone { display: inline-flex; color: var(--white); }
}

@media (max-width: 700px) {
  .blobs { filter: none; opacity: 0.3; }
  .blobs span:nth-child(n + 3) { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps__path { display: none; }
  .blob-grid { grid-template-columns: 1fr; }
  .blob-item:nth-child(even) { margin-top: 0; }
  .blobwin circle { animation: none; }
  .stats { gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr; }
  .hero__dot { width: 40px; }
  .hero__count { display: none; }
  .badge { width: 120px; height: 120px; right: -6px; top: -30px; }
  .badge__ring text { font-size: 14px; }
  .head-split h2 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .w__i { transform: none; }
  .sw { opacity: 1; }
  .ribbon__track { animation: none; }
  .blobs, .drips, .hero__glow { display: none; }
}
