/* /event: the page behind the banner QR at the AI Business Summit. The homepage's tokens and
   type (home.css), one column, laid out like a labeled exhibit table: each thing I built, then
   its label. Phone first. Text never moves; only pictures do. */
@font-face{font-family:"Bricolage Grotesque";src:url("assets/bricolage-grotesque-core-895acc1f.woff2") format("woff2");font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0020-007E,U+00A0,U+00A9,U+00B7,U+00D7,U+0131,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2002,U+2009,U+200B,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2212}
@font-face{font-family:"Bricolage Grotesque";src:url("assets/bricolage-grotesque-ext-ef5f3c1a.woff2") format("woff2");font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+00A1-00A3,U+00A5-00A8,U+00AA-00AC,U+00AE-00B6,U+00B8-00D6,U+00D8-00FF,U+0102,U+0152-0153,U+02C6,U+02DA,U+02DC,U+201A,U+201E,U+2032-2033,U+2039-203A,U+2044,U+20AC,U+2122,U+2191,U+2193}
@font-face{font-family:"Hanken Grotesk";src:url("assets/hanken-grotesk-core-b2e46d99.woff2") format("woff2");font-style:normal;font-weight:400 900;font-display:swap;unicode-range:U+0020-007E,U+00A0,U+00A9,U+00B7,U+00D7,U+0131,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2212}
@font-face{font-family:"Hanken Grotesk";src:url("assets/hanken-grotesk-ext-b48bd9c9.woff2") format("woff2");font-style:normal;font-weight:400 900;font-display:swap;unicode-range:U+00A1-00A8,U+00AA-00B6,U+00B8-00D6,U+00D8-00FF,U+0102,U+0152-0153,U+02C6,U+02DA,U+02DC,U+201A,U+201E,U+2039-203A,U+2044,U+20AC,U+2122,U+2215}

:root {
  --navy: #061525;
  --paper: #f3f6f8;
  --sky: #d6eaf8;
  --white: #ffffff;
  --ink: #061525;
  --slate: #33475b;
  --mist: #b9cad8;
  --cyan: #00adee;
  --bright: #3ec1f5;
  --deep: #006d9c;
  --rule: #d3dde5;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --index: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--index) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; text-wrap: balance; }
p, dl, dd, blockquote, figure, fieldset { margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button, a, input, textarea, label { touch-action: manipulation; }
::selection { background: var(--bright); color: var(--navy); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.page { width: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ------------------------------------------------------------------ actions */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: 999px;
  background: var(--bright); color: var(--navy);
  font: 700 1rem/1.25 var(--text); text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(0, 109, 156, .7);
  transition: background-color 160ms var(--ease), transform 120ms var(--ease);
}
.button:active { transform: translateY(1px); }
.button[aria-busy="true"] { opacity: .7; cursor: progress; }
.text-link { color: var(--deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #7fd7fa; }
  .text-link:hover { text-decoration-thickness: 2px; }
}

/* --------------------------------------------------------------- who, intro */
.who { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; }
.who__link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.who__face { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); }
.who__name { display: grid; line-height: 1.25; }
.who__name strong { font: 700 1rem/1.25 var(--display); }
.who__name span { font-size: .875rem; color: var(--slate); }

.intro { padding-block: 18px 14px; }
.intro h1 { font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3.1rem); line-height: 1.04; letter-spacing: -0.03em; }
.intro__sub { margin-top: 12px; max-width: 34rem; color: var(--slate); }

/* The index of what's here. It sticks once you scroll, and marks the one in view. */
.index { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; display: flex; gap: clamp(10px, 3.2vw, 24px); min-height: var(--index); align-items: center; overflow-x: auto; background: var(--paper); border-bottom: 1px solid var(--rule); scrollbar-width: none; }
.index::-webkit-scrollbar { display: none; }
.index a { flex: none; padding-block: 6px; border-bottom: 2px solid transparent; color: var(--slate); font-weight: 650; font-size: clamp(.875rem, .8rem + .35vw, .9375rem); text-decoration: none; white-space: nowrap; }
.index a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--cyan); }
/* Five tabs, Your task included, fit a small phone without scrolling the row. */
@media (max-width: 380px) { .index a { font-size: .8125rem; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: var(--paper); }

/* ------------------------------------------------------------------ the tour
   The whole page as a 33-second film. It opens from the header in a player over the page, so the
   call stays on a phone's first screen, and nothing downloads until it's opened. A phone gets the
   tall cut. */
.tour-open { display: inline-flex; flex: none; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 10px 22px -14px rgba(6, 21, 37, .9); transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
.tour-open:active { transform: translateY(1px); }
.tour-open__icon { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bright); color: var(--navy); }
.tour-open__icon svg { margin-left: 2px; }
.tour-open__text { display: grid; line-height: 1.15; }
.tour-open__text strong { font: 700 .9375rem/1.15 var(--display); letter-spacing: -.01em; }
.tour-open__text > span { font-size: .8125rem; color: var(--mist); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .tour-open:hover { background: #0d2742; } }
/* On a phone the pill shortens to "Watch", and on the narrowest to the play button, so the name beside
   it keeps to two lines. */
@media (max-width: 479px) { .tour-open { padding-right: 14px; } .tour-open__more { display: none; } }
@media (max-width: 359px) { .tour-open { padding: 6px; } .tour-open__text { display: none; } }

/* The dialog itself carries the dimming (its ::backdrop stays clear), so contrast checkers see the
   dark layer the player's text sits on. */
.tour { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; background: rgba(2, 11, 30, .92); color: var(--white); }
.tour[open] { display: grid; place-items: center; }
.tour::backdrop { background: transparent; }
@supports (backdrop-filter: blur(4px)) { .tour { background: rgba(2, 11, 30, .84); backdrop-filter: blur(6px); } }
.tour__inner { display: grid; gap: 10px; width: min(1100px, calc(100vw - 2 * var(--gutter)), calc((100svh - 150px) * 16 / 9)); padding-block: 12px; }
.tour.is-tall .tour__inner { width: min(calc(100vw - 2 * var(--gutter)), calc((100svh - 124px) * 9 / 16)); }
/* A phone turned sideways has little height, so the note gives its line to the film. */
@media (max-height: 500px) {
  .tour__note { display: none; }
  .tour__inner { width: min(1100px, calc(100vw - 2 * var(--gutter)), calc((100svh - 120px) * 16 / 9)); }
}
.tour__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour__title { font: 700 1.0625rem/1.2 var(--display); letter-spacing: -.01em; }
.tour__note { margin-top: 2px; font: 500 .8125rem/1.3 var(--text); color: var(--mist); }
.tour__close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white); cursor: pointer; }
.tour__frame { position: relative; overflow: hidden; border-radius: 16px; background: var(--navy); aspect-ratio: 16 / 9; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85); }
.tour.is-tall .tour__frame { aspect-ratio: 9 / 16; }
.tour__frame video { display: block; width: 100%; height: 100%; }
.tour__frame video:focus-visible { outline-offset: -4px; }
.tour__end { position: absolute; inset: auto 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 56px 16px 18px; background: linear-gradient(to top, rgba(2, 11, 30, .96) 40%, rgba(2, 11, 30, 0)); }
.tour__again { min-height: 52px; padding: 14px 24px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: transparent; color: var(--white); font: 700 1rem/1.25 var(--text); cursor: pointer; }
.tour__script { font-size: .9375rem; line-height: 1.5; color: var(--mist); }
.tour__script summary { width: fit-content; color: var(--white); font-weight: 650; cursor: pointer; }
.tour__script ol { display: grid; gap: 4px; margin: 10px 0 0; padding-left: 1.4em; }
.tour :focus-visible { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .tour__close:hover { background: rgba(255, 255, 255, .26); }
  .tour__again:hover { background: rgba(255, 255, 255, .1); }
}

/* ----------------------------------------------------------------- exhibits */
.exhibit { padding-top: clamp(44px, 7vw, 72px); }
.exhibit h2, .terms h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.3rem); line-height: 1.08; letter-spacing: -0.022em; }
.exhibit__lead { margin-top: 10px; max-width: 34rem; color: var(--slate); }
.object { margin-top: 18px; }

/* The label under every exhibit: the same three facts each time. */
.label { display: grid; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .9375rem; line-height: 1.5; }
.label > div, .label__facts > div { display: grid; gap: 2px; }
.label dt, .label__facts dt { font-weight: 700; font-size: .8125rem; letter-spacing: .01em; color: var(--slate); }
.label dd, .label__facts dd { color: var(--ink); }
@media (min-width: 600px) {
  .label > div, .label__facts > div { grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 16px; align-items: baseline; }
}
/* The first exhibit follows the index directly, so the call stays on a phone's first screen. */
.index + .exhibit { padding-top: 26px; }

/* Sarah: her real first line, and the call. */
.bubble { position: relative; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 18px 18px 18px 6px; background: var(--white); box-shadow: 0 1px 2px rgba(6, 21, 37, .06); }
.bubble p { font-size: 1.0625rem; line-height: 1.5; }
.call__button { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin-top: 14px; padding: 14px 20px; border-radius: 16px; background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 14px 28px -18px rgba(6, 21, 37, .8); }
.call__button::before { content: ""; grid-row: span 2; width: 26px; height: 26px; background: var(--bright); -webkit-mask: url(assets/icons/phone.svg) center / contain no-repeat; mask: url(assets/icons/phone.svg) center / contain no-repeat; }
.call__lead { font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.call__number { color: var(--mist); font-size: 1rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.call__book { display: inline-block; margin-top: 14px; }
.call__button:focus-visible { outline-color: var(--deep); }

/* The quote builder: two real screens from the live app's rules panel, $140 then $150 a square.
   Without the script they sit one above the other; with it they stack and the new one wipes in. */
.app-shot { max-width: 380px; }
.app-shot__frame { display: grid; gap: 12px; }
.app-shot__img { width: 100%; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); box-shadow: 0 1px 2px rgba(6, 21, 37, .06), 0 22px 40px -30px rgba(6, 21, 37, .5); }
.app-shot.is-live .app-shot__frame { display: block; position: relative; }
.app-shot.is-live .app-shot__img--after { position: absolute; inset: 0; clip-path: inset(0 100% 0 0 round 14px); }
.app-shot.is-live.is-after .app-shot__img--after { clip-path: inset(0 0 0 0 round 14px); }
.app-shot figcaption { margin-top: 12px; font-weight: 650; }
.app-shot__toggle { display: none; gap: 8px; margin-top: 12px; }
.app-shot.is-live .app-shot__toggle { display: flex; }
.app-shot__toggle button { flex: 1; min-height: 44px; padding: 8px 12px; border: 1px solid var(--navy); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 650; font-size: .9375rem; cursor: pointer; }
.app-shot__toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
/* The quote builder: the live app is the main action, and two of its real screens preview it. */
.try { display: grid; gap: 22px; margin-top: 12px; }
.try__main { display: grid; gap: 12px; align-content: start; }
.try__main .exhibit__lead { margin-top: 0; }
.try__button { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.try__note { font-size: .9375rem; color: var(--slate); }
.app-shot--preview { margin: 0; max-width: 300px; }
@media (min-width: 700px) {
  .try { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
  .try__button { width: auto; justify-self: start; padding-inline: 34px; }
}

/* LinkLocally: its two live tools, each a screen, a button and the same label. */
.demo { margin-top: 30px; }
.demo + .demo { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--rule); }
.demo h3 { margin: 0; font: 700 1.375rem/1.2 var(--display); letter-spacing: -0.015em; }
.demo > .button { margin-top: 14px; width: 100%; }
@media (min-width: 600px) { .demo > .button { width: auto; } }

/* Your job, in the data: one link out to /ai-time-by-job. */

/* Fields: the homepage form's (home.css). */
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 1rem; line-height: 1.35; }
.field label span { font-weight: 500; color: var(--slate); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #93a5b5; border-radius: 10px; background: var(--white); color: var(--ink); font-size: 1.0625rem; line-height: 1.45; transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(0, 109, 156, .25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field textarea::placeholder { color: #66788a; }

/* --------------------------------------------------------------- the terms */
.terms { margin-top: clamp(52px, 8vw, 88px); padding-top: 28px; border-top: 1px solid var(--rule); }
.terms p { margin-block: 10px 12px; max-width: 36rem; }

/* ------------------------------------------- your task: first, under the headline */
/* The banner's QR code says "Scan to tell me your one thing". The first screen asks only for the task,
   and Send opens the name and email, so Sarah and the demos still fit on a phone's first screen. */
.intro + .exhibit--task { padding-top: 0; }
.exhibit--task .task-form { margin-top: 0; gap: 12px; }
#task-what { min-height: 76px; }
.task-more { display: grid; gap: 16px; padding-top: 6px; }
.task-more__lead { font-weight: 700; }
.more { margin-top: 16px; color: var(--slate); font-size: .9375rem; line-height: 1.45; }
.quick { padding-bottom: 14px; }
.quick__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.quick__item { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; min-height: 60px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; line-height: 1.25; }
.quick__item::before { content: ""; grid-row: span 2; width: 22px; height: 22px; background: var(--deep); -webkit-mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; mask: url(assets/icons/arrow-up-right.svg) center / contain no-repeat; }
.quick__item strong { font-size: 1rem; }
.quick__item span { color: var(--slate); font-size: .8125rem; }
.quick__item--call { border-color: var(--navy); background: var(--navy); color: var(--white); box-shadow: 0 14px 28px -18px rgba(6, 21, 37, .8); }
.quick__item--call::before { background: var(--bright); -webkit-mask-image: url(assets/icons/phone.svg); mask-image: url(assets/icons/phone.svg); }
.quick__item--call span { color: var(--mist); }
.quick__item:focus-visible { outline-offset: 3px; }
.terms__back { display: flex; margin-top: 18px; width: 100%; }
@media (min-width: 600px) { .terms__back { width: fit-content; } }
.task-form { display: grid; gap: 16px; margin-top: 16px; }
.label__facts { display: grid; gap: 10px; padding-block: 12px; border-block: 1px solid var(--rule); font-size: .9375rem; line-height: 1.5; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.task-form .button { width: 100%; }
.note { font-size: .9375rem; line-height: 1.5; color: var(--slate); }
.form-status { font-weight: 650; }
.form-status:empty { display: none; }
.form-status.is-error { color: #a1251b; }
.form-status:focus { outline: none; }
.or { margin-top: 18px; }
.or--quiet { margin-top: 10px; font-size: .9375rem; color: var(--slate); }
.today { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--sky); font-weight: 650; }
[data-task-state].is-sent { color: var(--deep); font-weight: 700; }


.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(52px, 8vw, 80px); padding-block: 22px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); font-size: .875rem; color: var(--slate); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a, .foot button { padding: 0; border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* ------------------------------------------------- analytics (home.css's banner) */
.analytics-consent { position: fixed; z-index: 1000; right: 16px; bottom: 16px; left: auto; width: min(360px, calc(100% - 32px)); padding: 14px 16px; border: 1px solid var(--rule); border-top: 3px solid var(--cyan); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 2px 4px rgba(6, 21, 37, .08), 0 20px 40px -24px rgba(6, 21, 37, .45); font-size: .875rem; line-height: 1.45; }
.analytics-consent[hidden] { display: none; }
.analytics-consent__text { margin: 0; color: var(--slate); }
.analytics-consent__text a { color: var(--deep); }
.analytics-consent__actions { display: flex; gap: 8px; margin-top: 10px; }
.analytics-consent__button { flex: 1; min-height: 40px; padding: 8px 14px; border: 1px solid var(--navy); border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 650; font-size: .875rem; cursor: pointer; }
.analytics-consent__button:hover { background: var(--navy); color: var(--white); }
@media (max-width: 599px) {
  .analytics-consent { right: 0; left: 0; bottom: 0; width: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-width: 3px 0 0; border-radius: 14px 14px 0 0; box-shadow: 0 -8px 24px rgba(6, 21, 37, .1); }
  .analytics-consent__button { min-height: 44px; }
}

/* ------------------------------------------------------------------ motion
   Sarah's line arrives once, grown from the call button's side, and the quote builder's
   new screen wipes in. Transform and clip only, so the first paint is never held. */
@media (prefers-reduced-motion: no-preference) {
  .bubble { transform-origin: 28px 100%; animation: bubble-arrive 620ms var(--ease) both; }
  .app-shot__img--after { transition: clip-path 900ms var(--ease); }
}
@keyframes bubble-arrive { from { transform: translateY(12px) scale(.96); } }
/* The tour's play button rings twice after the page settles; the player rises in when it opens. */
@media (prefers-reduced-motion: no-preference) {
  .tour-open__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: tour-ring 1800ms var(--ease) 1200ms 2; }
  .tour[open] .tour__inner { animation: tour-rise 460ms var(--ease) both; }
  .tour[open] { animation: tour-fade 280ms ease both; }
}
@keyframes tour-ring { from { box-shadow: 0 0 0 0 rgba(62, 193, 245, .65); } to { box-shadow: 0 0 0 12px rgba(62, 193, 245, 0); } }
@keyframes tour-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes tour-fade { from { opacity: 0; } }
/* LinkLocally's screen settles into place as it enters, tied to the scroll. Picture only; browsers
   without scroll-driven animations simply show it in place. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .exhibit--linklocally .app-shot__img { animation: screen-settle linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  }
}
@keyframes screen-settle { from { transform: translateY(32px) scale(.96); } }

@media print {
  .index, .analytics-consent, .skip-link, .tour-open { display: none !important; }
}
