/* ==========================================================================
   Click5 Pty Ltd — Melbourne creative agency
   Layout idea: an editorial studio site. Huge confident type, calm white
   and navy surfaces, real work doing the talking. Blue leads; mint and
   coral are small accents, never all three in one component.
   ========================================================================== */
:root {
  /* Brand (official) */
  --blue: #1E63FF;
  --mint: #71E3C6;
  --coral: #FF6B57;
  --white: #FCFDFE;
  --gray: #EEF3FA;
  --navy: #0F172A;

  /* Derived (navy-biased neutrals) */
  --ink: #0F172A;
  --ink-2: #3B4558;
  --ink-3: #64708A;
  --line: #DCE3EE;
  --line-2: #E8EDF5;
  --blue-d: #1550D6;
  --navy-2: #18233A;
  --navy-3: #0B1222;
  --navy-line: rgba(255, 255, 255, .12);
  --mint-d: #0F7A5F;

  /* Type */
  --display: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;

  /* Space & shape (8px system) */
  --gut: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --sec: clamp(80px, 10vw, 152px);
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(15, 23, 42, .28), 0 12px 24px -16px rgba(15, 23, 42, .12);
  --shadow-lg: 0 50px 100px -40px rgba(15, 23, 42, .35), 0 20px 40px -24px rgba(15, 23, 42, .18);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--mint); color: var(--navy); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); position: relative; }
.section--alt { background: var(--gray); }
.section--dark { background: var(--navy); color: #C9D1E0; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow--dark { color: #AEB8CC; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.dot--mint { background: var(--mint); }
.dot--coral { background: var(--coral); }
.dot--blue { background: var(--blue); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.section--dark .h2, .h2--light { color: #fff; }
.h3 { font-family: var(--display); font-weight: 650; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.03em; line-height: 1.1; }
.lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.lede--dark { color: #AEB8CC; }
.stars { color: #F5A524; letter-spacing: 1.5px; }
.u-mint { color: var(--mint); }

.sec-head { display: grid; grid-template-columns: minmax(0, 860px); gap: 20px; justify-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lede { max-width: 38em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent; will-change: transform;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 16px 32px -16px rgba(30, 99, 255, .75); }
.btn--primary:hover { background: var(--navy); box-shadow: 0 16px 32px -16px rgba(15, 23, 42, .6); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(252, 253, 254, .7); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mint); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link {
  font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--blue); padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat; transition: background-size .35s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }
.link--light { color: var(--mint); }
.round { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; border: 1.5px solid var(--line); background: var(--white); transition: all .25s; }
.round:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.round--light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.round--light:hover { background: #fff; color: var(--navy); }

/* ==========================================================================
   ANNOUNCEMENT BAR + NAV
   ========================================================================== */
.topbar { background: var(--navy); color: #C9D1E0; font-size: 14.5px; position: relative; z-index: 101; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__msg { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(113, 227, 198, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(113, 227, 198, 0); } 100% { box-shadow: 0 0 0 0 rgba(113, 227, 198, 0); } }
.topbar__right { display: flex; align-items: center; gap: 24px; }
.topbar__info { display: flex; gap: 24px; }
.topbar__social { display: flex; gap: 4px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.topbar__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #C9D1E0; transition: color .2s, background .2s; }
.topbar__social a:hover { color: var(--navy); background: var(--mint); }
.topbar__social svg { width: 16px; height: 16px; fill: currentColor; }
.topbar__info a:hover { color: var(--mint); }

.nav { position: sticky; top: 0; z-index: 100; transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease); }
.nav[data-state="scrolled"] { background: rgba(252, 253, 254, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line-2); }
.nav[data-state="hidden"] { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 2px; margin-left: auto; padding: 5px; border-radius: 999px; background: rgba(238, 243, 250, .7); border: 1px solid var(--line-2); }
.nav__links a { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 9px 17px; border-radius: 999px; transition: color .2s, background .2s, box-shadow .2s; }
.nav__links a:hover { color: var(--ink); background: var(--white); }
.nav__links a.is-active { color: var(--ink); background: var(--white); box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .25); }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; margin-left: auto; background: var(--gray); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--white); display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(100px + env(safe-area-inset-top, 0px)) var(--gut) calc(32px + env(safe-area-inset-bottom, 0px)); animation: menuIn .45s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.menu__links a { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 12vw, 64px); letter-spacing: -0.045em; line-height: 1.15; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.menu__links small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.menu__foot { display: grid; gap: 18px; }
.menu__foot .btn { width: 100%; }
.menu__foot p { color: var(--ink-3); font-size: 16px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 85% 30%, rgba(30, 99, 255, .10), transparent 70%),
    radial-gradient(30% 40% at 60% 85%, rgba(113, 227, 198, .14), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 55% at 20% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(60% 55% at 20% 20%, #000 10%, transparent 70%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(32px, 4vw, 64px); align-items: center; }
.hero__copy { display: contents; }
.hero__copy > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; animation: fadeUp .9s var(--ease) both; }
.hero__title {
  grid-column: 1 / -1; font-family: var(--display); font-weight: 750; font-weight: 700;
  font-size: clamp(50px, 8.6vw, 132px); line-height: .94; letter-spacing: -0.06em; margin-bottom: clamp(16px, 2vw, 32px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.line--blue { color: var(--blue); }
@keyframes lineUp { from { transform: translateY(105%); } }
.scribble { font-style: normal; position: relative; display: inline-block; }
.scribble svg { position: absolute; left: -1%; bottom: -.04em; width: 102%; height: .2em; overflow: visible; }
.scribble path { fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1.1s .9s var(--ease) forwards; vector-effect: non-scaling-stroke; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__side { display: grid; gap: 32px; align-content: start; align-self: start; padding-top: 12px; }
.hero__lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 30em; animation: fadeUp 1s .3s var(--ease) both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp 1s .4s var(--ease) both; }
.hero__proof { display: flex; align-items: center; gap: 16px; animation: fadeUp 1s .5s var(--ease) both; }
.hero__proof p { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.hero__proof strong { color: var(--ink); font-weight: 600; }
.hero__proof span { color: var(--ink-3); font-size: 15px; }
.faces { display: flex; flex: none; }
.faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--white); margin-left: -10px; background: var(--gray); }
.faces img:first-child { margin-left: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* Hero work grid: every piece in its own box, rows sized so heights match exactly (no crop, no overlap).
   Row 1: art (ratio 1.526) + phone card (ratio 0.837) → columns 1.823fr / 1fr give equal heights. */
.hero__stage { position: relative; display: grid; gap: 14px; align-self: start; animation: stageIn 1.4s .2s var(--ease) both; }
.hs-row { display: grid; gap: 14px; align-items: start; }
.hs-row--1 { grid-template-columns: 1.823fr 1fr; }
.hs-row--2 { grid-template-columns: repeat(3, 1fr); }
.hs { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.hs img { display: block; width: 100%; height: auto; }
.hs:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@keyframes stageIn { from { opacity: 0; transform: translateY(30px); } }
.hcard { position: absolute; margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); background: #DDE4EF; border: 5px solid #fff; will-change: transform; }
.hcard img { width: 100%; height: 100%; object-fit: cover; }
.hcard--a figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--ink); background: rgba(252, 253, 254, .92); padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.hcard--a { left: 0; top: 9%; width: 70%; aspect-ratio: 2315 / 1517; z-index: 1; }
.hcard--b { right: 0; top: 0; width: 31%; aspect-ratio: 809 / 966; z-index: 2; transform: rotate(2.5deg); }
.hcard--c { right: 14%; bottom: 0; width: 30%; aspect-ratio: 700 / 838; z-index: 3; transform: rotate(-3deg); }
.hcard--b, .hcard--c { border: 0; background: none; border-radius: 4.2% / 3.6%; }
.hcard--b img, .hcard--c img { object-fit: contain; }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-family: var(--display); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chip--kit { left: -4%; bottom: 14%; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; animation: float 7s ease-in-out infinite; }
.chip__k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.chip__sw { display: flex; gap: 6px; }
.chip__sw i { width: 22px; height: 22px; border-radius: 7px; background: var(--c); }
.chip--rate { left: 44%; top: 0; animation: float 8s 1s ease-in-out infinite; }
.chip--rate .stars { font-size: 13px; }
.chip--tag { border-radius: 999px; padding: 8px 14px; }
.chip--ai { right: 30%; top: 52%; animation: float 6.5s .5s ease-in-out infinite; }
.chip--brand { left: 8%; top: 2%; animation: float 7.5s 1.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.cursor { position: absolute; z-index: 5; left: 58%; top: 34%; width: 28px; height: 28px; }
.cursor svg { width: 28px; height: 28px; fill: var(--blue); filter: drop-shadow(0 4px 8px rgba(30, 99, 255, .5)); position: relative; }
.ripple { position: absolute; left: -10px; top: -10px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(30, 99, 255, .5); animation: ripple 2.4s ease-out infinite; }
.ripple--2 { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(2); opacity: 0; } }

/* ==========================================================================
   LOGO STRIP
   ========================================================================== */
.logos { border-block: 1px solid var(--line-2); }
.logos__inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding-block: 28px; }
.logos__k { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.logos__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__row { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.logos__row img { height: 34px; width: auto; max-width: none; margin-right: 64px; filter: grayscale(1) contrast(1.1); opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES EXPLORER
   ========================================================================== */
/* Tabs sit in one row above a full-width panel */
.sx { display: grid; gap: 28px; }
.sx__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sx__tab { position: relative; overflow: hidden; flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); transition: border-color .25s, background .25s; }
.sx__tab:hover { border-color: var(--navy); }
.sx__n { font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sx__name { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }
.sx__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); }
.sx__tab[aria-selected="true"] .sx__name { color: #fff; }
.sx__tab[aria-selected="true"] .sx__n { color: var(--mint); }
.sx__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.sx__bar i { display: block; height: 100%; width: 100%; background: var(--mint); transform-origin: left; transform: scaleX(0); }
.sx__tab[aria-selected="true"] .sx__bar i { animation: fill var(--dur, 7s) linear forwards; }
.sx.is-paused .sx__bar i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* Panel: the picture column is exactly as wide as the mockup needs at the panel height
   (--ar = the image's own width/height), so laptops get wide space, phones get tall space,
   and nothing is cropped or padded. */
.sx__panels { position: relative; }
.sx__panel {
  --ph: 560px;
  display: grid; grid-template-columns: calc(var(--ph) * (var(--ar))) minmax(0, 1fr);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  animation: panelIn .6s var(--ease) both;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.sx__img { position: relative; margin: 0; min-height: var(--ph); align-self: stretch; background: var(--gray); overflow: hidden; }
.sx__img picture { display: contents; }
.sx__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx__body { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 16px; align-items: flex-start; }
.sx__body h3 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.04em; line-height: 1.05; }
.sx__body > p { color: var(--ink-2); font-size: 18px; max-width: 32em; }
.sx__list { width: 100%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin: 8px 0 12px; }
.sx__list li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line-2); font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.sx__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); opacity: .85; }

/* AI visual (no stock image — a designed prompt-to-grid motif) */
.sx__ai { position: relative; background: var(--navy); display: grid; place-items: center; padding: 28px; overflow: hidden; }
.sx__ai::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(40% 40% at 30% 30%, rgba(113, 227, 198, .35), transparent 70%), radial-gradient(40% 40% at 75% 70%, rgba(30, 99, 255, .45), transparent 70%); filter: blur(10px); animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg); } }
.ai-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 300px); }
.ai-tile { aspect-ratio: 1; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background-size: 200% 200%; animation: shimmer 6s ease-in-out infinite alternate; }
.ai-tile--1 { background-image: linear-gradient(135deg, #1E63FF, #71E3C6); }
.ai-tile--2 { background-image: linear-gradient(135deg, #FF6B57, #FFB36B); animation-delay: -1.5s; }
.ai-tile--3 { background-image: linear-gradient(135deg, #18233A, #1E63FF); animation-delay: -3s; }
.ai-tile--4 { background-image: linear-gradient(135deg, #71E3C6, #EEF3FA); animation-delay: -4.5s; }
@keyframes shimmer { to { background-position: 100% 100%; } }
.ai-prompt { position: relative; margin-top: 16px; width: min(100%, 300px); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 10px 12px; color: #fff; font-size: 14px; backdrop-filter: blur(8px); }
.sx__ai { grid-template-rows: auto auto; align-content: center; }
.ai-prompt__k { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.ai-caret { width: 2px; height: 16px; background: var(--mint); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ==========================================================================
   WORK — stacked case studies + gallery
   ========================================================================== */
.cases { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.case:nth-child(even) .case__copy { order: 2; }
.case:nth-child(even) { grid-template-columns: 7fr 5fr; }
.case {
  position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 32px; padding: clamp(24px, 3.4vw, 48px); box-shadow: var(--shadow);
}
.case__copy { display: grid; gap: 16px; justify-items: start; }
.case__k { font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.case__t { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 58px); letter-spacing: -0.045em; line-height: 1; }
.case__copy p { color: var(--ink-2); max-width: 28em; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags li { font-size: 14.5px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--gray); color: var(--ink); }
.case__media { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 380px; display: grid; place-items: center; width: 100%; }
/* Green Can: a complete card mockup, shown whole at its own shape */
.case--green .case__media { display: grid; place-items: center; min-height: 0; padding: clamp(20px, 3vw, 40px); background: linear-gradient(160deg, #EEF6E4, #DDEBCB); cursor: zoom-in; }
.case--green .case__media img { width: 100%; max-width: 420px; height: auto; border-radius: 4.5% / 3.8%; box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .45); transition: transform .8s var(--ease); }
.case--green .case__media:hover img { transform: scale(1.02); }
.case__media--panel { background: var(--gray); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; align-items: stretch; place-items: initial; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpis--2 { grid-template-columns: 1fr 1fr; }
.kpi { background: #fff; border-radius: var(--r-sm); padding: 18px 20px; display: grid; gap: 4px; min-width: 0; }
.kpi b { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.2vw, 44px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi span { font-size: 15px; color: var(--ink-3); }
.spark { width: 100%; height: 110px; display: block; }
.panel__foot { font-size: 14px; color: var(--ink-3); margin-top: auto; }
.case__media--dark { background: var(--navy); }
.case__media--dark .kpi { background: var(--navy-2); }
.case__media--dark .kpi b { color: #fff; }
.case__media--dark .kpi span, .case__media--dark .panel__foot { color: #8E9AB3; }
.sg__top { display: flex; justify-content: space-between; align-items: center; }
.sg__ok { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-weight: 600; font-size: 16px; }
.sg__ok i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(113, 227, 198, .2); }
.sg__live { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--mint); padding: 4px 10px; border-radius: 999px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue), rgba(30, 99, 255, .35)); }
.bars i:last-child { background: var(--mint); }

/* Art showcase: a justified row — each piece keeps its own aspect ratio */
.artshow { margin-bottom: clamp(56px, 7vw, 96px); }
.artshow__head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.artshow__head .case__k { display: block; margin-bottom: 8px; }
.artrow { display: flex; gap: clamp(16px, 2vw, 24px); align-items: flex-start; }
.aw { flex: calc(var(--w) / var(--h)) 1 0; min-width: 0; margin: 0; display: grid; gap: 14px; }
.aw__img { display: block; width: 100%; aspect-ratio: var(--w) / var(--h); border-radius: var(--r-md); overflow: hidden; background: #DDE4EF; cursor: zoom-in; box-shadow: var(--shadow); }
.aw__img picture, .aw__img img { display: block; width: 100%; height: 100%; }
.aw__img img { object-fit: cover; transition: transform .9s var(--ease); }
.aw__img:hover img { transform: scale(1.03); }
.aw figcaption { display: grid; gap: 2px; }
.aw figcaption b { font-family: var(--display); font-weight: 650; font-size: 17px; letter-spacing: -0.015em; }
.aw figcaption span { font-size: 15px; color: var(--ink-3); }
@media (max-width: 720px) {
  .artrow { flex-direction: column; }
  .aw { flex: none; width: 100%; }
}
.more { margin-top: clamp(64px, 8vw, 112px); }
.more__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font-family: var(--display); font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); transition: all .25s var(--ease); }
.filters button:hover { border-color: var(--navy); color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters sup { font-size: 11px; margin-left: 3px; opacity: .6; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; display: block; width: 100%; aspect-ratio: 700 / 838; margin: 0; border-radius: 14px; overflow: hidden; background: transparent; cursor: zoom-in; text-align: left; transform: translateZ(0); }
.tile picture { display: block; width: 100%; height: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08); pointer-events: none; }
.tile:hover img { transform: scale(1.04); }
.tile__cap { position: absolute; inset: auto 10px 10px 10px; display: grid; gap: 2px; background: rgba(252, 253, 254, .94); backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 12px; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__cap b { font-family: var(--display); font-weight: 650; font-size: 15px; }
.tile__cap span { font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }
.tile--in { animation: tileIn .7s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(18px); } }

/* ==========================================================================
   WHY CLICK5 (dark)
   ========================================================================== */
.why { overflow: hidden; }
.why::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(30, 99, 255, .22), transparent); pointer-events: none; }
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: start; position: relative; }
.why__intro { position: sticky; top: 120px; display: grid; gap: 28px; justify-items: start; }
.why__intro .eyebrow { margin-bottom: -6px; }
.principles { border-top: 1px solid var(--navy-line); }
.principles li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--navy-line); transition: padding .5s var(--ease); }
.principles li:hover { padding-left: 12px; }
.pr__n { font-family: var(--display); font-weight: 700; font-size: 15px; color: #7F8BA3; padding-top: 8px; transition: color .3s; font-variant-numeric: tabular-nums; }
.principles li:hover .pr__n { color: var(--mint); }
.principles h3 { font-family: var(--display); font-weight: 650; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.1; color: #fff; margin-bottom: 10px; }
.principles p { color: #AEB8CC; max-width: 34em; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.team__intro .lede { margin-top: 24px; }
.faces-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 48px; }
.faces-wall li { border-radius: var(--r-md); overflow: hidden; background: var(--gray); aspect-ratio: 6 / 7; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.faces-wall li:nth-child(even) { transform: translateY(48px); }
.faces-wall img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.02); transition: filter .5s, transform .8s var(--ease); }
.faces-wall li:hover { box-shadow: var(--shadow); }
.faces-wall li:hover img { filter: none; transform: scale(1.04); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.moves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; counter-reset: m; }
.move { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); display: grid; gap: 28px; align-content: start; position: relative; overflow: hidden; border: 1px solid var(--line-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.move:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.move__n { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 10vw, 150px); line-height: .8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--blue); }
.move:nth-child(2) .move__n { -webkit-text-stroke-color: var(--coral); }
.move:nth-child(3) .move__n { -webkit-text-stroke-color: var(--mint-d); }
.move h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.035em; margin-bottom: 12px; }
.move p { color: var(--ink-2); }
.move__body { display: grid; gap: 4px; }
.move__meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-3); }
.move:not(:last-child)::after { content: "→"; position: absolute; right: 28px; top: 32px; font-size: 22px; color: var(--ink-3); }

/* ==========================================================================
   TESTIMONIALS — two-row marquee
   ========================================================================== */
.reviews { overflow: hidden; }
.reviews__head { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.rating { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; background: var(--gray); }
.rating b { font-family: var(--display); color: var(--ink); }
.marquee { display: grid; gap: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 90s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 100s; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.rev { flex: none; width: 400px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 20px; transition: border-color .3s, box-shadow .3s; }
.rev:hover { border-color: var(--line); box-shadow: var(--shadow); }
.rev q { quotes: none; font-size: 18px; line-height: 1.55; color: var(--ink); flex: 1; }
.rev__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--navy); background: var(--gray); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ring, var(--blue)); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.rev__who b { display: block; font-family: var(--display); font-weight: 650; font-size: 15.5px; }
.rev__who span { font-size: 14.5px; color: var(--ink-3); }
.rev__top { display: flex; justify-content: space-between; align-items: center; }
.rev__top .stars { font-size: 13px; }
.rev__thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; }
.rev__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-wrap { padding-block: clamp(24px, 4vw, 48px) 0; }
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: center; background: var(--navy); border-radius: 36px; padding: clamp(36px, 5.6vw, 80px); color: #C9D1E0; }
.cta::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(30, 99, 255, .4), transparent 70%); pointer-events: none; }
.cta::after { content: ""; position: absolute; left: -10%; bottom: -50%; width: 50%; height: 100%; background: radial-gradient(closest-side, rgba(113, 227, 198, .14), transparent 70%); pointer-events: none; }
.cta__copy { position: relative; z-index: 1; display: grid; gap: 24px; justify-items: start; }
.cta__copy p { font-size: 18px; max-width: 30em; }
.cta__btns { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 13px; font-weight: 600; color: #fff; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.badge img { width: 16px; height: auto; }
.orbit { position: relative; z-index: 1; aspect-ratio: 1; width: min(100%, 440px); justify-self: center; container-type: inline-size; }
.orbit__ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.orbit__ring--1 { width: 100%; height: 100%; }
.orbit__ring--2 { width: 68%; height: 68%; border-style: dashed; border-color: rgba(255, 255, 255, .16); animation: spin 80s linear infinite reverse; }
.orbit__ring--3 { width: 38%; height: 38%; background: radial-gradient(closest-side, rgba(30, 99, 255, .25), transparent); border: 0; }
.orbit__core { position: absolute; inset: 0; margin: auto; width: 26%; height: 26%; border-radius: 28%; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(30, 99, 255, .6); }
.orbit__core img { width: 58%; height: auto; }
.orbit__spin { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.ochip { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(42cqw) rotate(calc(-1 * var(--a))); }
.ochip > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: #fff; color: var(--navy); font-family: var(--display); font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); animation: counter 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* ==========================================================================
   CONTACT / FORM
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__side { display: grid; gap: 24px; position: sticky; top: 120px; }
.contact__side .eyebrow { margin-bottom: -2px; }
.promises { display: grid; gap: 14px; margin-top: 8px; }
.promises li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--ink); }
.promises svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(113, 227, 198, .3); fill: none; stroke: var(--mint-d); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.direct { display: grid; gap: 4px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.direct__k { font-size: 15px; color: var(--ink-3); }
.direct__v { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; transition: color .2s; }
.direct__v:hover { color: var(--blue); }
.direct__v--sm { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }

.form { background: var(--gray); border-radius: var(--r-lg); padding: clamp(24px, 3.6vw, 48px); display: grid; gap: 24px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-family: var(--display); font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #98A2B6; }
.field input:hover, .field textarea:hover { border-color: #C3CEDF; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 99, 255, .14); }
.is-bad { border-color: var(--coral) !important; box-shadow: 0 0 0 4px rgba(255, 107, 87, .16) !important; }
fieldset.is-bad { box-shadow: none !important; }
fieldset.is-bad .chips span { border-color: var(--coral); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 16px; transition: all .2s var(--ease); cursor: pointer; }
.chips label:hover span { border-color: var(--navy); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.chips--seg { display: grid; grid-template-columns: repeat(4, 1fr); }
.chips--seg span { display: block; text-align: center; padding-inline: 8px; }
.hp { position: absolute; left: -9999px; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 15px; color: var(--ink-3); }
.form__err { color: #C2412F; font-size: 16px; font-weight: 600; }
.form__ok { position: absolute; inset: 0; border-radius: var(--r-lg); background: var(--gray); display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 32px; }
.form__ok svg { width: 64px; height: 64px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__ok h3 { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.form__ok p { color: var(--ink-2); max-width: 26em; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy); color: #AEB8CC; padding-top: clamp(72px, 9vw, 120px); overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer__grid { display: grid; grid-template-columns: 5fr 3fr 2fr 3fr; gap: 40px; }
.footer__brand .brandmark { margin-bottom: 22px; }
.footer__brand img { height: 36px; width: auto; }
.footer__brand p { max-width: 24em; font-size: 16px; }
.footer h3 { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 16px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--mint); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--navy-line); }
.social a:hover { background: #fff; color: var(--navy); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__word { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 24vw, 360px); line-height: .8; letter-spacing: -0.07em; text-align: center; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12); margin-top: clamp(48px, 6vw, 88px); user-select: none; white-space: nowrap; transform: translateY(8%); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: 15px; position: relative; }
.footer__base::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--navy-line); }
.footer__legal { display: flex; gap: 24px; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8, 12, 24, .94); display: grid; place-items: center; padding: 72px 88px; animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb__fig { display: grid; gap: 16px; justify-items: center; max-height: 100%; }
.lb__fig img { max-height: calc(100vh - 180px); max-width: 100%; width: auto; border-radius: 12px; }
.lb__fig figcaption { color: #C9D1E0; font-size: 16px; text-align: center; }
.lb__fig figcaption b { color: #fff; font-family: var(--display); font-weight: 600; }
.lb__close { position: absolute; top: calc(20px + env(safe-area-inset-top, 0px)); right: 20px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }

/* ---------- Scroll reveal (content stays visible without JS) ---------- */
.js .reveal { opacity: 0.001; transform: translateY(28px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.faces-wall li.reveal.is-in:nth-child(even) { transform: translateY(48px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .topbar__info li:last-child { display: none; }
}
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { margin-top: 24px; }
  .sec-head, .sx, .why__grid, .team__grid, .contact__grid, .cta { grid-template-columns: 1fr; }
  .sx__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scroll-snap-type: x proximity; }
  .sx__tabs::-webkit-scrollbar { display: none; }
  .sx__tab { scroll-snap-align: start; }
  .why__intro, .contact__side { position: static; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__copy { order: 0; }
  .moves { grid-template-columns: 1fr; }
  .move { grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
  .move:not(:last-child)::after { content: none; }
  .orbit { width: min(100%, 360px); }
  .ochip { transform: rotate(var(--a)) translateX(34cqw) rotate(calc(-1 * var(--a))); }
  .ochip > span { font-size: 12.5px; padding: 7px 11px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .topbar__info { display: none; }
  .topbar__social { padding-left: 0; border-left: 0; }
  .topbar__msg { font-size: 14px; }
  .nav__inner { height: 72px; }
  .nav__logo img { height: 32px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__stage, .hs-row { gap: 10px; }
  .hs { border-radius: 12px; }
  .hcard--a { border-width: 4px; }
  .hcard--a { width: 88%; top: 14%; }
  .hcard--b { width: 42%; }
  .hcard--c { width: 42%; right: 4%; }
  .chip--kit { left: 0; bottom: 6%; }
  .chip--ai { right: auto; left: 2%; top: 60%; }
  .chip--rate { left: 4%; top: 2%; }
  .chip--brand, .cursor { display: none; }
  .logos__inner { grid-template-columns: 1fr; gap: 16px; padding-block: 22px; }
  .sx__ai { padding: 28px 20px; }
  .ai-grid { width: 220px; }
  .case { border-radius: 24px; padding: 20px; }
  .case__media { min-height: 300px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { border-radius: 12px; }
  .tile__cap { display: none; }
  .principles li { grid-template-columns: 44px 1fr; }
  .faces-wall { grid-template-columns: repeat(4, 1fr); gap: 8px; padding-bottom: 24px; }
  .faces-wall li { border-radius: 12px; }
  .faces-wall li:nth-child(even), .faces-wall li.reveal.is-in:nth-child(even) { transform: translateY(24px); }
  .move { grid-template-columns: 1fr; gap: 16px; }
  .move__n { font-size: 84px; }
  .rev { width: 300px; padding: 22px; }
  .rev q { font-size: 17px; }
  .cta { border-radius: 28px; }
  .form__row { grid-template-columns: 1fr; }
  .chips--seg { grid-template-columns: 1fr 1fr; }
  .form__foot .btn { width: 100%; }
  .lb { padding: 64px 12px; }
  .lb__nav { top: auto; bottom: 16px; transform: none; }
  .footer__legal { gap: 16px; }
}
/* Services panel at smaller widths: wide pieces move on top when there is no room beside them */
@media (max-width: 1340px) {
  .sx__panel--wide { grid-template-columns: 1fr; }
  .sx__panel--wide .sx__img { min-height: 0; aspect-ratio: var(--ar); }
  .sx__panel--wide .sx__list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1180px) {
  .sx__panel { --ph: 460px; }
}
@media (max-width: 1024px) {
  .sx__panel--laptop { grid-template-columns: 1fr; }
  .sx__panel--laptop .sx__img { min-height: 0; aspect-ratio: var(--ar); }
  .sx__panel--laptop .sx__list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .sx__panel { grid-template-columns: 1fr; }
  .sx__img { min-height: 0; aspect-ratio: var(--ar); }
  .sx__list, .sx__panel--wide .sx__list, .sx__panel--laptop .sx__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .sx__panel { grid-template-columns: 1fr; }
  .sx__img { min-height: 0; aspect-ratio: var(--ar); }
  .sx__list, .sx__panel--wide .sx__list, .sx__panel--laptop .sx__list { grid-template-columns: 1fr; }
}
/* Laptop widths: keep the seven service tabs on one line */
@media (max-width: 1366px) and (min-width: 1025px) {
  .sx__tab { padding: 11px 14px; }
  .sx__n { display: none; }
  .sx__name { font-size: 15px; }
}
/* Phones: comfortable tap areas for text links */
@media (max-width: 767px) {
  .kpi { padding: 14px; }
  .kpi b { font-size: clamp(22px, 7.4vw, 34px); }
  .topbar__msg { font-size: 13px; }
  .link, .direct__v { display: inline-block; padding-block: 10px; }
  .footer li { margin-bottom: 2px; }
  .footer li a { display: inline-block; padding-block: 10px; }
  .footer__legal a { display: inline-block; padding-block: 10px; }
  .topbar__social a { width: 40px; height: 40px; }
  .chips span { padding: 12px 16px; }
}
@media (max-width: 720px) {
}
@media (max-width: 359px) {
  .kpis--2 { grid-template-columns: 1fr; }
}
@media (hover: none) { .tile__cap { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .scribble path { stroke-dashoffset: 0; }
  .logos__row, .marquee__track { animation: none !important; }
  .marquee__row { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- Text-only logo with readable "Pty Ltd" ---- */
.brandmark { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.brandmark img { display: block; }
.brandmark__sub { display: flex; align-items: center; gap: 8px; width: 100%; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .16em; color: var(--ink); white-space: nowrap; }
.brandmark__sub::before, .brandmark__sub::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--blue); }
.brandmark--dark .brandmark__sub { color: #fff; font-size: 16px; }

/* ---- Hero: tagline on top + longer headline ---- */
.hero__tagline { text-transform: none; letter-spacing: 0; font-size: clamp(15px, 1.2vw, 17px); color: var(--ink); }
.hero__title { font-size: clamp(42px, 6.4vw, 100px); line-height: .98; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
@media (max-width: 600px) { .hero__title { font-size: clamp(32px, 9.4vw, 42px); } }
