/* ==========================================================================
   Avanzo Designs — v3 "Frost"
   Light, icy surfaces · chrome 3D built from the logo's circuit arcs
   ========================================================================== */
:root {
  --bg: #eceef3;
  --bg-hi: #f7f8fb;
  --card: #ffffff;
  --ink: #0e0d12;
  --ink-2: #47444f;
  --muted: #8a8795;
  --line: rgba(14, 13, 18, 0.1);
  --dark: #0e0d12;
  --dark-2: #18161e;
  --on-dark: #f2f0f6;
  --on-dark-2: #9a96a6;
  --line-dark: rgba(242, 240, 246, 0.1);
  --pink: #e0529c;
  --purple: #8e3f97;
  --violet: #7a44c9;
  --peach: #c45fb8;
  --sun: #f08cc0;
  --deep: #170a26;
  /* Jost echoes the geometric lettering of the logo (single-storey "a", round "o");
     Hanken Grotesk keeps body copy calm and readable. */
  --f-display: "Jost", "Century Gothic", "Futura", sans-serif;
  --f: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 3.6vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--pink); color: #fff; }

/* soft icy backdrop behind the 3D canvas */
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(55vw 55vw at 72% 38%, #ffffff 0%, rgba(255,255,255,0) 60%),
    radial-gradient(45vw 40vw at 95% 95%, rgba(196, 95, 184, 0.28), transparent 70%),
    radial-gradient(40vw 40vw at 5% 85%, rgba(122, 68, 201, 0.18), transparent 70%),
    var(--bg);
}
/* slow drifting colour glows (aurora) */
.backdrop::before, .backdrop::after {
  content: ""; position: absolute; border-radius: 50%; width: 70vw; height: 70vw;
}
.backdrop::before {
  top: -25vw; left: -20vw;
  background: radial-gradient(circle, rgba(255, 120, 190, 0.42) 0%, rgba(255, 120, 190, 0) 62%);
  animation: drift1 24s ease-in-out infinite alternate;
}
.backdrop::after {
  bottom: -30vw; right: -15vw;
  background: radial-gradient(circle, rgba(150, 90, 210, 0.36) 0%, rgba(150, 90, 210, 0) 62%);
  animation: drift2 28s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(30vw, 25vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-25vw, -30vh) scale(1.2); } }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
main, .site-footer { position: relative; z-index: 2; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
}
/* small labels borrow the wide spacing of "d e s i g n s" in the logo */
.label {
  font-family: var(--f-display);
  font-size: 13px; font-weight: 400; letter-spacing: 0.32em; text-transform: lowercase;
  color: var(--muted);
}
.num { font-variant-numeric: tabular-nums; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 46ch; margin: 0; }
.accent { color: var(--pink); }
/* highlighter swipe behind a word */
.mark {
  background: linear-gradient(100deg, rgba(196, 95, 184, 0.75), rgba(240, 140, 192, 0.75)) 0 82% / 0% 0.32em no-repeat;
  transition: background-size 0.9s var(--ease) 0.6s;
  padding: 0 0.04em;
}
.is-ready .lines.is-in .mark { background-size: 100% 0.32em; }

/* ---------- Loader (first visit only) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-hi);
  display: none; place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
}
.is-first .loader { display: grid; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__box { width: min(300px, 70vw); display: grid; gap: 22px; justify-items: center; }
.loader__box img { width: 100%; height: auto; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.1s forwards; }
.loader__bar { width: 100%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--pink)); transform-origin: left; transform: scaleX(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Page curtain (between pages) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  background: var(--dark);
  transform: translateY(100%);
  transition: transform 0.7s var(--ease-io);
}
.nav-in .curtain { transform: translateY(0); transition: none; }
.curtain.is-out { transform: translateY(-100%); transition: transform 0.8s var(--ease-io); }
.curtain.is-leaving { transform: translateY(0); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  opacity: 0; transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), opacity 0.3s;
}
.has-pointer .cursor { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor-label {
  position: fixed; top: 0; left: 0; z-index: 121; pointer-events: none;
  padding: 10px 16px; border-radius: 999px;
  background: var(--pink); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0); transition: transform 0.4s var(--ease);
  white-space: nowrap;
}
.cursor-label.is-on { transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-label { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px;
  transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 248, 251, 0.78);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { justify-self: start; display: block; }
.brand img { height: 52px; width: auto; }
.nav {
  display: flex; gap: 4px; padding: 5px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(14, 13, 18, 0.06);
}
.nav a {
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background 0.3s, color 0.3s;
}
.nav a:hover { background: rgba(14, 13, 18, 0.06); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-cta { justify-self: end; }
.menu-btn {
  display: none; justify-self: end;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff;
  position: relative;
}
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg-hi);
  padding: calc(env(safe-area-inset-top, 0px) + 110px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-io);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 500; text-transform: lowercase; letter-spacing: -0.04em;
  font-size: clamp(40px, 12vw, 68px); line-height: 1;
}
.mobile-menu nav a small { font-family: var(--f); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .nav, .site-header .header-cta { display: none; }
  .menu-btn { display: block; }
  .brand img { height: 42px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 8px 0 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: var(--ink); color: #fff;
  border: 0; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(100deg, var(--purple), var(--pink));
  clip-path: circle(0% at 50% 100%);
  transition: clip-path 0.6s var(--ease);
}
.btn:hover::before { clip-path: circle(150% at 50% 100%); }
.btn__icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 15px;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(14,13,18,0.18); padding: 0 24px; }
.btn--ghost:hover { color: #fff; box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: #fff; }
.btn--light:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.lines > .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lines > .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-ready .lines.is-in > .line > span { transform: none; }
.lines > .line:nth-child(2) > span { transition-delay: 0.08s; }
.lines > .line:nth-child(3) > span { transition-delay: 0.16s; }
.lines > .line:nth-child(4) > span { transition-delay: 0.24s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(env(safe-area-inset-top, 0px) + 110px) var(--gutter) 28px;
  gap: 24px;
}
.hero__top { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.hero__top .label { letter-spacing: 0.14em; }
.hero__title { align-self: end; font-size: clamp(52px, 10.4vw, 196px); }
.pill {
  display: inline-block; width: 1.9em; height: 0.78em; border-radius: 999px;
  background:
    radial-gradient(circle at 20% 30%, #ffd0e6 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, #b77cff 0%, transparent 50%),
    linear-gradient(110deg, var(--purple), var(--pink), #ff9fc9, var(--purple));
  background-size: 100% 100%, 100% 100%, 300% 100%;
  animation: pillflow 6s linear infinite;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4), 0 10px 30px rgba(224, 82, 156, 0.35);
  vertical-align: middle;
}
@keyframes pillflow { to { background-position: 0 0, 0 0, 300% 0; } }
@media (max-width: 640px) { .pill { display: none; } }
.hero__bottom {
  display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 32px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.scroll-hint { display: flex; align-items: center; gap: 12px; }
.scroll-hint__line { width: 64px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: sweep 2.2s var(--ease-io) infinite; }
@keyframes sweep { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
@media (max-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 20px; }
  .scroll-hint { display: none; }
}

/* ---------- Statement (words fill on scroll) ---------- */
.statement { padding: clamp(110px, 18vh, 200px) var(--gutter) clamp(80px, 12vh, 140px); max-width: 1500px; }
.words {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.3vw, 68px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 400;
  margin: 24px 0 0;
}
.words .w { opacity: 0.14; transition: opacity 0.4s; }
.words .w.on { opacity: 1; }
.words .w.hl { color: var(--pink); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(64px, 9vw, 120px); }
.trio__item {
  border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px);
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.trio__item::before {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  top: -60px; right: -60px; z-index: -1; opacity: 0.55;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 65%);
  transition: transform 0.9s var(--ease);
}
.trio__item:hover { transform: translateY(-8px); }
.trio__item:hover::before { transform: scale(1.4); }
.trio__item:nth-child(1) { background: linear-gradient(150deg, #ff7ab6, var(--pink)); color: #fff; box-shadow: 0 24px 50px rgba(224, 82, 156, 0.28); }
.trio__item:nth-child(2) { background: linear-gradient(150deg, #a774d8, var(--violet)); color: #fff; box-shadow: 0 24px 50px rgba(122, 68, 201, 0.28); }
.trio__item:nth-child(3) { background: linear-gradient(150deg, #b25ec9, var(--purple)); color: #fff; box-shadow: 0 24px 50px rgba(196, 95, 184, 0.3); }
.trio__item .label { color: currentColor; opacity: 0.8; }
.trio__item h3 { margin: 14px 0 10px; font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.trio__item p { margin: 0; opacity: 0.9; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Dark band ---------- */
.dark {
  color: var(--on-dark); position: relative; z-index: 2;
  background:
    radial-gradient(900px 700px at 8% 0%, rgba(224, 82, 156, 0.38), transparent 65%),
    radial-gradient(800px 600px at 100% 30%, rgba(122, 68, 201, 0.30), transparent 65%),
    var(--deep);
}
.dark.band-round-b {
  background:
    radial-gradient(800px 500px at 85% 100%, rgba(196, 95, 184, 0.30), transparent 65%),
    var(--deep);
}

/* ---------- 3D showcase: card, phone, poster ---------- */
/* a calm, neutral "photo studio" stage */
.showcase {
  position: relative; z-index: 2; min-height: 100vh;
  margin: clamp(40px, 6vw, 90px) var(--gutter);
  display: flex; align-items: center;
  padding: clamp(80px, 10vh, 130px) clamp(24px, 5vw, 80px);
  overflow: hidden; isolation: isolate;
  border-radius: clamp(28px, 3.4vw, 52px);
  background:
    radial-gradient(70% 80% at 72% 40%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #f6f5f7 0%, #ecebef 62%, #e2e0e6 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 40px 100px rgba(14, 13, 18, 0.07);
}
.showcase::after { /* faint floor line where the shadows land */
  content: ""; position: absolute; left: 0; right: 0; bottom: 18%; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(14, 13, 18, 0.06) 30%, rgba(14, 13, 18, 0.06) 70%, transparent);
}
.showcase__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.showcase__text { position: relative; max-width: 520px; }
.showcase .display { font-size: clamp(44px, 6vw, 104px); margin: 16px 0 26px; }
.showcase .display .soft { font-weight: 300; color: var(--ink-2); }
.showcase__list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.showcase__list li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 16px; color: var(--ink);
  transition: padding 0.5s var(--ease), color 0.3s;
}
.showcase__list li span { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.2em; color: var(--muted); min-width: 2.4em; }
.showcase__list li:hover { padding-left: 10px; }
@media (max-width: 900px) {
  .showcase { align-items: flex-start; min-height: 0; padding-bottom: 105vw; }
  .showcase::after { bottom: 9%; }
}

/* ---------- Scroll film ("journey") ---------- */
.night {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(90vw 70vw at 50% 50%, #2b1047 0%, #14081f 55%, #0a0412 100%);
}
.journey { position: relative; z-index: 2; height: 420vh; }
.journey__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.journey__cap {
  position: absolute; text-align: center; color: #fff; opacity: 0;
  padding: 0 var(--gutter); will-change: opacity, transform, filter;
}
.journey__cap p {
  margin: 14px 0 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(44px, 8vw, 140px); line-height: 0.95; letter-spacing: -0.045em;
  text-shadow: 0 10px 50px rgba(10, 4, 18, 0.6);
}
.journey__cap .label { color: rgba(255, 255, 255, 0.75); }
.journey__cap .accent { color: #ff7ab6; }
.journey__hud {
  position: absolute; left: var(--gutter); right: var(--gutter);
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, 0.75); opacity: 0;
}
.journey__hud .num { font-family: var(--f-display); font-size: 15px; letter-spacing: 0.1em; min-width: 4ch; }
.journey__bar { flex: 0 1 220px; height: 2px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; overflow: hidden; }
.journey__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--peach)); transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { .journey, .night { display: none; } }


.dark .label { color: var(--on-dark-2); }
.band-round { border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0; }
.band-round-b { border-radius: 0 0 clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px); }

/* ---------- Horizontal services ---------- */
.hs { position: relative; }
.hs__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px); }
.hs__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--gutter); flex-wrap: wrap; }
.hs__head .display { font-size: clamp(44px, 7vw, 120px); }
.hs__progress { width: 160px; height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.hs__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--pink)); transform-origin: left; transform: scaleX(0); }
.hs__track { display: flex; gap: 18px; padding: 0 var(--gutter); will-change: transform; }
.svc {
  flex: 0 0 clamp(290px, 28vw, 420px);
  height: clamp(400px, 58vh, 560px);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.svc:hover { border-color: rgba(224, 82, 156, 0.5); transform: translateY(-6px); }
.svc__top { display: flex; justify-content: space-between; }
.svc__art {
  flex: 1; border-radius: 14px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at var(--x1, 30%) var(--y1, 30%), var(--c1, var(--pink)) 0%, transparent 55%),
    radial-gradient(circle at var(--x2, 75%) var(--y2, 75%), var(--c2, var(--purple)) 0%, transparent 60%),
    #221f2a;
  display: grid; place-items: center;
}
.svc__art::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(255,255,255,0.06) 22px 23px);
  transition: transform 1.2s var(--ease);
}
.svc:hover .svc__art::after { transform: scale(1.25) rotate(8deg); }
.svc__art svg { width: 64px; height: 64px; color: #fff; position: relative; z-index: 1; transition: transform 0.9s var(--ease); filter: drop-shadow(0 6px 20px rgba(0,0,0,0.35)); }
.svc:hover .svc__art svg { transform: scale(1.12) rotate(-6deg); }
.svc h3 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 28px; letter-spacing: -0.03em; line-height: 1.05; text-transform: lowercase; }
.svc p { margin: 0; color: var(--on-dark-2); font-size: 14px; line-height: 1.5; }
.hs--static .hs__sticky { position: static; height: auto; padding-block: 96px; }
.hs--static .hs__track { flex-direction: column; transform: none !important; }
.hs--static .svc { flex-basis: auto; height: auto; }
.hs--static .svc__art { min-height: 200px; }
.hs--static .hs__progress { display: none; }

/* ---------- Clients ---------- */
.section { padding: clamp(96px, 15vh, 170px) var(--gutter); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .display { font-size: clamp(40px, 6.4vw, 108px); }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-tile {
  background: var(--card); border-radius: var(--radius);
  aspect-ratio: 5 / 4; padding: 18px;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px;
  box-shadow: 0 1px 0 rgba(14,13,18,0.04), 0 12px 32px rgba(14,13,18,0.05);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.logo-tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 24px 48px var(--tile-glow, rgba(224, 82, 156, 0.3)); background: var(--tile-tint, #fff0f7); }
.logo-tile:nth-child(4n+1) { --tile-tint: #ffeaf4; --tile-glow: rgba(224, 82, 156, 0.32); --tile-c: var(--pink); }
.logo-tile:nth-child(4n+2) { --tile-tint: #f1e9fb; --tile-glow: rgba(122, 68, 201, 0.3); --tile-c: var(--violet); }
.logo-tile:nth-child(4n+3) { --tile-tint: #fbeaf6; --tile-glow: rgba(196, 95, 184, 0.36); --tile-c: var(--peach); }
.logo-tile:nth-child(4n+4) { --tile-tint: #f6eafa; --tile-glow: rgba(142, 63, 151, 0.3); --tile-c: var(--purple); }
.logo-tile__img { display: grid; place-items: center; padding: 8% 14%; min-height: 0; height: 100%; overflow: hidden; }
.logo-tile__img img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.5s, opacity 0.5s, transform 0.6s var(--ease); }
.logo-tile:hover .logo-tile__img img { filter: none; opacity: 1; transform: scale(1.05); }
.logo-tile__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.logo-tile__meta b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-tile__arrow { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.logo-tile:hover .logo-tile__arrow { background: var(--tile-c, var(--pink)); color: #fff; transform: rotate(-45deg); }
.logo-tile__img img { mix-blend-mode: multiply; }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .logos { gap: 10px; } .logo-tile { padding: 12px; border-radius: 16px; } .logo-tile__meta { font-size: 12px; } .logo-tile__arrow { display: none; } }

/* ---------- CTA ---------- */
.cta { padding: clamp(110px, 18vh, 200px) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 36px; }
.cta .display { font-size: clamp(44px, 8.4vw, 150px); }
.cta--vivid {
  margin: 0 var(--gutter) clamp(56px, 7vw, 96px);
  border-radius: clamp(28px, 3.4vw, 52px);
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--purple), var(--pink) 35%, #ff7ab6 55%, var(--peach) 80%, var(--sun));
  background-size: 220% 220%;
  animation: ctaflow 14s ease-in-out infinite alternate;
  box-shadow: 0 40px 90px rgba(224, 82, 156, 0.35);
}
.cta--vivid::before, .cta--vivid::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.cta--vivid::before { width: 520px; height: 520px; left: -160px; top: -200px; }
.cta--vivid::after { width: 760px; height: 760px; right: -280px; bottom: -420px; border-style: dashed; animation: spin 60s linear infinite; }
.cta--vivid .label { color: rgba(255, 255, 255, 0.85); }
.cta--vivid .accent { color: var(--deep); }
@keyframes ctaflow { to { background-position: 100% 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
.cta__btn { height: 72px; font-size: 16px; padding: 0 10px 0 34px; }
.cta__btn .btn__icon { width: 54px; height: 54px; font-size: 18px; }

.notice { text-align: center; padding: 16px var(--gutter); font-size: 14px; color: var(--ink-2); position: relative; z-index: 2; background: rgba(255, 255, 255, 0.55); }
.notice b { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-hi); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--purple), var(--pink), var(--peach), var(--sun)); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: clamp(56px, 8vw, 96px) var(--gutter) 40px; }
.footer-main img { height: 60px; width: auto; margin-bottom: 18px; }
.footer-main h4 { margin: 0 0 14px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); }
.footer-main a:hover { color: var(--pink); }
.footer-main address { font-style: normal; color: var(--ink-2); }
.footer-mail { display: inline-block; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease); }
.footer-mail:hover { background-size: 100% 2px; color: var(--ink) !important; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink-2); box-shadow: 0 4px 14px rgba(14,13,18,0.06); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.socials a:hover { background: var(--ink); color: #fff !important; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-main > :first-child { grid-column: 1 / -1; } }

/* ---------- Sub-page header ---------- */
.page-head { padding: calc(env(safe-area-inset-top, 0px) + 160px) var(--gutter) clamp(48px, 7vw, 90px); }
.page-head .display { font-size: clamp(40px, 8.4vw, 168px); margin-top: 18px; }
.page-head__foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Services accordion (services page) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 70px 1fr 52px; align-items: center; gap: 16px;
  padding: clamp(20px, 2.4vw, 32px) 0;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary h3 { margin: 0; font-family: var(--f-display); font-weight: 500; text-transform: lowercase; letter-spacing: -0.04em; font-size: clamp(30px, 4.6vw, 72px); line-height: 1; transition: color 0.3s, transform 0.6s var(--ease); }
.acc summary:hover h3 { color: var(--pink); transform: translateX(10px); }
.acc__plus { width: 52px; height: 52px; border-radius: 50%; background: var(--card); display: grid; place-items: center; position: relative; transition: background 0.4s, transform 0.6s var(--ease); box-shadow: 0 6px 18px rgba(14,13,18,0.06); }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.acc__plus::after { transform: rotate(90deg); transition: transform 0.5s var(--ease); }
.acc details[open] .acc__plus { background: var(--ink); color: #fff; transform: rotate(180deg); }
.acc details[open] .acc__plus::after { transform: rotate(0deg); }
.acc__body { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 16px; padding: 0 0 clamp(26px, 3vw, 40px); animation: accIn 0.7s var(--ease); }
.acc__body p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; }
.acc__art { grid-column: 3; height: 200px; border-radius: var(--radius); background:
    radial-gradient(circle at var(--x1, 30%) var(--y1, 30%), var(--c1, var(--pink)) 0%, transparent 55%),
    radial-gradient(circle at var(--x2, 75%) var(--y2, 75%), var(--c2, var(--purple)) 0%, transparent 60%), #221f2a;
  display: grid; place-items: center; color: #fff; }
.acc__art svg { width: 56px; height: 56px; }
@keyframes accIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .acc summary { grid-template-columns: 36px 1fr 44px; }
  .acc__plus { width: 44px; height: 44px; }
  .acc__body { grid-template-columns: 1fr; }
  .acc__body p, .acc__art { grid-column: 1; }
  .acc__art { height: 160px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); padding: 0 var(--gutter) clamp(96px, 14vh, 160px); }
.contact__info { display: grid; gap: 28px; align-content: start; }
.contact__big { font-size: clamp(26px, 3vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease); justify-self: start; }
.contact__big:hover { background-size: 100% 2px; }
.contact__row { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 6px; }
.contact__row span:last-child, .contact__row a { font-size: 18px; }
.form-card { background: var(--card); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 30px 80px rgba(14,13,18,0.08); display: grid; gap: 14px; }
.form-card h2 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 500; font-size: 30px; letter-spacing: -0.03em; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg-hi); border-radius: 14px;
  padding: 26px 18px 12px; font: inherit; font-size: 16px; color: var(--ink); outline: 0; resize: vertical;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 19px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform 0.3s var(--ease), font-size 0.3s, color 0.3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(224, 82, 156, 0.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: 12px; color: var(--pink); }
.form-card .btn { justify-self: start; margin-top: 8px; }
.form-note { font-size: 14px; color: var(--ink-2); min-height: 1.4em; margin: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .lines > .line > span { opacity: 1; transform: none; }
  .words .w { opacity: 1; }
  .is-first .loader { display: none; }
}
