/* =========================================================================
   Umbraco 13 upgrade landing page + thank-you page (Views/U13Layout.cshtml and the two
   page views). Standalone: the layout doesn't load the site's Bootstrap or styles.css.
   ========================================================================= */
:root {
  --yellow: #f2d750; --yellow-deep: #e0c234; --yellow-soft: #fbf3c9;
  --ink: #252c33; --ink-2: #3c4650; --text: #515d68; --muted: #6f7a84;
  --line: #e4e6e9; --surface-2: #f7f7f5; --surface-ink: #1e2429;
  --blue: #3441b8; --orange: #ff8c00; --pink: #ff7b88; --lilac: #e5c6df; --rust: #b85c00;
  --bad: #c2412d; --bad-soft: #fbe9e5; --good: #1f8a5b; --good-soft: #e3f4ec;
  --font-body: basic-sans, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: p22-underground, basic-sans, "Segoe UI", system-ui, sans-serif;
  --radius: 14px; --shadow: 0 1px 2px rgba(30,36,41,.06), 0 8px 24px rgba(30,36,41,.07);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1.0625rem/1.6 var(--font-body); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--yellow-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 2rem, 1200px); margin-inline: auto; }
@media (min-width: 1200px) { .wrap { width: min(100% - 6rem, 1280px); } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem 1rem; }
.hl { background: var(--yellow); color: var(--blue); padding: 0 .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font: 700 1.1rem/1.2 var(--font-head); color: var(--blue); margin-bottom: .5rem; }
.eyebrow--alert { color: var(--bad); }
.eyebrow--alert::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--bad); }
.lede { font-size: 1.2rem; max-width: 60ch; }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5rem); position: relative; isolation: isolate; }
.section--alt { background: var(--surface-2); }
.section__head { max-width: 760px; margin-bottom: 2rem; }

/* Placeholders: text Steph needs to confirm. Remove the class once confirmed. */
.ph { background: #ffe9a8; outline: 1px dashed #a8710b; outline-offset: 1px; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.4em; border-radius: 6px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 var(--yellow-deep); }
.btn--primary:hover { background: var(--yellow-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.phone-icon { width: 1.1em; height: 1.1em; }

/* Confetti: Ozum's own artwork (from /assets/i/shapes.png), behind the content */
.confetti::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(/assets/i/shapes.png) center top / 1600px auto no-repeat; }
.journey.confetti::before { background-position: center 30px; opacity: .8; }
/* Keep the artwork out from behind the centred heading */
@media (min-width: 960px) {
  .journey.confetti::before {
    -webkit-mask-image: linear-gradient(90deg, #000 0 16%, transparent 22% 78%, #000 84%);
            mask-image: linear-gradient(90deg, #000 0 16%, transparent 22% 78%, #000 84%);
  }
}
@media (max-width: 959px) { .journey.confetti::before { display: none; } }

/* Hero confetti: the same pieces as the artwork, placed in the clear spaces around the text */
.bits { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bit { position: absolute; display: block; }
.bit--blob { width: 34px; height: 32px; border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; }
.bit--chip { width: 20px; height: 26px; border-radius: 2px; clip-path: polygon(8% 0, 100% 10%, 92% 100%, 0 88%); transform: rotate(var(--r, -14deg)); }
.bit--orange { background: var(--orange); }
.bit--blue { background: var(--blue); }
.bit--rust { background: var(--rust); }
.bit--plum { background: #3d1a22; }
.bit--pink { background: var(--pink); }
.bit--lilac { background: var(--lilac); }
.bit--desk { display: none; }
@media (min-width: 960px) { .bit--desk { display: block; } .bit--mob { display: none; } }
@media (max-width: 1199px) { .bit--gutter { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Slim header: logo and phone only */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.top__logo img { width: 96px; }
.top__actions { display: flex; align-items: center; gap: .75rem; }
.top__phone { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.top .btn { padding: .6em 1em; font-size: .9rem; }
@media (max-width: 599px) { .top .btn { display: none; } }

.strip { background: var(--ink); color: #fff; text-align: center; font-size: .95rem; padding: .65rem 1rem; border-bottom: 5px solid transparent; border-image: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--ink) 10px 20px) 5; }
.strip strong { color: var(--yellow); }

/* Hero */
.hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.hero h1 mark { background: var(--yellow); color: var(--blue); padding: 0 .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__note { font-size: .95rem; color: var(--muted); margin: .75rem 0 0; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.75rem; }
.badges img { height: 48px; width: auto; }
.badges .gold { height: 40px; }
.badges .divider { width: 1px; height: 40px; background: var(--line); }

/* Support timeline card */
.support { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.5rem 1.25rem 1.25rem; box-shadow: 10px 10px 0 var(--yellow), var(--shadow); position: relative; }
.support__flag { position: absolute; top: -.9rem; left: 1.25rem; background: var(--bad); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3em .8em; border-radius: 4px; }
.support__title { font: 700 1.2rem/1.25 var(--font-head); color: var(--ink); margin: .25rem 0 1rem; }
.days { display: flex; align-items: flex-end; gap: .75rem; background: var(--surface-2); border-radius: 8px; padding: .9rem 1rem; margin-bottom: 1.25rem; }
.days__num { font: 900 clamp(3rem, 2.4rem + 2vw, 4.2rem)/.8 var(--font-head); color: var(--yellow); text-shadow: .05em .05em 0 var(--ink); }
.days__label { font: 700 1rem/1.2 var(--font-head); color: var(--ink); }
.days__label small { display: block; font: 500 .85rem var(--font-body); color: var(--muted); }

.tline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; display: grid; gap: .85rem; }
.tline::before { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; border-left: 3px dotted #b9bec4; }
.tline li { position: relative; font-size: .95rem; line-height: 1.35; }
.tline li::before { content: ""; position: absolute; left: -1.6rem; top: .2rem; width: .95rem; height: .95rem; border-radius: 50%; background: #fff; border: 3px solid var(--muted); }
.tline time { display: block; font-weight: 800; color: var(--ink); font-size: .85rem; letter-spacing: .02em; }
.tline .is-past { color: var(--muted); }
.tline .is-past::before { background: var(--muted); }
.tline .is-now::before { background: var(--yellow); border-color: var(--ink); }
.tline .is-now time { color: var(--blue); }
.tline .is-end::before { background: var(--bad); border-color: var(--bad); }
.tline .is-end time, .tline .is-end strong { color: var(--bad); }
.tline .is-next::before { background: var(--yellow); border-color: var(--yellow-deep); }

/* What end of life means */
.risks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .risks { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.risks li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem 1.25rem 1.25rem; position: relative; }
.risks li::before { content: ""; display: block; width: 1.4rem; height: 1.4rem; margin-bottom: .9rem; background: var(--orange); border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; }
.risks li:nth-child(2)::before { background: var(--blue); border-radius: 55% 45% 52% 48% / 45% 55% 45% 55%; }
.risks li:nth-child(3)::before { background: var(--pink); border-radius: 2px; clip-path: polygon(10% 0, 100% 12%, 90% 100%, 0 86%); }
.risks h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.risks p { margin: 0; }
.cta-inline { margin-top: 2rem; }

/* How the upgrade works: journey timeline */
.journey { background: #f1f1f1; }
.journey__head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.journey__head .eyebrow { justify-content: center; }
.arrowed { display: flex; align-items: flex-start; justify-content: center; gap: .5rem; }
.arrowed::before, .arrowed::after { content: ""; width: 60px; height: 60px; flex: none; margin-top: -.2em; background: url(/assets/i/path-arrow.svg) center / contain no-repeat; }
.arrowed::after { transform: scaleX(-1); }
@media (max-width: 640px) { .arrowed::before, .arrowed::after { display: none; } }
.journey__foot { text-align: center; margin-top: 2.5rem; }
.journey__foot p { font-weight: 700; color: var(--ink); }

/* Why Ozum */
.why { display: grid; gap: 1rem; }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.why li { list-style: none; border-top: 4px solid var(--yellow); background: #fff; border-radius: 0 0 var(--radius) var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.why { margin: 0; padding: 0; }
.why strong { display: block; font: 700 1.2rem/1.25 var(--font-head); color: var(--ink); margin-bottom: .35rem; }
.why p { margin: 0; font-size: 1rem; }
.why li:nth-child(2) { border-top-color: var(--blue); }
.why li:nth-child(3) { border-top-color: var(--orange); }
.why li:nth-child(4) { border-top-color: var(--pink); }
.why li:nth-child(5) { border-top-color: var(--lilac); }
.why li:nth-child(6) { border-top-color: var(--rust); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: .75rem 0 0; }

/* Contact */
.contact { background: var(--yellow); color: var(--ink); }
.contact__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }
.contact h2 { margin-bottom: .75rem; }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; font-weight: 600; }
.checks li::before { content: "✓"; font-weight: 800; margin-right: .5em; }
.contact__card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: 10px 10px 0 var(--ink); }
.contact__card .btn { width: 100%; }
.contact__lines { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.contact__lines a { font-weight: 700; }
.contact__lines span { display: block; font-size: .85rem; color: var(--muted); }

/* Footer */
.foot { background: var(--surface-ink); color: #9aa4ad; font-size: .9rem; padding-block: 2rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center; }
.foot a { color: #dfe4e8; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* Enquiry form (contact section) */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; width: 100%;
  border: 2px solid #c5cad0; border-radius: 6px; padding: .7rem .8rem;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--bad); }
.field__error { color: var(--bad); font-size: .9rem; font-weight: 600; margin: 0; }
.form__summary { background: var(--bad-soft); color: var(--bad); border-left: 5px solid var(--bad); padding: .75rem 1rem; border-radius: 0 6px 6px 0; font-weight: 600; margin: 0; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form .btn { width: 100%; font-size: 1.05rem; }
.form__sent { background: var(--good-soft); color: var(--good); border-left: 5px solid var(--good); padding: 1rem 1.25rem; border-radius: 0 6px 6px 0; font-weight: 700; }
.contact__card h3 { margin-bottom: 1rem; }
.contact__alt { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; }
.contact__alt a { font-weight: 700; }

/* Thank-you page */
.thanks { max-width: 760px; }
.thanks__tick { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 800 1.8rem var(--font-head); margin-bottom: 1.25rem; box-shadow: 0 3px 0 var(--yellow-deep); }
.thanks__next { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .75rem; }
.thanks__next li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; }
.thanks__next strong { color: var(--ink); }

/* Screen-reader-only text */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Upgrades we've delivered: client logos with their upgrade paths, and quotes */
.proof { border-top: 1px solid var(--line); }
.clients { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .clients { grid-template-columns: repeat(6, 1fr); } }
.clients li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .6rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem .75rem .9rem; }
.clients img { height: 52px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .85; }
.clients .wordmark { height: 52px; display: flex; align-items: center; font: 800 1.5rem/1 var(--font-head); color: #3c4650; letter-spacing: .02em; }
.clients .ver { font: 700 .95rem/1.2 var(--font-head); color: var(--blue); }
.clients__note { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; position: relative; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 3rem 1.5rem 1.5rem; box-shadow: 8px 8px 0 var(--yellow); display: flex; flex-direction: column; }
.quote::before { content: ""; position: absolute; top: 1.1rem; left: 1.5rem; width: 36px; height: 29px; background: url(/assets/i/quotation-right.png) center / contain no-repeat; transform: scaleX(-1); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); flex: 1; }
.quote figcaption { font-size: .95rem; }
.quote figcaption strong { display: block; color: var(--ink); }

/* Promo: upgrade now and get recommended improvements */
.promo { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.promo__box { display: grid; gap: 2rem; align-items: center; background: var(--surface-ink); color: #cfd5da; border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: 12px 12px 0 var(--yellow); }
@media (min-width: 900px) { .promo__box { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }
.promo__box h2 { color: #fff; }
.promo__tag { display: inline-block; background: var(--yellow); color: var(--ink); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3em .7em; border-radius: 4px; margin-bottom: .9rem; }
.promo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.promo__list li { background: #2a3138; border: 1px solid #39424b; border-radius: 8px; padding: .75rem 1rem; color: #fff; font-weight: 600; }
.promo__list li::before { content: "✓"; color: var(--yellow); font-weight: 800; margin-right: .6em; }

/* The upgrade team */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.team li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font: 800 1.3rem var(--font-head); margin-bottom: .9rem; }
.team li:nth-child(2) .avatar { background: var(--blue); color: #fff; }
.team li:nth-child(3) .avatar { background: var(--orange); color: var(--ink); }
.team li:nth-child(4) .avatar { background: var(--pink); color: var(--ink); }
.team strong { display: block; font: 700 1.25rem var(--font-head); color: var(--ink); }
.team .role { display: block; font-size: .95rem; font-weight: 700; color: var(--blue); margin-bottom: .5rem; }
.team p { margin: 0; font-size: 1rem; }

/* =========================================================================
   Subtle movement. CSS only, and nothing moves for people who ask for reduced motion.
   The hero text stays static so it doesn't slow the page's first paint.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* Confetti pieces drift gently */
  .bit { animation: bit-float 7s ease-in-out infinite alternate; }
  .bit:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
  .bit:nth-child(3n) { animation-duration: 11s; animation-delay: -6s; }
  .bit--chip { animation-name: chip-float; }
  @keyframes bit-float { to { translate: 0 -10px; } }
  @keyframes chip-float { to { translate: 4px -8px; rotate: 10deg; } }

  /* The deadline: a soft pulse on the red dot and the alert eyebrow */
  .tline .is-end::before { animation: pulse-ring 2.4s ease-out infinite; }
  .eyebrow--alert::before { animation: pulse-ring 2.4s ease-out infinite; }
  @keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(194, 65, 45, .45); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(194, 65, 45, 0); }
  }

  /* Countdown number settles in once on load */
  .days__num { animation: num-in .7s cubic-bezier(.2, .8, .2, 1) .15s both; }
  @keyframes num-in { from { opacity: 0; translate: 0 8px; } }

  /* Button arrows nudge on hover */
  .btn span[aria-hidden] { display: inline-block; transition: translate .2s ease; }
  .btn:hover span[aria-hidden], .btn:focus-visible span[aria-hidden] { translate: 4px 0; }

  /* Cards rise into place as they scroll into view (browsers that support scroll-driven
     animation; everywhere else they're simply visible) */
  @supports (animation-timeline: view()) {
    .tl .v-card, .clients li, .quote, .why li, .team li, .promo__box, .contact__card {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .clients li:nth-child(2n), .why li:nth-child(2n), .team li:nth-child(2n) { animation-range: entry 8% entry 63%; }
    .clients li:nth-child(3n), .why li:nth-child(3n), .team li:nth-child(3n) { animation-range: entry 16% entry 71%; }
    @keyframes rise { from { opacity: 0; translate: 0 22px; } }
    @keyframes pop { from { opacity: 0; scale: .6; } }
  }
}


/* FAQ: smooth open and close. The "+" turns into "×", the answer fades in, and in browsers
   that can animate a <details> panel's height it slides open too. Off for reduced motion. */
.faq summary::after { content: "+"; display: inline-block; font-size: 1.5rem; line-height: 1; transform-origin: 50% 50%; }
.faq details[open] summary::after { content: "+"; rotate: 45deg; }
.faq summary:hover { color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .faq { interpolate-size: allow-keywords; }
  .faq summary::after { transition: rotate .3s ease; }
  .faq details p { opacity: 0; translate: 0 -4px; transition: opacity .35s ease .05s, translate .35s ease .05s; }
  .faq details[open] p { opacity: 1; translate: 0 0; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* =========================================================================
   Journey timeline: ported from Rhiannon's goal-led concept (goal-led-v2.css, "Timeline"
   and "Timeline: Ozum brand personality"), so it matches that design exactly.
   Driven by the small script in the view's Scripts section (yellow fill + markers lighting up).
   ========================================================================= */
:root {
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.25rem;
  --fs-xl: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); --fs-2xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --radius-sm: 8px; --surface: #ffffff; --umbraco-blue: #3441b8; --path-bg: #f1f1f1;
  --warn: #a8710b; --warn-soft: #fdf1d9;
}
.journey.waves { background: url(/assets/i/waves.png) center bottom / 1920px auto repeat-x, var(--path-bg); }
/* =========================================================================
   Timeline
   ========================================================================= */
.tl-intro { max-width: 720px; margin-bottom: var(--s-7); }
.tl { list-style: none; margin: 0; padding: 0; position: relative; --p: 1; }
/* Base dotted line and the yellow fill on top of it */
.tl::before, .tl::after { content: ""; position: absolute; top: 1.5rem; bottom: 6.5rem; left: 23px; width: 0; }
.tl::before { border-left: 4px dotted #c8ccd1; }
.tl::after { border-left: 4px solid var(--yellow-deep); transform-origin: top; transform: scaleY(var(--p)); }
@media (min-width: 1000px) { .tl::before, .tl::after { left: calc(50% - 2px); } }

.tl-stop { position: relative; display: grid; grid-template-columns: 50px 1fr; column-gap: var(--s-4); row-gap: var(--s-4); padding-bottom: var(--s-8); }
.tl-marker { grid-column: 1; grid-row: 1 / span 2; position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font: 800 1.15rem var(--font-head); background: #fff; color: var(--ink); box-shadow: 0 0 0 4px var(--surface), 0 0 0 7px var(--ink); transition: background .3s ease, transform .3s ease; }
.block--alt .tl-marker { box-shadow: 0 0 0 4px var(--surface-2), 0 0 0 7px var(--ink); }
.tl-stop.is-on .tl-marker { background: var(--yellow); transform: scale(1.06); }
.tl-text { grid-column: 2; min-width: 0; }
.tl-visual { grid-column: 2; min-width: 0; }
.tl-when { display: inline-block; font: 800 var(--fs-xs) var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--umbraco-blue); margin-bottom: var(--s-2); }
.tl-text h3 { font-size: var(--fs-2xl); margin-bottom: var(--s-3); }
.tl-text p { margin-bottom: var(--s-3); }
.tl-get { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-left: 4px solid var(--yellow-deep); background: var(--yellow-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); font-size: var(--fs-sm); }
.tl-get strong { color: var(--ink); }
.tl-phase { position: relative; z-index: 1; display: grid; grid-template-columns: 50px 1fr; column-gap: var(--s-4); align-items: center; padding-bottom: var(--s-7); }
.tl-phase span { grid-column: 2; justify-self: start; font: 800 var(--fs-xs) var(--font-body); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: .55em 1em; border-radius: 999px; }

@media (min-width: 1000px) {
  .tl-stop { grid-template-columns: 1fr 50px 1fr; column-gap: var(--s-7); align-items: center; padding-bottom: var(--s-9); }
  .tl-marker { grid-column: 2; grid-row: 1; align-self: start; margin-top: .25rem; }
  .tl-text { grid-column: 1; grid-row: 1; text-align: right; }
  .tl-text .tl-get { text-align: left; border-left: 0; border-right: 4px solid var(--yellow-deep); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
  .tl-visual { grid-column: 3; grid-row: 1; }
  .tl-stop--flip .tl-text { grid-column: 3; text-align: left; }
  .tl-stop--flip .tl-text .tl-get { border-right: 0; border-left: 4px solid var(--yellow-deep); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
  .tl-stop--flip .tl-visual { grid-column: 1; }
  .tl-stop--flip .tl-visual .v-card { margin-left: auto; }
  .tl-text p { margin-left: auto; max-width: 46ch; }
  .tl-stop--flip .tl-text p { margin-left: 0; }
  .tl-phase { grid-template-columns: 1fr; justify-items: center; }
  .tl-phase span { grid-column: 1; justify-self: center; }
}

/* Repeat loop at the end of the line */
.tl-loop { position: relative; z-index: 1; display: grid; grid-template-columns: 50px 1fr; column-gap: var(--s-4); align-items: center; }
.tl-loop svg { width: 50px; height: 50px; }
.tl-loop__text { font: 700 var(--fs-xl)/1.3 var(--font-head); color: var(--ink); margin: 0; }
.tl-loop__text em { font-style: normal; background: var(--yellow); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (min-width: 1000px) { .tl-loop { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: var(--s-3); } .tl-loop svg { width: 64px; height: 64px; } }

/* ---------- Stop visuals ---------- */
.v-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-5); max-width: 520px; }
.block--alt .v-card { border-color: transparent; }
.v-label { font: 800 11px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-3); }

/* 1. Discovery call */
.v-call { display: flex; gap: var(--s-4); align-items: center; }
.v-call .avatar { width: 64px; height: 64px; }
.v-call p { margin: 0; color: var(--ink-2); }
.v-call strong { color: var(--ink); display: block; }
.v-call__slot { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.v-call__slot span { font-size: var(--fs-xs); font-weight: 700; border: 1px solid var(--line); border-radius: 6px; padding: .4em .7em; color: var(--ink-2); }
.v-call__slot span.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 2. Goal map */
.v-aim { background: var(--yellow); border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); font: 700 var(--fs-base) var(--font-head); color: var(--ink); }
.v-branch { display: grid; gap: var(--s-2); margin-top: var(--s-3); padding-left: var(--s-4); border-left: 3px dotted #c8ccd1; }
.v-goal { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2); align-items: center; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm); background: var(--surface-2); border-left: 4px solid var(--c); }
.v-goal small { font-weight: 600; color: var(--muted); font-size: var(--fs-xs); }

/* 3. Audit, in two layers */
.v-audit { display: grid; gap: var(--s-3); }
.v-audit__layer { border-radius: var(--radius-sm); padding: var(--s-3) var(--s-4); }
.v-audit__layer--top { background: var(--yellow-soft); }
.v-audit__layer--bottom { background: var(--surface-2); }
.v-audit ul { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: .35rem; font-size: var(--fs-sm); }
.v-audit li { display: flex; justify-content: space-between; gap: var(--s-3); color: var(--ink-2); }
.v-audit li b { font-size: 11px; font-weight: 800; padding: .2em .55em; border-radius: 999px; white-space: nowrap; }
.v-audit .ok { background: var(--good-soft); color: var(--good); }
.v-audit .gap { background: var(--warn-soft); color: var(--warn); }
.v-audit .fix { background: var(--bad-soft); color: var(--bad); }

/* 4. Clickable concept: before / after */
.v-concept { max-width: 560px; }
.v-concept .case__shots { gap: var(--s-3); }
.v-click { display: inline-flex; align-items: center; gap: .4em; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); margin-top: var(--s-3); }
.v-click::before { content: ""; width: 14px; height: 14px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* 5. Roadmap */
.v-road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: var(--s-2); }
.v-road > span { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: .3rem; border-bottom: 2px solid var(--line); }
.v-road i { display: block; font-style: normal; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); background: var(--surface-2); border-left: 4px solid var(--c); border-radius: 4px; padding: .45em .55em; line-height: 1.25; grid-column: var(--from) / var(--to); }

/* 6. Build safely: a release pipeline */
.v-pipe { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.v-pipe li { display: grid; grid-template-columns: 28px 1fr auto; gap: var(--s-3); align-items: center; font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
.v-pipe li::before { content: "✓"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good); font-weight: 800; }
.v-pipe li small { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.v-pipe__live { margin-top: var(--s-3); display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--ink); }
.v-pipe__live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }

/* 7. Measure and map back */
.v-kpi { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.v-kpi strong { font: 800 2.2rem/1 var(--font-head); color: var(--ink); }
.v-kpi span { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.v-spark { width: 100%; height: 90px; margin: var(--s-3) 0; }
.v-next { display: flex; gap: var(--s-2); align-items: center; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); background: var(--yellow-soft); border-radius: var(--radius-sm); padding: var(--s-2) var(--s-3); }

@media (prefers-reduced-motion: reduce) { .tl-marker { transition: none; } }

.story + .both { margin-top: var(--s-7); }

/* =========================================================================
   Timeline: Ozum brand personality (as in the live "Choose your path" block)
   Grey background with the white wave, confetti, dotted Umbraco-blue path,
   highlighted words, white cards with the soft site shadow, and markers that
   are confetti shapes which pop into colour as you scroll.
   ========================================================================= */
.tl-section { padding-bottom: calc(var(--s-9) + 3rem); }
.tl-section.confetti::before { background-size: 1500px auto; background-position: center 1.5rem; opacity: .7; }
.tl-intro.center { max-width: 900px; margin-inline: auto; text-align: center; }
.tl-intro.center .lede { margin-inline: auto; }
.tl-intro .arrowed { font-size: var(--fs-2xl); }
.tl-text h3 .hl, .tl-intro .hl { padding: 0 .15em; }

/* Path: dotted Umbraco blue, filled with brand yellow as you scroll */
.tl-section .tl::before { border-left: 3px dotted var(--umbraco-blue); opacity: .55; margin-left: .5px; }
.tl-section .tl::after { border-left-width: 5px; border-left-color: var(--yellow); }

/* Markers: confetti shapes. Grey until reached, then they pop into colour */
.tl-section .tl-marker { width: 56px; height: 56px; background: none; box-shadow: none; color: var(--ink); font-size: 1.3rem; isolation: isolate; transition: transform .35s cubic-bezier(.3,1.6,.5,1), color .3s ease; }
.tl-section .tl-marker::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #d9dbde; border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; transition: background .3s ease, transform .35s ease; }
.tl-section .tl-stop.is-on .tl-marker { background: none; transform: scale(1.12); }
.tl-section .tl-stop:nth-of-type(7n+2) .tl-marker::before { --shape: var(--orange); }
.tl-section .tl-stop:nth-of-type(7n+3) .tl-marker::before { --shape: var(--umbraco-blue); border-radius: 55% 45% 52% 48% / 45% 55% 45% 55%; }
.tl-section .tl-stop:nth-of-type(7n+4) .tl-marker::before { --shape: var(--pink); border-radius: 6px; transform: rotate(12deg) scale(.86); }
.tl-section .tl-stop:nth-of-type(7n+5) .tl-marker::before { --shape: var(--yellow); }
.tl-section .tl-stop:nth-of-type(7n+6) .tl-marker::before { --shape: #e5c6df; border-radius: 6px; transform: rotate(-10deg) scale(.86); }
.tl-section .tl-stop:nth-of-type(7n+1) .tl-marker::before { --shape: var(--umbraco-blue); border-radius: 52% 48% 55% 45% / 45% 55% 45% 55%; }
.tl-section .tl-stop:nth-of-type(7n) .tl-marker::before { --shape: var(--umbraco-blue); }
.tl-section .tl-stop.is-on .tl-marker::before { background: var(--shape); }
.tl-section .tl-stop:nth-of-type(7n+3).is-on .tl-marker,
.tl-section .tl-stop:nth-of-type(7n).is-on .tl-marker,
.tl-section .tl-stop:nth-of-type(7n+1).is-on .tl-marker { color: #fff; }

/* Phase labels: highlighted words, like "I have / I want" */
.tl-section .tl-phase span { background: var(--yellow); color: var(--umbraco-blue); font: 700 var(--fs-lg) var(--font-head); letter-spacing: 0; text-transform: none; border-radius: 0; padding: .1em .45em; }

/* Cards: white with the live site's soft shadow, plus a confetti shape on a corner */
.tl-section .v-card { border: 0; border-radius: 4px; box-shadow: -1px 2px 13px rgba(197,188,188,.75); position: relative; }
.tl-section .v-card::after { content: ""; position: absolute; top: -14px; right: 22px; width: 26px; height: 26px; background: var(--umbraco-blue); border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; pointer-events: none; }
.tl-section .tl-stop--flip .v-card::after { right: auto; left: 22px; }
.tl-section .tl-stop:nth-of-type(7n+2) .v-card::after { background: var(--umbraco-blue); }
.tl-section .tl-stop:nth-of-type(7n+3) .v-card::after { background: var(--orange); width: 20px; height: 20px; }
.tl-section .tl-stop:nth-of-type(7n+4) .v-card::after { background: #e5c6df; border-radius: 3px; transform: rotate(14deg); width: 18px; height: 22px; }
.tl-section .tl-stop:nth-of-type(7n+5) .v-card::after { background: var(--pink); border-radius: 3px; transform: rotate(-12deg); width: 18px; height: 22px; }
.tl-section .tl-stop:nth-of-type(7n+6) .v-card::after { background: var(--orange); }
.tl-section .tl-stop:nth-of-type(7n) .v-card::after { background: var(--yellow); }
.tl-section .tl-stop:nth-of-type(7n+1) .v-card::after { background: var(--umbraco-blue); width: 20px; height: 20px; }

/* "You get" boxes: rectangular, like the site's yellow buttons */
.tl-section .tl-get { background: #fff; border-radius: 0; box-shadow: -1px 2px 13px rgba(197,188,188,.5); }

/* End of the path: the loop sits in a blue blob, the line in a highlight */
.tl-section .tl-loop svg circle { fill: var(--umbraco-blue); }
.tl-section .tl-loop svg path { stroke: #fff; }
.tl-section .tl-loop__text em { color: var(--umbraco-blue); padding: 0 .25em; }

@media (prefers-reduced-motion: reduce) { .tl-section .tl-marker, .tl-section .tl-marker::before { transition: none; } }

/* Status pills keep their size when the label wraps on phones */
.v-audit li { align-items: flex-start; }
.v-audit li b { flex: none; }
.journey.tl-section { padding-bottom: var(--s-8); }

/* FAQ section centred: heading and list in the middle, question text stays left-aligned */
.faq-section .section__head { text-align: center; margin-inline: auto; }
.faq-section .section__head .eyebrow { justify-content: center; }
.faq-section .faq { margin-inline: auto; }

/* Tighter timeline: text-only steps (no example cards or "You get" boxes) */
.journey.section { padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.journey.tl-section { padding-bottom: var(--s-6); }
.journey .tl-intro { margin-bottom: var(--s-5); }
.journey .tl-stop { padding-bottom: var(--s-6); row-gap: var(--s-2); }
.journey .tl-phase { padding-bottom: var(--s-5); }
.journey .tl-text h3 { margin-bottom: var(--s-2); }
.journey .tl-text p { margin-bottom: 0; }
.journey .journey__foot { margin-top: var(--s-5); }
.journey .journey__foot p { margin-bottom: var(--s-3); }
@media (min-width: 1000px) {
  .journey .tl-stop { padding-bottom: var(--s-8); }
  .journey .tl-phase { padding-bottom: var(--s-4); }
}

/* Team headshots (cropped from the About page photos) replace the initials */
.team img.avatar { width: 96px; height: 96px; object-fit: cover; background: var(--line); box-shadow: 0 0 0 4px var(--yellow); margin-bottom: 1.1rem; }
.team li:nth-child(2) img.avatar { box-shadow: 0 0 0 4px var(--blue); }
.team li:nth-child(3) img.avatar { box-shadow: 0 0 0 4px var(--orange); }
.team li:nth-child(4) img.avatar { box-shadow: 0 0 0 4px var(--pink); }

/* Hero card: countdown plus the dated support timeline (Steph asked to keep the timeline, 18 Nov) */
.support { padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem) clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.support__title { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); margin-bottom: 1.25rem; }
.support .days { margin-bottom: 1.25rem; padding: 1.25rem 1.25rem 1.1rem; gap: 1rem; }
.support .days__num { font-size: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.support .days__label { font-size: 1.15rem; }
.support__text { margin: 1rem 0 0; color: var(--ink-2); }
.support__badges { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.promo__intro { color: #fff; font-weight: 800; margin: 0 0 .75rem; }
.tl-text .tl-btn { margin-top: var(--s-3); }

/* Hero link down to the 2026 improvements offer (Steph, 18 Nov). Secondary to the main button. */
.perk { display: inline-flex; align-items: center; gap: .45em; padding: .55em 1em; border-radius: 999px; background: var(--surface-ink); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.2; }
.perk:hover { background: var(--ink); color: var(--yellow); }
.perk:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.perk__star { color: var(--yellow); }
/* Anchored sections clear the sticky header */
#improvements, #contact { scroll-margin-top: 5rem; }

/* ISO callout beside the hero badges, so the certification is readable, not just a logo (Steph, 18 Nov).
   Straight, quiet panel: shield icon in a blue circle, text beside it. */
.iso-sticker { display: inline-flex; align-items: center; gap: .7em; max-width: 20rem; padding: .5em 1em .5em .5em; background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; font-size: .9rem; line-height: 1.3; color: var(--ink); font-weight: 600; }
.iso-sticker svg { flex: none; width: 2.1rem; height: 2.1rem; padding: .4rem; border-radius: 50%; background: var(--blue); color: #fff; }
.iso-sticker strong { font-weight: 800; white-space: nowrap; }
