/* Tomaso home, design 3 preview (?tomaso_v3=1), 1.11.2026.
   Form follows content: type-led lists with hairlines, real work at size, no card grids or icon squares.
   Tokens live in site-v3.css. */

.v3 { background: var(--v3-bg); color: var(--v3-ink); font-family: var(--v3-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
.v3 *, .v3 *::before, .v3 *::after { box-sizing: border-box; }
:where(.v3) img { display: block; max-width: 100%; }
:where(.v3) a { color: inherit; }
/* element-level resets: one type selector of weight, so they beat the theme's element rules (loaded earlier)
   and lose to every class rule below */
:where(.v3) :is(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dt, dd) { margin: 0; }
:where(.v3) :is(ul, ol) { padding: 0; list-style: none; }
.v3 blockquote { margin: 0; padding: 0; border: 0; background: none; font-style: normal; quotes: none; }
.v3 blockquote::before, .v3 blockquote::after { content: none; }
.v3 :where(h1, h2, h3, .v3-statement, .v3-quote-lead p) { text-wrap: balance; }
.v3 button { font: inherit; color: inherit; }
.v3 em { font-style: normal; color: var(--v3-cyan); }

.v3-wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.v3-sec { position: relative; padding-block: clamp(80px, 8.5vw, 136px); border-top: 1px solid var(--v3-line); }

.v3-kicker { display: flex; align-items: center; gap: 12px; color: var(--v3-cyan); font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.v3-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.v3-kicker--latin { font-family: 'Bebas Neue', var(--v3-body); font-weight: 400; font-size: 19px; letter-spacing: .14em; }
.v3-h2 { margin-top: 18px; font-family: var(--v3-display); font-weight: 700; font-size: clamp(60px, 7.6vw, 116px); line-height: .9; letter-spacing: 0; color: #fff; }
.v3-h3 { font-family: var(--v3-display); font-weight: 700; font-size: clamp(42px, 4.6vw, 70px); line-height: .95; color: #fff; }
.v3-lead { margin-top: 26px; max-width: 54ch; color: var(--v3-mute); font-size: 19px; line-height: 1.75; }
.v3-head { max-width: 860px; margin-bottom: clamp(56px, 6vw, 96px); }

.v3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 30px; border-radius: 999px; text-decoration: none;
  font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--v3-ease);
}
.v3-btn svg { width: 20px; height: 20px; flex: none; }
.v3-btn--solid { background: var(--v3-cyan); color: #04131a; }
.v3-btn--solid:hover { background: #fff; }
.v3-btn--line { border: 1px solid rgba(255, 255, 255, .36); color: #fff; }
.v3-btn--line:hover { border-color: var(--v3-cyan); color: var(--v3-cyan); }
.v3-btn:focus-visible, .v3 a:focus-visible, .v3 button:focus-visible { outline: 2px solid var(--v3-cyan); outline-offset: 3px; }
.v3-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.v3-arr { display: inline-block; transition: transform .3s var(--v3-ease); }
.v3-textlinks { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 28px; }
.v3-textlinks a, .v3-more a {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  color: #fff; text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .28);
  transition: color .2s, border-color .2s;
}
.v3-textlinks a { font-size: 16px; }
.v3-more { margin-top: 48px; }
.v3-more a { font-size: 18px; }
.v3-textlinks a:hover, .v3-more a:hover { color: var(--v3-cyan); border-color: var(--v3-cyan); }
.v3-textlinks a:hover .v3-arr, .v3-more a:hover .v3-arr { transform: translateX(-6px); }

/* reveal (only when JS runs) */
.v3-js .v3 [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--v3-ease), transform .9s var(--v3-ease); }
.v3-js .v3 [data-rv].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ hero */
.v3-hero {
  display: flex; align-items: center; min-height: calc(100svh - var(--v3-h));
  padding-block: clamp(40px, 5vw, 88px) clamp(80px, 8vw, 128px);
  background: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(56, 196, 218, .09), transparent 70%), var(--v3-bg);
}
.v3-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 104px); row-gap: clamp(40px, 4.5vw, 64px); align-items: start; }
.v3-hero-top { grid-column: 1 / -1; }
.v3-hero-title { margin-top: 24px; font-family: var(--v3-display); font-weight: 700; font-size: clamp(64px, 10.4vw, 158px); line-height: .86; color: #fff; text-wrap: initial; }
.v3-hero-copy { padding-top: 8px; }
.v3-hero-lead { max-width: 31em; color: var(--v3-mute); font-size: 20px; line-height: 1.75; }
.v3-hero-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; }
.v3-hero-links a { color: var(--v3-mute); font-size: 16px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 6px; transition: color .2s, text-decoration-color .2s; }
.v3-hero-links a:hover { color: #fff; text-decoration-color: var(--v3-cyan); }

.v3-hero-reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.v3-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 6px;
  overflow: hidden; background: #0e0e26; cursor: pointer;
}
.v3-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--v3-ease); }
.v3-frame:hover img { transform: scale(1.045); }
.v3-frame-play {
  position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(5, 5, 26, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff;
  transition: background .25s, color .25s;
}
.v3-frame-play svg { width: 14px; height: 14px; margin-left: 2px; }
.v3-frame:hover .v3-frame-play { background: var(--v3-cyan); color: #04131a; }
.v3-frame-cap {
  position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 40px 14px 14px; text-align: right;
  background: linear-gradient(to top, rgba(5, 5, 26, .9), transparent);
}
.v3-frame-cap b { font-size: 15px; font-weight: 700; color: #fff; }
.v3-frame-cap small { font-size: 13px; color: rgba(255, 255, 255, .72); }
.v3-hero-reel .v3-frame--0, .v3-hero-reel .v3-frame--2 { margin-top: 48px; }
.v3-hero-reel-note { grid-column: 1 / -1; margin-top: 18px; color: var(--v3-faint); font-size: 14px; line-height: 1.6; }
.v3-hero-reel-note a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------ brand band */
.v3-band { position: relative; z-index: 2; margin: 0 -2%; padding: 15px 0; overflow: hidden; background: var(--v3-cyan); transform: rotate(-2deg); }
.v3-band-track { display: flex; align-items: center; width: max-content; animation: v3-band 48s linear infinite; }
.v3-band span { font-family: 'Bebas Neue', var(--v3-body); font-size: 32px; line-height: 1; letter-spacing: .08em; color: #05051a; white-space: nowrap; }
.v3-band i { width: 7px; height: 7px; margin: 0 26px; border-radius: 50%; background: #05051a; flex: none; }
@keyframes v3-band { to { transform: translateX(-50%); } }
.v3-band + .v3-sec { border-top: 0; }

/* ------------------------------------------------------------ testimonial videos */
.v3-split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: end; margin-bottom: 64px; }
.v3-split-head .v3-h2 { margin-top: 0; }
.v3-split-side .v3-lead { margin-top: 0; }
.v3-reel { --gutter: max(32px, calc((100vw - 1280px) / 2)); overflow-x: auto; scrollbar-width: none; cursor: grab; scroll-padding-inline: var(--gutter); }
.v3-reel::-webkit-scrollbar { display: none; }
.v3-reel.is-dragging { cursor: grabbing; }
.v3-reel.is-dragging .v3-frame { pointer-events: none; }
.v3-reel-track { display: flex; gap: 20px; width: max-content; padding-inline: var(--gutter); }
.v3-reel-track li { flex: 0 0 clamp(210px, 19vw, 272px); }
.v3-reel-cap { margin-top: 14px; color: rgba(255, 255, 255, .86); font-size: 16px; font-weight: 600; line-height: 1.4; }
.v3-reel-bar { width: min(1280px, calc(100% - 64px)); height: 2px; margin: 40px auto 0; background: var(--v3-line); overflow: hidden; }
.v3-reel-bar span { display: block; height: 100%; width: var(--w, 30%); margin-inline-start: var(--x, 0%); background: var(--v3-cyan); transition: margin .1s linear; }

/* ------------------------------------------------------------ services */
.v3-svc { border-top: 1px solid var(--v3-line); }
.v3-svc li { border-bottom: 1px solid var(--v3-line); }
.v3-svc a {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto; gap: 48px; align-items: center;
  padding: 34px 0; text-decoration: none; color: #fff;
}
.v3-svc-title { font-family: var(--v3-display); font-weight: 700; font-size: clamp(42px, 4.8vw, 76px); line-height: 1; transition: color .3s, transform .5s var(--v3-ease); }
.v3-svc-desc { color: var(--v3-mute); font-size: 17px; line-height: 1.7; max-width: 46ch; }
.v3-svc-desc small { display: block; margin-top: 10px; color: var(--v3-faint); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-align: right; }
.v3-svc-go { display: inline-flex; align-items: center; gap: 10px; color: var(--v3-faint); font-size: 15px; font-weight: 700; transition: color .3s; }
.v3-svc a:hover .v3-svc-title, .v3-svc a:focus-visible .v3-svc-title { color: var(--v3-cyan); transform: translateX(-12px); }
.v3-svc a:hover .v3-svc-go { color: #fff; }
.v3-svc a:hover .v3-arr { transform: translateX(-6px); }
.v3-peek {
  position: fixed; top: 0; left: 0; z-index: 40; width: 250px; aspect-ratio: 4 / 5; margin: 0;
  border-radius: 6px; overflow: hidden; pointer-events: none; background: #0e0e26;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(.9) rotate(-3deg);
  transition: opacity .25s, transform .45s var(--v3-ease);
}
.v3-peek.is-on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1) rotate(-3deg); }
.v3-peek img { width: 100%; height: 100%; object-fit: cover; }
.v3-peek figcaption { position: absolute; bottom: 10px; right: 10px; padding: 5px 10px; border-radius: 4px; background: rgba(5, 5, 26, .78); color: #fff; font-size: 13px; font-weight: 600; }

/* ------------------------------------------------------------ results */
.v3-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; padding-block: 64px; border-top: 1px solid var(--v3-line); }
.v3-case:first-of-type { border-top: 0; padding-top: 0; }
.v3-case.is-flip .v3-case-media { order: 2; }
.v3-case-media { aspect-ratio: 4 / 5; max-height: 660px; border-radius: 6px; overflow: hidden; background: #0e0e26; }
.v3-case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--v3-ease); }
.v3-case:hover .v3-case-media img { transform: scale(1.03); }
.v3-case-name { font-family: var(--v3-display); font-weight: 700; font-size: clamp(52px, 5.8vw, 92px); line-height: .92; color: #fff; }
.v3-case-tags { margin-top: 16px; color: var(--v3-cyan); font-size: 15px; font-weight: 700; }
.v3-case-desc { margin-top: 22px; max-width: 42ch; color: var(--v3-mute); font-size: 18px; line-height: 1.75; }
.v3-case-stats { display: flex; gap: 56px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--v3-line); }
.v3-case-stats div { display: flex; flex-direction: column-reverse; }
.v3-case-stats dd { font-family: var(--v3-display); font-weight: 700; font-size: clamp(58px, 6vw, 96px); line-height: .95; color: #fff; text-align: right; }
.v3-case-stats dt { margin-top: 6px; color: var(--v3-faint); font-size: 15px; font-weight: 600; }

/* ------------------------------------------------------------ websites */
.v3-carmela { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(40px, 6vw, 88px); row-gap: 24px; align-items: center; }
.v3-carmela-copy .v3-h3 { margin-top: 18px; }
.v3-carmela-copy > p:not([class]) { margin-top: 24px; color: var(--v3-mute); font-size: 18px; line-height: 1.75; max-width: 44ch; }
.v3-meta { margin-top: 18px; color: var(--v3-faint); font-size: 15px; }
.v3-compare { --pos: 50%; position: relative; aspect-ratio: 1440 / 1000; border-radius: 8px; overflow: hidden; border: 1px solid var(--v3-line); background: #0e0e26; user-select: none; }
.v3-compare > img, .v3-compare-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v3-compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.v3-compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.v3-compare-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  transform: translate(-50%, -50%); background: #fff; color: #05051a; font: 700 18px/1 var(--v3-body); letter-spacing: 2px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
.v3-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; }
.v3-compare-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 5, 26, .78); color: #fff; font-size: 13px; font-weight: 700; pointer-events: none; }
.v3-compare-tag--b { left: 14px; }
.v3-compare-tag--a { right: 14px; }
.v3-source { grid-column: 1 / -1; margin-top: 0; color: var(--v3-faint); font-size: 14px; }
.v3-carmela .v3-source { grid-column: 2; }

.v3-index { margin-top: clamp(80px, 9vw, 128px); border-top: 1px solid var(--v3-line); }
.v3-index li { border-bottom: 1px solid var(--v3-line); }
.v3-index a {
  display: grid; grid-template-columns: 136px minmax(0, 1fr) 190px minmax(0, 1.25fr) 28px; gap: 32px; align-items: center;
  padding: 22px 0; text-decoration: none; color: #fff;
}
.v3-index-shot { aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #0e0e26; }
.v3-index-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--v3-ease); }
.v3-index-title { font-family: var(--v3-display); font-weight: 700; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; transition: color .3s; }
.v3-index-type { color: var(--v3-cyan); font-size: 15px; font-weight: 700; }
.v3-index-desc { color: var(--v3-mute); font-size: 16px; line-height: 1.6; }
.v3-index-go { color: var(--v3-faint); font-size: 20px; transition: color .3s, transform .3s var(--v3-ease); }
.v3-index a:hover .v3-index-title { color: var(--v3-cyan); }
.v3-index a:hover .v3-index-shot img { transform: scale(1.06); }
.v3-index a:hover .v3-index-go { color: #fff; transform: translate(-3px, -3px); }

/* ------------------------------------------------------------ clients */
/* an index of names in columns: one per line, no separators to dangle at line ends */
.v3-names { columns: 6 150px; column-gap: 32px; font-size: 17px; font-weight: 500; line-height: 1.95; color: rgba(255, 255, 255, .6); border-top: 1px solid var(--v3-line); padding-top: 24px; }
.v3-names li { break-inside: avoid; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; unicode-bidi: isolate; transition: color .2s; }
.v3-names li:hover { color: #fff; }

/* ------------------------------------------------------------ text testimonials */
.v3-quote-lead { position: relative; max-width: 1100px; padding-top: 64px; }
.v3-quote-lead::before { content: "\201D"; position: absolute; top: -18px; right: -6px; font-family: 'Bebas Neue', serif; font-size: 160px; line-height: 1; color: var(--v3-cyan); }
.v3-quote-lead blockquote p { font-family: var(--v3-display); font-weight: 700; font-size: clamp(40px, 4.6vw, 74px); line-height: 1.02; color: #fff; }
.v3-quote-lead figcaption { margin-top: 28px; color: var(--v3-mute); font-size: 18px; }
.v3-quote-lead figcaption b { color: #fff; }
.v3-quote-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 56px; margin-top: clamp(72px, 8vw, 112px); }
.v3-quote-list li { padding-top: 26px; border-top: 1px solid var(--v3-line); }
.v3-quote-list blockquote { color: rgba(255, 255, 255, .88); font-size: 18px; line-height: 1.7; }
.v3-quote-list p { margin-top: 16px; color: var(--v3-faint); font-size: 15px; }
.v3-quote-list p b { color: #fff; }
.v3-quote-more { display: none; }

/* ------------------------------------------------------------ team */
.v3-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.v3-people-photo { display: block; aspect-ratio: 4 / 5; margin-bottom: 20px; border-radius: 6px; overflow: hidden; background: #e7e7ea; }
.v3-people-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.04); transition: filter .6s, transform 1s var(--v3-ease); }
.v3-people li:hover img { filter: none; transform: scale(1.02); }
.v3-people b { display: block; color: #fff; font-size: 24px; font-weight: 700; }
.v3-people span:not(.v3-people-photo) { display: block; margin-top: 6px; color: var(--v3-mute); font-size: 16px; line-height: 1.5; }
.v3-statement { max-width: 30ch; margin-top: clamp(80px, 9vw, 128px); font-family: var(--v3-display); font-weight: 700; font-size: clamp(42px, 4.8vw, 76px); line-height: 1.02; color: #fff; }

/* ------------------------------------------------------------ lectures + guides rows */
.v3-lect-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.v3-lect .v3-head { margin-bottom: 48px; }
.v3-lect .v3-h2 { font-size: clamp(56px, 6.2vw, 96px); }
.v3-creds { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 26px; color: rgba(255, 255, 255, .84); font-size: 16px; font-weight: 600; }
.v3-creds span + span::before { content: "·"; margin: 0 12px; color: var(--v3-cyan); }
.v3-rows { border-top: 1px solid var(--v3-line); }
.v3-rows li { border-bottom: 1px solid var(--v3-line); }
.v3-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: 24px; align-items: center; padding: 24px 0; text-decoration: none; color: #fff; }
.v3-rows b { font-size: 21px; font-weight: 700; line-height: 1.35; transition: color .25s; }
.v3-rows span { color: var(--v3-faint); font-size: 15px; }
.v3-rows .v3-arr { color: var(--v3-faint); }
.v3-rows a:hover b { color: var(--v3-cyan); }
.v3-rows a:hover .v3-arr { color: #fff; transform: translateX(-6px); }
.v3-rows--guides a { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) 24px; padding: 30px 0; }
.v3-rows--guides b { font-family: var(--v3-display); font-size: clamp(32px, 3.2vw, 48px); line-height: 1; }
.v3-rows--guides span { color: var(--v3-mute); font-size: 17px; line-height: 1.65; }

.v3-lect-photo { position: sticky; top: calc(var(--v3-h) + 32px); border-radius: 6px; overflow: hidden; }
.v3-lect-photo img { width: 100%; aspect-ratio: 1000 / 1400; object-fit: cover; object-position: top; }
.v3-lect-photo figcaption { position: absolute; inset: auto 0 0; padding: 80px 24px 24px; background: linear-gradient(to top, rgba(5, 5, 26, .92), transparent); color: var(--v3-mute); font-size: 15px; }
.v3-lect-photo figcaption b { display: block; color: #fff; font-size: 20px; }
.v3-lect-play {
  position: absolute; top: 20px; right: 20px; display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center;
  padding: 12px 18px 12px 20px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; text-align: right;
  background: rgba(5, 5, 26, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: border-color .25s;
}
.v3-lect-play svg { grid-row: span 2; width: 16px; height: 16px; color: var(--v3-cyan); }
.v3-lect-play span { font-size: 15px; font-weight: 700; color: #fff; }
.v3-lect-play small { font-size: 13px; color: var(--v3-faint); }
.v3-lect-play:hover { border-color: var(--v3-cyan); }

/* ------------------------------------------------------------ closing */
.v3-cta { background: var(--v3-bg2); }
.v3-cta .v3-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: end; }
.v3-cta-title { font-family: var(--v3-display); font-weight: 700; font-size: clamp(100px, 15vw, 248px); line-height: .8; color: #fff; }
.v3-cta-side p { color: var(--v3-mute); font-size: 20px; line-height: 1.75; max-width: 36ch; }
.v3-cta-side .v3-actions { margin-top: 32px; }

/* video modal (same markup and script as the live home) */
.tomaso-v3 .tomaso-video-modal { position: fixed; inset: 0; z-index: 2147483500; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(2, 2, 12, .92); }
.tomaso-v3 .tomaso-video-modal.active, .tomaso-v3 .tomaso-video-modal.open, .tomaso-v3 .tomaso-video-modal.is-open { display: flex; }

/* ------------------------------------------------------------ tablet */
@media (max-width: 1100px) {
  .v3-index a { grid-template-columns: 120px minmax(0, 1fr) 28px; row-gap: 6px; }
  .v3-index-shot { grid-row: span 3; }
  .v3-index-title, .v3-index-type, .v3-index-desc { grid-column: 2; }
  .v3-index-go { grid-column: 3; grid-row: 1; }
  .v3-quote-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ phone (round 2, 1.11 night)
   Tomer: "on mobile nothing looks good". Rebuilt for the phone rather than shrunk from desktop:
   a calmer type scale, compact lists with real work thumbnails, results as a swipe row, shorter page. */
.v3-svc-thumb, .v3-cases-bar { display: none; }
.v3-cases { display: block; }

@media (max-width: 820px) {
  .v3-wrap { width: calc(100% - 40px); }
  .v3-sec { padding-block: 64px; }
  .v3-kicker { font-size: 13px; gap: 10px; }
  .v3-kicker::before { width: 20px; }
  .v3-kicker--latin { font-size: 16px; }
  .v3-h2 { margin-top: 12px; font-size: 42px; line-height: .95; }
  .v3-h3 { font-size: 34px; }
  .v3-lead { margin-top: 14px; font-size: 16px; line-height: 1.7; }
  .v3-head { margin-bottom: 32px; }
  .v3-more { margin-top: 28px; }
  .v3-more a, .v3-textlinks a { font-size: 15px; }
  .v3-textlinks { gap: 12px 24px; margin-top: 18px; }
  .v3-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .v3-btn { height: 52px; padding: 0 12px; font-size: 15px; width: auto; }
  .v3-btn svg { width: 18px; height: 18px; }

  /* hero: headline, then the work, then the words */
  .v3-hero { min-height: 0; padding-block: 20px 44px; }
  .v3-hero-grid { grid-template-columns: 1fr; row-gap: 0; }
  .v3-hero-title { margin-top: 14px; font-size: clamp(50px, 14vw, 60px); line-height: .9; }
  .v3-hero-title br { display: none; }
  .v3-hero-copy { order: 3; padding-top: 0; }
  .v3-hero-reel { order: 2; display: flex; gap: 10px; margin: 24px -20px 24px; padding-inline: 20px; scroll-padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .v3-hero-reel::-webkit-scrollbar { display: none; }
  .v3-hero-reel .v3-frame { flex: 0 0 34vw; margin-top: 0 !important; scroll-snap-align: start; border-radius: 4px; }
  .v3-frame-play { top: 8px; left: 8px; width: 30px; height: 30px; }
  .v3-frame-play svg { width: 11px; height: 11px; }
  .v3-frame-cap { padding: 28px 10px 10px; }
  .v3-frame-cap b { font-size: 13px; }
  .v3-frame-cap small { font-size: 11.5px; }
  .v3-hero-reel-note { display: none; }
  .v3-hero-lead { font-size: 16px; line-height: 1.7; }
  .v3-hero-links { margin-top: 18px; gap: 8px 20px; }
  .v3-hero-links a { font-size: 14.5px; }

  .v3-band { padding: 11px 0; }
  .v3-band span { font-size: 21px; }
  .v3-band i { width: 5px; height: 5px; margin: 0 14px; }

  /* testimonial videos */
  .v3-split-head { grid-template-columns: 1fr; gap: 0; margin-bottom: 28px; }
  .v3-split-side .v3-lead { margin-top: 14px; }
  .v3-reel { --gutter: 20px; }
  .v3-reel-track { gap: 10px; }
  .v3-reel-track li { flex-basis: 42vw; }
  .v3-reel-cap { margin-top: 10px; font-size: 14px; }
  .v3-reel-bar { width: calc(100% - 40px); margin-top: 22px; }

  /* services: a compact index with a picture of real work */
  .v3-svc a { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: start; padding: 16px 0; }
  .v3-svc-thumb { display: block; grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: #0e0e26; }
  .v3-svc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .v3-svc-title { grid-column: 2; font-family: var(--v3-body); font-weight: 700; font-size: 18px; line-height: 1.3; }
  .v3-svc-desc { grid-column: 2; font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .v3-svc-desc small { display: none; }
  .v3-svc-go { display: none; }
  .v3-svc a:hover .v3-svc-title, .v3-svc a:focus-visible .v3-svc-title { transform: none; }
  .v3-peek { display: none; }

  /* results: one swipe row instead of four full screens */
  .v3-cases { display: flex; gap: 14px; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .v3-cases::-webkit-scrollbar { display: none; }
  .v3-case, .v3-case:first-of-type { flex: 0 0 76vw; display: block; padding: 0; border: 0; scroll-snap-align: start; }
  .v3-case-media { aspect-ratio: 4 / 5; max-height: none; border-radius: 4px; }
  .v3-case-name { margin-top: 16px; font-size: 30px; }
  .v3-case-tags { margin-top: 8px; font-size: 13px; }
  .v3-case-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .v3-case-stats { gap: 28px; margin-top: 16px; padding-top: 14px; }
  .v3-case-stats dd { font-size: 38px; }
  .v3-case-stats dt { font-size: 13px; }
  .v3-cases-bar { display: block; width: 100%; margin-top: 22px; }

  /* websites */
  .v3-carmela { grid-template-columns: 1fr; row-gap: 20px; }
  .v3-carmela-copy .v3-h3 { margin-top: 12px; }
  .v3-carmela-copy > p:not([class]) { margin-top: 14px; font-size: 15.5px; }
  .v3-meta { font-size: 13.5px; }
  .v3-carmela .v3-source { grid-column: 1; margin-top: -8px; font-size: 12.5px; }
  .v3-compare-handle::after { width: 38px; height: 38px; font-size: 14px; }
  .v3-compare-tag { top: 10px; padding: 4px 9px; font-size: 12px; }
  .v3-index { margin-top: 44px; }
  .v3-index a { grid-template-columns: 88px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; }
  .v3-index-shot { grid-row: 1 / span 3; }
  .v3-index-title { font-family: var(--v3-body); font-weight: 700; font-size: 17px; line-height: 1.3; }
  .v3-index-type { font-size: 13px; }
  .v3-index-desc { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .v3-index-go { display: none; }

  /* clients: the first names, whole, and a link to all */
  .v3-names { columns: 2; column-gap: 20px; font-size: 15.5px; line-height: 1.9; padding-top: 16px; }
  .v3-names li:nth-child(n+31) { display: none; }

  /* quotes */
  .v3-quote-lead { padding-top: 40px; }
  .v3-quote-lead::before { font-size: 96px; top: -10px; }
  .v3-quote-lead blockquote p { font-size: 30px; line-height: 1.05; }
  .v3-quote-lead figcaption { margin-top: 16px; font-size: 15px; }
  .v3-quote-list { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .v3-quote-list li { padding: 18px 0; }
  .v3-quote-list blockquote { font-size: 15.5px; line-height: 1.65; }
  .v3-quote-list p { margin-top: 10px; font-size: 13.5px; }
  .v3-quote-list li:nth-child(n+4) { display: none; }
  .v3-quote-list.is-all li { display: block; }
  .v3-quote-more { display: inline-flex; margin-top: 20px; padding: 0 0 6px; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }

  /* team: one row of three */
  .v3-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; overflow: visible; }
  .v3-people li { flex: none; }
  .v3-people-photo { margin-bottom: 10px; border-radius: 4px; }
  .v3-people b { font-size: 14.5px; }
  .v3-people span:not(.v3-people-photo) { margin-top: 2px; font-size: 12.5px; line-height: 1.4; }
  .v3-statement { margin-top: 40px; font-size: 30px; line-height: 1.08; }

  /* lectures */
  .v3-lect-grid { grid-template-columns: 1fr; gap: 0; }
  .v3-lect-copy { order: 2; }
  .v3-lect-photo { order: 1; position: relative; top: 0; margin-bottom: 28px; border-radius: 4px; }
  .v3-lect-photo img { aspect-ratio: 4 / 4.2; }
  .v3-lect-photo figcaption { padding: 60px 16px 14px; font-size: 13px; }
  .v3-lect-photo figcaption b { font-size: 16px; }
  .v3-lect-play { top: 12px; right: 12px; padding: 8px 14px 8px 16px; }
  .v3-lect-play span { font-size: 13.5px; }
  .v3-lect-play small { font-size: 12px; }
  .v3-lect .v3-head { margin-bottom: 24px; }
  .v3-lect .v3-h2 { font-size: 42px; }
  .v3-creds { flex-direction: column; gap: 6px; margin-top: 16px; font-size: 14.5px; }
  .v3-creds span + span::before { content: none; }
  .v3-creds span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; border-radius: 50%; background: var(--v3-cyan); vertical-align: middle; }

  /* rows (lectures + guides) */
  .v3-rows a { grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 14px; padding: 15px 0; }
  .v3-rows a > span:not(.v3-arr) { grid-column: 1; grid-row: 2; font-size: 13.5px; }
  .v3-rows a > .v3-arr { grid-column: 2; grid-row: 1 / span 2; }
  .v3-rows b { font-size: 16.5px; }
  .v3-rows--guides a { padding: 18px 0; }
  .v3-rows--guides b { font-family: var(--v3-body); font-size: 17px; line-height: 1.35; }
  .v3-rows--guides span { font-size: 14.5px; line-height: 1.55; }

  /* closing */
  .v3-cta .v3-wrap { grid-template-columns: 1fr; gap: 20px; }
  .v3-cta-title { font-size: clamp(76px, 22vw, 96px); }
  .v3-cta-side p { font-size: 16px; }
  .v3-cta-side .v3-actions { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .v3 *, .v3 *::before, .v3 *::after { transition: none !important; animation: none !important; }
  .v3-js .v3 [data-rv] { opacity: 1; transform: none; }
}

/* theme button colours must not reach content buttons */
html body.tomaso-v3 .v3 :is(.v3-frame, .v3-lect-play, .v3-quote-more):is(:hover, :focus, :active) { background-color: transparent; box-shadow: none; }
html body.tomaso-v3 .v3 .v3-frame:is(:hover, :focus, :active) { background-color: #0e0e26; }
html body.tomaso-v3 .v3 .v3-lect-play:is(:hover, :focus, :active) { background: rgba(5, 5, 26, .72); color: inherit; }

/* ------------------------------------------------------------ round 3 (1.11 night): Tomer rejected the names list
   and the quotes list on the phone ("not at the level"). Desktop and phone share the new forms. */
.v3-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* clients: a moving wall of names, each with its own logo; rows run in opposite directions */
.v3-clients { overflow: hidden; }
.v3-clients-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(44px, 5vw, 72px); }
.v3-clients-head .v3-h2 { margin-top: 18px; }
.v3-clients-head .v3-more { margin: 0 0 10px; }
.v3-wall { display: grid; gap: clamp(6px, 1vw, 14px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.v3-wall-row { overflow: hidden; }
.v3-wall-track { display: flex; width: max-content; animation: v3-wall 120s linear infinite; }
.v3-wall-row--1 .v3-wall-track { animation-direction: reverse; animation-duration: 140s; }
.v3-wall-row--2 .v3-wall-track { animation-duration: 110s; }
.v3-wall:hover .v3-wall-track { animation-play-state: paused; }
@keyframes v3-wall { to { transform: translateX(-50%); } }
.v3-wall-item { display: inline-flex; align-items: center; gap: .32em; padding-inline: .5em; font-family: var(--v3-display); font-weight: 700; font-size: clamp(46px, 5.6vw, 86px); line-height: 1.12; color: #fff; white-space: nowrap; }
.v3-wall-item::after { content: ""; width: .12em; height: .12em; margin-inline-start: .5em; border-radius: 50%; background: var(--v3-cyan); opacity: .8; }
.v3-wall-item img { width: .74em; height: .74em; flex: none; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08); }
.v3-wall-item.is-outline b { color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, .62); }
.v3-wall-item b { font-weight: 700; transition: color .25s, -webkit-text-stroke-color .25s; }
.v3-wall-item:hover b { color: var(--v3-cyan); -webkit-text-stroke-color: var(--v3-cyan); }

/* quotes: one quote on stage, the clients as the selector */
.v3-stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.v3-stage-quotes { display: grid; }
.v3-js .v3-stage-quote[hidden] { display: block; }
.v3-stage-quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s var(--v3-ease), transform .7s var(--v3-ease), visibility .5s; }
.v3-stage-quote.is-on { opacity: 1; visibility: visible; transform: none; }
.v3-stage-mark { display: block; height: .5em; font-family: 'Bebas Neue', serif; font-size: 190px; line-height: .78; color: var(--v3-cyan); }
.v3-stage-quote blockquote p { font-family: var(--v3-body); font-weight: 600; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.38; color: #fff; text-wrap: pretty; }
.v3-stage-quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--v3-line); }
.v3-stage-quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; padding: 4px; background: #fff; flex: none; }
.v3-stage-quote figcaption b { display: block; font-size: 19px; color: #fff; }
.v3-stage-quote figcaption small { display: block; margin-top: 2px; font-size: 15px; color: var(--v3-mute); }
.v3-stage-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--v3-line); }
.v3-stage-pick { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--v3-line); color: var(--v3-faint); text-align: right; font: 600 15.5px/1.3 var(--v3-body); cursor: pointer; transition: color .25s; }
.v3-stage-pick img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; padding: 3px; background: #fff; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.v3-stage-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v3-stage-pick i { position: absolute; right: 0; bottom: -1px; width: 0; height: 2px; background: var(--v3-cyan); }
.v3-stage-pick:hover, .v3-stage-pick.is-on { color: #fff; }
.v3-stage-pick:hover img, .v3-stage-pick.is-on img { filter: none; opacity: 1; }
.v3-stage-pick.is-on i { animation: v3-fill var(--v3-dur, 7s) linear forwards; }
.v3-stage.is-paused .v3-stage-pick.is-on i { animation-play-state: paused; }
.v3-stage.is-static .v3-stage-pick.is-on i { animation: none; width: 100%; }
@keyframes v3-fill { to { width: 100%; } }
html body.tomaso-v3 .v3 .v3-stage-pick:is(:hover, :focus, :active) { background: none; }

@media (max-width: 820px) {
  .v3-clients-head { display: block; margin-bottom: 32px; }
  .v3-clients-head .v3-h2 { margin-top: 12px; }
  .v3-clients-head .v3-more { margin: 18px 0 0; }
  .v3-wall { gap: 4px; }
  .v3-wall-item { font-size: 40px; }
  .v3-wall-item.is-outline b { -webkit-text-stroke-width: 1px; }
  .v3-wall-track { animation-duration: 90s; }
  .v3-wall-row--1 .v3-wall-track { animation-duration: 105s; }
  .v3-wall-row--2 .v3-wall-track { animation-duration: 80s; }

  .v3-stage { grid-template-columns: 1fr; gap: 28px; }
  .v3-stage-quotes { order: 1; }
  .v3-stage-nav { order: 2; display: flex; gap: 8px; margin-inline: -20px; padding: 0 20px 4px; border: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 20px; }
  .v3-stage-nav::-webkit-scrollbar { display: none; }
  .v3-stage-pick { flex: none; grid-template-columns: 30px auto; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid var(--v3-line); border-radius: 999px; font-size: 13.5px; scroll-snap-align: start; overflow: hidden; }
  .v3-stage-pick img { width: 30px; height: 30px; padding: 2px; }
  .v3-stage-pick.is-on { border-color: rgba(56, 196, 218, .6); }
  .v3-stage-pick i { right: 0; bottom: 0; }
  .v3-stage-mark { font-size: 120px; }
  .v3-stage-quote blockquote p { font-size: 22px; line-height: 1.45; }
  .v3-stage-quote figcaption { margin-top: 22px; padding-top: 18px; gap: 12px; }
  .v3-stage-quote figcaption img { width: 46px; height: 46px; }
  .v3-stage-quote figcaption b { font-size: 16.5px; }
  .v3-stage-quote figcaption small { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-wall-track { animation: none; }
  .v3-wall-row { overflow-x: auto; }
}

/* ------------------------------------------------------------ client logo frames (1.11 night): the whole logo,
   centred, on its own ground colour. Replaces the cropped object-fit:cover circles. */
.v3-logo { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--bg, #fff); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.v3-logo img { display: block; width: var(--lw); height: var(--lh); max-width: none; object-fit: contain; object-position: center; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; filter: none; opacity: 1; }
.v3-logo--wall { width: .74em; height: .74em; }
.v3-logo--quote { width: 60px; height: 60px; }
.v3-logo--pick { width: 40px; height: 40px; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.v3-stage-pick:hover .v3-logo--pick, .v3-stage-pick.is-on .v3-logo--pick { filter: none; opacity: 1; }
@media (max-width: 820px) {
  .v3-logo--quote { width: 48px; height: 48px; }
  .v3-logo--pick { width: 30px; height: 30px; }
}


.v3-logo.is-soft img { -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); }
