/* ===========================================================
   Uday Animation: light studio theme
   Layout: white canvas, navy type (from the logo), one blue accent.
   Video cards sit on a navy frame so the colourful stills still carry
   weight against the light page.
   =========================================================== */

:root {
  /* "only" is the part that matters: plain "light" tells Chrome on Android
     what the site is, but does not stop its Auto Dark Theme inverting it. */
  color-scheme: only light;

  /* canvas */
  --paper:     #ffffff;
  --tint:      #f6f8fc;
  --tint-2:    #eef2fa;
  --line:      #e3e8f2;
  --line-2:    #d2daea;

  /* brand */
  --navy:      #0f1736;   /* the logo navy */
  --ink:       #1b2545;
  --ink-muted: #5a6485;
  --ink-dim:   #66708d;   /* 4.9:1 on white; #838daa was 3.3:1 */

  --accent:    #597efc;   /* existing brand blue */
  --accent-2:  #8b6cf8;
  --accent-50: #f1f5ff;
  --accent-100:#dfe7ff;
  --accent-600:#4463e8;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,54,.05), 0 2px 10px rgba(15,23,54,.04);
  --shadow-md: 0 10px 30px rgba(15,23,54,.09);
  --shadow-lg: 0 24px 60px rgba(15,23,54,.16);

  --maxw:      1180px;
  --gutter:    20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-muted);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--accent-600); }
img { max-width: 100%; display: block; }
cite { font-style: normal; color: var(--ink-dim); font-size: .9em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; }
.skip-link:focus { left: 0; }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 800;
  color: var(--accent-600);
  margin: 0 0 .85rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700;
  padding: .85rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-sm    { padding: .58rem 1.15rem; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(89,126,252,.3); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(89,126,252,.38); }
.btn-primary.btn-sm { background: var(--accent-600); }           /* 5.0:1 */
.btn-primary.btn-sm:hover { background: #3a56d4; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-600); background: var(--accent-50); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 70px; }

/* Brand lockup, split in two. The monogram stays an image; the wordmark is
   live text. In the original artwork the wordmark's strokes come out at half
   a pixel at this size, which nothing can draw, raster or vector. Rendered as
   text the browser draws it at the device's own resolution, so it stays sharp
   at any zoom and on any screen. Tracking and weight are matched to the
   artwork: font size is 8.6% of the mark's width, tracking .21em. */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; flex: none; }
.logo-mark { height: 30px; width: auto; display: block; }
.logo-word {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .265em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
  /* tracking leaves a gap after the final letter, so nudge the line back to
     keep it optically centred under the mark rather than sitting right */
  text-indent: .265em;
}
.site-footer .logo-mark { height: 26px; }
.site-footer .logo-word { font-size: 6.6px; }

.nav { display: flex; gap: 1.85rem; }
.nav a { color: var(--ink-muted); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: .25rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .22s ease; }
.nav a:hover { color: var(--navy); }
.nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: .7rem; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; padding: 0; place-items: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--line); background: #fff; padding: .5rem var(--gutter) 1rem; }
.mobile-nav a { padding: .85rem .25rem; text-decoration: none; color: var(--ink-muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; color: var(--accent-600); }
.mobile-nav.is-open { display: flex; }

/* ---------- hero ---------- */
/* Everything in here is sized so the headline AND both option cards land
   inside a laptop viewport without scrolling. That budget is roughly
   720px of content height, which is what drives the smaller display size,
   the one-line card descriptions and the capped .paths width below. */
.hero {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2rem, 4vw, 2.75rem);
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 80% -8%, var(--accent-100), transparent 62%),
    radial-gradient(640px 320px at 5% 8%, #efe9ff, transparent 60%);
}
.hero .container { position: relative; }

/* Headline block centred over the two option cards, which carry the
   visuals. Both the heading and the paragraph are centred and capped to a
   comfortable measure, so the whole thing reads as one symmetrical block
   rather than text stretched across the full width. */
.hero-copy {
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
/* ch is relative to each element's own size, so the heading gets a display
   measure and the paragraph a reading one. text-wrap: balance (set on all
   headings) then evens out the centred lines. */
.hero-copy h1 {
  font-size: clamp(1.95rem, 4vw, 2.9rem);
  max-width: 30ch;
  margin-inline: auto;
}
/* The second sentence gets its own line, so the gradient half never starts
   mid-line after the full stop. */
.hero-copy h1 .grad { display: block; }
.hero-copy .lede {
  max-width: 58ch;
  margin-inline: auto;
  margin-top: 1rem;
  text-wrap: pretty;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700;
  color: var(--ink-muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: .4rem .85rem; border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c07e; box-shadow: 0 0 0 3px rgba(34,192,126,.18); }

.hero h1 { margin-bottom: .6rem; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2) 60%, #6f93ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.08rem; color: var(--ink-muted); max-width: 54ch; margin-bottom: 0; }

/* ---------- the two paths: the hero's actual choice ---------- */
/* Narrower than the container on purpose: it keeps the cards under the
   centred headline rather than beside it, and the shorter card width is
   what buys back the vertical space the 16:9 posters would otherwise take. */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); max-width: 1120px; margin-inline: auto; }
.path {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-100); }
/* The combined case ends the row, so it carries the accent: the row then reads
   as a build-up from hardware and software to the two together. */
.path-both, .path-both:hover { border-color: var(--accent); }
.path-both .path-kicker { color: var(--accent-600); }

.path-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.path-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.path:hover .path-media .card-poster { transform: scale(1.045); }

.path-body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.35rem 1.2rem; }
.path-kicker { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--ink-dim); margin-bottom: .4rem; }
.path-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.2; margin-bottom: .35rem; }
.path-desc { font-size: .93rem; line-height: 1.5; color: var(--ink-muted); flex: 1; }
.path-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-weight: 700; font-size: .92rem; color: var(--accent-600); }
.path-link span { transition: transform .2s ease; }
.path:hover .path-link span { transform: translateX(4px); }

/* ---------- video cards ---------- */
.video-card {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .25s ease; }

/* <picture> is inline by default, which would shrink-wrap the poster inside
   the 16:9 frame. It is only there to offer WebP, so take it out of the
   layout and let the img keep the rules it already had. */
.path-media picture, .video-card picture { display: contents; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-card:hover .card-poster { transform: scale(1.045); filter: brightness(.93); }

/* Looping preview clip sits above the poster and fades in once it is
   actually playing, so the card never flashes empty while it loads. */
.card-clip {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
}
.clip-on .card-clip { opacity: 1; }
.video-card .play, .video-card .video-card-label { z-index: 2; }

.video-card-lg { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 30px rgba(15,23,54,.35);
  transition: transform .2s ease;
}
.play::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-left: 17px solid var(--navy);
  border-top: 10.5px solid transparent;
  border-bottom: 10.5px solid transparent;
  transform: translateX(3px);
}
.video-card:hover .play { transform: scale(1.1); }

.video-card-label {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(15,23,54,.82); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: .22rem .55rem; border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* ---------- stats ----------
   Unused: the four-card band between the hero and the portfolio came out,
   because two of its four cards were generic industry statistics that said
   nothing about this studio. Kept so .removed/value-props.html can be pasted
   back in without rebuilding the styling. */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.stat h3 { font-size: 1rem; margin-bottom: .35rem; }
.stat p { font-size: .92rem; color: var(--ink-muted); margin: 0; }
.stat-icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; margin-bottom: .9rem;
  border-radius: 11px;
  background: #fff; color: var(--accent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat-icon svg { width: 21px; height: 21px; }
.stat-num { color: var(--accent-600); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-line { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: .5rem; }
.section-sub { color: var(--ink-muted); margin: 0; font-size: 1.04rem; }

/* ---------- portfolio ---------- */
.portfolio-group + .portfolio-group { margin-top: clamp(2.75rem, 5vw, 4rem); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.group-head h3 { font-size: 1.45rem; margin: 0; }
.group-head p { margin: 0; color: var(--ink-dim); font-size: .96rem; }

/* Flex rather than grid: the software group has four cards, and a grid
   would park the fourth alone against the left edge. Flex with a one-third
   basis keeps every card the same width across both groups and centres
   whatever is left over on the last row. */
.video-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.video-item { flex: 0 1 calc((100% - 3rem) / 3); min-width: 260px; }
.video-title { font-size: 1rem; margin: .85rem 0 0; }

/* ---------- testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: start; }
.testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex; flex-direction: column; height: 100%;
  box-shadow: var(--shadow-sm);
}
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 3.2rem; line-height: .8; color: var(--accent); opacity: .3; margin-bottom: .4rem; }
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial blockquote p { font-size: 1rem; color: var(--ink-muted); }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial figcaption { display: flex; align-items: center; gap: .85rem; margin-top: 1.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--accent-100); color: #3451c6; font-weight: 800; font-size: .92rem; }
.who { display: flex; flex-direction: column; line-height: 1.4; }
.who strong { color: var(--navy); font-size: .97rem; }
.who span { color: var(--ink-dim); font-size: .88rem; }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.step { position: relative; }
.step h3 { font-size: 1rem; margin-bottom: .3rem; }
.step p { font-size: .9rem; color: var(--ink-dim); margin: 0; }
.step-num { font-size: .72rem; font-weight: 800; color: var(--accent-600); letter-spacing: .1em; display: block; margin-bottom: .5rem; }
/* Unused: the per-stage day badges came off the steps, because the honest
   number is the two to four week range in the section subhead, not a sum of
   stage estimates. Kept so a badge can go back on a step without rewriting it. */
.step-time { display: inline-block; font-size: .72rem !important; font-weight: 700; color: var(--accent-600) !important; background: var(--accent-50); border: 1px solid var(--accent-100); padding: .08rem .45rem; border-radius: 999px; margin-bottom: .45rem !important; }
.step-dot { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 12px; background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(89,126,252,.3); position: relative; z-index: 1; }
.step-dot svg { width: 21px; height: 21px; }
.step:not(:last-child) .step-dot::after { content: ""; position: absolute; left: 44px; top: 50%; width: calc(100% + 1.5rem - 44px); height: 2px; background: linear-gradient(90deg, var(--accent-100), var(--tint-2)); }

/* ---------- faq ----------
   Built on <details> so it opens and closes with no JavaScript, stays
   keyboard accessible, and is still findable by in-page search. */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700; font-size: 1.04rem; color: var(--navy);
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-600); }
.faq-item summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 11px; height: 11px; margin-top: .45rem;
  border-right: 2px solid var(--ink-dim);
  border-bottom: 2px solid var(--ink-dim);
  transform: rotate(45deg);
  transition: transform .2s ease, border-color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); border-color: var(--accent); }
.faq-item summary:hover::after { border-color: var(--accent); }
.faq-body { padding: 0 2rem 1.35rem 0; }
.faq-body p { margin: 0; color: var(--ink-muted); font-size: .99rem; max-width: 68ch; }
.faq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; max-width: 68ch; }
.faq-list li { position: relative; padding-left: 1.15rem; color: var(--ink-muted); font-size: .99rem; }
.faq-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.faq-list strong { color: var(--navy); }
/* Answers are a single paragraph unless the question has distinct cases to
   separate, so the gap between parts is set here rather than on <p> margins.
   Named rather than `> * + *`, which loses to the zero margins set above:
   those carry an element in the selector and this would not. */
.faq-body > p + *, .faq-body > ul + * { margin-top: .8rem; }

/* ---------- policy pages ----------
   Carrd wrapped every paragraph in <span class="p">, so those become the
   block-level paragraphs here. */
.policy-inner { max-width: 760px; }
.policy-inner h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.policy-inner .eyebrow a { color: var(--accent-600); text-decoration: none; }
.policy-inner .eyebrow a:hover { text-decoration: underline; }

/* The policy is written as real headings and paragraphs now, rather than the
   run of styled spans that came off the old Carrd export. */
.policy-body { font-size: .98rem; line-height: 1.75; color: var(--ink-muted); }
.policy-body h2 { font-size: 1.1rem; color: var(--navy); margin: 2.25rem 0 .7rem; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { margin: 0 0 1.1rem; }
.policy-body ul { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.policy-body li { margin-bottom: .55rem; }
.policy-body strong { color: var(--navy); }
.policy-body a { color: var(--accent-600); word-break: break-word; }
.policy-updated { font-size: .9rem; color: var(--ink-dim); margin-top: 2rem; }

/* ---------- booking ---------- */
.booking {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--navy);
  color: #c2cae2;
}
.booking h2 { color: #fff; }
.booking .eyebrow { color: #8ea6ff; }
.booking-head { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.booking-sub { color: #a3adcc; margin: 0; font-size: 1.04rem; }

.booking-aside-label,
.booking-alt-label {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
  font-weight: 800; color: #818ca9; margin: 0 0 1rem;
}
/* Four points across, above the calendar, rather than a tall column beside
   it. The embed needs the whole container width. */
.booking-list {
  list-style: none; margin: 0 0 clamp(1.5rem, 3vw, 2rem); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.75rem;
}
.booking-list li {
  position: relative; padding-left: 1.85rem;
  font-size: .97rem; color: #c2cae2; line-height: 1.55;
}
.booking-list li::before {
  content: "";
  position: absolute; left: 0; top: .55rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(89,126,252,.18);
}

/* One centred line under the calendar now, not a block in the aside. */
.booking-alt {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem 1.25rem;
}
.booking-alt .booking-alt-label { margin: 0; }
.booking-alt .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.22);
  font-size: .94rem; word-break: break-word;
}
.booking-alt .btn-ghost:hover { border-color: #8ea6ff; color: #8ea6ff; background: rgba(89,126,252,.12); }

/* Calendly paints its own white surface, so give it a rounded card to sit in.
   Past about 1000px wide it lays its three panes out side by side and the
   whole booking flow fits in 660px, with only the list of times scrolling,
   inside its own pane, where a scrollbar belongs. Narrower than that it stacks
   the panes and needs half as much height again.

   The height lives here rather than in the markup so it can follow the
   breakpoint. Calendly's script only sizes its iframe to 100% of this box. */
.booking-embed {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.calendly-inline-widget { height: 660px; }
.booking-fallback { padding: 2rem; text-align: center; }
.booking-fallback a { color: var(--accent-600); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.footer-nav a { color: var(--ink-muted); text-decoration: none; font-size: .92rem; font-weight: 600; }
.footer-nav a:hover { color: var(--accent-600); }

/* LinkedIn. Sized as a 34px target so it is comfortable to tap, and it turns
   LinkedIn's own blue on hover so the destination is obvious before the click.
   The selector carries .footer-nav because the generic link hover above would
   otherwise win on specificity and override the colour. */
.footer-nav .social-link {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  border: 1px solid var(--line); border-radius: 9px;
  color: var(--ink-muted); background: #fff;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.footer-nav .social-link svg { width: 16px; height: 16px; display: block; }
.footer-nav .social-link:hover { color: #fff; background: #0a66c2; border-color: #0a66c2; }
.copyright { width: 100%; margin: 0; font-size: .85rem; color: var(--ink-dim); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8,12,30,.93); padding: var(--gutter); animation: fade .18s ease; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
/* The 155vh cap keeps the frame inside a short viewport, a phone held
   sideways above all, where 16:9 at full width would otherwise run off the
   bottom of the screen. */
.lightbox-frame { width: min(1060px, 100%, 155vh); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; font-size: 2rem; line-height: 1; color: #fff; background: rgba(255,255,255,.14); border: 0; border-radius: 50%; cursor: pointer; transition: background-color .2s ease; }
.lightbox-close:hover { background: rgba(255,255,255,.26); }

/* ===========================================================
   Responsive
   =========================================================== */
/* Six steps across needs the full container. Below that, three, where the
   connector has to stop at the end of each row instead of running off it. */
@media (max-width: 1120px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 1.5rem; }
  .step:nth-child(3n) .step-dot::after { display: none; }
}

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .step:not(:last-child) .step-dot::after { display: none; }
}

/* Short laptops. Every other size in this file is driven by vw, which does
   nothing for a window that is wide but only 700 to 800px tall, and that is
   exactly where the second option card slips below the fold. So take the
   height back explicitly: tighter hero, smaller display size, and posters
   cropped to a share of the viewport instead of a fixed 16:9. */
@media (min-width: 821px) and (max-height: 860px) {
  .hero { padding-block: 1.5rem; }
  .hero-copy { margin-bottom: 1.4rem; }
  .hero-copy h1 { font-size: clamp(1.8rem, 3.2vw, 2.35rem); }
  .hero-copy .lede { font-size: 1rem; margin-top: .75rem; }
  .path-media { aspect-ratio: auto; height: min(30vh, 260px); }
  .path-body { padding: .9rem 1.2rem 1rem; }
  .path-link { margin-top: .6rem; }
}

/* Calendly needs about 1000px of iframe to draw the three panes side by side,
   which the container only has from roughly 1100px of viewport up. Below that
   it has two narrower layouts: one tall stacked page that puts the times under
   the calendar, and a two screen flow, calendar then times, that it uses under
   about 650px. The stacked one is the worst of the three, a full screen of
   nested scrolling, so skip it: hold the embed at 560px and take the two
   screen flow instead. 1040px fits either of its screens without scrolling for
   a normal day's worth of slots. */
@media (max-width: 1099px) {
  .booking-list { grid-template-columns: repeat(2, 1fr); }
  .booking-embed { max-width: 560px; margin-inline: auto; }
  .calendly-inline-widget { height: 1040px; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  /* margin-inline keeps the narrowed stacks centred; without it a 460px
     column hugs the left edge of a 760px tablet. */
  .paths { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .video-grid { max-width: 460px; margin-inline: auto; }
  .video-item { flex-basis: 100%; }
  .group-head { flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  /* Edge to edge on a phone. The gutter costs about 11% of the picture and
     there is nothing to put in it. Vimeo lays its controls over the video
     rather than reserving a strip the way Drive did, so a clean 16:9 is
     right again here. */
  .lightbox { padding: 0; }
  .lightbox-frame { width: 100%; border-radius: 0; }
  .stats-grid, .process { grid-template-columns: 1fr; }
  .booking-list { grid-template-columns: 1fr; }

  /* Two 16:9 cards and a three line headline will never all fit on a phone.
     The aim here is lower: get the headline and the whole first card in, and
     leave the second card's poster visibly breaking the bottom edge so it is
     obvious there is a second option to scroll to. */
  .hero { padding-block: 1.25rem 1.75rem; }
  .hero-copy { margin-bottom: 1.25rem; }
  .hero-copy h1 { font-size: 1.7rem; }
  .hero-copy .lede { font-size: .98rem; margin-top: .75rem; }
  .paths { gap: 1rem; }

  /* 11px of tracked uppercase is as small as these labels should go. */
  .path-kicker { font-size: .72rem; }

  .hero-ctas .btn { width: 100%; }

  .play { width: 54px; height: 54px; }
  .play::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- film pages ---------- */
.film-page-link {
  margin: .4rem 0 0;
  font-size: .88rem;
  font-weight: 600;
}
.film-page-link a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.film-page-link a:hover {
  color: var(--accent-600);
  border-bottom-color: var(--accent-600);
}

.film-page { padding: clamp(2rem, 5vw, 3.25rem) 0 3.5rem; }
.breadcrumb {
  font-size: .9rem;
  color: var(--ink-dim);
  margin: 0 0 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-600); }
.breadcrumb .sep { margin: 0 .45rem; color: #b0b7c9; font-weight: 500; }
.breadcrumb .current { color: var(--navy); }

.film-page h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  margin: 0 0 1.25rem;
}

.film-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
  margin: 0 0 1.35rem;
}
.film-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.film-desc {
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 62ch;
  margin: 0 0 1.5rem;
}

.film-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin: 0 0 1rem;
}
.see-all {
  display: inline-block;
  margin: 0 0 2.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-600);
}
.see-all:hover { text-decoration: underline; }

.related-head {
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.related-head h2 { font-size: 1.35rem; margin: 0; }
.related-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.related-item {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 340px;
  text-decoration: none;
  color: inherit;
}
.related-item .video-card { cursor: pointer; }
.related-item .video-title { color: var(--navy); }

@media (max-width: 820px) {
  .film-cta .btn { width: 100%; }
  .related-item { flex-basis: 100%; max-width: none; }
}

