:root {
  --bg: #19181c;
  --surface: #211f25;
  --surface-2: #29272e;
  --line: rgba(255, 255, 255, .08);
  --text: #f5f5f5;
  --body: rgba(255, 255, 255, .78);
  --muted: rgba(255, 255, 255, .5);
  --blue: #336dde;
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --page: 1120px;
  --gutter: max(24px, calc((100vw - var(--page)) / 2));
  --shadow: 0 18px 44px rgba(0, 0, 0, .32), 0 6px 16px rgba(0, 0, 0, .18);
  --section: 120px;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; overflow-x: clip; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

h1, h2, h3, .footer-big, .brand, .client-name, .member-name, .review-score, .step-n, .marquee-track, .member-stat strong, .hero-stat strong, .contact-way { font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; }
h2 { margin: 0; font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1; }
em { font-style: normal; color: var(--blue); }
h2, h3, .footer-big { text-wrap: balance; }
p, .client-note, .steps span, .review-quote { text-wrap: pretty; }

/* top bar */
.topbar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); transition: background .4s, padding .4s; }
.topbar.is-scrolled { padding-block: 14px; background: rgba(25, 24, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.scroll-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(var(--progress, 0)); transform-origin: left; opacity: 0; transition: opacity .4s; }
.topbar.is-scrolled .scroll-progress { opacity: 1; }
.brand { padding: 6px 0; font-size: 22px; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--blue); }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { padding: 8px 14px; border-radius: 999px; color: var(--body); font-size: 14px; text-decoration: none; transition: color .2s; }
.topnav a:hover, .topnav a.is-current { color: #fff; }
.topnav a.is-current { background: rgba(255,255,255,.08); }
.topnav .topnav-cta { display: inline-flex; align-items: center; min-height: 44px; margin-left: 8px; padding-inline: 18px; color: #fff; background: var(--blue); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; transition: filter .25s, background .25s, transform .35s var(--ease); }
.btn-primary { color: #fff; background: var(--blue); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-small { height: 44px; padding: 0 20px; font-size: 14px; }
/* a button that leads to a profile shows its picture */
.btn-pfp { gap: 8px; padding-left: 7px; }
.btn-pfp img { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

/* hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding: 96px var(--gutter) 10vh; overflow: hidden; }
.hero::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 36%, rgba(25,24,28,.5) 56%, rgba(25,24,28,.82) 76%, var(--bg) 100%); content: ""; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y pinch-zoom; }
.hero-canvas:active { cursor: grabbing; }
.hero-fallback { position: absolute; inset: 0; z-index: 0; display: none; opacity: .3; }
.hero-fallback img { height: 100%; object-fit: cover; }
.no-webgl .hero-fallback { display: block; }
.no-webgl .hero-canvas { display: none; }
/* the ring's videos: in the page (phones pause videos that aren't) but invisible */
.ring-videos { position: absolute; top: 0; left: 0; z-index: -1; display: flex; opacity: .01; pointer-events: none; }
.ring-videos video { width: 4px; height: 4px; }
.hero-copy { position: relative; z-index: 2; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.eyebrow { margin: 0; color: var(--body); font-size: 15px; }
.hero-title { display: flex; flex-wrap: wrap; align-items: center; column-gap: .25em; margin: 10px 0 26px; font-size: min(calc((100vw - 48px) * .126), 8.8rem); font-weight: 900; line-height: .82; letter-spacing: -.045em; white-space: nowrap; }
.hero-title .ch { display: inline-block; transform: translateY(40%); opacity: 0; animation: rise 1.2s var(--ease) forwards; animation-delay: calc(.1s + var(--i) * .06s); }
.hero-title .split:last-child { color: var(--blue); }
@keyframes rise { to { transform: none; opacity: 1; } }
.hero-sub { max-width: 560px; margin: 0 0 30px; color: var(--body); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-stat { display: flex; align-items: center; gap: 14px; margin: 0 0 0 auto; }
.hero-faces { display: flex; flex: none; }
.hero-faces img { width: 38px; height: 38px; margin-left: -12px; border: 2px solid var(--bg); border-radius: 50%; object-fit: cover; }
.hero-faces img:first-child { margin-left: 0; }
.hero-stat strong { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 900; line-height: 1; }
.hero-stat span { max-width: 130px; color: var(--body); font-size: 15px; line-height: 1.35; }

/* marquee */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; padding-right: 40px; animation: scroll 40s linear infinite; color: var(--muted); font-size: clamp(1.3rem, 2.6vw, 2rem); text-transform: uppercase; white-space: nowrap; }
.marquee-track i { color: var(--blue); font-style: normal; font-weight: 500; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* layout */
.page { width: min(calc(100% - 48px), var(--page)); margin: 0 auto; }
section { scroll-margin-top: 80px; }
.section-head { margin-bottom: 32px; }

/* 3D tilt */
.tilt { position: relative; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .7s var(--ease); }
.tilt.is-hover { transition: transform .15s linear; }

/* shared bits */
.feature-tag { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.own-stats { display: flex; flex-wrap: wrap; gap: 2px 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.own-stats b { color: #fff; font-weight: 600; }
.text-link { display: inline-block; padding: 10px 0; color: var(--blue); font-size: 15px; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* edits: one swipeable row that runs to the screen edges */
.work { padding: 100px 0 0; }
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.work-tools { display: flex; align-items: center; gap: 12px; }
.filters { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; color: var(--body); background: transparent; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.filter:hover { color: #fff; }
.filter.is-active { color: #fff; background: var(--blue); }
.row-arrows { display: flex; gap: 6px; }
.row-arrow { display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: transparent; font-size: 18px; cursor: pointer; transition: background .25s, opacity .25s; }
.row-arrow:hover { background: rgba(255,255,255,.06); }
.row-arrow:disabled { opacity: .3; cursor: default; background: transparent; }

.work-grid { --row-h: clamp(230px, 25vw, 320px); display: flex; gap: 18px; margin: 0 calc(50% - 50vw); padding: 4px var(--gutter) 34px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.work-grid::-webkit-scrollbar { display: none; }
@media (pointer: fine) {
  .work-grid, .work-grid .work-card { cursor: grab; }
}
.work-grid.is-dragging { scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.work-grid.is-dragging, .work-grid.is-dragging .work-card { cursor: grabbing; }
.work-card { position: relative; flex: none; height: var(--row-h); aspect-ratio: 16 / 9; max-width: calc(100vw - 72px); overflow: hidden; padding: 0; border: 0; border-radius: 24px; background: #000; color: #fff; cursor: pointer; box-shadow: var(--shadow); font: inherit; text-align: left; scroll-snap-align: start; }
.work-card.tall { aspect-ratio: 3 / 4; }
.work-card.square { aspect-ratio: 1; }
.work-card.edit-04 { aspect-ratio: 1.5382; }
.work-card[hidden] { display: none; }
.work-card.work-featured { display: block; width: min(100%, 800px); max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0 auto 32px; }
.work-card.work-featured[hidden] { display: none; }
.work-featured .card-label { opacity: 1; translate: 0 0; }
.work-card video { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work-card:hover video, .work-card:focus-visible video { transform: scale(1.04); }
.card-editor { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.card-editor.theo { color: #19181c; background: #f5f5f5; }
.card-label { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 5px 13px; overflow: hidden; border-radius: 999px; background: rgba(25,24,28,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; opacity: 0; translate: 0 6px; transition: opacity .35s, translate .35s var(--ease); }
.work-card:hover .card-label, .work-card:focus-visible .card-label { opacity: 1; translate: 0 0; }
.row-progress { position: relative; height: 3px; margin-top: -14px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.1); transition: opacity .3s; }
.row-progress span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; background: var(--blue); }
.row-progress.is-idle { opacity: 0; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* team */
.team { padding: var(--section) 0 0; }
.team-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-x { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border: 6px solid var(--bg); border-radius: 50%; color: #fff; background: var(--blue); font: 500 26px/1 Inter, sans-serif; pointer-events: none; }
.member { display: flex; flex-direction: column; padding: 30px 32px 32px; border-radius: var(--radius); background: var(--surface); container-type: inline-size; }
.member-id { display: flex; align-items: center; gap: 20px; }
.member-id > div { display: grid; gap: 4px; min-width: 0; }
.member-photo { flex: none; width: 92px; height: 92px; border-radius: 24px; background: #09090c; object-fit: cover; object-position: 50% 20%; }
/* sized to the card so the longer name (Theo Williams) stays on one line */
.member-name { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-size: clamp(1.25rem, calc(11.5cqi - 13px), 2.5rem); font-weight: 900; line-height: 1.05; }
.member-bio { margin: 20px 0 22px; color: var(--body); font-size: 17px; }
.member-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.member-stat strong { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 900; line-height: 1; }
.member-stat span { color: var(--muted); font-size: 15px; }
.member-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }

/* clients */
.clients { padding: var(--section) 0 0; }
/* featured client: Coach Ali, a compact card with a small photo */
.client-feature { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; padding: 16px 30px 16px 16px; border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: background .25s, translate .35s var(--ease); }
.client-feature:hover { background: var(--surface-2); translate: 0 -3px; }
.feature-photo { flex: none; width: 210px; height: 150px; border-radius: 18px; object-fit: cover; object-position: 50% 30%; }
.feature-copy { display: grid; gap: 4px; min-width: 0; }
.feature-name { font-family: Archivo, sans-serif; font-stretch: 125%; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.feature-role { color: var(--body); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.feature-link { margin-top: 6px; color: var(--blue); font-size: 15px; font-weight: 500; }
.client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.client-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 24px; background: var(--surface); text-decoration: none; transition: background .25s, translate .35s var(--ease); }
a.client-card:hover { background: var(--surface-2); translate: 0 -3px; }
.client-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.client-icon { display: grid; place-items: center; background: var(--blue); }
.client-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.client-id { display: grid; gap: 4px; min-width: 0; }
.client-name { font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
.client-note { color: var(--body); font-size: 14px; line-height: 1.5; }
a.client-card .client-name::after { margin-left: 6px; color: var(--blue); font: 500 .7em Inter, sans-serif; content: "↗"; }
/* the open slot: an outlined card that leads to the contact section */
.client-cta { border: 1px dashed rgba(255,255,255,.22); background: transparent; }
a.client-cta .client-name::after { content: "→"; }
.client-cta .client-icon svg { stroke-width: 2.2; stroke-linecap: round; }
.collabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.collabs .feature-tag { margin-right: 6px; }
.collab { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 15px; text-decoration: none; transition: background .25s; }
.collab:hover { background: rgba(255,255,255,.06); }
.collab img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.collab span { color: var(--muted); font-size: 14px; }

/* reviews */
.reviews { margin-top: 72px; }
.sub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.sub-head h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; margin: 0; padding: 24px; border-radius: 24px; background: var(--surface); }
.review-score { margin: 0; font-size: clamp(2.4rem, 3.6vw, 3.2rem); font-weight: 900; line-height: 1; white-space: nowrap; }
.review-score span { color: var(--muted); font-size: .5em; }
.review-quote { margin: 14px 0 0; color: var(--body); font-size: 16px; line-height: 1.5; }
.review figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; color: #fff; font-size: 15px; font-weight: 500; }
.review-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--blue); font: 700 13px/1 Inter, sans-serif; }

/* contact */
.footer { width: min(calc(100% - 48px), var(--page)); margin: 0 auto; padding: var(--section) 0 44px; scroll-margin-top: 40px; }
.footer-big { margin: 0 0 34px; font-size: clamp(3rem, 8.4vw, 7.4rem); font-weight: 900; line-height: .9; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 22px; }
.step-n { grid-row: span 2; color: var(--blue); font-size: 15px; font-weight: 700; }
.steps b { font-size: 17px; font-weight: 600; }
.steps li > span:last-child { color: var(--body); font-size: 15px; line-height: 1.5; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 18px 24px 18px 18px; border-radius: var(--radius); background: var(--blue); text-decoration: none; transition: filter .25s, translate .35s var(--ease); }
.contact-card:hover { filter: brightness(1.08); translate: 0 -3px; }
.contact-photo { flex: none; width: 60px; height: 60px; border-radius: 18px; background: #09090c; object-fit: cover; object-position: 50% 20%; }
.contact-id { display: grid; gap: 2px; min-width: 0; }
.contact-card .feature-tag { color: rgba(255,255,255,.75); }
.contact-way { font-size: clamp(1.2rem, 2.1vw, 1.6rem); font-weight: 800; line-height: 1.15; }
.contact-arrow { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-left: auto; border-radius: 50%; color: var(--blue); background: #fff; font-size: 18px; transition: transform .35s var(--ease); }
.contact-card:hover .contact-arrow { transform: rotate(45deg); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0 44px; border-bottom: 1px solid var(--line); }
.social { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 15px; text-decoration: none; transition: background .25s; }
.social:hover { background: rgba(255,255,255,.06); }
.social-icon { width: 18px; height: 18px; flex: none; }
.social-pfp { width: 26px; height: 26px; margin: -4px 0 -4px -10px; border-radius: 50%; object-fit: cover; }
.copyright { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.nowrap { white-space: nowrap; }

/* lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 18px max(16px, calc((100vw - 1200px) / 2)) 24px; overflow: hidden; border: 0; color: #fff; background: transparent; }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox::backdrop { background: rgba(25,24,28,.97); }
.lightbox video { width: auto; max-width: min(calc(100vw - 32px), 1200px); height: auto; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); border-radius: var(--radius); background: #000; }
.lightbox[open] .lightbox-stage { animation: pop .5s var(--ease); }
/* browsers without showModal() (iOS 15.3 and older) */
.lightbox.is-fallback[open] { z-index: 100; background: rgba(25,24,28,.97); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.lightbox-bar { display: flex; flex: none; align-items: center; justify-content: flex-end; gap: 10px; width: 100%; }
.lightbox-title { flex: 1; min-width: 0; margin: 0; overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-title b { margin-right: 4px; color: var(--blue); font-weight: 600; }
.lightbox-sound, .lightbox-close { flex: none; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; background: transparent; cursor: pointer; font-size: 14px; }
.lightbox-sound { padding: 0 18px; }
.lightbox-sound[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); }
.lightbox-close, .lightbox-step { width: 42px; font-size: 15px; }
.lightbox-step { flex: none; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; }
.lightbox-sound:hover, .lightbox-step:hover, .lightbox-close:hover { background: rgba(255,255,255,.08); }
.lightbox-sound[aria-pressed="true"]:hover { background: var(--blue); filter: brightness(1.1); }
.lightbox-stage { position: relative; margin: auto 0; border-radius: var(--radius); cursor: pointer; touch-action: pan-y; }
.lightbox-paused { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(25,24,28,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.lightbox-paused svg { width: 30px; height: 30px; margin-left: 4px; fill: #fff; }
.lightbox-stage.is-paused .lightbox-paused { opacity: 1; transform: none; }
.lightbox-progress { position: absolute; left: 20px; right: 20px; bottom: 16px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.25); pointer-events: none; }
.lightbox-progress span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }

/* shown on the 3D ring only when the phone refused to autoplay */
.ring-hint { position: absolute; z-index: 3; top: 34%; left: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px 11px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: rgba(25,24,28,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 15px/1 Inter, sans-serif; cursor: pointer; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.92); transition: opacity .3s, transform .4s var(--ease); }
.ring-hint.is-shown { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.ring-hint svg { width: 16px; height: 16px; fill: currentColor; }
.ring-hint[hidden] { display: none; }

/* reveal */
.js .reveal { opacity: 0; translate: 0 40px; transition: opacity 1.1s var(--ease), translate 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (max-width: 1100px) {
  .member-actions { gap: 6px; }
  .member-actions .btn-small { padding: 0 13px; font-size: 13.5px; }
}

@media (max-width: 1000px) {
  .client-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collabs .feature-tag { width: 100%; }
}

@media (max-width: 860px) {
  :root { --section: 90px; }
  .topnav a:not(.topnav-cta) { display: none; }
  .brand { font-size: 19px; }
  .work { padding-top: 80px; }
  .work-head { align-items: flex-start; flex-direction: column; }
  .card-label { opacity: 1; translate: 0 0; }
  .team-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* the × sits between the stacked cards, overlapping both edges */
  .team-x { position: relative; top: auto; left: auto; margin: -12px auto; }
  .member { padding: 24px 22px 26px; }
  .steps, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  /* phones: a short photo strip on top, so the details get the full width */
  .client-feature { flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 12px 18px; }
  .feature-photo { width: 100%; height: 150px; border-radius: 16px; }
  .feature-copy { padding: 0 8px; }
  .feature-name { font-size: min(1.4rem, 6.6vw); white-space: nowrap; }
  .feature-role { font-size: 14px; }
  .steps { gap: 10px; }
  .steps li { padding: 14px 18px; }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 4vh; }
  .hero::after { background: linear-gradient(180deg, transparent 28%, rgba(25,24,28,.62) 48%, rgba(25,24,28,.9) 68%, var(--bg) 100%); }
  /* two lines: TWO over TOUCH */
  .hero-title { font-size: calc((100vw - 48px) * .215); line-height: .86; }
  .hero-title .split:last-child { flex-basis: 100%; }
  .hero-stat { flex-wrap: wrap; width: 100%; margin: 6px 0 0; }
  .work-tools { width: 100%; }
  .filters { flex: 1; }
  .filter { flex: 1; justify-content: center; padding: 0 10px; }
  .row-arrows { display: none; }
  .work-grid { --row-h: 230px; gap: 12px; align-items: center; }
  .work-card.wide { width: calc(100vw - 72px); height: auto; max-width: none; }
  .member-photo { width: 72px; height: 72px; border-radius: 20px; }
  .member-id { gap: 14px; }
  .member-name { font-size: clamp(1.25rem, calc(11.5cqi - 10px), 2.5rem); }
  .member-actions .btn { flex: 1 1 auto; }
  .client-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .client-card { padding: 16px; gap: 14px; }
  .client-avatar { width: 50px; height: 50px; }
  .client-name { font-size: 1.3rem; }
  .collabs .feature-tag { width: 100%; }
  .reviews { margin-top: 56px; }
  .review-grid { gap: 10px; }
  .review { padding: 18px; }
  .review-score { font-size: 2rem; }
  .review-quote { font-size: 14px; }
  .footer-big { font-size: calc((100vw - 48px) * .15); }
  .contact-card { gap: 14px; padding: 14px 16px 14px 14px; }
  .contact-photo { width: 50px; height: 50px; border-radius: 15px; }
  .contact-way { font-size: 1.15rem; overflow-wrap: anywhere; }
  .contact-arrow { width: 40px; height: 40px; font-size: 16px; }
  .social { padding: 10px 18px; font-size: 14px; }
  .lightbox-bar { flex-wrap: wrap; }
  .lightbox-title { flex-basis: 100%; }
  .lightbox video { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); }
  .hero-faces img { width: 32px; height: 32px; margin-left: -10px; }
}

/* the smallest phones: one review per row so long words fit */
@media (max-width: 420px) {
  .hero-stat { gap: 6px 12px; }
  .hero-stat > span:last-child { flex-basis: 100%; max-width: none; }
}

@media (max-width: 360px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-way { font-size: 1rem; }
  .contact-photo { width: 44px; height: 44px; border-radius: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .ch { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
