/* Tagbreeze marketing site. Warm paper, ink text, one blue for actions, a yellow marker for the words that matter.
   Photographs carry the mood; product screens are drawn in HTML (see .win) so they stay sharp and translatable. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --paper: #fbfaf6;
  --card: #ffffff;
  --sand: #f2eee5;
  --ink: #15171a;
  --ink-2: #4b5059;
  --line: rgba(21, 23, 26, 0.13);
  --blue: #2450f0;
  --blue-2: #1a3bc0;
  --sun: #ffd35c;
  --night: #111a2e;
  --night-2: #1b2743;
  --night-line: #33405f;
  --on-night: #dfe3ee;
  --ok: #17663f;
  --ok-bg: #dcf1e2;
  --bad: #a53a1c;
  --bad-bg: #f8dfd6;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, sans-serif;
  --ui: 'Geist', 'Helvetica Neue', Helvetica, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.03rem + 0.45vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem);
  --text-2xl: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem);
  --pad: clamp(1.1rem, 0.5rem + 2.6vw, 2.5rem);
  /* Names still used by the inner pages' stylesheet. */
  --ivory: var(--paper); --ivory-2: var(--sand); --forest: var(--blue); --forest-2: var(--night); --forest-line: var(--night-line); --lime: var(--sun);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui); font-size: var(--text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--sun); }
::selection { background: var(--sun); color: var(--ink); }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--sun); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.offscreen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.on-dark { background: var(--night); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.65rem 1.3rem; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; font-size: var(--text-sm); text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.on-dark .btn { border-color: #fff; color: #fff; }
.on-dark .btn:hover { background: #fff; color: var(--night); }
.on-dark .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.on-dark .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0.9rem 1.8rem; font-size: var(--text-base); }

/* A label above a title: plain words, no capitals, no monospace. */
.eyebrow { font-weight: 600; font-size: var(--text-sm); color: var(--blue); }
.on-dark .eyebrow { color: var(--sun); }
/* The words that matter get a stroke of marker. */
h1 em, h2 em { font-style: normal; background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 0.08em; margin: 0 -0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.on-dark h1 em, .on-dark h2 em { background: none; color: var(--sun); padding: 0; margin: 0; }
.fine { margin-top: 1.5rem; font-size: var(--text-sm); color: var(--ink-2); }
.fine a, .text-link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.nav.stuck { background: rgba(251, 250, 246, 0.96); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.brand .mark { width: 1.35em; height: 1.35em; flex: none; color: var(--ink); }
.brand .mark circle { fill: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-links a:not(.btn) { padding: 0.55rem 0.8rem; font-size: var(--text-sm); font-weight: 500; text-decoration: none; border-radius: 99px; transition: background 0.2s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { background: rgba(21, 23, 26, 0.07); }
.nav-links .btn { margin-left: 0.5rem; min-height: 40px; padding: 0.45rem 1.05rem; }
.on-dark .nav:not(.stuck) .brand, .on-dark .nav:not(.stuck) .brand .mark { color: #fff; }
.on-dark .nav:not(.stuck) .brand .mark circle { fill: var(--sun); }
.on-dark .nav:not(.stuck) .nav-links a:not(.btn):hover, .on-dark .nav:not(.stuck) .nav-links a[aria-current] { background: rgba(255, 255, 255, 0.12); }
.on-dark .nav.stuck { color: var(--ink); }
.on-dark .nav.stuck .btn { border-color: var(--ink); color: var(--ink); }
.on-dark .nav.stuck .btn:hover { background: var(--ink); color: #fff; }
.on-dark .nav.stuck .btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- hero ---------- */
.hero { padding: clamp(6.5rem, 11vw, 9rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: clamp(1.1rem, 2vw, 1.75rem); justify-items: start; }
.hero h1 { font-weight: 700; font-size: clamp(2.7rem, 1.3rem + 5.6vw, 5.9rem); line-height: 0.98; letter-spacing: -0.045em; max-width: 12ch; }
.hero-lead { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-note { font-size: var(--text-sm); color: var(--ink-2); }
.shot { position: relative; }
.shot img { width: 100%; border-radius: 28px; object-fit: cover; }
.hero .shot img { aspect-ratio: 4 / 5; max-height: 76vh; }
.chip { position: absolute; display: grid; gap: 0.15rem; padding: 0.8rem 1rem; border-radius: 16px; background: var(--card); box-shadow: 0 18px 40px -18px rgba(17, 26, 46, 0.45); font-size: var(--text-sm); line-height: 1.35; max-width: 17rem; }
.chip b { display: flex; align-items: center; gap: 0.5rem; font-weight: 650; }
.chip span { color: var(--ink-2); font-size: var(--text-xs); }
.chip.a { left: clamp(-2.5rem, -3vw, -0.75rem); top: 12%; }
.chip.b { right: clamp(-1.5rem, -2vw, -0.5rem); bottom: 9%; }
.live { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #1fa864; box-shadow: 0 0 0 0 rgba(31, 168, 100, 0.5); animation: ping 2.2s infinite; }
.tick { width: 1.15rem; height: 1.15rem; flex: none; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.5 2.5 5.1-5.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.works { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; align-items: baseline; color: var(--ink-2); font-size: var(--text-sm); }
.works span { font-family: var(--display); font-weight: 600; font-size: var(--text-lg); color: var(--ink); letter-spacing: -0.02em; }

/* ---------- shared section head ---------- */
main > section { padding: clamp(4rem, 9vw, 8rem) 0; }
.lead-in { display: grid; gap: 0.9rem; margin-bottom: clamp(2.25rem, 4.5vw, 4rem); max-width: 54rem; }
.lead-in h2, .side h2 { font-weight: 700; font-size: clamp(2rem, 1.25rem + 3.1vw, 3.75rem); line-height: 1.03; letter-spacing: -0.04em; }
.lead-in > p:not(.eyebrow), .side > p:not(.eyebrow) { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.on-dark .lead-in > p:not(.eyebrow) { color: var(--on-night); }
.side { display: grid; gap: 1.1rem; justify-items: start; align-content: center; }
.js [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- the problem ---------- */
.lost { background: var(--sand); }
.duo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.duo.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.duo .shot img { aspect-ratio: 4 / 3; }
.lanes { display: grid; gap: 0.75rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.lane { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 13rem); gap: 1.5rem; align-items: center; padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.1rem, 2.5vw, 2rem); border-radius: 20px; background: var(--card); overflow: hidden; }
.lane.good { background: var(--night); color: #fff; }
.lane-name { font-weight: 600; line-height: 1.3; }
.lane-end { font-size: var(--text-sm); font-weight: 600; color: var(--bad); text-align: right; }
.lane.good .lane-end { color: var(--sun); }
.track { position: relative; height: 4.25rem; }
.track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.lane.good .track::before { background: var(--night-line); box-shadow: 0 10px 0 var(--night-line); top: calc(50% - 6px); }
.track::after { content: ''; position: absolute; right: -6px; top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.lane.good .track::after { background: var(--sun); }
.dot { position: absolute; inset: 0; animation: pass 4.8s linear infinite both; }
.dot::before { content: ''; position: absolute; left: -6px; top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.lane.good .dot::before { background: var(--sun); }
.dot.b { animation-delay: -0.96s; } .dot.c { animation-delay: -1.92s; } .dot.d { animation-delay: -2.88s; } .dot.e { animation-delay: -3.84s; }
.lane:not(.good) .dot.b { animation-name: stop1; }
.lane:not(.good) .dot.c { animation-name: stop2; }
.lane:not(.good) .dot.e { animation-name: stop3; }
.gate { position: absolute; top: 0; transform: translateX(-50%); font-size: 0.72rem; font-weight: 600; color: var(--bad); white-space: nowrap; }
.gate::after { content: ''; position: absolute; left: 50%; top: 1.3rem; width: 2px; height: 1.7rem; background: var(--bad); }
.g1 { left: 30%; } .g2 { left: 55%; } .g3 { left: 79%; }

/* ---------- product screens ---------- */
.win { border-radius: 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(17, 26, 46, 0.5); overflow: hidden; font-size: 0.82rem; line-height: 1.45; text-align: left; }
.win-bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0.9rem; background: #f4f2ec; border-bottom: 1px solid var(--line); }
.win-dots { display: inline-flex; gap: 5px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(21, 23, 26, 0.18); }
.win-url { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body { padding: clamp(1rem, 2vw, 1.4rem); overflow-x: auto; }
.ui-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-weight: 650; font-size: 0.9rem; margin-bottom: 0.7rem; }
.ui-h.mt { margin-top: 1.2rem; }
.ui-s { font-weight: 400; font-size: 0.76rem; color: var(--ink-2); }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-top: 1px solid var(--line); }
.kv span { color: var(--ink-2); }
.kv b { font-weight: 600; text-align: right; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1rem; }
.ticks li { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ticks li::before { content: ''; width: 0.95rem; height: 0.95rem; flex: none; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.5 2.5 5.1-5.3' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.win code { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.pills span { padding: 0.35rem 0.7rem; border-radius: 99px; border: 1px solid var(--line); font-size: 0.74rem; }
.pills .on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ui-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.65rem; }
.ui-btn { display: inline-flex; align-items: center; min-height: 2.1rem; padding: 0.35rem 0.85rem; border-radius: 99px; border: 1px solid var(--ink); font-weight: 600; font-size: 0.76rem; }
.ui-btn.lime { background: var(--blue); border-color: var(--blue); color: #fff; }
.ui-note { display: flex; gap: 0.7rem; align-items: center; margin-top: 1.1rem; padding: 0.7rem 0.85rem; border-radius: 10px; background: var(--ok-bg); }
.ui-note b { font-size: 0.7rem; padding: 0.15rem 0.45rem; border-radius: 5px; background: var(--ok); color: #fff; }
.dests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.dest { display: grid; gap: 0.55rem; align-content: start; justify-items: start; padding: 0.85rem; border-radius: 12px; background: #f6f4ee; }
.dest .ui-h { margin: 0; }
.badge { font-style: normal; font-weight: 600; font-size: 0.68rem; padding: 0.15rem 0.5rem; border-radius: 99px; background: #ebe8df; color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.tbl { display: grid; }
.tr { display: grid; grid-template-columns: 1.1fr 1.2fr 1.1fr; gap: 0.75rem; padding: 0.55rem 0; border-top: 1px solid var(--line); align-items: center; }
.tr.th { border-top: 0; padding-top: 0; font-size: 0.7rem; font-weight: 600; color: var(--ink-2); }
.tr .to { font-size: 0.72rem; color: var(--ink-2); }
.tbl.five { min-width: 30rem; }
.five .tr { grid-template-columns: 1.7fr 1.2fr 0.8fr 0.8fr 0.6fr; }

/* ---------- how it works ---------- */
.steps { display: grid; gap: clamp(3rem, 7vw, 6.5rem); }
.step { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 5vw, 5rem); align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.step:nth-child(even) .step-text { order: 2; }
.step-text { display: grid; gap: 0.8rem; justify-items: start; min-width: 0; }
.step-n { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sun); font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.step h3 { font-weight: 700; font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -0.03em; }
.step p { color: var(--ink-2); line-height: 1.7; max-width: 46ch; }
.step-screen { padding: clamp(1rem, 3vw, 2.5rem); border-radius: 28px; background: var(--sand); min-width: 0; }
.step-screen > * { min-width: 0; }
.step:nth-child(2) .step-screen { background: #e4ebff; }
.step:nth-child(3) .step-screen { background: #fff0c4; }
.step:nth-child(4) .step-screen { background: #dff0e4; }

/* ---------- who makes it: a wide photograph ---------- */
main > .band { padding: 0; }
.band .wrap { position: relative; }
.band img { width: 100%; aspect-ratio: 16 / 8; min-height: 24rem; object-fit: cover; border-radius: 28px; }
.band-card { position: absolute; left: calc(var(--pad) + clamp(1rem, 3vw, 2.5rem)); bottom: clamp(1rem, 3vw, 2.5rem); max-width: 30rem; display: grid; gap: 0.9rem; justify-items: start; padding: clamp(1.25rem, 2.5vw, 2rem); border-radius: 22px; background: var(--card); }
.band-card h2 { font-weight: 700; font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -0.03em; }
.band-card p { color: var(--ink-2); line-height: 1.6; font-size: var(--text-sm); }

/* ---------- attribution report ---------- */
.report-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.report { border-radius: 22px; padding: clamp(1rem, 2vw, 1.6rem); background: var(--night-2); min-width: 0; }
.report-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.1rem; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--night); }
.seg button { min-height: 40px; padding: 0.4rem 1.1rem; border: 0; border-radius: 99px; background: transparent; color: var(--on-night); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.seg button[aria-pressed='true'] { background: var(--sun); color: var(--ink); }
.sample { font-size: var(--text-xs); font-weight: 600; color: var(--on-night); border: 1px dashed var(--night-line); border-radius: 99px; padding: 0.25rem 0.7rem; }
.rtable { overflow-x: auto; min-height: 22rem; }
.rtable table { width: 100%; min-width: 39rem; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.rtable th { font-weight: 600; font-size: 0.74rem; color: #aab3c8; text-align: right; padding: 0 0 0.7rem 0.9rem; white-space: nowrap; }
.rtable th:first-child, .rtable td:first-child { text-align: left; padding-left: 0; }
.rtable td { position: relative; text-align: right; padding: 0.75rem 0 0.75rem 0.9rem; border-top: 1px solid var(--night-line); white-space: nowrap; }
.rtable td small { display: block; font-size: 0.76rem; color: #aab3c8; }
.rtable td.rev { min-width: 8.5rem; }
.rtable .bar { position: absolute; left: 0.9rem; right: 0; bottom: 0.45rem; height: 3px; border-radius: 2px; background: var(--sun); transform-origin: right; transform: scaleX(0); transition: transform 0.8s var(--ease); }
.rtable .roas { color: var(--sun); font-weight: 600; }
.rtable .claim { color: #aab3c8; }
.rtable tfoot td { font-weight: 650; border-top: 1px solid #fff; }
.report-copy { display: grid; gap: 1.25rem; justify-items: start; }
.report-copy p { color: var(--on-night); line-height: 1.7; }
.points { list-style: none; margin: 0; padding: 0; display: grid; width: 100%; }
.points li { padding: 0.9rem 0; border-top: 1px solid var(--night-line); color: var(--on-night); line-height: 1.5; }

/* ---------- case studies ---------- */
.case-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.case { display: grid; gap: 0.8rem; align-content: end; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px; background: var(--sand); text-decoration: none; min-width: 0; transition: transform 0.4s var(--ease); }
.case:hover, .case:focus-visible { transform: translate3d(0, -4px, 0); }
.case.big { grid-row: span 2; background: var(--blue); color: #fff; min-height: clamp(21rem, 40vw, 31rem); }
.case .eyebrow { color: var(--ink-2); }
.case.big .eyebrow { color: #dbe3ff; }
.case-figure { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); line-height: 0.95; letter-spacing: -0.045em; }
.case.big .case-figure { font-size: clamp(3.4rem, 1.6rem + 7.5vw, 8rem); color: var(--sun); }
.case h3 { font-family: var(--ui); font-weight: 600; font-size: var(--text-lg); line-height: 1.3; max-width: 30ch; }
.case .more { font-size: var(--text-sm); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- agencies ---------- */
.agency { background: var(--sand); }
.agency .shot .win { position: absolute; left: clamp(0.75rem, 3vw, 2rem); right: clamp(0.75rem, 3vw, 2rem); bottom: clamp(-3.5rem, -5vw, -2rem); }
.agency .shot { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* ---------- blog ---------- */
.posts { display: grid; }
.post { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.2rem, 2.4vw, 1.9rem) 0; border-top: 1px solid var(--line); text-decoration: none; }
.post:last-child { border-bottom: 1px solid var(--line); }
.post h3 { font-weight: 650; font-size: var(--text-xl); line-height: 1.15; letter-spacing: -0.025em; }
.post p:not(.eyebrow) { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.6; }
.post:hover h3, .post:focus-visible h3 { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 4px; text-underline-offset: 4px; }

/* ---------- pricing ---------- */
.pricing { background: var(--sand); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.plan-card { display: grid; gap: 0.8rem; align-content: start; justify-items: start; padding: clamp(1.4rem, 2.5vw, 2.1rem); border-radius: 24px; background: var(--card); }
.plan-card:nth-child(2) { background: var(--night); color: #fff; }
.plan-card h3 { font-family: var(--ui); font-weight: 600; font-size: var(--text-base); }
.plan-card .price { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.6vw, 3.9rem); line-height: 1; letter-spacing: -0.045em; }
.plan-card .price small { font-family: var(--ui); font-weight: 500; font-size: var(--text-sm); letter-spacing: 0; }
.plan-card p:not(.price) { color: var(--ink-2); line-height: 1.6; }
.plan-card:nth-child(2) p:not(.price) { color: var(--on-night); }
.plan-card:nth-child(2) .btn { background: var(--sun); border-color: var(--sun); color: var(--ink); }

/* ---------- questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid > div:first-child { display: grid; gap: 0.9rem; position: sticky; top: 6rem; }
.faq h2 { font-weight: 700; font-size: clamp(2rem, 1.25rem + 3.1vw, 3.75rem); line-height: 1.03; letter-spacing: -0.04em; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 650; font-size: var(--text-xl); line-height: 1.2; letter-spacing: -0.025em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 1.1rem; height: 1.1rem; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform 0.3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 1.4rem; color: var(--ink-2); line-height: 1.7; max-width: 62ch; }

/* ---------- closing ---------- */
main > .closing { padding: 0 0 clamp(3rem, 6vw, 5rem); background: var(--paper); color: var(--ink); }
.closing-box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); border-radius: 32px; overflow: hidden; background: var(--blue); color: #fff; }
.closing-copy { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); align-content: center; justify-items: start; padding: clamp(1.75rem, 5vw, 4.5rem); }
.closing h2 { font-weight: 700; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -0.045em; max-width: 13ch; }
.closing h2 em { background: none; color: var(--sun); padding: 0; margin: 0; }
.closing-copy p { color: #dbe3ff; max-width: 40ch; }
.closing .btn-primary { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.closing .btn-primary:hover { background: #fff; border-color: #fff; }
.closing-box img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }

/* ---------- footer ---------- */
.foot { padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; font-size: var(--text-sm); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-grid > div { display: grid; gap: 0.75rem; align-content: start; justify-items: start; color: var(--ink-2); }
.foot nav { display: grid; gap: 0.55rem; align-content: start; justify-items: start; }
.foot nav b { margin-bottom: 0.3rem; }
.foot nav a { text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); color: var(--ink-2); }
.foot-end::before { content: ''; flex: 0 0 100%; height: 1px; background: var(--line); margin-bottom: 0.75rem; }

/* ---------- motion ---------- */
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(31, 168, 100, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 100, 0); } }
@keyframes pass { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes stop1 { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 30% { transform: translateX(30%); opacity: 1; } 42%, 100% { transform: translateX(30%); opacity: 0; } }
@keyframes stop2 { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 55% { transform: translateX(55%); opacity: 1; } 67%, 100% { transform: translateX(55%); opacity: 0; } }
@keyframes stop3 { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 79% { transform: translateX(79%); opacity: 1; } 91%, 100% { transform: translateX(79%); opacity: 0; } }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .hero-grid, .duo, .duo.flip, .report-grid, .faq-grid, .step, .step:nth-child(even), .closing-box { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .step-text { order: 0; }
  .faq-grid > div:first-child { position: static; }
  .hero .shot img { aspect-ratio: 4 / 3; max-height: none; }
  .chip.a { left: 0.75rem; } .chip.b { right: 0.75rem; }
  .lane { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .lane-end { text-align: left; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .case.big { min-height: 19rem; }
  .post { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band img { aspect-ratio: 4 / 3; }
  .band-card { position: static; max-width: none; margin-top: 0.75rem; background: var(--sand); }
}
@media (max-width: 760px) {
  .nav-links a:not(.btn):not(.lang) { display: none; }
  .nav-links .btn:not(.btn-primary) { display: none; }
  .brand { font-size: 1.3rem; }
  .gate { font-size: 0.62rem; }
  .dests, .ticks { grid-template-columns: minmax(0, 1fr); }
  .chip { max-width: 13.5rem; padding: 0.6rem 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .dot { animation: none; opacity: 1; }
  .dot.a { transform: translateX(8%); } .dot.b { transform: translateX(30%); } .dot.c { transform: translateX(55%); } .dot.d { transform: translateX(68%); } .dot.e { transform: translateX(79%); }
  .lane.good .dot.b { transform: translateX(26%); } .lane.good .dot.c { transform: translateX(47%); } .lane.good .dot.e { transform: translateX(90%); }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.agency .shot .tbl.five { min-width: 0; }
.agency .shot .five .tr { grid-template-columns: 1.6fr 1.15fr 0.6fr 0.8fr 0.6fr; gap: 0.5rem; }
.btn { white-space: nowrap; }
/* The Tagbreeze symbol, with the name in two tones. */
.brand em { font-style: normal; color: var(--blue); }
.on-dark .nav:not(.stuck) .brand em { color: var(--sun); }
.brand .mark { width: 1.3em; height: 1.3em; }
.foot-mail { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* ---------- main menu: three drop-down groups, opened by hover, focus or click ---------- */
.nav-links { gap: 0.15rem; }
.menu { position: relative; }
.menu > button, .nav-links .top-link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0.5rem 0.8rem; border: 0; border-radius: 99px; background: transparent; color: inherit; font-size: var(--text-sm); font-weight: 500; text-decoration: none; cursor: pointer; transition: background 0.2s var(--ease); }
.menu > button::after { content: ''; width: 0.42em; height: 0.42em; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-0.12em) rotate(45deg); transition: transform 0.25s var(--ease); }
.menu.open > button::after { transform: translateY(0.08em) rotate(225deg); }
.menu > button:hover, .menu.open > button, .menu > button[aria-current], .nav-links .top-link:hover, .nav-links .top-link[aria-current] { background: rgba(21, 23, 26, 0.07); }
.on-dark .nav:not(.stuck) .menu > button:hover, .on-dark .nav:not(.stuck) .menu.open > button, .on-dark .nav:not(.stuck) .menu > button[aria-current], .on-dark .nav:not(.stuck) .top-link:hover, .on-dark .nav:not(.stuck) .top-link[aria-current] { background: rgba(255, 255, 255, 0.12); }
.drop { position: absolute; top: calc(100% + 0.6rem); left: -0.5rem; z-index: 5; display: flex; gap: 0.5rem; width: 21rem; padding: 0.6rem; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: 0 24px 60px -24px rgba(17, 26, 46, 0.45), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0); transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0.2s; }
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
.drop.two { width: 40rem; }
.menu.open > .drop { opacity: 1; visibility: visible; transform: none; }
.drop-col { flex: 1; min-width: 0; display: grid; align-content: start; gap: 0.1rem; }
.drop-h { padding: 0.55rem 0.7rem 0.35rem; font-size: var(--text-xs); font-weight: 600; color: var(--ink-2); }
.nav-links .drop a { display: grid; gap: 0.1rem; padding: 0.55rem 0.7rem; border-radius: 12px; text-decoration: none; font-weight: 400; }
.nav-links .drop a:hover, .nav-links .drop a:focus-visible { background: var(--sand); }
.drop a b { font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
.drop a span { font-size: var(--text-xs); color: var(--ink-2); line-height: 1.35; }
.nav-links .drop a.drop-all { margin-top: 0.3rem; font-weight: 600; font-size: var(--text-sm); color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(21, 23, 26, 0.07); color: inherit; cursor: pointer; place-content: center; }
.burger i { display: block; width: 18px; height: 2px; margin: 2px 0; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.on-dark .nav:not(.stuck):not(.open) .burger { background: rgba(255, 255, 255, 0.14); }
.nav.open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger i:nth-child(2) { opacity: 0; }
.nav.open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: grid; }
  .nav .wrap { flex-wrap: wrap; }
  .nav.open { background: var(--paper); color: var(--ink); bottom: 0; overflow-y: auto; }
  .on-dark .nav.open .brand, .on-dark .nav.open .brand .mark { color: var(--ink); }
  .on-dark .nav.open .brand em { color: var(--blue); }
  .on-dark .nav.open .brand .mark circle { fill: var(--blue); }
  .nav-links { display: none; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0.25rem; padding: 0.75rem 0 2rem; }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn):not(.lang), .nav-links .btn:not(.btn-primary) { display: flex; }
  .menu > button, .nav-links .top-link { width: 100%; justify-content: space-between; min-height: 52px; padding: 0.7rem 0.4rem; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 650; font-size: 1.35rem; letter-spacing: -0.02em; background: none !important; }
  .drop, .drop.two { position: static; display: none; flex-direction: column; width: auto; padding: 0.4rem 0 0.8rem; box-shadow: none; border-radius: 0; background: none; opacity: 1; visibility: visible; transform: none; }
  .menu.open > .drop { display: flex; }
  .nav-links .drop a { padding: 0.6rem 0.4rem; }
  .nav-links .btn { margin: 0.6rem 0 0; min-height: 52px; font-size: var(--text-base); }
  .nav.open .btn { border-color: var(--ink); color: var(--ink); }
  .nav.open .btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
}

/* ---------- topic clusters: tiles, see-also lines, the way up from an article ---------- */
main > .cluster { padding: clamp(2.5rem, 6vw, 5rem) 0; }
main > .cluster + .cluster { padding-top: 0; }
.cluster-h { font-weight: 700; font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.75rem; }
.tile { display: grid; gap: 0.3rem; align-content: start; padding: 1.2rem 1.3rem; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tile:hover, .tile:focus-visible { transform: translate3d(0, -3px, 0); box-shadow: 0 0 0 1.5px var(--blue), 0 18px 30px -22px rgba(17, 26, 46, 0.5); }
.tile b { font-family: var(--display); font-weight: 650; font-size: var(--text-lg); letter-spacing: -0.02em; line-height: 1.2; }
.tile span:not(.eyebrow) { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.5; }
.see { font-size: var(--text-sm); }
.see a, .prose .text-link { font-weight: 600; }
.hub { margin-top: 3rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 22px; background: var(--sand); display: grid; gap: 0.5rem; font-size: var(--text-base); }
.hub .eyebrow { color: var(--blue); }
.hub-t { font-family: var(--display); font-weight: 700; font-size: var(--text-2xl); letter-spacing: -0.03em; line-height: 1.1; }
.hub-t a { text-decoration-color: var(--sun); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.hub-s { font-size: var(--text-sm); }
.works a { font-family: var(--display); font-weight: 600; font-size: var(--text-lg); color: var(--ink); letter-spacing: -0.02em; text-decoration: none; }
.works a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.foot-grid { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.on-dark .nav:not(.stuck) .nav-links .drop a:hover, .on-dark .nav:not(.stuck) .nav-links .drop a:focus-visible { background: var(--sand); }
@media (max-width: 1020px) {
  .nav.open { transition: none; }
  .nav-links .drop a:not(.btn):not(.lang) { display: grid; }
  .nav-links .drop a.drop-all { display: block; }
}

/* ---------- the direct answer at the top of a page, and definition lists ---------- */
main > .short { padding: clamp(1.5rem, 4vw, 2.75rem) 0; background: var(--sand); }
.short .wrap { display: grid; gap: 0.5rem; }
.short p:not(.eyebrow) { font-family: var(--display); font-weight: 600; font-size: var(--text-xl); line-height: 1.35; letter-spacing: -0.02em; max-width: 60ch; }
.gloss { margin: 0; display: grid; }
.gloss > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 0.5rem clamp(1rem, 4vw, 4rem); padding: clamp(1.1rem, 2.5vw, 1.75rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.gloss dt { font-family: var(--display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -0.025em; line-height: 1.2; }
.gloss dd { margin: 0; color: var(--ink-2); line-height: 1.7; max-width: 64ch; }
.gloss dd a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--blue); }
@media (max-width: 760px) { .gloss > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- audit fixes: visible focus, menu without script, small screens, example labels ---------- */
.drop :focus-visible, .nav.stuck :focus-visible, .nav.open :focus-visible { outline-color: var(--blue); }
.closing :focus-visible { outline-color: #fff; }
html:not(.js) .burger { display: none; }
html:not(.js) .menu:hover > .drop, html:not(.js) .menu:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.drop.two { left: 50%; transform: translate3d(-50%, -6px, 0); }
.menu.open > .drop.two, html:not(.js) .menu:hover > .drop.two, html:not(.js) .menu:focus-within > .drop.two { transform: translate3d(-50%, 0, 0); }
@media (max-width: 1020px) {
  html:not(.js) .nav-links { display: flex; }
  html:not(.js) .nav { position: static; }
  html:not(.js) .drop, html:not(.js) .drop.two { display: flex; }
  .drop.two, .menu.open > .drop.two { left: auto; transform: none; }
}
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }
.win-tag, .chip-tag { margin-left: auto; font-size: 0.66rem; font-weight: 600; padding: 0.12rem 0.5rem; border-radius: 99px; border: 1px dashed rgba(21, 23, 26, 0.35); color: var(--ink-2); white-space: nowrap; }
.chip-tag { margin: 0 0 0.2rem; justify-self: start; }
.pause { justify-self: end; min-height: 36px; padding: 0.3rem 0.9rem; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font-size: var(--text-xs); font-weight: 600; cursor: pointer; }
.lanes.paused .dot { animation-play-state: paused; }

/* ---------- certified partners ---------- */
main > .partners { padding: clamp(3rem, 7vw, 6rem) 0; }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.partner { display: grid; gap: 0.7rem; align-content: start; justify-items: start; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px; background: var(--sand); min-width: 0; }
.partner.lead { grid-column: 1 / -1; background: var(--night); color: #fff; }
.partner h3 { font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; }
.partner.lead .eyebrow { color: var(--sun); }
.partner p:not(.eyebrow) { color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.partner.lead p:not(.eyebrow) { color: var(--on-night); }
.partner .partner-place { font-weight: 600; font-size: var(--text-sm); }
.partner-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.partner-tags span { padding: 0.3rem 0.8rem; border-radius: 99px; border: 1px solid var(--night-line); font-size: var(--text-xs); font-weight: 600; color: #fff; }
.partner.lead .btn { border-color: #fff; color: #fff; margin-top: 0.4rem; }
.partner.lead .btn:hover { background: #fff; color: var(--night); }
@media (max-width: 760px) { .partner-grid { grid-template-columns: minmax(0, 1fr); } }
.partner:not(.lead) .partner-tags span { border-color: var(--line); color: var(--ink); }
