/* ==========================================================
   STYLE.CSS
   All colors, fonts and layout live in this one file.
   Want to change the look? Start with the "COLORS & FONTS"
   block right below. Change a value, save, and the page
   updates.
   ========================================================== */

/* ---------- COLORS & FONTS ---------- */
:root {
  --ink: #0E0A1F;        /* main dark background */
  --ink-2: #17122C;      /* cards and panels */
  --ink-3: #221A3F;      /* raised details */
  --text: #F5F1FF;       /* main text */
  --muted: #B4ADD3;      /* softer text */
  --line: rgba(245, 241, 255, 0.14);

  /* Logo colors (purple, pink, coral), slightly lightened so text stays readable */
  --violet: #B65BE6;
  --orchid: #CE55C2;
  --pink: #E64F9E;
  --coral: #FF5E5C;
  --yellow: #F2B50F;     /* brand yellow, used sparingly */
  /* The logo gradient, used for buttons, lines and the big call-to-action band */
  --grad: linear-gradient(105deg, #AC3CD7 0%, #E14B9C 52%, #FF5E5C 100%);

  --font-display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  color-scheme: dark;
}

/* ---------- RESET & BASICS ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.6rem, 5.8vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.02em; }

.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 54ch; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--text); color: var(--ink);
  padding: 0.75rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- LAYOUT HELPERS ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.text-link {
  font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 0.35em; text-decoration-color: var(--pink);
}

/* ---------- BUTTONS ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}
.btn-primary { background: var(--text); color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(245, 241, 255, 0.4); color: var(--text); }
.btn-dark { background: var(--ink); color: var(--text); }

/* ---------- HEADER & FULL-SCREEN MENU ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; view-transition-name: site-header;
  background: rgba(14, 10, 31, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; }
.header-right { display: flex; align-items: center; gap: 0.75rem; }

.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  letter-spacing: -0.03em; text-decoration: none;
}
.logo img { height: 2.75rem; width: auto; }

.menu-btn, .menu-close {
  display: inline-flex; align-items: center; gap: 0.7rem; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--text); background: none;
  padding: 0.65rem 1.15rem; border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.menu-btn-icon, .menu-close-icon { position: relative; width: 1.2rem; height: 0.7rem; }
.menu-btn-icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.3s ease, width 0.3s ease; }
.menu-btn-icon i:nth-child(1) { top: 0; }
.menu-btn-icon i:nth-child(2) { bottom: 0; }
.menu-close-icon { height: 1.2rem; }
.menu-close-icon i { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; }
.menu-close-icon i:nth-child(1) { transform: rotate(45deg); }
.menu-close-icon i:nth-child(2) { transform: rotate(-45deg); }
@media (max-width: 560px) { .header-cta { display: none; } }

/* The menu: a whole page in the logo gradient, opening from the menu button */
html.menu-open { overflow: hidden; }
.menu-overlay {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  background: linear-gradient(115deg, #B65BE6 0%, #E64F9E 55%, #FF5E5C 100%);
  color: var(--ink);
  clip-path: circle(0 at calc(100% - 5rem) 2.25rem); visibility: hidden;
  transition: clip-path 0.75s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.75s;
}
.menu-overlay.is-open { clip-path: circle(160% at calc(100% - 5rem) 2.25rem); visibility: visible; transition: clip-path 0.75s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; }
.menu-close { color: var(--ink); border-color: rgba(14, 10, 31, 0.4); }
.menu-close:focus-visible, .menu-overlay a:focus-visible { outline-color: var(--ink); }
.menu-body { display: grid; gap: 3rem; padding-block: clamp(1.5rem, 5vh, 3.5rem) 3rem; }
@media (min-width: 900px) { .menu-body { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.menu-list li { overflow: hidden; padding-bottom: 0.06em; }
.menu-list a {
  display: flex; align-items: baseline; gap: 1rem; color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(3rem, min(8.4vw, 10.5vh), 6.4rem); padding-block: 0.08em;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.menu-num { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; letter-spacing: 0; min-width: 2ch; }
.menu-word { display: inline-block; transform: translateY(115%); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.menu-overlay.is-open .menu-word { transform: none; transition-delay: calc(var(--i) * 0.07s + 0.3s); }
.menu-list a[aria-current] .menu-word::after { content: ""; display: inline-block; width: 0.16em; height: 0.16em; margin-left: 0.18em; border-radius: 50%; background: var(--ink); vertical-align: 0.35em; }
.menu-aside { display: grid; gap: 1.75rem 2rem; grid-template-columns: repeat(2, 1fr); align-content: start; }
@media (max-width: 560px) { .menu-group:nth-child(4) { grid-column: 1 / -1; } }
.menu-aside-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.menu-aside ul { display: grid; gap: 0.3rem; }
.menu-aside a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.menu-aside a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- HERO (shared by all landing pages) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 7vw, 6rem); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.4fr 1fr; } }

.hero h1 { font-size: clamp(1.9rem, 8vw, 3.6rem); }
@media (min-width: 980px) { .hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.4rem); } }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .line > span {
  display: block; transform: translateY(105%);
  animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i) * 0.12s + 0.1s);
}
@keyframes rise { to { transform: none; } }

.hero-copy .lead { margin-top: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }

/* ---------- HOME HERO: a field of dots that regroups ---------- */
.home-hero { min-height: max(640px, calc(100svh - 4.5rem)); display: flex; align-items: center; padding-block: 4rem 7rem; }
.home-hero .hero-inner { grid-template-columns: 1fr; position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--wrap)); }
.home-hero .hero-copy { max-width: 40rem; }
.home-hero h1 { font-size: clamp(2.6rem, 5.8vw, 5.4rem); line-height: 1; }
.home-hero h1 .line { padding-bottom: 0.12em; margin-bottom: -0.12em; }

.dot-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.field-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 10, 31, 0.78) 32%, rgba(14, 10, 31, 0) 60%);
}
@media (max-width: 899px) {
  .home-hero { align-items: flex-start; min-height: 0; padding-block: 3rem 33rem; }
  .field-scrim { background: linear-gradient(180deg, var(--ink) 0%, rgba(14, 10, 31, 0.8) 30%, rgba(14, 10, 31, 0) 50%); }
}

/* The rotating word */
.hero h1 .rot-line { overflow: visible; }
.hero h1 .rot-line > span { transform: none; animation: none; }
.rot-word { display: inline-block; color: var(--c, var(--pink)); }
.rot-word.is-swap { animation: word-swap 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes word-swap {
  0% { opacity: 0; filter: blur(12px); transform: translateX(-14px) skewX(-10deg); text-shadow: 4px 0 var(--violet), -4px 0 var(--coral); }
  45% { opacity: 1; filter: blur(3px); transform: translateX(5px) skewX(4deg); text-shadow: 3px 0 var(--violet), -3px 0 var(--coral); }
  100% { opacity: 1; filter: none; transform: none; text-shadow: 0 0 0 transparent; }
}

/* "Arrange our work by" buttons */
.field-controls { position: absolute; z-index: 3; left: 50%; bottom: 1.5rem; transform: translateX(-50%); width: min(100% - 2 * var(--gutter), var(--wrap)); }
.field-controls-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.6rem 1rem; }
.field-label { color: var(--muted); font-size: 0.95rem; }
.field-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  font: inherit; font-size: 0.92rem; font-weight: 500; color: var(--text); cursor: pointer;
  padding: 0.5rem 1.1rem; border-radius: 999px; background: rgba(14, 10, 31, 0.6); border: 1.5px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.pill[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: var(--ink); }
@media (max-width: 899px) {
  .field-controls-inner { justify-content: flex-start; }
}

/* Names that appear under each group of dots */
.field-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cluster-label {
  position: absolute; transform: translate(-50%, 0); pointer-events: auto; white-space: nowrap;
  padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-decoration: none;
  color: var(--text); background: rgba(14, 10, 31, 0.78); border: 1.5px solid var(--c);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.5s ease, background-color 0.25s ease, color 0.25s ease;
}
.cluster-label.show { opacity: 1; }
a.cluster-label:hover, a.cluster-label:focus-visible { background: var(--c); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- SELECTED WORK: panels that open on hover ---------- */
.reel { display: flex; gap: 0.75rem; height: clamp(380px, 48vw, 540px); }
.reel-item {
  position: relative; overflow: hidden; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.1rem;
  border-radius: 22px; color: var(--ink); text-decoration: none;
  background: var(--c);
  background: linear-gradient(165deg, var(--c), color-mix(in srgb, var(--c) 35%, var(--ink)));
  transition: flex-grow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reel-item.is-active { flex-grow: 4.5; }
.reel-mark {
  position: absolute; top: 0.4rem; right: 1rem; z-index: 0; opacity: 0.16;
  font-family: var(--font-display); font-weight: 600; line-height: 1; letter-spacing: -0.05em; font-size: clamp(5rem, 11vw, 9rem);
}
.reel-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-cap { position: relative; z-index: 1; align-self: flex-start; max-width: 100%; min-width: 0; overflow: hidden; white-space: nowrap; padding: 0.75rem 1rem; border-radius: 14px; background: var(--ink); color: var(--text); border: 1px solid var(--line); }
.reel-cap small { display: block; color: var(--muted); font-size: 0.85rem; }
.reel-cap b { display: block; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
@media (max-width: 760px) {
  .reel { flex-direction: column; height: auto; }
  .reel-item, .reel-item.is-active { flex: none; min-height: 150px; }
}

/* Creative hero art: a small brand board */
.board { position: relative; min-height: 380px; }
@media (min-width: 980px) { .board { min-height: 500px; } }
.board-card {
  position: absolute; border-radius: 22px; padding: 1.1rem;
  background: rgba(23, 18, 44, 0.9); border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(var(--r, 0deg));
  animation: float 8s ease-in-out infinite; animation-delay: var(--d, 0s);
  transition: scale 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes float { 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
.board-type { --r: -3deg; top: 0; left: 2%; width: 54%; }
.board-type .aa { font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; letter-spacing: -0.05em; }
.board-type small, .board-swatches small { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.85rem; }
.board-swatches { --r: 3deg; --d: -2s; top: 27%; right: 0; width: 50%; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.chips span { height: 4.5rem; border-radius: 12px; background: var(--c); }
.board-post { --r: 2deg; --d: -4s; bottom: 0; left: 10%; width: 60%; z-index: 2; }
.post-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.post-head img { height: 1.9rem; width: auto; }
.post-head b { display: block; height: 0.5rem; width: 6rem; border-radius: 99px; background: var(--ink-3); }
.post-image { height: 6.5rem; border-radius: 14px; background: var(--grad); }
.post-lines { display: grid; gap: 0.45rem; margin-top: 0.8rem; }
.post-lines b { display: block; height: 0.5rem; border-radius: 99px; background: var(--ink-3); }
.post-lines b:last-child { width: 55%; }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee-group {
  display: flex; align-items: center; gap: 2.25rem; padding: 1.4rem 2.25rem 1.4rem 0;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em; white-space: nowrap; color: var(--muted);
}
.marquee-group .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- STATEMENT & PROCESS ---------- */
.statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem); line-height: 1.18; letter-spacing: -0.03em;
  max-width: 32ch;
}
.statement + .text-link { display: inline-block; margin-top: 2rem; }

.steps { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.step-num {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1.1rem;
  border-radius: 50%; border: 1.5px solid var(--c); color: var(--c);
  font-family: var(--font-display); font-weight: 600;
}
.step p { color: var(--muted); margin-top: 0.6rem; }

/* ---------- SERVICE PANELS (dark cards that light up on hover) ---------- */
.panels { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: 320px; padding: 1.75rem; border-radius: 24px;
  background: var(--ink-2); border: 1px solid var(--line);
}
.panel h3 { font-size: 1.7rem; }
.panel h3::before { content: ""; display: block; width: 2.2rem; height: 3px; margin-bottom: 1.1rem; border-radius: 2px; background: var(--c); }
.panel p { color: var(--muted); }
@media (min-width: 1001px) { .panel:nth-child(even) { margin-top: 2.5rem; } }
@media (max-width: 1000px) { .panels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .panels { grid-template-columns: 1fr; } .panel { min-height: 240px; } }

/* ---------- PORTFOLIO TILES ---------- */
.work-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(260px, auto); grid-auto-flow: dense;
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  min-height: 260px; padding: 1.25rem; border-radius: 22px;
  background: var(--c);
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 40%, var(--ink)));
  color: var(--ink);
}
.tile[hidden] { display: none; }
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }
/* The big faded letter is a placeholder. When you add a real image, it sits on top. */
.tile-mark {
  position: absolute; top: 0.5rem; right: 1.25rem; z-index: -1;
  font-family: var(--font-display); font-weight: 600; line-height: 1; letter-spacing: -0.05em;
  font-size: clamp(6rem, 14vw, 10rem); opacity: 0.18;
}
.tile img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.tile-info { background: var(--ink); color: var(--text); padding: 0.9rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); }
.tile-info h3 { font-size: 1.3rem; }
.tile-info p { color: var(--muted); font-size: 0.95rem; }
.tile-info .tile-note { margin-top: 0.35rem; color: var(--coral); font-weight: 600; }

@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .work-grid { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile-tall { grid-row: auto; }
}

.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.chip {
  font: inherit; font-weight: 500; color: var(--text); cursor: pointer;
  padding: 0.6rem 1.2rem; border-radius: 999px; background: none; border: 1.5px solid var(--line);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ink); }

/* ---------- CALL-TO-ACTION BAND ---------- */
.cta { background: var(--grad); color: var(--ink); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { max-width: 16ch; }

/* ---------- INNER PAGE HEADERS ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; top: 50%; border-radius: 50%; aspect-ratio: 1;
  border: 1.5px solid var(--accent, var(--pink)); pointer-events: none;
}
.page-hero::after { transform: translateY(-50%); right: calc(-1 * clamp(4rem, 10vw, 9rem)); width: clamp(12rem, 22vw, 20rem); opacity: 0.7; }
.page-hero::before { transform: translateY(-50%); right: calc(-1 * clamp(7rem, 16vw, 15rem)); width: clamp(18rem, 36vw, 30rem); opacity: 0.3; }
@media (max-width: 700px) {
  .page-hero::after, .page-hero::before { opacity: 0.25; }
}

/* ---------- ABOUT ---------- */
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: 1fr 1.2fr; }
.split p + p { margin-top: 1.25rem; }
.split p { color: var(--muted); max-width: 60ch; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.values { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value h3 { display: flex; align-items: center; gap: 0.75rem; }
.value h3::before { content: ""; flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--c); }
.value p { color: var(--muted); margin-top: 0.75rem; }

.team { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.avatar {
  display: grid; place-items: center; width: 100%; max-width: 220px; aspect-ratio: 1; margin-bottom: 1rem;
  border-radius: 50%; color: var(--ink);
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 45%, var(--ink)));
  font-family: var(--font-display); font-weight: 600; font-size: 3rem;
}
.avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.member p { color: var(--muted); }

/* ---------- SERVICES (expanding rows) ---------- */
.service { border-top: 1px solid var(--line); scroll-margin-top: 9rem; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.05;
  transition: color 0.2s ease;
}
.service summary::-webkit-details-marker { display: none; }
.plus {
  position: relative; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1.5px solid var(--c); transition: transform 0.25s ease, scale 0.25s ease, background-color 0.25s ease;
}
.plus::before, .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--c);
  width: 1rem; height: 1.5px; transform: translate(-50%, -50%); transition: background-color 0.25s ease;
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.service[open] .plus { transform: rotate(45deg); background: var(--c); }
.service[open] .plus::before, .service[open] .plus::after { background: var(--ink); }
.service-body { display: grid; gap: 1.5rem 3rem; grid-template-columns: 1.2fr 1fr; padding: 0 0 2.25rem; }
.service-body p { color: var(--muted); max-width: 52ch; }
.service-body ul { display: grid; gap: 0.5rem; }
.service-body li { display: flex; gap: 0.7rem; align-items: baseline; }
.service-body li::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c); transform: translateY(-0.1em); }
@media (max-width: 800px) { .service-body { grid-template-columns: 1fr; } }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: 1fr 1.1fr; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1.5rem; }
.contact-list dt { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.contact-list dd { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.25; }
.contact-list a { text-decoration-color: var(--pink); text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }

.form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); }
.field-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--ink);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(182, 91, 230, 0.3);
}
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status.is-ok { color: var(--violet); }
.form-status.is-warn { color: var(--coral); }

/* ---------- TERMS PAGE ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 2.5rem 0 0.75rem; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 1rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-cta {
  display: inline-block; margin-bottom: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(1.75rem, 6vw, 4.5rem); text-decoration: none; overflow-wrap: anywhere;
}
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; padding-bottom: 3rem; }
.footer-blurb { color: var(--muted); margin-top: 1rem; max-width: 30ch; }
.footer-title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-list { display: grid; gap: 0.55rem; color: var(--muted); }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- DIVISIONS (Creative, Web & Apps, BPO) ---------- */
.div-creative { --accent: var(--pink); }
.div-web { --accent: var(--violet); }
.div-bpo { --accent: var(--coral); }

/* Division menu under the main header */
.subnav { position: sticky; top: calc(4.5rem + 1px); z-index: 40; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 3.25rem; overflow-x: auto; }
.subnav-label {
  flex: none; padding: 0.2rem 0.95rem; border-radius: 999px; background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.subnav ul { display: flex; gap: 1.5rem; }
.subnav a {
  position: relative; display: inline-block; padding: 0.3rem 0; white-space: nowrap;
  font-weight: 500; text-decoration: none; color: var(--muted); transition: color 0.2s ease;
}
.subnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.subnav a[aria-current="page"] { color: var(--text); }
.subnav a[aria-current="page"]::after { transform: scaleX(1); }

/* Company home: the three division cards */
.divisions { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.division {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: 420px; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 28px;
  background: var(--ink-2); border: 1px solid var(--line); color: var(--text); text-decoration: none;
}
.division::after {
  content: ""; position: absolute; z-index: -2; top: -30%; right: -25%; width: 85%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent); opacity: 0.42; transition: opacity 0.4s ease;
}
.division h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.division p { color: var(--muted); margin-top: 0.9rem; max-width: 30ch; }
.division ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.division li { padding: 0.2rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 0.92rem; }
.division-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.35em; text-decoration-color: var(--c); }
@media (max-width: 1000px) { .divisions { grid-template-columns: 1fr; } .division { min-height: 320px; } }

/* Web & Apps: the app window in the hero */
.mock { position: relative; border-radius: 20px; background: rgba(23, 18, 44, 0.92); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.mock-bar { display: flex; gap: 0.45rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--ink-3); }
.mock-body { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1rem; }
.mock-side { display: grid; gap: 0.6rem; align-content: start; }
.mock-side b { display: block; height: 0.6rem; border-radius: 99px; background: var(--ink-3); }
.mock-side b:first-child { background: var(--violet); }
.mock-main { display: grid; gap: 1rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.mock-stat { height: 4.6rem; padding: 0.8rem; border-radius: 12px; background: var(--ink-3); }
.mock-stat b { display: block; height: 0.5rem; margin-bottom: 0.55rem; border-radius: 99px; background: var(--c); }
.mock-stat b + b { width: 60%; background: var(--line); }
.mock-chart { display: flex; align-items: flex-end; gap: 0.55rem; height: 9rem; padding: 1rem; border-radius: 12px; background: var(--ink); }
.mock-chart span {
  flex: 1; height: var(--h); border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 30%, transparent));
  transform-origin: bottom; animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 0.08s + 0.4s);
}
@keyframes grow { from { transform: scaleY(0); } }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag { padding: 0.45rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; }

/* BPO: pulsing call signal in the hero */
.signal { position: relative; display: grid; place-items: center; min-height: 340px; }
@media (min-width: 980px) { .signal { min-height: 460px; } }
.signal-core, .signal-ring { width: clamp(150px, 18vw, 210px); aspect-ratio: 1; border-radius: 50%; }
.signal-core {
  position: relative; z-index: 1; display: grid; place-items: center; padding: 1rem; text-align: center;
  background: var(--ink-2); border: 1.5px solid var(--coral); color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.1;
  box-shadow: 0 0 60px rgba(255, 94, 92, 0.25);
}
.signal-ring { position: absolute; border: 1.5px solid var(--coral); opacity: 0; animation: pulse 4s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.7); opacity: 0; } }
.signal-tag {
  position: absolute; z-index: 2; padding: 0.5rem 1.15rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(23, 18, 44, 0.92); font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
}
.signal-tag-in { top: 12%; left: 2%; transform: rotate(-5deg); }
.signal-tag-out { bottom: 12%; right: 0; transform: rotate(4deg); }

.duo { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
.duo-card { padding: clamp(1.75rem, 4vw, 3rem); border-radius: 28px; }
.duo-card.filled { background: var(--grad); color: var(--ink); }
.duo-card.outlined { border: 1.5px solid var(--line); background: var(--ink-2); }
.duo-card h3 { font-size: clamp(2rem, 4vw, 3rem); }
.duo-card p { margin-top: 0.75rem; }
.duo-card.outlined p { color: var(--muted); }
.duo-card ul { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.duo-card li { display: flex; gap: 0.7rem; align-items: baseline; font-weight: 500; }
.duo-card li::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; transform: translateY(-0.1em); }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }

/* ---------- HOVER EFFECTS ----------
   Only for devices with a mouse. Each effect is small and separate,
   so you can delete any block you don't like. */
@media (hover: hover) {

  /* Buttons: the logo gradient (or white) fills up from the bottom */
  .btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: var(--fill, var(--grad)); transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .btn-ghost::before, .btn-dark::before { --fill: var(--text); }
  .btn:hover::before { transform: none; }
  .btn:hover { transform: translateY(-3px); }
  .btn:active { transform: scale(0.97); }
  .btn-ghost:hover, .btn-dark:hover { color: var(--ink); }
  .btn-ghost:hover { border-color: var(--text); }

  /* Menu links: an underline draws in from the left */
  .site-nav a:not(.btn):hover { color: var(--text); }
  .site-nav a:not(.btn):hover::after { transform: scaleX(1); }
  .subnav a:hover { color: var(--text); }
  .subnav a:hover::after { transform: scaleX(1); }

  /* Logo: the mark tilts and grows */
  .logo img { transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
  .logo:hover img { transform: rotate(-10deg) scale(1.12); }

  /* Hero art */
  .board-card:hover { scale: 1.04; }
  .mock { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .mock:hover { transform: perspective(900px) rotateY(-6deg) rotateX(3deg); }
  .signal-tag { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
  .signal-tag:hover { transform: scale(1.12); }

  /* Scrolling ticker: pauses so people can read it */
  .marquee:hover .marquee-track { animation-play-state: paused; }

  /* How-we-work steps: lift, and the number fills in */
  .step { transition: transform 0.3s ease; }
  .step-num { transition: background-color 0.3s ease, color 0.3s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .step:hover { transform: translateY(-6px); }
  .step:hover .step-num { background: var(--c); color: var(--ink); transform: rotate(360deg); }

  /* Cards: a colored circle grows from the corner and the text turns dark */
  .panel, .division { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.35s ease, border-color 0.35s ease; }
  .panel::before, .division::before {
    content: ""; position: absolute; right: -5rem; bottom: -5rem; z-index: -1;
    width: 8rem; height: 8rem; border-radius: 50%; background: var(--c);
    transform: scale(0); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .panel:hover, .division:hover { transform: translateY(-8px); color: var(--ink); border-color: transparent; }
  .panel:hover::before, .division:hover::before { transform: scale(13); }
  .panel:hover p, .division:hover p { color: rgba(14, 10, 31, 0.78); }
  .panel:hover h3::before { background: var(--ink); }
  .division:hover li { border-color: rgba(14, 10, 31, 0.35); }
  .division:hover::after { opacity: 0; }
  .division:hover .division-link { text-decoration-color: var(--ink); }
  .panel p, .division p, .division li, .panel h3::before { transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease; }

  /* Portfolio tiles: lift, corners change shape, big letter/image grows */
  .tile { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.35s ease; }
  .tile-mark { transform-origin: top right; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease; }
  .tile img { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .tile-info { transition: transform 0.3s ease; }
  .tile:hover { transform: translateY(-6px); border-radius: 44px 22px 44px 22px; }
  .tile:hover .tile-mark { transform: scale(1.25) rotate(-6deg); opacity: 0.3; }
  .tile:hover img { transform: scale(1.07); }
  .tile:hover .tile-info { transform: translateY(-4px); }

  /* Filter buttons and tags */
  .chip { transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
  .chip:hover { transform: translateY(-3px); border-color: var(--text); }
  .tag { transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
  .tag:hover { transform: translateY(-3px); background: var(--text); border-color: var(--text); color: var(--ink); }

  /* About page: value dots grow, team photos change shape */
  .value h3::before { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
  .value:hover h3::before { transform: scale(1.9); }
  .avatar { transition: border-radius 0.4s ease, transform 0.4s ease; }
  .avatar img { transition: border-radius 0.4s ease; }
  .member:hover .avatar { border-radius: 28%; transform: rotate(-6deg); }

  /* Services rows: the title slides right, the plus grows */
  .service summary { transition: color 0.2s ease, padding-left 0.3s ease; }
  .service summary:hover { padding-left: 1rem; }
  .service summary:hover .plus { scale: 1.2; }

  /* In/Outbound cards */
  .duo-card { transition: transform 0.3s ease; }
  .duo-card:hover { transform: translateY(-6px); }

  /* Text links, form fields */
  .text-link { transition: text-decoration-thickness 0.2s ease, color 0.2s ease; }
  .text-link:hover { text-decoration-thickness: 4px; }
  .field input, .field select, .field textarea { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
  .field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(245, 241, 255, 0.4); }

  /* Tiles and greeting buttons */
  .stat:hover { transform: translateY(-8px); border-color: var(--text); }
  .stat-hot:hover { border-color: var(--text); }
  .stat:hover em::after { transform: translateX(6px); }
  .btn-outline-dark::before { --fill: var(--ink); }
  .btn-outline-dark:hover { color: var(--text); }

  /* Menu button, menu list and next-page band */
  .menu-btn:hover { border-color: var(--text); }
  .menu-btn:hover .menu-btn-icon i:nth-child(1) { transform: translateY(2px); }
  .menu-btn:hover .menu-btn-icon i:nth-child(2) { transform: translateY(-2px); }
  .menu-close:hover { background: var(--ink); color: var(--text); }
  .menu-list:hover a:not(:hover) { opacity: 0.38; }
  .menu-list a:hover { transform: translateX(16px); }

  /* Arrange-by buttons and work panels */
  .pill:hover { transform: translateY(-2px); border-color: var(--text); }
  .pill[aria-pressed="true"]:hover { border-color: var(--pink); }
  .reel-item:hover .reel-mark { opacity: 0.28; }

  .nextup-band:hover { background-size: 100% 100%; }
  .nextup-band:hover .nextup { color: var(--ink); }
  .nextup-band:hover .nextup-label, .nextup-band:hover .nextup-desc { color: rgba(14, 10, 31, 0.8); }
  .nextup-band:hover .nextup-arrow { transform: translateX(10px) rotate(-45deg); }

  /* Footer: links nudge right, the big email gets a gradient underline */
  .footer-list a { display: inline-block; transition: transform 0.2s ease, color 0.2s ease; }
  .footer-list a:hover { transform: translateX(6px); }
  .footer-cta {
    background: var(--grad) left bottom / 0 0.06em no-repeat;
    transition: background-size 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .footer-cta:hover { background-size: 100% 0.06em; }
}

/* ---------- HOW WE WORK: steps that slide sideways as you scroll ---------- */
.hscroll { position: relative; height: calc(var(--steps) * 85vh + 15vh); }
.hscroll-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-label { position: absolute; z-index: 2; top: 6.5rem; left: 0; right: 0; text-align: center; color: var(--pink); font-weight: 600; }
.hscroll-track { display: flex; width: calc(var(--steps) * 100%); will-change: transform; }
.hstep { flex: 0 0 calc(100% / var(--steps)); padding-inline: var(--gutter); }
.hstep-inner { position: relative; width: min(100%, var(--wrap)); margin-inline: auto; padding-left: clamp(1rem, 5vw, 5rem); }
.hstep-inner::before { content: ""; position: absolute; left: 0; top: -4rem; bottom: -4rem; width: 1px; background: var(--line); }
.hstep-num {
  display: inline-block; font-family: var(--font-display); font-weight: 600; line-height: 0.9; letter-spacing: -0.06em;
  font-size: clamp(5rem, 16vw, 14rem); color: transparent; -webkit-text-stroke: 1.5px rgba(245, 241, 255, 0.3);
}
.hstep-inner::after { content: ""; position: absolute; right: 0; top: 50%; width: clamp(12rem, 30vw, 26rem); aspect-ratio: 1; transform: translateY(-50%); border: 1.5px solid var(--c); border-radius: 50%; opacity: 0.45; pointer-events: none; }
.hstep-dot { display: inline-block; width: 0.9rem; height: 0.9rem; margin-left: 0.6rem; background: var(--c); }
.hstep h3 {
  font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: 0.95; letter-spacing: -0.05em; margin-top: -0.4rem;
  text-shadow: calc(var(--v, 0) * 10px) 0 var(--violet), calc(var(--v, 0) * -10px) 0 var(--coral);
  filter: blur(calc(var(--v, 0) * 2.5px));
}
.hstep p { margin-top: 1.25rem; max-width: 40ch; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hscroll-progress { position: absolute; left: 50%; bottom: 2.75rem; transform: translateX(-50%); width: min(40vw, 280px); height: 2px; background: var(--line); }
.hscroll-progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--pink); }

/* ---------- A TYPICAL DAY: the departure board ---------- */
.flipboard { border: 1px solid var(--line); border-radius: 22px; background: rgba(23, 18, 44, 0.7); padding: clamp(1rem, 2.5vw, 1.75rem); overflow: hidden; }
.fb-head, .fb-row { display: grid; grid-template-columns: 5.4em 10.2em 18.6em 11em; justify-content: space-between; gap: 1rem; align-items: center; }
.fb-head { padding: 0 0.25rem 0.9rem; color: var(--muted); font-size: 0.85rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.fb-row { padding: 0.55rem 0.25rem; border-bottom: 1px solid rgba(245, 241, 255, 0.06); font-size: clamp(0.7rem, 1.35vw, 1rem); }
.fb-row:last-child { border-bottom: 0; }
.fb-head { font-size: 0.85rem; }
.cell { display: inline-flex; flex-wrap: nowrap; gap: 2px; white-space: nowrap; }
.flap {
  display: inline-grid; place-items: center; flex: none; width: 0.82em; height: 1.45em;
  border-radius: 3px; background: linear-gradient(180deg, #2a2148 0 49%, #1c1636 51% 100%);
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--text);
}
.flap.tick { animation: flap 0.09s ease-out; }
@keyframes flap { from { transform: scaleY(0.55); } }
.cell-status .flap { color: var(--tone, var(--pink)); }
@media (max-width: 720px) {
  .fb-head span:nth-child(-n+2), .cell-time, .cell-team { display: none; }
  .fb-head, .fb-row { grid-template-columns: 1fr auto; }
  .fb-row { font-size: clamp(0.6rem, 2.9vw, 0.95rem); }
}

/* ---------- STAT TILES (each one is a link) ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.stat {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 250px; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 26px; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line); color: var(--text);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.stat strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 9vw, 7rem); line-height: 0.9; letter-spacing: -0.05em; }
.stat span { font-size: 1.15rem; color: var(--muted); }
.stat strong + span { margin-top: -1rem; }
.stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.05; letter-spacing: -0.03em; }
.stat p { color: var(--muted); max-width: 32ch; }
.stat .stat-kicker { font-size: 0.95rem; font-weight: 600; color: var(--pink); }
.stat em { font-style: normal; font-weight: 600; font-size: 0.95rem; }
.stat em::after { content: "\2192"; display: inline-block; margin-left: 0.45rem; transition: transform 0.3s ease; }
.stat-hot { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.stat-hot .stat-kicker, .stat-hot p { color: rgba(14, 10, 31, 0.78); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stat { min-height: 200px; } }

/* ---------- GREETING BAND ---------- */
.greet { background: var(--grad); color: var(--ink); }
.greet-inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .greet-inner { grid-template-columns: 1fr auto; } }
.greet-title { font-size: clamp(2.8rem, 9vw, 8rem); line-height: 0.95; letter-spacing: -0.05em; }
.greet-title > span { display: block; }
.greet-word { display: inline-block; color: var(--text); }
.greet-word.is-swap { animation: word-swap 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.greet-lead { margin-top: 1.5rem; max-width: 34ch; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }
.greet-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }

/* The tour button in the hero */
.btn-tour { gap: 0.6rem; }
.btn-tour::after { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--pink); order: -1; }

/* ---------- NEXT-PAGE BAND (every page points to the next) ---------- */
.nextup-band { border-top: 1px solid var(--line); background: var(--c) bottom / 100% 0 no-repeat; transition: background-size 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
.nextup {
  display: grid; align-items: center;
  gap: 0.4rem 2rem; grid-template-columns: 1fr auto; padding-block: clamp(2.5rem, 6vw, 4.5rem);
  text-decoration: none; color: var(--text); transition: color 0.4s ease;
}
.nextup-label { grid-column: 1 / -1; color: var(--muted); font-weight: 500; transition: color 0.4s ease; }
.nextup-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-size: clamp(2.4rem, 7vw, 6rem); }
.nextup-desc { grid-column: 1; color: var(--muted); max-width: 50ch; transition: color 0.4s ease; }
.nextup-arrow { grid-column: 2; grid-row: 2 / span 2; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border: 1.5px solid currentColor; border-radius: 50%; transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.nextup:focus-visible .nextup-arrow { transform: translateX(8px); }
@media (max-width: 560px) { .nextup-arrow { width: 3.25rem; height: 3.25rem; } }

/* Smooth cross-fade when moving between pages (browsers that support it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.25s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- PROJECT BRIEF (contact page) ---------- */
.brief { background: var(--text); color: var(--ink); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.75rem); }
.brief .stat-kicker { color: #B0307A; font-weight: 600; }
.brief h2 { margin-top: 0.5rem; font-size: clamp(2rem, 4vw, 3rem); }
.brief-intro p:not(.stat-kicker) { margin: 1rem 0 1.5rem; max-width: 40ch; color: #4A4266; }
.brief-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.brief-step { flex: none; font-weight: 600; color: #4A4266; }
.brief-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(14, 10, 31, 0.12); overflow: hidden; }
.brief-bar span { display: block; height: 100%; width: 20%; background: var(--grad); transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.brief fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.25rem; }
.brief fieldset[hidden] { display: none; }
.brief fieldset:focus { outline: none; }
.brief legend { padding: 0; margin-bottom: 1.25rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.brief-hint { color: #4A4266; margin-top: -0.5rem; }
.brief .field label, .brief .field-title { font-weight: 600; }
.brief .field input, .brief .field textarea {
  background: #fff; color: var(--ink); border-color: rgba(14, 10, 31, 0.18);
}
.brief .field input:hover, .brief .field textarea:hover { border-color: rgba(14, 10, 31, 0.4); }
.brief .field input:focus, .brief .field textarea:focus { border-color: #B0307A; box-shadow: 0 0 0 3px rgba(230, 79, 158, 0.25); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span {
  display: inline-block; padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 500;
  border: 1.5px solid rgba(14, 10, 31, 0.25); background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 3px; }
.need-group { display: grid; gap: 0.6rem; padding: 1rem; margin-inline: -1rem; border-radius: 18px; transition: background-color 0.3s ease; }
.need-group.is-suggested { background: rgba(230, 79, 158, 0.12); }
.need-group.is-suggested .field-title::after { content: " (suggested)"; font-weight: 500; color: #B0307A; }
.brief-error { min-height: 1.4em; margin-top: 1rem; font-weight: 600; color: #B0307A; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.brief .btn-primary { background: var(--ink); color: var(--text); }
.brief .btn-primary:hover { color: var(--ink); }
.brief .btn-ghost { border-color: rgba(14, 10, 31, 0.35); color: var(--ink); }
.brief .btn-ghost::before { --fill: var(--ink); }
.brief .btn-ghost:hover { color: var(--text); border-color: var(--ink); }
.brief .form-status { margin-top: 0.75rem; }
.brief .form-status.is-warn { color: #B0307A; }
.brief-summary { display: grid; gap: 0.9rem; }
.brief-summary div { display: grid; gap: 0.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(14, 10, 31, 0.12); }
.brief-summary dt { font-size: 0.9rem; font-weight: 600; color: #4A4266; }
.brief-summary dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.brief-done p:not(.stat-kicker) { margin: 1rem 0 1.5rem; color: #4A4266; }
.brief [hidden] { display: none !important; }

/* ---------- GUIDED TOUR ---------- */
.tour {
  position: fixed; z-index: 90; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  width: min(100% - 2rem, 30rem); padding: 1.25rem 1.4rem 1.1rem; border-radius: 22px;
  background: rgba(23, 18, 44, 0.94); border: 1px solid rgba(245, 241, 255, 0.24);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: tour-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes tour-in { from { opacity: 0; transform: translateX(-50%) translateY(24px); } }
.tour-count { color: var(--pink); font-weight: 600; font-size: 0.9rem; }
.tour h3 { margin-top: 0.2rem; font-size: 1.5rem; }
.tour p:not(.tour-count) { margin-top: 0.5rem; color: var(--muted); }
.tour-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tour-actions .btn { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.tour-skip { margin-left: auto; background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.95rem; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; }
.tour-skip:hover { color: var(--text); }
.tour-spot { outline: 2px solid var(--pink); outline-offset: 12px; border-radius: 24px; animation: spot 1.6s ease-in-out infinite; }
@keyframes spot { 50% { outline-color: rgba(230, 79, 158, 0.25); } }

/* ---------- SCROLL BAR, REVEALS AND PAGE CURTAIN ---------- */
.scroll-progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--sp, 0)); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

html.is-entering::before { content: ""; position: fixed; inset: 0; z-index: 300; background: var(--grad); }
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--grad); transform: translateY(100%); pointer-events: none; }
.curtain.cover { transform: none; transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1); pointer-events: auto; }
.curtain.start { transform: none; }
.curtain.lift { transform: translateY(-100%); transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1); }
.curtain img { position: absolute; left: 50%; top: 50%; width: clamp(64px, 9vw, 110px); transform: translate(-50%, -50%); filter: brightness(0); opacity: 0.85; }

/* ---------- DIVISION PAGES: flecks, other divisions ---------- */
.fleck-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero:has(.fleck-bg) .hero-inner { position: relative; z-index: 1; }
.division-lite { min-height: 240px; gap: 2rem; }
.others { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .others { grid-template-columns: 1fr; } }

/* Phone number in the header (an icon only on small phones) */
.header-phone { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--text); }
.header-phone svg { flex: none; width: 2.6rem; height: 2.6rem; padding: 0.68rem; border-radius: 50%; background: var(--grad); color: var(--ink); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.header-phone span { white-space: nowrap; }
.header-phone:hover svg { transform: rotate(-12deg) scale(1.08); }
@media (max-width: 640px) { .header-phone span { display: none; } }
.menu-cta-wrap { grid-column: 1 / -1; }
.logo { white-space: nowrap; }
@media (max-width: 480px) { .site-header .logo { font-size: 1.02rem; gap: 0.45rem; } .site-header .logo img { height: 2.3rem; } .header-phone svg { width: 2.3rem; height: 2.3rem; padding: 0.6rem; } .header-right { gap: 0.5rem; } }

/* Smaller buttons in the hero areas */
.hero-actions { gap: 0.6rem; margin-top: 2rem; }
.hero-actions .btn { padding: 0.62rem 1.2rem; font-size: 0.95rem; }

/* Division pages have an extra menu strip, so the sideways-story label sits a little lower */
.div-creative .hscroll-label, .div-web .hscroll-label, .div-bpo .hscroll-label { top: 9.75rem; }

/* ---------- CONTENT ADDITIONS: WhatsApp, team, quotes, facts, cases, FAQ, pricing, doodles, 404 ---------- */
.whatsapp {
  position: fixed; z-index: 70; right: 1.1rem; bottom: 1.1rem; display: inline-flex; align-items: center;
  padding: 0.8rem; border-radius: 999px; background: var(--grad); color: var(--ink);
  font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}
.whatsapp svg { width: 1.6rem; height: 1.6rem; flex: none; }
.whatsapp span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.35s ease, margin 0.35s ease; }
.whatsapp:hover span, .whatsapp:focus-visible span { max-width: 9rem; margin: 0 0.4rem 0 0.6rem; }
.whatsapp:hover { transform: translateY(-3px); }

.avatar { overflow: hidden; }
.avatar img { object-position: 50% 10%; }
.member-role { color: var(--text) !important; font-weight: 500; }
.member-bio { margin-top: 0.6rem; font-size: 0.98rem; }
.member-link { display: inline-block; margin-top: 0.7rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; text-decoration-color: var(--c); }

.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.quote { margin: 0; padding: 1.75rem; border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line); }
.quote::before { content: "\201C"; display: block; margin-bottom: 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 4rem; line-height: 0.6; color: var(--c); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 1.2rem; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

.facts { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 1.4rem; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); border-top: 3px solid var(--c); }
.fact dt { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.fact dd { margin: 0.5rem 0 0; color: var(--muted); }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

.case-list { grid-template-columns: 1fr; grid-auto-rows: auto; }
.case { position: relative; overflow: hidden; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); }
.case[hidden] { display: none; }
.case-mark { position: absolute; right: 1.5rem; top: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(6rem, 12vw, 9rem); line-height: 1; opacity: 0.1; color: var(--c); pointer-events: none; }
.case-head h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; }
.case-head h3::before { content: ""; display: block; width: 2.2rem; height: 3px; margin-bottom: 1.1rem; border-radius: 2px; background: var(--c); }
.case-meta { margin-top: 1rem; color: var(--muted); font-size: 0.98rem; }
.case-meta b { color: var(--text); font-weight: 600; }
.case-body > p { color: var(--muted); max-width: 60ch; }
.case-cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
.case h4 { margin-bottom: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--c); }
.case ul { display: grid; gap: 0.55rem; }
.case li { display: flex; gap: 0.6rem; align-items: baseline; color: var(--muted); font-size: 0.98rem; }
.case li::before { content: ""; flex: none; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--c); transform: translateY(-0.1em); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case-cols { grid-template-columns: 1fr; } }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { width: 2.2rem; height: 2.2rem; }
.faq-item[open] .plus { transform: rotate(45deg); background: var(--c); }
.faq-item[open] .plus::before, .faq-item[open] .plus::after { background: var(--ink); }
.faq-item p { padding-bottom: 1.25rem; color: var(--muted); max-width: 64ch; }

.price-note { padding: 1.25rem 1.5rem; border-radius: 18px; border: 1px solid var(--line); background: var(--ink-2); color: var(--muted); }
.price-note strong { color: var(--text); }
.price-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.price-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: 1.75rem; border-radius: 26px; background: var(--ink-2); border: 1px solid var(--line); border-top: 4px solid var(--c); }
.price-card h3 { font-size: 1.6rem; }
.price-card p { color: var(--muted); }
.price-card .price-kicker { color: var(--c); font-weight: 600; }
@media (max-width: 900px) { .price-cards { grid-template-columns: 1fr; } }

.doodle { position: absolute; pointer-events: none; color: var(--pink); }
.doodle svg { display: block; width: 100%; height: auto; }
.stats { position: relative; }
.greet { position: relative; overflow: hidden; }
.doodle-tiles { width: 5.5rem; right: 9%; top: -2.6rem; transform: rotate(8deg); }
.doodle-greet-a { width: 4.5rem; top: 2.5rem; right: 9%; color: var(--ink); animation: twinkle 4s ease-in-out infinite; }
.doodle-greet-b { width: 2.4rem; top: 7.5rem; right: 17%; color: var(--ink); animation: twinkle 4s ease-in-out -2s infinite; }
.doodle-hero-a { width: 4.2rem; right: 24%; top: 22%; animation: twinkle 5s ease-in-out infinite; }
.doodle-hero-b { width: 2.2rem; right: 33%; top: 58%; color: var(--violet); animation: twinkle 5s ease-in-out -2.5s infinite; }
.doodle-price { width: 11rem; left: var(--gutter); bottom: 0.2rem; }
@keyframes twinkle { 50% { transform: scale(1.15) rotate(12deg); opacity: 0.7; } }

.notfound { padding-block: clamp(4rem, 10vw, 8rem); }
.nf-code { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: clamp(6rem, 22vw, 16rem); line-height: 0.9; letter-spacing: -0.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doodle-nf { width: 110%; left: -5%; top: 5%; color: var(--text); opacity: 0.6; }
.notfound h1 { margin-top: 1.25rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.notfound .lead { margin-top: 1rem; }
.prose h3 { margin: 1.75rem 0 0.4rem; font-size: 1.2rem; }
.prose a { color: var(--text); }

/* ---------- RESPECT "REDUCE MOTION" SETTINGS ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  html.is-entering::before, .curtain { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero h1 .line > span { transform: none; }
  .signal-ring { opacity: 0.35; }
  .hscroll { height: auto; }
  .hscroll-pin { position: static; height: auto; padding-block: 5rem; }
  .hscroll-track { display: grid; width: auto; gap: 4rem; }
  .hstep { flex: none; }
  .hscroll-progress, .hscroll-label { display: none; }
  .signal-ring:nth-child(2) { transform: scale(1.6); }
  .signal-ring:nth-child(3) { transform: scale(2.2); }
}
