/* ==========================================================================
   hudl-effects.css — scroll reveal, hover polish and the video player for the
   Our Products, AI Ads, Web & App Projects and Branding Projects sections.

   Loaded after css/style.min.css so it can refine existing rules. Colours are
   the site's own: teal #037a8e, accent #ffa132, navy #000637.

   Safety rule followed throughout: nothing here hides content on its own.
   The .hudl-reveal class is added only by JavaScript, so with scripting or
   IntersectionObserver unavailable every card renders normally.
   ========================================================================== */

/* -------------------------------------------------------- smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    /* Keep anchored sections clear of the navbar, which becomes fixed on scroll. */
    scroll-padding-top: 90px;
  }
}

/* ------------------------------------------------------------ scroll reveal */
.hudl-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.hudl-reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Once revealed, drop the hint so hover transforms are not fighting it. */
.hudl-reveal.is-visible {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hudl-reveal,
  .hudl-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------- section headings get a rule */
/* display: table, not inline-block: it still shrink-wraps the heading so the
   rule below centres under the text, but margin:auto centres the heading
   itself. As inline-block, "OUR PRODUCTS" sat hard left because its own
   text-center does nothing to the box. */
.products-section h2,
.ai-ads-section h2 {
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.products-section h2::after,
.ai-ads-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 54px;
  height: 3px;
  background: #ffa132;
  transform: translateX(-50%);
  border-radius: 2px;
}
.products-section,
.ai-ads-section {
  padding: 10px 0 20px;
}
.products-section[hidden],
.ai-ads-section[hidden] {
  display: none;
}

/* ================================= NAVBAR ================================= */
/* The bar carried `padding: 49px 0 63px` - 14px more underneath than above,
   which read as a gap below the Contact Us button. Matching the two balances
   the bar around its contents. Also set in scss/_navbar.scss, but the pages
   load the compiled stylesheet, so the override has to live here too. */
.navbar {
  padding-bottom: 49px;
}

/* The button was a 45px pill against 15px nav links. inline-flex, rather
   than the default inline-block, because the WhatsApp icon is an icon-font
   glyph whose line box was inflating the height past the padding. */
.navbar .btn-contact-us .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.3;
  border-radius: 0.3rem;
}
.navbar .btn-contact-us .btn .mdi {
  font-size: 1.05rem;
  line-height: 1;
}
/* Bootstrap's .d-lg-inline-block utility carries !important, so the flex box
   has to be reinstated at the same breakpoint, scoped to this one button.
   Below lg the .d-none utility still hides it, untouched. */
@media (min-width: 992px) {
  .navbar .btn-contact-us .btn.d-lg-inline-block {
    display: inline-flex !important;
  }
}

/* The site-wide 44px tap-target floor further down this file is what kept
   this button chunky. That floor is right for a finger and unnecessary for a
   cursor, so it is relaxed only here and only when the primary pointer is a
   mouse. Touch devices keep the full 44px. */
@media (pointer: fine) {
  .navbar .btn-contact-us .btn {
    min-height: 38px;
  }
}

/* The button sat on a hardcoded `margin-left: 148px` that does not give way
   when the bar runs short of room, so below about 1100px it was pushed off
   the right edge - 12px past the viewport at 1024px. The nav list is
   right-aligned and shrink-wrapped, so `margin-left: auto` is no use here:
   there is no free space for it to absorb, and it just closes the gap to
   nothing. Keeping the 148px where it fits and tightening it only below
   1100px fixes the overflow and leaves the wide-screen bar exactly as it
   was. Also in scss/_navbar.scss. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar .navbar-menu-wrapper .navbar-nav .nav-link {
    padding-left: 11px;
    padding-right: 11px;
  }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
  .navbar .navbar-menu-wrapper .navbar-nav .btn-contact-us {
    margin-left: 2rem;
  }
}

/* The theme's mobile menu is a 250px off-canvas drawer written
   `@media (max-width: 992px)`, while Bootstrap expands the bar at
   `@media (min-width: 992px)`. Both therefore apply at exactly 992px, and the
   bar renders as a fixed drawer translated off-screen with its items laid out
   in a row - the Contact Us button ended up 1000px past the right edge and
   431px down the page. These restate the desktop state at the breakpoint; at
   993px and above they are what the bar already does, so nothing else moves,
   and below 992px the drawer is untouched. */
@media (min-width: 992px) {
  .navbar .navbar-menu-wrapper.navbar-collapse {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    transform: none;
    z-index: auto;
    transition: none;
  }
  .navbar .navbar-menu-wrapper.navbar-collapse ul li {
    padding: 0;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .nav-link {
    font-size: 0.9375rem;
  }
  .navbar .navbar-collapse-logo {
    display: none;
  }
}

/* ============================ AOS HORIZONTAL FADES ======================== */
/* `data-aos="fade-left"` parks an element at translate3d(100px, 0, 0) until
   it animates in. Above the lg breakpoint those elements are half-width
   columns with room to their right, so the offset is invisible; below it they
   are full width, and the 100px pushed the page 55px wider than the viewport
   at 390px and 61px at 768px - a sideways scroll on every narrow window.

   AOS's own `disable: "mobile"` is a user-agent test, so a real phone never
   saw this; a narrow desktop window, a desktop-mode browser and devtools
   device emulation all did. The vertical fade is kept and only the horizontal
   travel is dropped, so nothing stops animating. */
/* Two defences, because the two cases are different.

   First: clip the page's horizontal axis. On blog.html the fading element is
   the right-hand column, so its 100px offset hangs past the right edge at
   every width - there is no breakpoint to key off. `clip` rather than
   `hidden`, because `hidden` would turn <html> into a scroll container and
   break `position: sticky` descendants; `hidden` stays as the fallback for
   browsers that do not know `clip`. The animation still plays, it simply
   travels in from beyond the edge instead of widening the page. */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

/* Second: below the lg breakpoint these elements are full width, so a 100px
   sideways slide reads as a glitch rather than an effect. Drop the travel and
   keep the fade. AOS declares these as
   `html:not(.no-js) [data-aos="fade-left"]` - specificity (0,2,1) - so a
   plain attribute selector does not outrank it. */
@media (max-width: 991.98px) {
  html:not(.no-js) [data-aos="fade-left"],
  html:not(.no-js) [data-aos="fade-right"] {
    transform: none;
  }
}

/* ============================ SECTION RHYTHM ============================== */
/* The gaps between sections used to be stacks of <br>. A <br> is laid out
   whether or not the section beside it has anything in it, so when the CMS
   sections (courses, products, AI ads) hid themselves for having nothing
   published, their spacers stayed behind as a ~180px hole in the page.

   Spacing is a margin, not padding, and deliberately so: adjacent margins
   collapse, so two visible sections sit 56px apart rather than 112px, and a
   hidden section contributes nothing at all. Sibling selectors would not do
   the job here - `+` still matches an element that is display:none, so a
   rule keyed off the neighbour would collapse the wrong gap. */
.courses-section,
.brandlab-teaser-section,
.products-section,
.ai-ads-section,
.projects-section,
.grid-section,
.branding-projects-section {
  margin-top: 56px;
  margin-bottom: 56px;
}

/* [hidden] is display:none, so an empty CMS section takes up no space - but
   say it explicitly, because this file loads last and a stray display rule
   elsewhere would otherwise resurrect the gap. */
section[hidden] {
  display: none !important;
}

@media (max-width: 767.98px) {
  .courses-section,
  .brandlab-teaser-section,
  .products-section,
  .ai-ads-section,
  .projects-section,
  .grid-section,
  .branding-projects-section {
    margin-top: 36px;
    margin-bottom: 36px;
  }
}

/* ============================== OUR PRODUCTS ============================== */
.hudl-product-card {
  position: relative;
}
.hudl-product-card::before {
  /* A teal edge that wipes in on hover, instead of a heavy border change. */
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  background: #037a8e;          /* flat: no gradients (owner, 2026-11-15) */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}
.hudl-product-card:hover::before,
.hudl-product-card:focus-within::before {
  transform: scaleX(1);
}
.hudl-product-cover {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hudl-product-card:hover .hudl-product-cover {
  transform: scale(1.06);
}
.hudl-product-icon {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.hudl-product-card:hover .hudl-product-icon {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 6px 14px rgba(0, 6, 55, 0.16);
}
.hudl-product-card:hover .hudl-product-name {
  color: #000637;
}
.hudl-product-actions .btn {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.hudl-product-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 122, 142, 0.28);
}

/* ================================= AI ADS ================================= */
/* The grid cell is stretched to the height of the tallest card in the row, so
   the card is made to fill it; otherwise short cards left a gap underneath. */
.hudl-ad-box {
  display: flex;
}
.hudl-ad-card {
  /* A column, so the poster can take every pixel the text leaves over: the
     cards in a row are stretched to the same height by the grid, and without
     this the shorter ones ended above the bottom of their cell. */
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid #e4e8ea;
  border-radius: 0.375rem;
  background: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.hudl-ad-card:hover,
.hudl-ad-card:focus-visible {
  transform: translateY(-5px);
  border-color: #037a8e;
  box-shadow: 0 14px 32px rgba(0, 6, 55, 0.16);
}
.hudl-ad-card:focus-visible {
  outline: 3px solid #ffa132;
  outline-offset: 2px;
}

.hudl-ad-frame {
  position: relative;
  /* width is spelled out because a <button> shrink-wraps its contents: with
     only the ratio to go on, a tall frame came out narrower than the card and
     left a white strip down one side. */
  width: 100%;
  /* Never grows: the tile is the same square on every card, so a long summary
     on one ad cannot make its poster taller than its neighbours'. */
  flex: 0 0 auto;
  overflow: hidden;
  background: #0c2a31;
}
.hudl-ad-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.35s ease;
}
.hudl-ad-card:hover .hudl-ad-poster {
  transform: scale(1.07);
  filter: brightness(0.82);
}

/* The play button: a ring that fills with teal and pulses outward on hover. */
.hudl-ad-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition:
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hudl-ad-play::after {
  /* The triangle, drawn with borders so it needs no asset. */
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #037a8e;
  transition: border-color 0.3s ease;
}
.hudl-ad-card:hover .hudl-ad-play {
  background: #037a8e;
  transform: translate(-50%, -50%) scale(1.12);
}
.hudl-ad-card:hover .hudl-ad-play::after {
  border-left-color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .hudl-ad-card:hover .hudl-ad-play {
    animation: hudl-pulse 1.8s ease-out infinite;
  }
  @keyframes hudl-pulse {
    0% {
      box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 0 0 rgba(3, 122, 142, 0.45);
    }
    70% {
      box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 0 18px rgba(3, 122, 142, 0);
    }
    100% {
      box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 0 0 rgba(3, 122, 142, 0);
    }
  }
}

.hudl-ad-duration,
.hudl-ad-badge {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 0.1875rem;
  line-height: 1.5;
}
.hudl-ad-duration {
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.74);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hudl-ad-badge {
  top: 8px;
  left: 8px;
  background: #ffa132;
  color: #221e1e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* The text block is a fixed height - room for two lines of title, one of
   client and two of summary - so every card in the grid is exactly the same
   size whatever each ad writes. The line heights are spelled out because the
   sum below depends on them, and the clamps keep the copy inside the box.
   13.6 + 16 padding + 45 title + 20 client + 50 summary = 144.6. */
.hudl-ad-body {
  padding: 0.85rem 1rem 1rem;
  height: 145px;
  overflow: hidden;
}
.hudl-ad-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: #037a8e;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hudl-ad-card:hover .hudl-ad-title {
  color: #000637;
}
.hudl-ad-client {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6e6e6e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hudl-ad-summary {
  margin: 0.5rem 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aspect ratios, so a vertical ad is never letterboxed. */
.hudl-ar-16x9 { aspect-ratio: 16 / 9; }
.hudl-ar-9x16 { aspect-ratio: 9 / 16; }
.hudl-ar-1x1  { aspect-ratio: 1 / 1; }
.hudl-ar-4x5  { aspect-ratio: 4 / 5; }
/* On a card the ratio above is deliberately overridden: every poster gets the
   same square tile, so a row of ads is an even grid whatever mix of formats
   is published, and object-fit: cover crops the poster to fill it instead of
   leaving bars. The ad's real ratio still drives the player below. */
.hudl-ad-frame.hudl-ar-16x9,
.hudl-ad-frame.hudl-ar-9x16,
.hudl-ad-frame.hudl-ar-1x1,
.hudl-ad-frame.hudl-ar-4x5 {
  aspect-ratio: 1 / 1;
}

/* --------------------------------------------------------- video player */
.hudl-vmodal {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  align-items: center;
  justify-content: center;
  /* The close button hangs above the panel, so the top padding reserves a
     strip for it. Without it a panel that fills the screen - which it does
     now that the ad's write-up is in there - pushes the button off-screen. */
  padding: 64px 20px 20px;
}
.hudl-vmodal[hidden] {
  display: none;
}
.hudl-vmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 55, 0.9);
}
.hudl-vmodal__panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 84px);
  /* 100vh on a phone is the height with the browser's toolbars hidden, so a
     panel sized by it runs under them; dvh is the height actually visible. */
  max-height: calc(100dvh - 84px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Player and write-up: side by side when there is room, stacked when there
   is not. min-height/min-width 0 on the children because a flex item refuses
   to shrink past its content by default, which would push the panel past the
   bottom of the screen on a long description. */
.hudl-vmodal__split {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  justify-content: center;
}
@media (min-width: 900px) {
  .hudl-vmodal__split {
    flex-direction: row;
    align-items: stretch;
  }
}
.hudl-vmodal__stage {
  width: 100%;
  max-height: 72vh;
  background: #000;
  border-radius: 0.375rem;
  overflow: hidden;
  margin: 0 auto;
  flex: 0 0 auto;
}
.hudl-vmodal__stage.hudl-ar-9x16,
.hudl-vmodal__stage.hudl-ar-4x5,
.hudl-vmodal__stage.hudl-ar-1x1 {
  /* A vertical video should not be stretched across a wide screen. */
  width: auto;
  height: 72vh;
}
@media (max-width: 899.98px) {
  /* Stacked, the video has to leave room for the text under it. */
  .hudl-vmodal__stage,
  .hudl-vmodal__stage.hudl-ar-9x16,
  .hudl-vmodal__stage.hudl-ar-4x5,
  .hudl-vmodal__stage.hudl-ar-1x1 {
    max-height: 52vh;
    height: auto;
  }
  .hudl-vmodal__stage.hudl-ar-9x16,
  .hudl-vmodal__stage.hudl-ar-4x5,
  .hudl-vmodal__stage.hudl-ar-1x1 {
    aspect-ratio: auto;
    height: 52vh;
  }
}
.hudl-vmodal__stage video,
.hudl-vmodal__stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------------------------------------------- the ad's write-up */
.hudl-vmodal__info {
  flex: 1 1 auto;
  /* Capped so a long write-up does not run to 100-character lines on a wide
     screen, and given its own sheet so it reads as part of the dialog rather
     than as text lying on top of the page behind it. */
  max-width: 560px;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  color: #fff;
  background: rgba(4, 10, 48, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.375rem;
  padding: 1.1rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.hudl-vmodal__info:empty {
  display: none;
}
.hudl-vmodal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.hudl-vmodal__meta {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffa132;
  font-variant-numeric: tabular-nums;
}
.hudl-vmodal__summary {
  margin: 0.9rem 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.hudl-vmodal__body {
  margin-top: 0.6rem;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}
.hudl-vmodal__body p {
  margin: 0 0 0.75rem;
}
.hudl-vmodal__body p:last-child {
  margin-bottom: 0;
}
.hudl-vmodal__body a {
  color: #7fd4e4;
}
.hudl-vmodal__tags {
  margin: 0.9rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hudl-vmodal__tag {
  font-size: 11px;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}
.hudl-vmodal__error {
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin: 0;
}
/* Where the player's close button sits; its look is shared with the other
   dialogs - see DIALOG CLOSE BUTTONS. */
.hudl-vmodal__close {
  position: absolute;
  top: -52px;
  right: 0;
  z-index: 3;
}
@media (max-width: 600px) {
  .hudl-vmodal {
    padding: calc(64px + env(safe-area-inset-top, 0px)) 12px
             calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .hudl-vmodal__panel {
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px - env(safe-area-inset-top, 0px)
                     - env(safe-area-inset-bottom, 0px));
  }
  /* Pinned to the top corner of the screen. It used to hang below the panel,
     in a strip at the very bottom - which on a real phone is behind the
     browser's bottom toolbar, so the button could not be seen at all. */
  .hudl-vmodal__close {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
  }
}

/* ======================== DIALOG CLOSE BUTTONS ============================
   One look for every close button on the site: the AI ad player, the project
   gallery (branding, graphics, portfolio and product screenshots) and the
   course, checkout and job application dialogs. Each used to be its own
   style - a faint ring on the player, a grey disc on the gallery, a bare
   glyph on the dialogs - and some were hard to see against what was behind
   them. A white disc with a shadow reads on a dark backdrop, a white panel
   and a photo alike.

   The X is drawn with two bars rather than the &times; glyph, which sits
   off-centre in Poppins and changes weight with the fallback font. The glyph
   stays in the markup for anything that does not load this file; the
   aria-label is the accessible name. Position is set per dialog. */
.hudl-vmodal__close,
.hudl-checkout__close,
.branding-overlay #branding-close {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 6, 55, 0.1);
  border-radius: 50%;
  background: #fff;
  color: #000637;
  box-shadow: 0 2px 10px rgba(0, 6, 55, 0.22);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}
.hudl-vmodal__close::before,
.hudl-vmodal__close::after,
.hudl-checkout__close::before,
.hudl-checkout__close::after,
.branding-overlay #branding-close::before,
.branding-overlay #branding-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.hudl-vmodal__close::after,
.hudl-checkout__close::after,
.branding-overlay #branding-close::after {
  transform: rotate(-45deg);
}
.hudl-vmodal__close:hover,
.hudl-checkout__close:hover,
.branding-overlay #branding-close:hover {
  background: #037a8e;
  border-color: #037a8e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(3, 122, 142, 0.4);
}
.hudl-vmodal__close:active,
.hudl-checkout__close:active,
.branding-overlay #branding-close:active {
  transform: scale(0.92);
}
.hudl-vmodal__close:focus-visible,
.hudl-checkout__close:focus-visible,
.branding-overlay #branding-close:focus-visible {
  outline: 3px solid #ffa132;
  outline-offset: 2px;
  /* The site-wide focus ring further down would square the disc off. */
  border-radius: 50%;
}
/* A finger needs the full 44px. */
@media (pointer: coarse) {
  .hudl-vmodal__close,
  .hudl-checkout__close,
  .branding-overlay #branding-close {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hudl-vmodal__close,
  .hudl-checkout__close,
  .branding-overlay #branding-close {
    transition: none;
  }
}

/* ====================== WEB & APP PROJECTS (completed apps) ================ */
/* The screenshots are not all the same shape (1860x1710 and 1620x1620), so
   with `height: auto` every card ran to a different height and the Visit
   Website buttons sat at different heights across a row. The column stretches,
   the card fills it, the shot sits in a fixed-ratio frame, and the button is
   pushed to the bottom - so the buttons line up whatever the artwork does. */
.projects-section .col-lg-4 {
  align-items: stretch;
}
.projects-section .portfolio-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 0.375rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.projects-section .portfolio-item > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 13;
  object-fit: contain;
  background: #f7f8fa;
  border-radius: 0.375rem;
}
.projects-section .portfolio-cta {
  /* auto pushes the row down, so every button shares a baseline. */
  margin-top: auto;
  padding-top: 0.9rem;
  text-align: center;
}
.projects-section .portfolio-cta .btn {
  min-width: 9.5rem;
}
.projects-section .portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 6, 55, 0.15);
}
.projects-section .portfolio-item img {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.projects-section .portfolio-item:hover > img {
  transform: scale(1.03);
}
.projects-section .portfolio-item .btn,
.projects-section .portfolio-item a.btn {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.projects-section .portfolio-item:hover .btn {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 122, 142, 0.3);
}
/* The carousel auto-advances (data-ride + 3s interval), so the prev/next
   arrows are hidden: they were cluttering the section. They stay in the DOM
   and become visible on keyboard focus, so the carousel is still operable
   without a mouse and screen readers keep their "Previous"/"Next" links. */
.projects-section .carousel-control-prev,
.projects-section .carousel-control-next {
  opacity: 0;
  pointer-events: none;
}
.projects-section .carousel-control-prev:focus-visible,
.projects-section .carousel-control-next:focus-visible {
  opacity: 1;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3, 122, 142, 0.9);
  border-radius: 50%;
  outline: 3px solid #ffa132;
  outline-offset: 2px;
}

/* ========================== BRANDING PROJECTS =========================== */
.grid-section .grid-box {
  overflow: hidden;
  border-radius: 0.375rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.grid-section .grid-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 6, 55, 0.16);
}
.grid-section .grid-box img {
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.35s ease;
}
.grid-section .grid-box:hover img {
  transform: scale(1.07);
  filter: saturate(1.08);
}
.grid-section .grid-box a {
  display: block;
  position: relative;
}
.grid-section .grid-box a::after {
  /* A subtle teal veil, so it reads as a link without obscuring the artwork. */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 122, 142, 0.22);   /* flat veil: no gradients (owner, 2026-11-15) */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.grid-section .grid-box a:hover::after,
.grid-section .grid-box a:focus-visible::after {
  opacity: 1;
}

/* The branding and graphics cards on projects.html and the home page.
   The card's own box, ratio and spacing live in css/hudl-branding.css; what follows is
   only the motion. There is no hover label: the card lifting and the cover
   easing in is the whole affordance, and the cards carry role="button" so
   assistive tech is told they open something. */
.branding-box,
.graphics-box {
  transition: transform 0.25s ease;
}
.branding-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 6, 55, 0.16);
  border-color: #037a8e;
}
.branding-media img.cover {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.branding-card:hover .branding-media img.cover,
.branding-card:focus-visible .branding-media img.cover {
  transform: scale(1.06);
}

/* The grid id keeps these ahead of the card's own transition, which is
   declared later in the page's own stylesheet block. */
@media (prefers-reduced-motion: reduce) {
  #branding-grid .branding-card,
  #branding-grid .branding-card:hover,
  #home-branding-grid .branding-card,
  #home-branding-grid .branding-card:hover,
  #graphics-grid .branding-card,
  #graphics-grid .branding-card:hover,
  #branding-grid .branding-media img.cover,
  #home-branding-grid .branding-media img.cover,
  #graphics-grid .branding-media img.cover {
    transform: none;
    transition: none;
  }
}

/* ================================= COURSES ================================ */
/* Shared by index.html (featured courses) and courses.html. These rules used
   to live in a <style> block on courses.html only, so on the home page the
   cards had no width, the covers ran full-bleed at their natural height and
   the Purchase button fell back to a bare .btn - plain text. */
.course-grid {
  display: grid;
  /* auto-fit, not auto-fill: auto-fill keeps empty columns, which pushed a
     lone course card to the left edge. */
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 28px;
  margin: 8px 0 24px;
}
.course-card,
.hudl-course-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e4e8ea;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 6, 55, 0.06);
  overflow: hidden;
  text-align: left;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.hudl-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 6, 55, 0.14);
  border-color: #037a8e;
}
/* The hardcoded fallback cards on courses.html have no .hudl-course-media
   wrapper, so their image is boxed directly. */
.course-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.course-card > .course-title,
.course-card > .course-price,
.course-card > .btn-purchase {
  margin-left: 18px;
  margin-right: 18px;
}
.course-card > .btn-purchase {
  margin-bottom: 18px;
  align-self: flex-start;
}

.hudl-course-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef4f6;
}
.hudl-course-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hudl-course-card:hover .hudl-course-media img {
  transform: scale(1.05);
}
.hudl-course-media.is-empty {
  display: grid;
  place-items: center;
  color: #037a8e;
  font-size: 54px;
}
.hudl-course-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 18px;
}
.course-title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #037a8e;
}
.course-title a {
  color: inherit;
  text-decoration: none;
}
.course-title a:hover,
.course-title a:focus-visible {
  text-decoration: underline;
}
.hudl-course-subtitle {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6e6e6e;
}
.hudl-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.hudl-course-chip {
  font-size: 11px;
  font-weight: 500;
  background: #eef1f3;
  color: #4a5560;
  padding: 0.2em 0.6em;
  border-radius: 999px;
}
/* Three lines on the card; the full text is in the details dialog. */
.hudl-course-summary {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hudl-course-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eef1f3;
}
.course-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1.15rem;
  color: #000637;
  margin: 0 0 10px;
}
.hudl-course-amount {
  font-weight: 700;
}
.hudl-course-was {
  color: #9aa4ab;
  font-weight: 400;
  font-size: 0.8em;
}
/* "View details" on the left as a link, the buy button on the right at its
   natural size - not two buttons stretched across the whole card. */
.hudl-course-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.hudl-course-actions .btn {
  flex: 0 0 auto;
}
/* The buy button. A real filled button everywhere it appears - it used to
   be styled on courses.html only, and was plain text on the home page. */
.btn.btn-purchase,
.btn-purchase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #037a8e;
  color: #fff;
  border: 1px solid #037a8e;
  border-radius: 980px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}
.btn.btn-purchase:hover,
.btn.btn-purchase:focus-visible {
  background: #ffa132;
  border-color: #ffa132;
  color: #fff;
}
.btn.btn-purchase:active {
  transform: scale(0.98);
}
.hudl-course-actions .btn.hudl-course-more {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0.25rem 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: #037a8e;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
  cursor: pointer;
}
.hudl-course-actions .btn.hudl-course-more:hover,
.hudl-course-actions .btn.hudl-course-more:focus-visible {
  color: #000637;
  transform: none;
}
/* Inside the details dialog the buy button is the one action, so it fills
   the row there. */
.hudl-course-detail__foot .btn.btn-purchase {
  flex: 1 1 auto;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
}
.hudl-course-preview {
  font-size: 13px;
  color: #037a8e;
  text-decoration: underline;
}
.hudl-course-soon {
  margin-left: auto;
  text-align: right;
  font-size: 13px;
  color: #6e6e6e;
  font-style: italic;
}

/* ------------------------------------------ course details + order summary */
.hudl-course-detail .hudl-checkout__panel {
  width: min(640px, 100%);
  padding: 0 0 22px;
}
/* No panel padding here, so the button is inset from the cover's corner. */
.hudl-course-detail .hudl-checkout__close {
  top: 12px;
  margin: 12px 12px -52px auto;
}
@media (pointer: coarse) {
  .hudl-course-detail .hudl-checkout__close {
    margin-bottom: -56px;
  }
}
.hudl-course-detail__body {
  padding: 0 26px;
}
.hudl-course-detail__cover {
  display: block;
  width: calc(100% + 52px);
  max-width: none;  /* the theme caps every img at 100%, which left a gap */
  margin: 0 -26px 18px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.hudl-course-detail__body > .hudl-course-kind:first-child {
  margin-top: 26px;
}
.hudl-course-detail__title {
  margin: 0 0 4px;
  font-size: 1.45rem;
  line-height: 1.25;
  color: #037a8e;
}
.hudl-course-detail__h {
  margin: 20px 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a5560;
}
.hudl-course-detail__desc {
  font-size: 15px;
  line-height: 1.65;
  color: #222;
}
.hudl-course-detail__desc > :last-child {
  margin-bottom: 0;
}
.hudl-course-detail__desc img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.hudl-course-detail__desc h2,
.hudl-course-detail__desc h3 {
  font-size: 1.05rem;
  margin: 16px 0 6px;
  color: #000637;
}
.hudl-course-detail__foot {
  position: sticky;
  bottom: -22px;
  margin: 20px -26px 0;
  padding: 14px 26px 0;
  background: #fff;
  border-top: 1px solid #eef1f3;
}
.hudl-course-detail__foot .course-price {
  font-size: 1.35rem;
}

.hudl-course-facts,
.hudl-order__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px 16px;
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #f5f8f9;
  border-radius: 10px;
}
.hudl-course-facts dt,
.hudl-order__facts dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c787f;
}
.hudl-course-facts dd,
.hudl-order__facts dd {
  margin: 2px 0 0;
  font-size: 14px;
  color: #16242b;
}
.hudl-course-includes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hudl-course-includes li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 6px;
  font-size: 14px;
  color: #222;
}
.hudl-course-includes li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35em;
  width: 6px;
  height: 11px;
  border: solid #037a8e;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hudl-order {
  margin: 4px 0 6px;
}
.hudl-order__head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hudl-order__thumb {
  width: 72px;
  height: 54px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 8px;
}
.hudl-order__names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hudl-order__kind {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c787f;
}
.hudl-order__title {
  font-size: 15px;
  color: #16242b;
  line-height: 1.3;
}
.hudl-order__sub {
  font-size: 12px;
  color: #6e6e6e;
}
.hudl-order__facts {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  padding: 10px 12px;
}
.hudl-order__label {
  margin: 14px 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c787f;
}
.hudl-order .hudl-course-includes li {
  font-size: 13px;
}
.hudl-order__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d5dde1;
  font-weight: 600;
  color: #16242b;
}
.hudl-order__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.25rem;
  color: #000637;
}


/* ------------------------------------------------------- checkout dialog */
.hudl-checkout {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.hudl-checkout[hidden] {
  display: none;
}
.hudl-checkout__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 55, 0.78);
}
.hudl-checkout__panel {
  position: relative;
  background: #fff;
  width: min(430px, 100%);
  border-radius: 0.375rem;
  padding: 26px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* Sticky rather than absolute: the panel scrolls, and a long form (the job
   application) used to carry the close button away with it. The negative
   margins pull it into the corner and cancel its height, so the title still
   starts at the top of the panel; the title's right padding keeps clear of
   it. It is the panel's first child, which sticky needs. The sticky offset
   is measured inside the panel's 26px padding, hence -14px for a 12px gap. */
.hudl-checkout__close {
  position: sticky;
  top: -14px;
  z-index: 3;
  margin: -14px -14px -26px auto;
}
@media (pointer: coarse) {
  /* It is 44px on a touch screen; this takes the extra 4px back so the
     dialog's content does not move. */
  .hudl-checkout__close {
    margin-bottom: -30px;
  }
}
.hudl-checkout__title {
  padding-right: 44px;
  margin: 0 0 4px;
  font-size: 19px;
  color: #037a8e;
}
.hudl-checkout__course {
  margin: 0 0 18px;
  font-size: 14px;
  color: #16242b;
  font-weight: 500;
}
.hudl-checkout__form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 12px 0 4px;
}
.hudl-checkout__form input[type="text"],
.hudl-checkout__form input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 0.1875rem;
}
.hudl-checkout__form input:focus {
  outline: 0;
  border-color: #037a8e;
  box-shadow: 0 0 0 3px rgba(3, 122, 142, 0.15);
}
.hudl-checkout__note,
.hudl-checkout__secure {
  font-size: 12px;
  color: #6e6e6e;
  margin: 8px 0 0;
}
.hudl-checkout__pay {
  width: 100%;
  margin-top: 16px;
  background: #037a8e;
  color: #fff;
  border: 0;
  border-radius: 0.1875rem;
  padding: 13px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.hudl-checkout__pay:hover:not(:disabled) {
  background: #000637;
}
.hudl-checkout__pay:disabled {
  opacity: 0.6;
  cursor: progress;
}
.hudl-checkout__msg {
  margin: 10px 0 0;
  font-size: 13px;
}
.hudl-checkout__msg.is-error {
  color: #b4232c;
}
.courses-section[hidden] {
  display: none;
}

/* --------------------------- LIVE ONLINE CLASSES ------------------------- */
.classes-section,
.downloads-section {
  padding: 10px 0 24px;
}
.classes-section[hidden],
.downloads-section[hidden] {
  display: none;
}
.classes-section h2::after,
.downloads-section h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 12px auto 0;
  background: #ffa132;
  border-radius: 2px;
}

/* A class is a commitment, so its card is visually distinct from a download. */
.hudl-course-card--class {
  border-top: 3px solid #037a8e;
}
.hudl-course-kind {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #037a8e;
  color: #fff;
  padding: 0.2em 0.55em;
  border-radius: 0.1875rem;
  margin-bottom: 8px;
  align-self: flex-start;
}
.hudl-course-kind.is-download {
  background: #fff3e3;
  color: #8a5a00;
}
.hudl-course-schedule {
  margin: 0 0 4px;
  font-size: 13px;
  color: #16242b;
}
.hudl-course-schedule strong {
  color: #037a8e;
}
.hudl-course-starts {
  margin: 0 0 8px;
  font-size: 12px;
  color: #6e6e6e;
}
.hudl-course-seats {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0b6b53;
}
.hudl-course-seats.is-urgent {
  color: #8a5a00;
}
.hudl-course-seats.is-full {
  color: #b4232c;
}

/* ==========================================================================
   Apple-inspired refinements
   --------------------------------------------------------------------------
   Applies the three principles from Apple's Human Interface Guidelines to the
   existing design rather than replacing it:

     Clarity   - type does the work: tighter tracking on large text, generous
                 line-height on body copy, real focus states.
     Deference - chrome recedes. The scrolled navbar becomes translucent and
                 blurred instead of an opaque white bar with a heavy shadow,
                 so the content stays the brightest thing on screen.
     Depth     - layered, soft, short-throw shadows and a single shared easing
                 curve, so motion feels like one system rather than per-widget
                 guesses.

   This file loads after style.min.css, so these win without !important.
   ========================================================================== */

:root {
  /* Apple's standard interface curve: a quick start that settles gently. */
  --hudl-ease: cubic-bezier(0.4, 0, 0.22, 1);
  --hudl-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --hudl-dur: 0.4s;

  /* Short-throw, layered shadows. Apple stacks a tight contact shadow under a
     wider ambient one; a single large blur reads as a drop shadow from 2009. */
  --hudl-shadow-1: 0 1px 2px rgba(0, 6, 55, 0.06),
                   0 4px 12px rgba(0, 6, 55, 0.06);
  --hudl-shadow-2: 0 2px 4px rgba(0, 6, 55, 0.08),
                   0 12px 32px rgba(0, 6, 55, 0.1);

  --hudl-radius: 12px;
  --hudl-radius-lg: 18px;
}

/* ----------------------------------------------------------------- clarity */

html {
  /* Anchors land below the navbar once it is fixed, instead of under it. */
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Apple tightens tracking as type grows, and only as it grows. Below roughly
   20px, negative tracking hurts legibility rather than helping it. */
h1,
.h1,
.section-heading,
.banner-heading {
  letter-spacing: -0.025em;
  line-height: 1.07;
}
h2,
.h2 {
  letter-spacing: -0.021em;
  line-height: 1.12;
}
h3,
h4,
.h3,
.h4 {
  letter-spacing: -0.017em;
  line-height: 1.2;
}

p,
.service-description,
li {
  line-height: 1.52;
}

/* A readable measure. Long lines are the most common readability problem on
   marketing pages, and the cheapest to fix. */
.service-description,
.section-subheading {
  max-width: 68ch;
}

::selection {
  background: rgba(3, 122, 142, 0.18);
}

/* --------------------------------------------------------------- deference */

/* The scrolled navbar: translucent and blurred, with a hairline instead of a
   30px black shadow. Falls back to near-opaque white where backdrop-filter is
   unsupported, so it never becomes unreadable. */
.header-small .navbar,
.navbar.fixed-top {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 6, 55, 0.08);
  transition:
    background var(--hudl-dur) var(--hudl-ease),
    border-color var(--hudl-dur) var(--hudl-ease);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header-small .navbar,
  .navbar.fixed-top {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}

/* ------------------------------------------- the current-page indicator */

/* Each page points its own nav entry at #header-section; fix_ui_bugs.py turns
   that into class="active" + aria-current="page". This is what makes it
   visible. The underline grows from the centre so it reads as the indicator
   arriving, not as a border appearing. */
.navbar .nav-link {
  position: relative;
  transition:
    color var(--hudl-dur) var(--hudl-ease),
    opacity var(--hudl-dur) var(--hudl-ease);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.15em;
  height: 2px;
  border-radius: 2px;
  background: #037a8e;
  opacity: 0;
  transition:
    left var(--hudl-dur) var(--hudl-ease),
    right var(--hudl-dur) var(--hudl-ease),
    opacity var(--hudl-dur) var(--hudl-ease);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after {
  left: 18%;
  right: 18%;
  opacity: 0.45;
}

/* Keyed on aria-current as well as .active deliberately: landingpage.js
   initialises Bootstrap's scrollspy, which adds and removes `.active` on nav
   links as you scroll. aria-current is a plain attribute that scrollspy never
   touches, so the current-page indicator cannot be scrolled away. */
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  /* A shade deeper than the brand teal: #037a8e is 3.6:1 on the grey
     header, under the 4.5:1 readable minimum (WCAG AA). */
  color: #03697a;
  font-weight: 600;
}

.navbar .nav-link.active::after,
.navbar .nav-link[aria-current="page"]::after {
  left: 12%;
  right: 12%;
  opacity: 1;
}

/* In the collapsed mobile menu the entries stack, so an underline reads as a
   divider. Use a leading bar instead. */
@media (max-width: 991.98px) {
  .navbar .nav-link::after {
    left: 0;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 0;
    transform: translateY(-50%);
    transition:
      height var(--hudl-dur) var(--hudl-ease),
      opacity var(--hudl-dur) var(--hudl-ease);
  }
  .navbar .nav-link:hover::after,
  .navbar .nav-link:focus-visible::after,
  .navbar .nav-link.active::after,
  .navbar .nav-link[aria-current="page"]::after {
    left: 0;
    right: auto;
    height: 1.1em;
    opacity: 1;
  }
}

/* ------------------------------------------------------------------- depth */

/* Hover lift. Apple keeps these small - a card that jumps reads as a glitch. */
.hudl-card,
.product-card,
.card,
.blog-card {
  border-radius: var(--hudl-radius-lg);
  transition:
    transform var(--hudl-dur) var(--hudl-ease),
    box-shadow var(--hudl-dur) var(--hudl-ease);
}

.hudl-card:hover,
.product-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hudl-shadow-2);
}

/* ---------------------------------------------------------------- controls */

/* Apple's call-to-action buttons are pills, and that is the single most
   recognisable part of the language. Scoped to primary actions so secondary
   UI keeps the site's squarer geometry. */
.btn-primary,
.btn-dark,
.hudl-btn,
.hudl-checkout__pay {
  border-radius: 980px;
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition:
    transform 0.2s var(--hudl-ease),
    box-shadow var(--hudl-dur) var(--hudl-ease),
    background-color var(--hudl-dur) var(--hudl-ease);
}

.btn-primary:hover,
.btn-dark:hover,
.hudl-btn:hover {
  transform: scale(1.02);
  box-shadow: var(--hudl-shadow-1);
}

/* Press feedback: the control should feel like it took the tap. */
.btn-primary:active,
.btn-dark:active,
.hudl-btn:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}

/* Every interactive thing gets a visible focus ring for keyboard users, and
   only for keyboard users. Bootstrap 4 ships none worth having. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(3, 122, 142, 0.35);
  border-radius: var(--hudl-radius);
}

/* 44x44pt is Apple's minimum comfortable target, and it is a real
   accessibility floor, not a stylistic preference. */
.navbar .nav-link,
.navbar-toggler,
.btn:not(.btn-block) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* .btn-block is Bootstrap's full-width button and must stay display:block,
   or it collapses to its content width. Not used on the site today, but this
   file loads last and would silently break it the day someone reaches for it. */
.btn-block {
  display: block;
  width: 100%;
}

.navbar .nav-link {
  justify-content: flex-start;
}

/* Inputs: comfortable height and a calm focus state. */
.form-control {
  border-radius: var(--hudl-radius);
  min-height: 44px;
  transition:
    border-color var(--hudl-dur) var(--hudl-ease),
    box-shadow var(--hudl-dur) var(--hudl-ease);
}

.form-control:focus {
  border-color: rgba(3, 122, 142, 0.6);
  box-shadow: 0 0 0 4px rgba(3, 122, 142, 0.15);
}

/* Images should never be the thing that breaks the grid. */
img {
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------------------- reduced motion */

/* Apple treats Reduce Motion as a promise, not a hint. Transitions that only
   convey state are kept instantaneous rather than removed, so nothing
   disappears for someone who turned animation off. */
@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;
  }
}

/* ---------------------------------------------------------------------
   "View live" on a project card. The card itself opens the gallery, so the
   link needs to read as a separate target rather than part of the blurb.
   --------------------------------------------------------------------- */
.branding-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #037a8e;
  text-decoration: none;
  border-bottom: 1px solid rgba(3, 122, 142, 0.35);
}
.branding-link:hover,
.branding-link:focus {
  color: #025f6e;
  border-bottom-color: currentColor;
}

/* ---------------------------------------------------------------------
   APPLY FOR A ROLE
   The dialog shares .hudl-checkout's shell; this widens the panel and
   styles the field types the checkout form does not have.
   --------------------------------------------------------------------- */
.hudl-apply .hudl-checkout__panel {
  width: min(560px, 100%);
}
.hudl-apply__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
@media (max-width: 480px) {
  .hudl-apply__row {
    grid-template-columns: 1fr;
  }
}
.hudl-apply__form input[type="tel"],
.hudl-apply__form input[type="file"],
.hudl-apply__form select,
.hudl-apply__form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 0.1875rem;
  background: #fff;
  color: #16242b;
}
.hudl-apply__form textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.hudl-apply__form input[type="file"] {
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
}
.hudl-apply__form select:focus,
.hudl-apply__form textarea:focus,
.hudl-apply__form input:focus {
  outline: 0;
  border-color: #037a8e;
  box-shadow: 0 0 0 3px rgba(3, 122, 142, 0.15);
}
/* The required marker. The asterisk is aria-hidden; the input's own
   `required` is what assistive tech reads. */
.hudl-apply__form label span[aria-hidden] {
  color: #b4232c;
}
/* Spam trap. Off-screen rather than display:none, which some bots skip. */
.hudl-apply__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.hudl-apply__done {
  text-align: center;
  padding: 8px 0 4px;
  font-size: 14px;
  line-height: 1.6;
  color: #16242b;
}
.hudl-apply__done[hidden] {
  display: none;
}
.hudl-apply__tick {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #037a8e;
  color: #fff;
  font-size: 24px;
  line-height: 46px;
}


/* ------------------------------------------------- the bar as it pins */

/* The theme pads <body> by a flat 167px when the bar pins, while the bar it
   is standing in for is ~198px tall. The difference came off the top of the
   page as a jolt at the moment of pinning, and went back on when it
   unpinned - the juddering seen when scrolling near the threshold.
   landingpage.js measures the bar and publishes it as --hudl-nav-rest, so
   the padding now matches exactly and the document height never changes.
   The 167px literal stays as the fallback for a page where the script did
   not run. Mirrored in scss/_content.scss, which is not compiled - this
   is the copy the browser applies. See scss/README.md. */
body.body-top-padding {
  padding-top: var(--hudl-nav-rest, 167px);
}

/* The theme slides the pinned bar in over a full second. With the threshold
   corrected the bar now arrives exactly as the static one leaves, so a long
   slide means a second of the Contact Us button drifting downward out from
   under the cursor. Short enough to read as movement, short enough to click
   through. */
.header-small .navbar.fixed-top {
  transition: margin-top var(--hudl-dur, 0.24s) var(--hudl-ease, ease);
}

/* `.header-small .navbar .btn { margin-left: 20px }` in the compiled theme
   shifts the Contact Us button 20px to the right the instant the bar pins,
   on top of the 148px the list item already carries. Nothing else in the bar
   moves, so it reads as the button jumping sideways. The padding in the same
   rule is already overridden above; this neutralises the margin. */
.navbar .btn-contact-us .btn,
.header-small .navbar .btn-contact-us .btn {
  margin-left: 0;
}

/* ------------------------------------------------------- blog article */

/* The single-article view behind blog.html?post=<slug>. Measured against the
   card grid it replaces: the same container, but a reading column rather
   than three columns, because body text at full container width runs to
   about 140 characters a line. */
.hudl-article {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.hudl-article-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #037a8e;
}
.hudl-article-back:hover,
.hudl-article-back:focus {
  color: #025c6a;
  text-decoration: underline;
}

.hudl-article-title {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hudl-article-meta {
  color: #6e6e6e;
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}

.hudl-article-cover {
  margin: 0 0 1.75rem;
}
.hudl-article-cover img {
  width: 100%;
  border-radius: 0.5rem;
}

.hudl-article-tags {
  margin-bottom: 1.5rem;
}
.hudl-article-tag {
  display: inline-block;
  margin: 0 0.4rem 0.4rem 0;
  padding: 0.2rem 0.65rem;
  border-radius: 1rem;
  background: rgba(3, 122, 142, 0.1);
  color: #025c6a;
  font-size: 0.8125rem;
}

/* The body is editor-authored, so the shapes it can contain are whatever the
   rich-text field allows. These are the ones that need a line height and a
   rhythm; anything else inherits the page defaults. */
.hudl-article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #221e1e;
}
.hudl-article-body > :first-child {
  margin-top: 0;
}
.hudl-article-body p,
.hudl-article-body ul,
.hudl-article-body ol,
.hudl-article-body blockquote {
  margin-bottom: 1.25rem;
}
.hudl-article-body h2,
.hudl-article-body h3,
.hudl-article-body h4 {
  margin: 2rem 0 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}
.hudl-article-body h2 { font-size: 1.5rem; }
.hudl-article-body h3 { font-size: 1.25rem; }
.hudl-article-body h4 { font-size: 1.0625rem; }
.hudl-article-body img {
  height: auto;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}
.hudl-article-body blockquote {
  padding-left: 1.25rem;
  border-left: 3px solid rgba(3, 122, 142, 0.35);
  color: #4b4949;
  font-style: italic;
}
.hudl-article-body a {
  color: #037a8e;
  text-decoration: underline;
}
.hudl-article-body pre,
.hudl-article-body code {
  font-size: 0.9375rem;
}
.hudl-article-body pre {
  padding: 1rem;
  overflow-x: auto;
  background: #f5f7f8;
  border-radius: 0.4rem;
}
.hudl-article-body table {
  width: 100%;
  margin-bottom: 1.25rem;
  border-collapse: collapse;
}
.hudl-article-body th,
.hudl-article-body td {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0, 6, 55, 0.12);
  text-align: left;
}

.hudl-article-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 6, 55, 0.1);
}

@media (max-width: 575.98px) {
  .hudl-article-body { font-size: 1rem; }
  .hudl-article-title { font-size: 1.6rem; }
}

/* --------------------------------------------------- hydration guard */

/* A CMS-managed grid carries hardcoded cards as its offline fallback, and
   those are what the browser paints before the fetch resolves - so an item
   just unpublished in the admin flashed up and then vanished. hudl-cms.js
   adds this class for the duration of the request and removes it when the
   request settles, succeed or fail, with a 4s ceiling. The class is only
   ever added by that script, so with JavaScript off, or the API down before
   the script loads, the fallback is never hidden.

   visibility rather than display, so the grid keeps its height and the page
   does not jump when the real cards land. */
.hudl-hydrating > * {
  visibility: hidden;
}

.hudl-projects-empty {
  text-align: center;
  color: #6e6e6e;
  padding: 2rem 0;
}

/* The portfolio shape has no visible title, so the name and summary the
   lightbox reads are present but unseen. Bootstrap 4's .sr-only exists in
   the compiled theme; this is here in case a page loads this file without
   it. */
.portfolio-item .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;
}

/* ------------------------------------------- the mobile menu drawer */

/* Below 992px the theme turns the nav into a fixed 250px off-canvas drawer.
   Two things were wrong with it, both only visible on a phone that is not
   very tall:

   1. The drawer never scrolled. Measured at 390x640: content 774px inside a
      640px drawer with overflow-y: visible, so the last items - Contact Us
      and the row of social icons at y=738 - were off-screen with no way to
      reach them. At 390x844 there is no overflow, which is why it looked
      fine on a big handset.

   2. The live-chat bubble is fixed to the bottom-right at a z-index far
      above everything, and the drawer occupies that corner, so the bubble
      sat on top of whatever the drawer put there - the social icons on a
      taller screen, the lower nav links on a shorter one. */
@media (max-width: 991.98px) {
  .navbar .navbar-menu-wrapper.navbar-collapse {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Clearance for the home-button bar and for the chat bubble's corner. */
    padding-bottom: 5.5rem;
  }
}

/* While the drawer is open, keep the floating widgets out of it. A chat
   bubble and a cookie banner are both fixed to the bottom of the viewport at
   a z-index above the page, and neither has any business sitting over an open
   full-height menu. landingpage.js already puts .sidebar-open on <body> when
   the collapse shows, so this needs no new JavaScript.

   Smartsupp has used both container ids over the years, and the id prefix
   catches a third; the widget sets its own inline styles, hence !important. */
body.sidebar-open #smartsupp-widget-container,
body.sidebar-open #chat-application,
body.sidebar-open [id^="smartsupp"],
body.sidebar-open .smartsupp-widget-container,
body.sidebar-open #hudl-cookie-banner,
body.sidebar-open .hudl-cookie-banner {
  display: none !important;
}

/* ---------------------------------------------------------------------
   SHARED PAGE FURNITURE

   The call-to-action buttons and the back-to-top control used to be
   copy-pasted into a <style> block on every page that showed them - the
   button on nine pages, the button-to-top on seven, and its click handler
   on eight. They were identical everywhere, which is exactly the state
   that quietly stops being true after one page gets edited. They live
   here now, and js/landingpage.js carries the handler.
   --------------------------------------------------------------------- */

/* "Call Now" and the other solid CTAs.

   There used to be a .button-2 beside this, declared twice inside
   survey.html and applied to nothing on any page - dead on arrival. It is
   not carried over. */
.button-1 {
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  font-family:
    "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-1 {
  background-color: #03798e;
  color: #d9d9d9;
}

.button-1:hover,
.button-1:focus {
  background-color: #ffa132;
}

/* Back to top. Hidden until the page has been scrolled; landingpage.js
   adds .show past 300px. */
#back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: #037a8e;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 1500;
  opacity: 0;
  /* Not just opacity: at 0 the button was still there to be clicked, and
     on a phone it sat over the content in the bottom-left corner. */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:focus-visible {
  outline: 3px solid #ffa132;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  #back-to-top {
    transition: none;
  }
}

/* ================================ BLOG CARDS ===============================
   .blog-post had no rules anywhere - not in style.css, not in blog.html - so
   every card was a raw image at its natural size with text under it, and a
   row of posts came out ragged. Equal-height cards with a fixed-ratio cover. */
[data-hudl-posts] > [class*="col-"] {
  display: flex;
  margin-bottom: 30px;
}
.blog-post {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #e4e8ea;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 6, 55, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 6, 55, 0.14);
  border-color: #037a8e;
}
.blog-post > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.blog-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 20px 20px;
}
.blog-content h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: #000637;
}
.blog-content .post-meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: #6c787f;
}
.blog-content .excerpt {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-content .btn {
  margin-top: auto;
  align-self: flex-start;
}
/* A single article's cover is a banner, not a full-height poster: a square
   or portrait cover filled the whole screen before the first word. */
.hudl-article-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

/* With one or two items a CMS row used to hug the left edge under a centred
   heading. Bootstrap rows are flex, so centring the leftovers is enough. */
[data-hudl-posts],
[data-hudl-products],
[data-hudl-ads],
[data-hudl-jobs] {
  justify-content: center;
}

/* The 44px floor above is for fingers. With a mouse the course card's buy
   button sits at 38px, which is what makes it look in proportion with the
   card; touch screens keep the full 44. */
/* Compact on every device, by request: the site-wide 44px floor made the
   card's buy button look oversized. */
.hudl-course-actions .btn.btn-purchase {
  min-height: 32px;
}

/* Blog spotlight (blog.html): the date line above the chosen post's excerpt,
   and a hidden section really gone when it would repeat the open article. */
.hudl-spotlight-meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6c787f;
}
[data-hudl-spotlight][hidden] {
  display: none;
}


/* ============================== PROCESS CARDS ==============================
   The numbered step cards on index.html ("Our essential process") and
   survey.html ("Before you build"). Moved here from index.html's own <style>
   so the two pages share one copy; js/hudl-process.js does the reveal and
   the phone "Read more" clamp. */
/* Six full-width stacked panels made this section 2.3 screens
   tall on a laptop and 4.0 on a phone - measured - with the step
   number taking a whole row of its own below md. It is a grid now:
   three across on a laptop, two on a tablet, one on a phone, with
   the number inline beside its title. Same six steps, same words. */
.process-grid {
  margin-bottom: -28px;   /* absorb the last row's card margin */
}

.feature-set {
  display: flex;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms cubic-bezier(0.2, 0.9, 0.3, 1),
    transform 520ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.feature-set.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Honour a request for no motion: the cards appear, they just do
   not travel. Without this the whole section stays at opacity 0
   for anyone with the preference set, because the reveal is what
   makes it visible. */
@media (prefers-reduced-motion: reduce) {
  .feature-set {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.process-card {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 22px 22px 20px;
  background-color: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 300ms, border-color 300ms;
}
/* A teal hairline along the top edge, so the cards read as one
   sequence rather than six unrelated boxes. */
.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #037a8e;          /* flat: no gradients (owner, 2026-11-15) */
}

.process-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.process-number {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 9px;
  background: rgba(3, 122, 142, 0.18);
  color: #4fd1e5;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background 300ms, color 300ms;
}

.process-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #ffffff;
}

.process-description {
  margin: 0;
  font-size: 0.975rem;
  color: #d0d6db;
  line-height: 1.6;
}

@media (hover: hover) and (min-width: 768px) {
  .process-card:hover {
    transform: translateY(-4px);
    border-color: rgba(3, 122, 142, 0.45);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
  }
  .process-card:hover .process-number {
    background: #037a8e;
    color: #ffffff;
  }
}

/* On a phone the grid is one column, so six cards of ~320 words
   still ran 3.2 screens. The description is clamped to four lines
   with a toggle; every word is one tap away. The clamp is applied
   by the script below, so with JavaScript off the full text shows
   as before. */
.process-description.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.process-more {
  align-self: flex-start;
  /* 10px of padding instead of margin: same look, a finger-sized target. */
  margin: 0 0 -10px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: #4fd1e5;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
.process-more:focus-visible {
  outline: 2px solid #4fd1e5;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .process-card {
    padding: 18px;
  }
  .process-number {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .process-title {
    font-size: 1.08rem;
  }
  .process-description {
    font-size: 0.95rem;
  }
}

/* ================================ SURVEY PAGE ===============================
   survey.html: the "6 things to know" grid reuses PROCESS CARDS above; this
   is its heading and the two-panel survey form. */
.survey-tips {
  padding: 24px 0 8px;
}
.survey-head {
  margin-bottom: 28px;
}
.survey-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffa132;
  margin-bottom: 6px;
}
.survey-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  color: #037a8e;
}

.survey-form-section {
  margin: 72px 0 64px;
  scroll-margin-top: 90px;  /* "Skip to the survey" lands below the navbar */
}
.survey-shell {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e8ea;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Left: what happens next, on flat site teal - the colour of Call Now and
   Contact Us. It was navy with a teal radial glow, which the owner said
   looked AI-made and matched nothing else on the site (2026-11-11). Keep it
   flat. */
.survey-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 40px;
  color: rgba(255, 255, 255, 0.9);
  background: #037a8e;
}
/* The orange eyebrow is unreadable on teal. */
.survey-aside .survey-eyebrow {
  color: #fff;
  opacity: 0.85;
}
.survey-aside h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  color: #fff;
}
.survey-aside > p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.65;
}
.survey-next {
  list-style: none;
  counter-reset: next;
  margin: 0 0 30px;
  padding: 0;
}
.survey-next li {
  counter-increment: next;
  position: relative;
  padding: 0 0 18px 46px;
  font-size: 14.5px;
  line-height: 1.55;
}
.survey-next li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #037a8e;
  font-weight: 700;
  font-size: 14px;
}
/* A thin line joining the three steps. */
.survey-next li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 32px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
}
.survey-next b {
  color: #fff;
}
/* Pinned to the foot of the panel, so a tall form does not leave the navy
   side half empty. */
.survey-wa {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.survey-wa .mdi {
  font-size: 18px;
  color: #fff;
}
.survey-wa:hover,
.survey-wa:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* Right: the form, in two numbered groups. */
.survey-form {
  padding: 40px 40px 36px;
}
.survey-form fieldset {
  border: 0;
  margin: 0 0 26px;
  padding: 0;
  min-width: 0;
}
.survey-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #eef1f3;
  font-size: 1.05rem;
  font-weight: 600;
  color: #000637;
}
.survey-step {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e6f3f5;
  color: #037a8e;
  font-size: 13px;
  font-weight: 700;
}
.survey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.survey-wide {
  grid-column: 1 / -1;
}
.survey-field label,
.survey-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #16242b;
}
.survey-optional {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #6c787f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.survey-form .form-control {
  width: 100%;
  border: 1px solid #d5dde1;
  border-radius: 10px;
  background: #fbfcfd;
  padding: 0.65rem 0.85rem;
  font-size: 15px;
  color: #16242b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.survey-form textarea.form-control {
  min-height: 0;
  resize: vertical;
  line-height: 1.5;
}
.survey-form .form-control::placeholder {
  color: #9aa4ab;
}
.survey-form .form-control:focus {
  outline: 0;
  background: #fff;
  border-color: #037a8e;
  box-shadow: 0 0 0 4px rgba(3, 122, 142, 0.14);
}

/* Team size as tappable chips (radio buttons underneath). */
.survey-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.survey-chips label {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.survey-chips input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.survey-chips span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #d5dde1;
  border-radius: 980px;
  background: #fbfcfd;
  font-size: 14px;
  color: #4a5560;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.survey-chips label:hover span {
  border-color: #037a8e;
}
.survey-chips input:checked + span {
  background: #037a8e;
  border-color: #037a8e;
  color: #fff;
}
.survey-chips input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(3, 122, 142, 0.2);
}

.survey-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 6px;
}
.survey-submit .btn {
  padding: 0.75rem 1.8rem;
}
.survey-privacy {
  margin: 0;
  font-size: 12.5px;
  color: #6c787f;
}
.survey-privacy a {
  color: #037a8e;
}
.survey-submit .hudl-form-msg {
  flex: 1 0 100%;
  margin: 0;
}
/* After a successful send: a clear confirmation, not just small green text. */
.survey-form.hudl-form-done .hudl-form-msg {
  padding: 14px 16px;
  border-radius: 10px;
  background: #e9f9f4;
  border: 1px solid #b8e8d8;
  font-size: 14.5px;
}

@media (max-width: 991.98px) {
  .survey-shell {
    /* minmax(0, …), not 1fr: a bare 1fr track grows to its content's
       min-content width, so booking.html's sideways-scrolling row of days
       pushed the form to ~600px inside a 330px card and clipped it. */
    grid-template-columns: minmax(0, 1fr);
  }
  .survey-aside {
    padding: 34px 28px 30px;
  }
}
@media (max-width: 575.98px) {
  .survey-form-section {
    margin: 48px 0;
  }
  .survey-shell {
    border-radius: 8px;
  }
  .survey-aside,
  .survey-form {
    padding: 26px 20px;
  }
  .survey-grid {
    grid-template-columns: 1fr;
  }
  .survey-submit .btn {
    width: 100%;
  }
}

/* ====================== SIGN-UP, BOOKING AND CONTRACT PAGES =================
   subscribe.html, booking.html and contract.html (built by
   backend/tools/one-off/make_pages.py). They reuse the SURVEY PAGE shell and fields
   above; this is only what is new. */
.hudl-page-banner { padding-bottom: 0; }
.hudl-signup-fine { margin: 0 0 22px; font-size: 13.5px; line-height: 1.6;
  color: #b9c1cf; }
.hudl-signup .survey-shell { max-width: 960px; margin: 0 auto; }

.hudl-booking-loading { color: #6c787f; font-size: 15px; margin: 0; }
.hudl-booking-closed { padding: 16px 18px; border-radius: 10px; background: #fff7e8;
  border: 1px solid #f6dfb0; font-size: 15px; line-height: 1.6; }
.hudl-booking-tz { margin: -4px 0 14px; font-size: 13px; color: #6c787f; }

/* A row of days that scrolls sideways on a phone. */
.hudl-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.hudl-day { flex: 0 0 auto; scroll-snap-align: start; display: flex;
  flex-direction: column; align-items: center; min-width: 64px; padding: 10px 8px;
  border: 1px solid #d5dde1; border-radius: 12px; background: #fbfcfd; color: #4a5560;
  cursor: pointer; line-height: 1.2; font: inherit;
  transition: border-color .2s ease, background .2s ease, color .2s ease; }
.hudl-day:hover { border-color: #037a8e; }
.hudl-day.is-on { background: #037a8e; border-color: #037a8e; color: #fff; }
.hudl-day:focus-visible, .hudl-slot:focus-visible { outline: 0;
  box-shadow: 0 0 0 4px rgba(3, 122, 142, .25); }
.hudl-day-name { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.hudl-day-num { font-size: 22px; font-weight: 600; margin: 2px 0; }
.hudl-day-month { font-size: 12px; }
.hudl-slots-head { margin: 8px 0 10px; font-weight: 600; color: #000637; font-size: 14.5px; }
.hudl-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px; }
.hudl-slot { padding: 10px 6px; min-height: 44px; border: 1px solid #d5dde1;
  border-radius: 10px; background: #fbfcfd; color: #16242b; font: inherit;
  font-size: 14.5px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.hudl-slot:hover { border-color: #037a8e; }
.hudl-slot.is-on { background: #037a8e; border-color: #037a8e; color: #fff; font-weight: 600; }
.hudl-booking select.form-control { appearance: auto; height: auto; }

.hudl-booking-done { text-align: center; padding: 30px 10px; outline: 0; }
.hudl-booking-done .mdi { font-size: 54px; color: #1d8a5f; line-height: 1; }
.hudl-booking-done h3 { margin: 10px 0 8px; color: #000637; font-size: 1.4rem; }
.hudl-booking-done p { font-size: 15px; line-height: 1.6; color: #4a5560; }
.hudl-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* contract.html: "lost your link?" */
.hudl-find-lead { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: #4a5560; }
.survey-step .mdi { font-size: 15px; }

@media (max-width: 575.98px) {
  .hudl-done-actions .btn { width: 100%; }
}

/* ------------------------------------------------- book-an-appointment CTA */

/* "Book an appointment" sits in every navbar beside Contact Us, as a compact
   "Book a call" pill next to the menu button on phones (so it is visible
   without opening the drawer). It is the accent orange
   so it reads as the main call to action next to the teal buttons. */
.hudl-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 0.3rem;
  border: 1px solid #ffa132;
  background: #ffa132;
  color: #1a1a1a;
}
.hudl-book-btn:hover,
.hudl-book-btn:focus-visible {
  background: #f08c12;
  border-color: #f08c12;
  color: #1a1a1a;
  text-decoration: none;
}
.hudl-book-btn .mdi {
  font-size: 1.05rem;
  line-height: 1;
}
@media (pointer: fine) {
  .navbar .hudl-book-btn { min-height: 38px; }
}
.navbar .hudl-book-btn,
.header-small .navbar .hudl-book-btn {
  margin-left: 0;
}

/* Desktop: right after Contact Us. The second button costs the width the
   old 148px gap before Contact Us used to take, so that gap goes; without
   this the nav list squeezed the logo (a shrinkable flex item) to nothing.
   The logo is also made unshrinkable so it can never be squeezed again.
   Between 992px and 1199px the links tighten from 17px to 11px a side and
   both buttons drop their icons, and to 11px between 1200px and 1399px.
   Check 992, 1024, 1100, 1200 and 1400 after touching the bar. */
@media (min-width: 992px) {
  .navbar .navbar-brand-wrapper img {
    flex-shrink: 0;
  }
  /* "Brand Lab" (2026-11-11) made the bar one item longer: labels must
     never wrap onto two lines, and the logo's wrapper (not just the img)
     must not give up its width, or the logo is squeezed to ~40px. */
  .navbar .navbar-brand-wrapper {
    flex-shrink: 0;
    width: auto !important;
    min-width: 100px;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .nav-link {
    white-space: nowrap;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .btn-contact-us {
    margin-left: 1.5rem;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .nav-book {
    margin-left: 0.6rem;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .navbar-menu-wrapper .navbar-nav .nav-link {
    padding-left: 8px;
    padding-right: 8px;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .btn-contact-us {
    margin-left: 0.75rem;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .nav-book {
    margin-left: 0.4rem;
  }
  .navbar .btn-contact-us .btn,
  .navbar .nav-book .hudl-book-btn {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .navbar .btn-contact-us .btn .mdi,
  .navbar .nav-book .hudl-book-btn .mdi {
    display: none;
  }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
  .navbar .navbar-menu-wrapper .navbar-nav .nav-link {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 0.875rem;
  }
  .navbar .btn-contact-us .btn,
  .navbar .nav-book .hudl-book-btn {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    font-size: 0.875rem;
  }
}

/* Phones/tablets: the pill in the top bar, and a full-width button in the
   drawer. */
.navbar .hudl-book-btn--bar {
  padding: 0.4rem 0.8rem;
  font-size: 0.8125rem;
  margin-right: 0.5rem;
  align-self: center;
}
@media (max-width: 991.98px) {
  .navbar .navbar-menu-wrapper .navbar-nav .nav-book {
    margin-top: 0.75rem;
    padding-right: 1.5rem;
    width: 100%;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .nav-book .hudl-book-btn {
    width: 100%;
  }
}
@media (max-width: 359.98px) {
  .navbar .hudl-book-btn--bar { padding: 0.4rem 0.6rem; }
}


/* "Book Appointment" beside "Call Now" in the "Do you have any projects?"
   banner. Same shape as .button-1 with its colours reversed, by request:
   teal text on Call Now's light grey. The banner is nearly that grey, so an
   inset teal ring (box-shadow, so the size matches Call Now) outlines it.
   Hover goes orange, like Call Now. */
.button-1--book {
  margin-left: 10px;
  background-color: #d9d9d9;
  color: #03798e;
  box-shadow: inset 0 0 0 2px #03798e;
}
.button-1--book:hover,
.button-1--book:focus {
  background-color: #ffa132;
  color: #03798e;
  box-shadow: inset 0 0 0 2px #ffa132;
  text-decoration: none;
}
@media (max-width: 359.98px) {
  .button-1--book { margin: 10px 0 0; }
}

/* ============================ SHARE LINKS =================================
   "Copy link" in the project gallery, the AI video player and the course
   details (js/hudl-cms.js shareButton). Flat teal, like the rest of the
   site's secondary actions; it turns green-check "Link copied" for two
   seconds after a copy. */
.hudl-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0.3rem 0.8rem;
  min-height: 0;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: #037a8e;
  background: #fff;
  border: 1px solid #037a8e;
  border-radius: 980px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
.hudl-share .mdi {
  font-size: 1rem;
  line-height: 1;
}
.hudl-share:hover,
.hudl-share:focus-visible {
  color: #fff;
  background: #037a8e;
}
.hudl-share.is-copied,
.hudl-share.is-copied:hover {
  color: #fff;
  background: #037a8e;
  border-color: #037a8e;
}
/* On the video player's navy sheet. */
.hudl-share--dark {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}
.hudl-share--dark:hover,
.hudl-share--dark:focus-visible,
.hudl-share--dark.is-copied {
  color: #fff;
  background: #037a8e;
  border-color: #037a8e;
}
@media (pointer: coarse) {
  .hudl-share { min-height: 40px; padding: 0.45rem 0.95rem; }
}
.hudl-course-detail__share {
  margin: 0 0 4px;
}

/* A shared link to something since taken down. */
.hudl-share-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 3000;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #fff;
  background: #037a8e;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: opacity 0.4s ease;
}
.hudl-share-toast.is-leaving {
  opacity: 0;
}
/* The card a link pointed to, when it has no gallery to open. */
.hudl-share-target {
  outline: 3px solid #ffa132;
  outline-offset: 4px;
  border-radius: 8px;
  transition: outline-color 0.6s ease;
}

/* ================================== CART ==================================
   The course cart (js/hudl-cms.js, "the cart"): the floating button, the
   cart dialog (built on the .hudl-checkout dialog), the bundle offer banner
   and chip. Flat teal / orange / white, like the rest of the site.

   The cart button sits ABOVE the Smartsupp chat button, which owns the
   bottom-right corner (24px to 80px from the bottom, measured 2026-11-11)
   and covered the cart once the chat loaded. Back-to-top owns bottom-left. */
.hudl-cart-fab {
  position: fixed;
  right: 12px;
  bottom: 92px;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px 0 14px;
  border: 0;
  border-radius: 999px;
  background: #037a8e;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.hudl-cart-fab[hidden] { display: none; }
.hudl-cart-fab .mdi { font-size: 1.3rem; line-height: 1; }
.hudl-cart-fab__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffa132;
  color: #fff;
  font-size: 0.8rem;
  line-height: 22px;
  text-align: center;
}
.hudl-cart-fab:hover,
.hudl-cart-fab:focus-visible { background: #02606f; }
.hudl-cart-fab:focus-visible { outline: 3px solid #ffa132; outline-offset: 3px; }
.hudl-cart-fab.is-pulsing { animation: hudl-cart-pulse 0.5s ease; }
@keyframes hudl-cart-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hudl-cart-fab.is-pulsing { animation: none; }
}
@media (max-width: 575.98px) {
  .hudl-cart-fab__label { display: none; }
}

.hudl-cart .hudl-checkout__panel { width: min(480px, 100%); }
.hudl-cart__notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #fdf4e5;
  border-left: 4px solid #ffa132;
  font-size: 0.88rem;
}
.hudl-cart__lines { list-style: none; margin: 4px 0 10px; padding: 0; }
/* Thumbnail | title + type + Remove | price. On phones the price drops
   under the text so the title keeps the width (it wrapped to four or five
   lines beside a thumbnail and a price on an iPhone SE). */
.hudl-cart__line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas: "thumb what price";
  align-items: start;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f3;
}
.hudl-cart__thumb {
  grid-area: thumb;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: #eef1f3;
}
.hudl-cart__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hudl-cart__thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #037a8e;
  font-size: 1.5rem;
}
.hudl-cart__what { grid-area: what; min-width: 0; }
.hudl-cart__price { grid-area: price; }
@media (max-width: 575.98px) {
  .hudl-cart__line {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "thumb what" "thumb price";
    column-gap: 10px;
  }
  .hudl-cart__thumb { width: 56px; height: 42px; }
  .hudl-cart__thumb.is-empty { font-size: 1.25rem; }
  .hudl-cart__price { margin-top: 2px; }
}
.hudl-cart__what strong { display: block; font-size: 0.95rem; line-height: 1.35; }
.hudl-cart__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 2px;
}
.hudl-cart__kind { font-size: 0.78rem; color: #6e6e6e; }
.hudl-cart__price {
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* A plain text button: no native button chrome, so it renders the same in
   every browser, with a tap area taller than the text. */
.hudl-cart__remove {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: #037a8e;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hudl-cart__remove:hover,
.hudl-cart__remove:focus-visible { color: #b42318; }
.hudl-cart__remove:focus-visible { outline: 2px solid #ffa132; outline-offset: 2px; }
@media (pointer: coarse) {
  .hudl-cart__remove { padding: 10px 4px; margin: -4px -4px; }
}
.hudl-cart__offer {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fdf4e5;
  color: #6b4307;
  font-size: 0.88rem;
  font-weight: 600;
}
.hudl-cart__offer.is-applied { background: #e8f3f5; color: #037a8e; }
.hudl-cart__totals {
  display: grid;
  grid-template-columns: 1fr auto;
  /* No column gap: the Total row's top border must run unbroken. */
  gap: 4px 0;
  margin: 0 0 14px;
  font-size: 0.92rem;
}
.hudl-cart__totals dt,
.hudl-cart__totals dd { margin: 0; }
.hudl-cart__totals dd { padding-left: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.hudl-cart__totals .is-discount { color: #037a8e; }
.hudl-cart__totals .is-total {
  padding-top: 6px;
  border-top: 1px solid #d9dee2;
  font-weight: 700;
  font-size: 1.05rem;
}
.hudl-cart__empty { text-align: center; padding: 18px 0 8px; }
.hudl-cart__empty[hidden],
.hudl-cart .hudl-checkout__form[hidden] { display: none; }
.btn.btn-purchase.is-added {
  background: #fff;
  color: #037a8e;
  border-color: #037a8e;
}
.btn.btn-purchase.is-added:hover,
.btn.btn-purchase.is-added:focus-visible { background: #037a8e; color: #fff; }

.hudl-bundle-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1110px;
  margin: 24px auto 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #037a8e;
  color: #fff;
}
.hudl-bundle-banner .mdi { font-size: 1.6rem; color: #ffa132; line-height: 1; }
.hudl-bundle-banner p { margin: 0; font-size: 0.95rem; }
@media (max-width: 1140px) {
  .hudl-bundle-banner { margin-left: 16px; margin-right: 16px; }
}
.hudl-course-chip--bundle { background: #fdf4e5; color: #8a5208; }

/* ------------------------------------------------------ local currency
   "≈ $34" with the naira price (what is actually charged) beside it.
   Drawn by moneyNode() in js/hudl-cms.js. */
.hudl-money__naira {
  margin-left: 6px;
  font-size: 0.78em;
  font-weight: 500;
  color: #6e6e6e;
  white-space: nowrap;
}
.hudl-course-was .hudl-money__naira { display: none; }
/* In the cart the naira figure sits under the estimate, right-aligned. */
.hudl-cart__price .hudl-money__naira,
.hudl-cart__totals .hudl-money__naira {
  display: block;
  margin-left: 0;
  text-align: right;
}
.hudl-cart__price .hudl-money__local { display: block; text-align: right; }
.hudl-currency {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: #4a5560;
}
.hudl-currency[hidden] { display: none; }
.hudl-currency label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  white-space: nowrap;
}
.hudl-currency select {
  min-width: 0;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid #c9d1d6;
  border-radius: 6px;
  background: #fff;
  color: #000637;
  font: inherit;
}
.hudl-currency select:focus-visible { outline: 2px solid #ffa132; outline-offset: 2px; }
.hudl-currency__note { flex-basis: 100%; font-size: 0.8rem; color: #6e6e6e; }
.hudl-currency__note:empty { display: none; }
.hudl-currency--page { justify-content: center; text-align: center; }
.hudl-currency--cart { margin: -6px 0 14px; }

/* ============================================================
   BRAND LAB TEASER - home page section before the courses.
   Flat teal / grey / orange / white, no gradients (owner's rule).
   ============================================================ */
.hudl-blt {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.hudl-blt__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 980px;
  background: #fff3e4;
  color: #ab5a00;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hudl-blt__title { color: #037a8e; margin: 0 0 8px; font-size: 2rem; line-height: 1.25; }
.hudl-blt__sub { color: #1d1d1f; font-size: 1.2rem; font-weight: 600; line-height: 1.4; margin: 0 0 16px; }
.hudl-blt__lead,
.hudl-blt__for { color: #4a4a4a; line-height: 1.7; margin: 0 0 14px; }
.hudl-blt__for b { color: #1d1d1f; }
.hudl-blt__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 22px;
}
.hudl-blt__ghost {
  border-radius: 980px;
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  color: #037a8e;
  background: #fff;
  border: 1.5px solid #037a8e;
}
.hudl-blt__ghost:hover,
.hudl-blt__ghost:focus-visible { color: #fff; background: #037a8e; }
.hudl-blt__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: #037a8e;
  font-weight: 600;
}
.hudl-blt__more:hover { color: #ffa132; text-decoration: none; }
.hudl-blt__also { color: #4a4a4a; font-size: 0.92rem; line-height: 1.55; padding: 12px 14px; background: #f5f5f5; border-radius: 8px; }
.hudl-blt__also p { margin: 0 0 8px; color: #1d1d1f; font-weight: 600; }
.hudl-blt__also ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hudl-blt__also li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.hudl-blt__also .mdi { color: #037a8e; font-size: 1.1rem; line-height: 1.4; }
.hudl-blt__also b { color: #1d1d1f; }
.hudl-blt__phone {
  justify-self: center;
  width: 100%;
  max-width: 290px;
  padding: 12px;
  background: #1d1d1f;
  border-radius: 32px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.hudl-blt__lp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 16px 18px;
  background: #fff7ee;
  border-radius: 22px;
  text-align: center;
}
.hudl-blt__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #037a8e; color: #fff; font-weight: 700; font-size: 1.2rem;
}
.hudl-blt__name { color: #1d1d1f; font-size: 1.05rem; }
.hudl-blt__url { color: #6e6e6e; font-size: 0.72rem; margin-top: -6px; word-break: break-all; }
.hudl-blt__socials { display: flex; gap: 12px; color: #037a8e; font-size: 1.15rem; margin: 2px 0 4px; }
.hudl-blt__link {
  width: 100%;
  padding: 9px 12px;
  background: #037a8e;
  color: #fff;
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 500;
}
.hudl-blt__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin-top: 6px; }
.hudl-blt__grid i { aspect-ratio: 1; border-radius: 6px; background: #ffa132; }
.hudl-blt__grid i:nth-child(2), .hudl-blt__grid i:nth-child(6) { background: #037a8e; }
.hudl-blt__grid i:nth-child(3), .hudl-blt__grid i:nth-child(4) { background: #d9d9d9; }
@media (max-width: 991.98px) {
  .hudl-blt { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 22px; }
}
@media (max-width: 575.98px) {
  .hudl-blt { padding: 24px 18px; }
  .hudl-blt__title { font-size: 1.6rem; }
  .hudl-blt__cta .btn { flex: 1 1 auto; }
}
.hudl-blt__addr { overflow-wrap: anywhere; }

/* ================================ HOME HERO =============================== */
/* index.html's first screen, after the layout of huddles.com/en the owner
   pointed to: the photo fills the screen behind faint column lines, the
   headline sits bottom-left, a frosted-glass card bottom-right leads to the
   portfolio, and a strip of project names/logos runs along the bottom.
   Brand rules still apply: flat grey/teal/white, no gradients, no glows.
   Behaviour (logo loop, pointer): js/hudl-marquee.js. */
.hudl-hero {
  --hero-strip: 72px;
  --hero-half: 555px;            /* half the .container content width */
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(520px, calc(100vh - var(--hudl-header-h, 96px)));
  min-height: max(520px, calc(100svh - var(--hudl-header-h, 96px)));
  background: #d9d9d9;
  color: #1d1d1f;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 1199.98px) { .hudl-hero { --hero-half: 465px; } }
@media (max-width: 991.98px)  { .hudl-hero { --hero-half: 345px; } }
@media (max-width: 767.98px)  { .hudl-hero { --hero-half: 255px; --hero-strip: 60px; } }

.hudl-hero__lines {
  position: absolute;
  top: 0;
  bottom: var(--hero-strip);
  left: max(16px, calc(50% - var(--hero-half)));
  right: max(16px, calc(50% - var(--hero-half)));
  z-index: 0;
  pointer-events: none;
}
.hudl-hero__lines i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(29, 29, 31, 0.09);
}
.hudl-hero__lines i:nth-child(1) { left: 0; }
.hudl-hero__lines i:nth-child(2) { left: 33.333%; }
.hudl-hero__lines i:nth-child(3) { left: 66.666%; }
.hudl-hero__lines i:nth-child(4) { right: 0; }

.hudl-hero__photo {
  position: absolute;
  z-index: 0;
  bottom: var(--hero-strip);
  right: calc(50% - var(--hero-half) - 130px);
  width: min(55vw, 860px);
  pointer-events: none;
}
/* Laptop widths: a bigger photo, so the faces stay above the card. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hudl-hero__photo { width: 72vw; right: calc(50% - var(--hero-half) - 110px); }
  .hudl-hero__eyebrow span:nth-child(n+3) { display: none; }
}
.hudl-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  /* Size and nudge from Admin > Home hero picture (set by index.html). */
  scale: var(--hero-scale, 1);
  translate: 0 var(--hero-y, 0px);
  transform-origin: 50% 100%;
}
/* No picture until the page knows which one to show: never the old one,
   never alt text in its place. */
.hudl-hero__photo img:not([src]) { visibility: hidden; }

.hudl-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hudl-hero__text {
  grid-column: 1 / 3;
  max-width: 500px;
  text-align: left;
}
.hudl-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a4f52;
}
.hudl-hero__mark {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #037a8e;
  transform: rotate(12deg);
}
.hudl-hero__sep {
  width: 1px;
  height: 14px;
  background: rgba(29, 29, 31, 0.25);
}
.hudl-hero .hudl-hero__title {
  margin: 0;
  font-size: clamp(2.3rem, 4.1vw, 3.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #037a8e;
}
.hudl-hero .hudl-hero__sub {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #2b2f31;
}
@media (prefers-reduced-motion: no-preference) {
  .hudl-hero__title,
  .hudl-hero__sub,
  .hudl-hero__card {
    animation: hudl-hero-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .hudl-hero__sub { animation-delay: 0.12s; }
  .hudl-hero__card { animation-delay: 0.25s; }
}
@keyframes hudl-hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* The glass card. */
.hudl-hero__card {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 26px 22px;
  color: #1d1d1f;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.36);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hudl-hero__card { background: rgba(255, 255, 255, 0.9); }
}
.hudl-hero__card:hover,
.hudl-hero__card:focus-visible {
  color: #1d1d1f;
  text-decoration: none;
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.hudl-hero__card:focus-visible { outline: 3px solid #037a8e; outline-offset: 3px; }
.hudl-hero__card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hudl-hero__thumbs { display: flex; }
.hudl-hero__thumbs img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  background: #eee;
}
.hudl-hero__thumbs img + img { margin-left: -10px; }
.hudl-hero__card-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4a4f52;
}
.hudl-hero__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: #2b2f31;
}
.hudl-hero__card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #037a8e;
}
.hudl-hero__card-cta .mdi {
  font-size: 20px;
  transition: transform 0.3s ease;
}
.hudl-hero__card:hover .hudl-hero__card-cta .mdi { transform: translateX(4px); }
.hudl-hero__card-bar {
  position: relative;
  height: 2px;
  background: rgba(29, 29, 31, 0.14);
  overflow: hidden;
}
.hudl-hero__card-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: #037a8e;
  transition: width 0.5s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .hudl-hero__card-bar i { animation: hudl-hero-bar 6.5s linear infinite; }
}
.hudl-hero__card:hover .hudl-hero__card-bar i { animation: none; width: 100%; }
@keyframes hudl-hero-bar {
  from { width: 0; }
  to { width: 100%; }
}

/* The strip of project names/logos. */
.hudl-hero__logos {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: var(--hero-strip);
  border-top: 1px solid rgba(29, 29, 31, 0.12);
  background: #d9d9d9;
}
.hudl-hero__logos-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 28px 0 max(16px, calc(50% - var(--hero-half)));
  border-right: 1px solid rgba(29, 29, 31, 0.12);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #4a4f52;
}
.hudl-hero__marquee {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.hudl-hero__belt {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hudl-hero__belt { animation: hudl-hero-belt 55s linear infinite; }
  .hudl-hero__marquee:hover .hudl-hero__belt { animation-play-state: paused; }
}
@keyframes hudl-hero-belt {
  to { transform: translateX(-50%); }
}
.hudl-hero__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 34px;
  color: #1d1d1f;
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}
.hudl-hero__logo:hover { opacity: 1; }
.hudl-hero__logo img { display: none; }
.hudl-hero__logo.has-logo img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
}
.hudl-hero__logo.has-logo .hudl-hero__wordmark { display: none; }
.hudl-hero__wordmark { line-height: 1; }
.hudl-hero__logo--a .hudl-hero__wordmark { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.hudl-hero__logo--b .hudl-hero__wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-style: italic; }
.hudl-hero__logo--c .hudl-hero__wordmark { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.32em; }
.hudl-hero__logo--d .hudl-hero__wordmark { font-size: 21px; font-weight: 300; letter-spacing: -0.02em; }
.hudl-hero__logo--e .hudl-hero__wordmark { font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }

/* The pointer over the hero (mouse/trackpad only; added by JS). */
.hudl-hero.has-hudl-cursor,
.hudl-hero.has-hudl-cursor .hudl-hero__card { cursor: none; }
.hudl-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hudl-cursor.is-on { opacity: 1; }
.hudl-cursor.is-hidden { opacity: 0; }
.hudl-cursor::before,
.hudl-cursor::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hudl-cursor::before {
  width: 38px;
  height: 38px;
  border: 1.5px solid #037a8e;
  transition:
    width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.hudl-cursor::after {
  width: 6px;
  height: 6px;
  background: #037a8e;
  transition: opacity 0.2s ease;
}
.hudl-cursor__label {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%) scale(0.6);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.3s ease;
}
.hudl-cursor.is-explore::before {
  width: 72px;
  height: 72px;
  background: #037a8e;
  border-color: #037a8e;
}
.hudl-cursor.is-explore::after { opacity: 0; }
.hudl-cursor.is-explore .hudl-cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hudl-cursor.is-down::before { width: 30px; height: 30px; }
.hudl-cursor.is-explore.is-down::before { width: 64px; height: 64px; }

/* Tablet and phone: one column like the reference - headline at the top,
   the glass card at the bottom over the photo, the logo strip under it. */
@media (max-width: 991.98px) {
  .hudl-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 24px;
  }
  .hudl-hero__text { max-width: 560px; }
  .hudl-hero__card { align-self: flex-end; width: min(100%, 400px); }
  .hudl-hero__photo {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(122vw, 1000px);
  }
}
@media (max-width: 767.98px) {
  .hudl-hero__inner {
    padding-top: 28px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hudl-hero__photo { width: 132vw; bottom: calc(var(--hero-strip) + 40px); }
  .hudl-hero__card {
    width: 100%;
    gap: 12px;
    padding: 18px 18px 16px;
    background: rgba(255, 255, 255, 0.42);
  }
  .hudl-hero__card-text { font-size: 14px; line-height: 1.55; }
  .hudl-hero__thumbs img { width: 30px; height: 30px; }
  .hudl-hero__eyebrow { font-size: 10.5px; margin-bottom: 14px; }
  /* Over the photo on shorter phones the bare tagline disappeared; a small
     frosted chip like the card keeps it readable on any picture. */
  .hudl-hero .hudl-hero__sub {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;
  }
  .hudl-hero__logos-label { display: none; }
  .hudl-hero__logo { padding: 0 24px; }
}

/* ============================== CARD CAROUSELS ============================ */
/* Home page rows (process steps, courses, products, AI ads, web projects,
   branding) that drift sideways, loop without a seam, pause under the mouse
   or keyboard focus, and can be dragged or swiped: js/hudl-marquee.js wraps
   each [data-hudl-marquee] in .hudl-mq. Rows run edge to edge of the
   screen, starting in line with the page content. */
.hudl-mq {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 10px 0 30px;
  touch-action: pan-y;
  cursor: grab;
}
.hudl-mq.is-dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.hudl-mq.is-dragging .hudl-mq__track * { pointer-events: none; }
.hudl-mq > .hudl-mq__track {
  --mq-gap: 24px;
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--mq-gap);
  width: max-content;
  margin: 0 !important;
  padding: 0 0 0 max(16px, calc(50vw - 555px));
  will-change: transform;
}
@media (max-width: 1199.98px) { .hudl-mq > .hudl-mq__track { padding-left: max(16px, calc(50vw - 465px)); } }
@media (max-width: 991.98px)  { .hudl-mq > .hudl-mq__track { padding-left: max(16px, calc(50vw - 345px)); } }
@media (max-width: 767.98px)  { .hudl-mq > .hudl-mq__track { padding-left: 16px; --mq-gap: 16px; } }
.hudl-mq__track > * {
  flex: 0 0 var(--mq-card, 340px) !important;
  width: var(--mq-card, 340px) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Cards here are on screen as a row, so their one-by-one fade-in would
   only make them pop in as they drift past. */
.hudl-mq__track > .feature-set,
.hudl-mq__track > .hudl-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}
/* Too few cards to move (one course, or the "coming soon" note). */
.hudl-mq.is-still { cursor: auto; }
.hudl-mq.is-still > .hudl-mq__track {
  width: auto;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 16px;
}
.hudl-mq.is-still > .hudl-mq__track > .col-12 {
  flex-basis: 100% !important;
  width: 100% !important;
}

.process-grid.hudl-mq__track { --mq-card: 360px; }
.course-grid.hudl-mq__track { --mq-card: 320px; }
#home-web-row { --mq-card: 380px; }
#home-branding-grid { --mq-card: 300px; }
.products-section .hudl-mq__track { --mq-card: 340px; }
.ai-ads-section .hudl-mq__track { --mq-card: 300px; }
@media (max-width: 575.98px) {
  .hudl-mq__track { --mq-card: min(80vw, 330px) !important; }
  /* Picture cards (courses, AI ads, products, web and branding projects)
     were nearly screen-wide on phones; smaller, so the next one peeks in.
     The text-heavy process cards keep the wider size. */
  .course-grid.hudl-mq__track,
  #home-web-row,
  #home-branding-grid,
  .products-section .hudl-mq__track,
  .ai-ads-section .hudl-mq__track { --mq-card: min(64vw, 250px) !important; }
}

/* Breathing room between the hero and "About us" (about two lines). */
.hudl-hero ~ #about { margin-top: 56px; }
@media (max-width: 767.98px) { .hudl-hero ~ #about { margin-top: 44px; } }

/* ============================== FOOTER LINKS ============================== */
/* The footer link lists mixed "pt-1 pb-2" and "pt-1" on their rows, so the
   gaps between links were uneven. One even rhythm, and on touch screens
   rows tall enough to tap (about 42px) without hitting the neighbour. */
.contact-details a > p.m-0 {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
@media (pointer: coarse) {
  .contact-details a > p.m-0 {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }
}
/* The footer's row of social icons: 38x24 targets on phones. */
@media (pointer: coarse) {
  .contact-details .d-flex > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}

/* ======================== NO ZOOM WHEN TYPING (phones) ==================== */
/* iPhone Safari zooms the whole page into any text box whose text is under
   16px, and leaves it zoomed after typing. 16px on touch screens stops it
   without turning off pinch zoom (which maximum-scale=1 would do). */
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ============================ PHONE NAVBAR ================================ */
/* On phones the bar was 198px tall at rest and 137px pinned (a sixth of the
   screen). The logo file (images/logos/1.svg) is a 100x100 square with the
   wordmark in a thin band across the middle, so the box was mostly empty;
   object-fit crops it to that band. Only that file: a different logo chosen
   in Admin > Site images keeps its own shape. */
@media (max-width: 991.98px) {
  .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .header-small .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .navbar .navbar-brand-wrapper img[src$="logos/1.svg"] {
    width: 100px;
    height: 46px;
    object-fit: cover;
    object-position: center;
  }
  .navbar .navbar-brand-wrapper {
    align-items: center;
  }
  /* Page headers leaned on the old bar's 63px bottom padding for space. */
  .banner {
    padding-top: 28px;
  }
}

/* =============================== FILTER BAR =============================== */
/* projects.html and courses.html: category chips with counts, a search box
   and (courses) a price sort, over the page's own grids. js/hudl-explore.js.
   Flat brand colours: teal for the chosen chip, grey/white otherwise. */
/* The projects page's short introduction (crawlable text for search engines). */
.hudl-portfolio-intro { max-width: 760px; margin: 0 auto 1.25rem; font-size: 15px; line-height: 1.65; }
.hudl-portfolio-intro a { color: #037a8e; text-decoration: underline; }
.hudl-explore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
  max-width: 980px;
  margin: 18px auto 0;
}
.hudl-explore__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hudl-explore__chips[hidden] { display: none; }
.hudl-explore__chips button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 16px;
  border: 1px solid #c9ced1;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hudl-explore__chips button[hidden] { display: none; }
.hudl-explore__chips button:hover { border-color: #037a8e; color: #037a8e; }
.hudl-explore__chips button:active { transform: scale(0.97); }
.hudl-explore__chips button:focus-visible { outline: 3px solid rgba(3, 122, 142, 0.35); outline-offset: 2px; }
.hudl-explore__chips button[aria-pressed="true"] {
  background: #037a8e;
  border-color: #037a8e;
  color: #fff;
}
.hudl-explore__n {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #eef1f3;
  color: #4a4f52;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.hudl-explore__chips button[aria-pressed="true"] .hudl-explore__n { background: rgba(255, 255, 255, 0.22); color: #fff; }
.hudl-explore__search {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
  margin: 0;
}
.hudl-explore__search .mdi {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #697176;
  pointer-events: none;
}
.hudl-explore__search input,
.hudl-explore__sort select {
  width: 100%;
  height: 44px;
  margin: 0;
  border: 1px solid #c9ced1;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  font-size: 15px;
}
.hudl-explore__search input { padding: 0 16px 0 42px; }
.hudl-explore__sort { margin: 0; }
.hudl-explore__sort select { padding: 0 36px 0 16px; cursor: pointer; }
.hudl-explore__search input:focus,
.hudl-explore__sort select:focus { outline: none; border-color: #037a8e; box-shadow: 0 0 0 3px rgba(3, 122, 142, 0.18); }
.hudl-explore__empty {
  margin: 28px auto 0;
  max-width: 560px;
  text-align: center;
  color: #4a4f52;
}
/* Filtered away. Classes, not [hidden]: the CMS owns a section's hidden. */
.hudl-x-off,
.hudl-x-hide { display: none !important; }
@keyframes hudl-x-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.hudl-x-in { animation: hudl-x-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@media (max-width: 575.98px) {
  .hudl-explore { gap: 10px; }
  .hudl-explore__chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 2px 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hudl-explore__chips::-webkit-scrollbar { display: none; }
  .hudl-explore__chips button { flex: 0 0 auto; }
  .hudl-explore__search { flex-basis: 100%; max-width: none; }
  .hudl-explore__sort { flex: 1 1 100%; }
}

/* ============================== UI SCAN FIXES ============================= */
/* Found by the 2026-11-13 desktop/phone scan of every page. */

/* "Do you have any projects? Contact us!" banner: the headings are written
   white inline, over a light grey picture, and nearly vanished. */
.contact-us .contact-us-bgimage h4 {
  color: #024e5b !important;
  font-weight: 600;
}

/* "Call Now" is a <button> inside a link, so the link was a 23px sliver
   to tap; the link now wraps the whole button. */
.contact-us .contact-us-bgimage a {
  display: inline-block;
}

/* The footer email ran past its column on narrow phones. */
.contact-details p {
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  /* The menu button was 55px tall beside the 44px "Book a call" pill. */
  .navbar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 6px;
  }
}

@media (pointer: coarse) {
  /* Breadcrumbs and inline client links: finger-sized without moving text. */
  .pc-crumbs a {
    display: inline-block;
    padding: 10px 2px;
    margin: -10px 0;
  }
}

/* Home Brand Lab teaser: the custom-domain note (js/hudl-domain-offer.js). */
.hudl-blt__domain { margin-top: 12px; background: #e6f2f4; }
.hudl-blt__domain p { display: flex; align-items: center; gap: 6px; }
.hudl-blt__domain a { color: #03788b; font-weight: 600; white-space: nowrap; text-decoration: underline; }

/* Services: Brand Lab website vs custom website. */
.services-compare { padding: 48px 0; }
.services-compare__lead { max-width: 640px; margin: 0 auto; }
.services-compare__table { background: #fff; min-width: 620px; }
.services-compare__table thead th { background: #f5f5f5; }
.services-compare__table thead th:nth-child(2) { color: #037a8e; }
.services-compare__table tbody th { width: 22%; }
.services-compare__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }


/* ------------------------------------------------ accessibility (WCAG AA)
   From the 2026-11-16 accessibility check. "Skip to content" is the first
   thing a keyboard user reaches on every page; it shows only when focused
   and jumps past the menu to <main id="main">. Words on teal are white
   (light tints were just under 4.5:1), and links inside sentences are
   underlined so they do not rely on colour alone. */
.hudl-skip { position: absolute; left: 12px; top: -80px; z-index: 10000; padding: 10px 16px; border-radius: 8px;
  background: #0e3b44; color: #fff; font-weight: 600; text-decoration: none; }
.hudl-skip:focus, .hudl-skip:focus-visible { top: 12px; color: #fff; outline: 3px solid #ffa132; outline-offset: 2px; }
main:focus { outline: none; }
.pg-cta__box p, .ab-cta__box p { color: #fff !important; }
/* The main stylesheet's .navbar .navbar-menu-wrapper .navbar-nav .nav-link.active outranks the rule
   above; the menu's id outranks it. */
#navbar .nav-link.active, #navbar .nav-link[aria-current="page"] { color: #03697a; }
.survey-aside, .survey-aside > p, .survey-aside li { color: #fff; }
.hudl-signup-fine { color: #fff; }
.survey-privacy a, .ab figcaption a, .hudl-signup-fine a { text-decoration: underline; text-underline-offset: 2px; }
