@import url("/assets/legal-page.v1.css");
@import url("/assets/pricing-page.v3.css");
@import url("/assets/testimonials.v2.css");
@import url("/assets/resource-polish.v3.css");
@import url("/assets/article-reading.v1.css");

/* ============================================================
   CLAWZ public site — brand styles
   Tokens from Clawz Brand Guidelines v1 (May 2025).
   ============================================================ */

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ubuntu-500.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ubuntu-700.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Base navy sampled from the journey artwork. */
  --ink: #001c35;
  --ink-soft: var(--ink);
  --slate: #293857;
  --gold: #c9ad75;
  --gold-light: #e8d9ab;
  --gold-text: #7a5f2e;
  --paper: #f4f1ea;
  --white: #ffffff;
  --text-on-light: #1c2a3d;
  --muted: #5a6b7e;
  --radius: 2px;
  --font-head: "Ubuntu", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(0, 28, 53, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 28, 53, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

#clawz-video {
  scroll-margin-top: 110px;
}

.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: var(--gold-light);
  border: 1px solid var(--ink);
}

.back-to-top:hover {
  background: var(--gold);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--text-on-light);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.resources-intro,
.article-heading {
  padding: 64px 0;
}

.resources-intro h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.resource-articles h2,
.resource-faq h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 36px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 32px;
}

.resource-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-wrap: anywhere;
}

.resource-card-main {
  display: block;
  flex: 1;
}

.resource-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 24px;
}

.resource-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.resource-card-main:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.resource-card p {
  color: var(--muted);
}

.resource-read-more {
  display: inline-block;
  color: var(--gold-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 20px;
  padding-block: 8px;
}

.resource-faq h3 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
}

.resource-faq-indicator {
  flex: 0 0 auto;
  font-size: 1.6rem;
  line-height: 1;
}

.resource-faq .faq-item[open]:not([data-motion-closing]) .resource-faq-indicator {
  transform: rotate(45deg);
}

.article-heading .container,
.article-content.container {
  max-width: 880px;
}

.article-heading h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-top: 24px;
  overflow-wrap: anywhere;
}

.article-heading a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-content {
  padding-block: 56px 88px;
  overflow-wrap: anywhere;
}

.article-feature,
.article-prose figure {
  margin-bottom: 36px;
}

.article-feature,
.article-prose figure img {
  width: 100%;
  height: auto;
}

.article-prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-block: 40px 20px;
}

.article-prose h3 {
  font-size: 1.4rem;
  margin-block: 32px 16px;
}

.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose blockquote {
  margin-bottom: 20px;
}

.article-prose figure {
  margin-top: 32px;
}

.article-content .video-player {
  margin-block: 24px 40px;
}

.article-content .video-player button:focus-visible {
  outline-color: var(--gold-light);
}

@media (max-width: 900px) {
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .resource-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .resources-intro, .article-heading { padding-block: 40px; }
  .article-content { padding-block: 32px 56px; }
}

.responsive-image {
  display: contents;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1, h2 { font-weight: 700; }
h3, h4 { font-weight: 500; }

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}

.site-header a:focus-visible,
.dark a:focus-visible,
.dark button:focus-visible {
  outline-color: var(--gold-light);
}

[id] {
  scroll-margin-top: 100px;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* ---------- sections ---------- */

.section {
  padding: 88px 0;
}

.alt {
  background: var(--paper);
}

.dark {
  background: var(--ink);
  color: #dbe4ee;
}

.dark h1, .dark h2, .dark h3, .dark h4 {
  color: var(--white);
}

.section-heading {
  max-width: 640px;
}

.section-heading.centre {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 0.6rem;
}

.section-blurb {
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .section-blurb {
  color: #b9c6d4;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--gold-text);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.dark .eyebrow {
  color: var(--gold);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(201, 173, 117, 0.35);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--gold-light);
}

.dark .btn-outline {
  color: var(--gold-light);
}

.dark .btn-outline:hover,
.dark .btn-outline:focus-visible {
  color: var(--ink);
}

.btn-arrow {
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(2px);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 173, 117, 0.25);
}

.header-inner {
  width: min(1360px, calc(100% - 60px));
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
}

.brand img {
  width: 180px;
  min-width: 180px;
  height: auto;
}

.brand {
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  color: #dbe4ee;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-light);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.call-now {
  padding: 9px 18px;
  font-size: 0.85rem;
  min-height: 44px;
  flex-shrink: 0;
  border: 2px solid var(--white);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.call-now:hover,
.call-now:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  color: var(--gold-light);
  list-style: none;
  cursor: pointer;
}

.menu-toggle::marker,
.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 5px;
}

.menu-toggle path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 160ms ease, opacity 160ms ease;
}

.mobile-menu[open] .menu-line-top { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .menu-line-middle { opacity: 0; }
.mobile-menu[open] .menu-line-bottom { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu-panel {
  position: absolute;
  top: 100%;
  right: 30px;
  width: min(360px, calc(100vw - 60px));
  padding: 20px;
  background: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.mobile-menu-panel .site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.mobile-menu-panel .site-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu-panel .call-now {
  display: flex;
  width: 100%;
  margin-top: 20px;
}

/* ---------- flash (enquiry confirmation) ---------- */

.flash {
  background: var(--gold-light);
  color: var(--ink);
  text-align: center;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-weight: 600;
}

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 0;
  min-height: 560px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 1.1rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: #b9c6d4;
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ctas.centre {
  justify-content: center;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- journey ---------- */

.journey-image {
  margin-top: 48px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---------- health check ---------- */

.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.health-heading {
  font-size: 1.6rem;
  margin: 0.4rem 0 0.8rem;
}

.health-media {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- software tiles ---------- */

.feature-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #efe9dc;
}

.tile img {
  margin: 0 auto 18px;
  height: 64px;
  width: auto;
}

.tile h3 {
  font-size: 1.15rem;
}

/* ---------- demo ---------- */

.demo {
  padding: 72px 0;
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.demo-media {
  position: relative;
}

.demo-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.demo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(0, 28, 53, 0.85);
  color: var(--gold-light);
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: var(--font-head);
}

/* ---------- support ---------- */

.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.support-card {
  background: var(--white);
  border: 1px solid #efe9dc;
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
  position: relative;
}

.support-card.featured {
  border: 2px solid var(--gold);
}

.support-card img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.support-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.ribbon {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius);
}

.tick-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.tick-list li {
  padding-left: 30px;
  position: relative;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-text);
  font-weight: 700;
}

.dark .tick-list li::before {
  color: var(--gold);
}

.tick-list.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.expertise {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 44px;
  background: var(--white);
  border: 1px solid #efe9dc;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.expertise img {
  height: 56px;
  width: auto;
}

.expertise h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.support-line {
  color: var(--gold-text);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin: 8px 0 16px;
}

.closing-line {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* ---------- result / quote ---------- */

.result-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.result-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.result-sub {
  color: var(--muted);
  margin-top: 10px;
  font-size: 1.05rem;
}

.result-quote {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 34px;
  box-shadow: var(--shadow);
}

.result-quote p {
  font-size: 1.06rem;
  font-style: italic;
  color: var(--text-on-light);
}

.result-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.dark .result-quote {
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--gold);
}

.dark .result-quote p {
  color: #dbe4ee;
}

.dark .result-quote cite {
  color: var(--gold-light);
}

/* ---------- recognition ---------- */

.recognition-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.recognition-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border: 1px solid #efe9dc;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.team-card h3 {
  font-size: 1.2rem;
  padding: 20px 24px 0;
}

.team-role {
  color: var(--gold-text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 24px 0;
}

.team-bio {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 12px 24px 26px;
}

/* ---------- contact / enquiry ---------- */

.contact {
  padding: 72px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.contact-copy p {
  color: #b9c6d4;
}

.contact-link {
  color: var(--gold-light);
  font-weight: 600;
}

.contact-support {
  margin-top: 16px;
}

.enquiry {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
  color: var(--text-on-light);
}

.enquiry label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid #d8d2c4;
  border-radius: var(--radius);
  background: #fbfaf7;
  color: var(--text-on-light);
  width: 100%;
}

.enquiry input:focus,
.enquiry select:focus,
.enquiry textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.enquiry .btn {
  justify-self: start;
  margin-top: 4px;
}

/* ---------- lawyers page ---------- */

.lawyers-hero {
  padding: clamp(48px, 6vw, 88px) 0 72px;
}

.lawyers-hero-grid {
  display: grid;
  gap: 48px;
}

.lawyers-hero .hero-copy {
  max-width: 980px;
}

.lawyers-hero .eyebrow {
  color: var(--gold);
}

.proof-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
}

.proof-list li {
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.problem-grid .section-heading {
  grid-column: 1 / -1;
}

.risk-grid {
  list-style: none;
  display: grid;
  gap: 12px;
}

.risk-item {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.problem-support {
  display: grid;
  gap: 10px;
  align-content: center;
}

.strong-line {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.solution-media {
  min-width: 0;
}

.solution-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.backed-line {
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #efe9dc;
  border-left: 3px solid var(--gold);
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius);
}

.impact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.impact-number .big-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--ink);
  display: block;
}

.impact-number p {
  color: var(--muted);
  font-size: 1.05rem;
}

.impact .result-quote {
  background: var(--white);
}

/* ---------- pricing ---------- */

.pricing-intro {
  padding: clamp(48px, 5vw, 72px) 0;
  text-align: center;
}

.pricing-intro .section-heading {
  margin-bottom: 8px;
}

.pricing-intro .intro-subheading {
  font-family: var(--font-head);
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin: 16px 0 48px;
}

.intro-steps {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  text-align: left;
}

.intro-steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(201, 173, 117, 0.4);
  pointer-events: none;
}

.intro-steps li {
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  color: #dbe4ee;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-content: start;
  font-size: 1.05rem;
  line-height: 1.65;
}

.intro-steps .step-num {
  position: relative;
  display: block;
  width: fit-content;
  height: 52px;
  padding-right: 20px;
  border-radius: 0;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 2.75rem;
  line-height: 52px;
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.membership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.membership-media {
  min-width: 0;
}

.membership-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.membership-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.card-kicker {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--gold-text);
}

.membership-card h2 {
  font-size: 1.7rem;
  margin: 10px 0 14px;
}

.card-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.25rem;
}

.big-price {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.price-note {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid #efe9dc;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.service-card.featured {
  border: 2px solid var(--gold);
}

.service-card h3 {
  font-size: 1.2rem;
  padding-right: 100px;
}

.card-blurb {
  color: var(--muted);
  font-size: 0.97rem;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.package-banner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  color: #dbe4ee;
  padding: 30px 34px;
  margin-top: 34px;
  box-shadow: var(--shadow-lg);
}

.package-banner h3 {
  color: var(--white);
}

.package-banner .card-price {
  color: var(--gold-light);
  font-size: 1.5rem;
  white-space: nowrap;
}

.enquire-banner {
  background: var(--gold-light);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-top: 22px;
  color: var(--ink);
}

.enquire-banner h4 {
  color: var(--ink);
  margin-bottom: 4px;
}

.enquire-banner .btn {
  margin-top: 14px;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}

.plan-card {
  background: var(--white);
  border: 1px solid #efe9dc;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.plan-card.featured {
  border: 2px solid var(--gold);
}

.plan-card h3 {
  font-size: 1.4rem;
}

.plan-card .card-price {
  font-size: 1.5rem;
}

.plan-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.additional-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.98rem;
}

.additional-note p {
  display: inline;
}

/* ---------- faq ---------- */

.faq-wrap {
  max-width: 780px;
}

.faq-subtitle {
  text-align: center;
  color: var(--muted);
  margin: -6px 0 28px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 600;
}

.faq-item {
  background: var(--white);
  border: 1px solid #e8e2d4;
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 22px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-indicator {
  flex: 0 0 auto;
  color: var(--gold);
  transition: transform 180ms ease;
}

.faq-item[open]:not([data-motion-closing]) .faq-indicator {
  transform: rotate(180deg);
}

.faq-item p {
  padding-bottom: 20px;
  color: var(--muted);
}

/* ---------- final CTA ---------- */

.final-cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.final-cta p {
  color: #b9c6d4;
}

.final-contacts {
  margin: 14px 0 24px;
  font-size: 1.05rem;
}

.final-contacts a {
  color: var(--gold-light);
  font-weight: 600;
}

.enquiry-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.enquiry-wrap .section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.pricing-contact-grid .final-cta {
  max-width: none;
  margin: 0;
  text-align: left;
}

.pricing-contact-grid .final-cta h2 {
  margin-bottom: 20px;
}

.pricing-contact-grid .final-contacts {
  display: grid;
  gap: 20px;
  margin: 28px 0 32px;
}

.pricing-contact-link {
  display: grid;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.pricing-contact-link span {
  color: #b9c6d4;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-contact-link strong {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

.pricing-contact-link:hover strong,
.pricing-contact-link:focus-visible strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pricing-contact-grid .hero-ctas {
  justify-content: flex-start;
}

.pricing-contact-grid .btn {
  border-radius: 0;
  box-shadow: none;
}

.pricing-contact-grid .btn-gold {
  background: var(--gold-light);
}

.pricing-contact-grid .btn-gold:hover,
.pricing-contact-grid .btn-gold:focus-visible {
  background: var(--gold);
}

.pricing-contact-grid .enquiry-wrap {
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--gold);
  background: var(--white);
}

.pricing-contact-grid .enquiry-wrap .section-heading {
  max-width: none;
  margin: 0 0 20px;
  text-align: left;
}

.pricing-contact-grid .enquiry-wrap h2 {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
}

.pricing-contact-grid .enquiry {
  padding: 0;
  gap: 18px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-contact-grid .enquiry :is(input:not([type="hidden"]), select, textarea) {
  min-width: 0;
  min-height: 48px;
  border-radius: 0;
  border-color: #778395;
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
}

.pricing-contact-grid .enquiry textarea {
  min-height: 120px;
  resize: vertical;
}

.pricing-contact-grid .enquiry :is(input, select, textarea):focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.pricing-contact-grid .enquiry a:focus-visible,
.pricing-contact-grid .enquiry button:focus-visible {
  outline-color: var(--ink);
}

/* ---------- markdown ---------- */

.markdown h1, .markdown h2, .markdown h3 {
  margin: 1.2rem 0 0.5rem;
}

.markdown p {
  margin-bottom: 0.9rem;
}

.markdown ul, .markdown ol {
  margin: 0.4rem 0 1rem 1.4rem;
}

.markdown blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  color: var(--muted);
  margin: 0.8rem 0;
}

/* ---------- footer ---------- */

.enquiry [hidden] {
  display: none;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.field-error {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.5;
}

.enquiry input[aria-invalid="true"],
.enquiry select[aria-invalid="true"],
.enquiry textarea[aria-invalid="true"] {
  border: 2px solid var(--ink);
}

.enquiry-summary,
.enquiry-status {
  padding: 16px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
}

.enquiry-summary ul {
  padding-left: 20px;
  margin-top: 8px;
}

.enquiry-summary a,
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.enquiry-summary:focus,
.enquiry-status:focus {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.enquiry .btn {
  min-width: 180px;
}

.enquiry .btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.home-contact .form-note {
  color: var(--ink);
}

.site-footer {
  background: var(--ink-soft);
  color: #b9c6d4;
  padding: 52px 0 24px;
}

.site-footer .container {
  width: min(1360px, calc(100% - 60px));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 173, 117, 0.2);
}

.footer-tagline {
  margin-top: 30px;
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.footer-contact {
  display: grid;
  gap: 12px;
  justify-items: end;
  text-align: right;
  overflow-wrap: anywhere;
}

.footer-contact a {
  color: var(--gold-light);
}

.footer-contact-heading {
  font-size: 0.85rem;
  color: #dbe4ee;
}

.footer-phone {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  line-height: 1.2;
}

.footer-email {
  font-size: 1rem;
}

.footer-contact a,
.footer-nav a,
.footer-social a {
  transition: color 180ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-secondary {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px;
  border-bottom: 1px solid rgba(201, 173, 117, 0.2);
}

.footer-nav {
  display: flex;
  gap: 16px 28px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.9rem;
}

.footer-address {
  text-align: right;
  font-size: 0.85rem;
  color: #dbe4ee;
}

.footer-social {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.footer-social a {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold-light);
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
}

.footer-social a:focus-visible {
  outline-color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-inline-end: 72px;
  font-size: 0.85rem;
  color: #7e8b9b;
  flex-wrap: wrap;
}

/* ---------- homepage: Website Layout reference ---------- */

.home-page .container {
  width: min(1360px, 92vw);
}

.home-page .section {
  padding: clamp(48px, 6vw, 88px) 0;
}

.home-page .btn {
  min-height: 48px;
  max-width: 100%;
  border: 2px solid transparent;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.home-page .btn-gold {
  background: var(--gold-light);
  color: var(--ink);
}

.home-page .btn-gold:hover,
.home-page .btn-gold:focus-visible {
  background: var(--gold);
  transform: none;
  box-shadow: none;
}

.home-page .btn-outline {
  border-color: var(--gold-light);
  background: transparent;
  color: var(--white);
}

.home-page .btn-outline:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.home-page .btn-outline:focus-visible {
  background: var(--gold-light);
  color: var(--ink);
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  min-height: 0;
  display: grid;
  grid-template-areas: "hero";
  grid-template-columns: minmax(0, 1fr);
}

.home-hero .hero-grid {
  grid-area: hero;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: clamp(48px, 5vw, 104px) 0;
  position: relative;
  z-index: 1;
}

.home-hero .hero-copy {
  position: relative;
  z-index: 1;
  width: 48%;
  overflow-wrap: anywhere;
}

.home-hero .hero-copy h1 {
  font-size: clamp(3.1rem, 5.4vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.home-hero .hero-title-lead {
  display: block;
  max-width: 9ch;
  color: var(--gold-light);
}

.home-hero .hero-sub {
  max-width: 40ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: #dbe4ee;
}

.home-hero .hero-media {
  grid-area: hero;
  align-self: center;
  position: relative;
  z-index: 0;
}

.home-hero .hero-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.home-page .journey {
  border-top: 1px solid rgba(201, 173, 117, 0.3);
}

.home-page .journey h2 {
  color: var(--gold-light);
  text-transform: uppercase;
}

.journey-track {
  position: relative;
  margin-top: 48px;
}

.journey-track::before,
.journey-line {
  content: "";
  position: absolute;
  top: 106px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  pointer-events: none;
}

.journey-track::before {
  opacity: 0.3;
}

.journey-line {
  transform-origin: left center;
}

.journey-steps {
  display: flex;
  list-style: none;
}

.journey-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.journey-icon {
  width: 72px;
  height: 72px;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.journey-node {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 5px solid var(--gold-light);
  border-radius: 50%;
  background: var(--ink);
  margin-bottom: 20px;
}

.journey-label {
  max-width: 17ch;
  padding-inline: 8px;
  font-family: var(--font-head);
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold-light);
  overflow-wrap: anywhere;
}

.journey-number {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}

.journey-track.is-entered::after {
  animation: journey-draw 1.1s linear both;
}

.journey-track.is-entered .journey-node {
  animation: journey-stage 250ms ease-out both;
  animation-delay: var(--stage-delay, 0ms);
}

.journey-step:nth-child(2) { --stage-delay: 150ms; }
.journey-step:nth-child(3) { --stage-delay: 300ms; }
.journey-step:nth-child(4) { --stage-delay: 450ms; }
.journey-step:nth-child(5) { --stage-delay: 600ms; }
.journey-step:nth-child(6) { --stage-delay: 750ms; }
.journey-step:nth-child(7) { --stage-delay: 900ms; }

@keyframes journey-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes journey-draw-vertical {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes journey-stage {
  from { border-color: var(--gold-light); background: var(--ink); }
  to { border-color: var(--gold); background: var(--gold-light); }
}

.journey-tagline {
  margin-top: 40px;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold-light);
}

.health-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 1720 / 914;
}

.health-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 48px 24px 48px 16%;
}

.health-copy .health-heading {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  margin: 16px 0 24px;
}

.health-copy .btn {
  margin-top: 28px;
}

.health-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.health-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.software-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

.home-page .software h2 {
  color: var(--gold-light);
}

.software-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 32px;
  list-style: none;
}

.software-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(201, 173, 117, 0.4);
  font-weight: 600;
}

.software-feature-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.software-feature-copy h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.software-feature-copy p {
  margin-top: 6px;
  color: #b9c6d4;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.software-features img {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.walkthrough-copy {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.walkthrough-copy h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: var(--gold-light);
  text-wrap: balance;
  margin: 0;
}

.walkthrough-copy p {
  color: #b9c6d4;
  margin: 0;
  line-height: 1.7;
}

.walkthrough-copy .btn {
  justify-self: start;
  margin-top: 8px;
}

.software-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.video-media {
  min-width: 0;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(201, 173, 117, 0.4);
}

.video-frame img,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: 2px solid rgba(232, 217, 171, 0.6);
  background: rgba(232, 217, 171, 0.25);
  color: var(--ink);
  cursor: pointer;
}

.video-play[hidden] {
  display: none;
}

.video-play:hover,
.video-play:focus-visible {
  background: rgba(232, 217, 171, 0.65);
  border-color: var(--gold);
}

.video-frame .video-play:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 6px;
}

.video-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 0.85rem;
}

.video-caption p {
  color: #b9c6d4;
}

.video-caption a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-gallery {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 173, 117, 0.4);
}

.video-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.video-gallery-header h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin: 0;
}

.video-gallery-controls {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.video-gallery-controls[hidden],
.video-card-play[hidden] {
  display: none;
}

.video-gallery-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  cursor: pointer;
}

.video-gallery-controls button:hover:not(:disabled) {
  background: var(--gold-light);
  color: var(--ink);
}

.video-gallery-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}

.video-gallery-track {
  display: flex;
  gap: 24px;
  padding: 4px 4px 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) var(--ink);
  list-style: none;
}

.video-gallery-track:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 6px;
}

.video-card {
  flex: 0 0 clamp(220px, 28vw, 320px);
  min-width: 0;
  scroll-snap-align: start;
}

.video-card-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(201, 173, 117, 0.4);
}

.video-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.video-card-play svg {
  width: 52px;
  height: 52px;
  padding: 14px;
  background: var(--gold-light);
}

.video-card-play:hover svg {
  background: var(--gold);
}

.video-card-play[aria-pressed="true"] {
  box-shadow: inset 0 0 0 3px var(--gold-light);
}

.video-card h4 {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--gold-light);
}

.video-card h4 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.software-media.is-entered {
  animation: product-enter 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes product-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-image {
  overflow: hidden;
  aspect-ratio: 1207 / 735;
}

/* The supplied device photo has white canvas outside these bounds. */
.home-page .product-image img {
  width: 127.26%;
  max-width: none;
  height: auto;
  margin-left: -14.58%;
  margin-top: -13.75%;
}

.home-page .support .section-heading {
  max-width: 960px;
}

.home-page .support-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .support-card + .support-card {
  border-left: 1px solid var(--gold);
}

.home-page .support-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.home-page .ribbon {
  display: block;
  position: static;
  padding: 0;
  margin-bottom: 8px;
  background: none;
  color: var(--gold-text);
}

.home-page .expertise {
  grid-template-columns: 64px minmax(0, 1fr) 200px;
  align-items: center;
  margin-top: 32px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #dbe4ee;
  box-shadow: none;
}

.home-page .expertise h3 {
  color: var(--gold-light);
}

.home-page .support-line {
  color: var(--gold-light);
  margin: 0;
}

.support-actions {
  text-align: center;
  margin-top: 24px;
}

.home-page .closing-line {
  margin-top: 12px;
  font-size: 0.75rem;
}

.customer-result .container {
  width: min(1360px, 92vw);
}

.customer-result.section {
  padding: clamp(48px, 6vw, 88px) 0;
}

.customer-result-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.customer-result-banner .result-copy {
  position: relative;
  z-index: 1;
  width: 50%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(28px, 4vw, 48px);
}

.customer-result-banner h2 {
  color: var(--gold-light);
}

.customer-result-banner .result-sub {
  color: #dbe4ee;
  margin-top: 0;
}

.result-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 75%;
}

.result-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 15%, rgba(0, 28, 53, 0.95) 35%, transparent 75%);
}

.customer-result .result-quote {
  max-width: 70ch;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}

.customer-result .result-quote p {
  font-style: normal;
  font-size: inherit;
  line-height: 1.7;
}

.home-page .recognition.section {
  padding-block: 0;
}

.home-page .recognition-grid {
  width: min(1360px, 100%);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
}

.recognition-copy {
  align-self: center;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 56px);
}

.recognition-copy .eyebrow {
  color: var(--gold-light);
  margin-bottom: 16px;
}

.recognition-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.recognition-copy h2 span {
  color: var(--gold-light);
}

.recognition-copy > p:last-child {
  color: #dbe4ee;
  line-height: 1.7;
}

.recognition-media {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--ink);
}

.home-page .recognition-grid img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.testimonials.section {
  padding-top: 0;
}

.testimonials .container {
  width: min(1360px, 92vw);
}

.testimonials h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
}

.testimonial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
}

.testimonial-logo {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 240px;
  max-width: 100%;
  height: 112px;
  padding: 16px;
  margin-bottom: 28px;
  background: var(--white);
}

.testimonial-logo-oracle {
  background: #27a9d4;
}

.testimonial-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.testimonial blockquote {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

.testimonial figcaption {
  margin-top: auto;
  color: var(--gold-text);
  font-weight: 600;
}

@media (max-width: 700px) {
  .testimonial-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

.public-team .section-heading {
  max-width: 960px;
}

.public-team .section-heading h2 {
  color: var(--gold-text);
  text-transform: uppercase;
}

.public-team .team-card {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.public-team .team-grid {
  gap: 48px clamp(32px, 4vw, 64px);
}

.public-team .team-portrait {
  padding: clamp(24px, 3vw, 40px);
  background: var(--white);
}

.public-team .team-portrait img {
  max-width: 360px;
  margin-inline: auto;
  border-top: 3px solid var(--ink);
}

.public-team .team-card h3,
.public-team .team-role,
.public-team .team-bio {
  padding-inline: 0;
}

.public-team .team-card h3 {
  padding-top: 24px;
}

.public-team .team-bio {
  padding-top: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.public-team .team-role {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  padding-top: 8px;
}

.public-team .container {
  width: min(1360px, 92vw);
}

.footer-nav a,
.footer-social a,
.footer-phone,
.footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.home-page .home-contact .contact-grid {
  max-width: none;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  padding: 0;
}

.home-contact {
  background: var(--gold-light);
}

.home-contact .contact-copy {
  max-width: 38ch;
}

.home-contact .contact-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.home-contact .contact-copy p {
  color: var(--ink);
  font-size: 1.1rem;
}

.home-contact-details {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  font-size: 1.1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.home-contact-details a {
  text-decoration: underline;
  text-underline-offset: 4px;
  width: fit-content;
  max-width: 100%;
}

.home-contact .enquiry {
  width: 100%;
  max-width: 720px;
  margin-inline: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.home-contact .enquiry input,
.home-contact .enquiry select,
.home-contact .enquiry textarea {
  background: rgba(255, 255, 255, 0.6);
  border-color: #546279;
  border-radius: 0;
  min-height: 48px;
  font-size: 1rem;
}

.home-contact .enquiry input:focus,
.home-contact .enquiry select:focus,
.home-contact .enquiry textarea:focus {
  outline-color: var(--ink);
}

.home-contact .enquiry .btn {
  justify-self: start;
  margin-top: 16px;
  background: var(--slate);
  color: var(--gold-light);
}

.home-contact .enquiry .btn:hover {
  background: var(--ink);
}

.home-contact .enquiry .btn:focus-visible {
  outline-color: var(--ink);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .site-header .desktop-nav,
  .site-header .desktop-call {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  /* Frosted backdrop behind the open mobile dropdown. z-index 40 sits above page
     content but below the sticky header (50), so the logo, the toggle and the
     panel stay crisp while everything behind them softens. */
  body:has(.mobile-menu[open])::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 28, 53, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }

  .footer-secondary {
    flex-direction: column;
    gap: 24px;
  }

  .footer-address {
    text-align: left;
  }

  .journey-steps {
    flex-direction: column;
    gap: 28px;
  }

  .journey-step {
    display: grid;
    grid-template-columns: 20px 56px minmax(0, 1fr);
    gap: 20px;
    text-align: left;
  }

  .journey-icon {
    grid-column: 2;
    grid-row: 1;
    width: 56px;
    height: 56px;
    margin: 0;
  }

  .journey-node {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .journey-label {
    grid-column: 3;
    grid-row: 1;
    max-width: none;
    padding: 0;
    font-size: 0.95rem;
  }

  .journey-number {
    display: inline-block;
    font-size: 1.25rem;
    margin: 0 10px 0 0;
  }

  .journey-track::before,
  .journey-line {
    top: 28px;
    bottom: 28px;
    left: 8px;
    right: auto;
    width: 4px;
    height: auto;
    transform-origin: center top;
  }

  .journey-track.is-entered::after {
    animation-name: journey-draw-vertical;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 30px;
  }

  .hero-grid, .health-grid, .demo-grid, .result-grid, .recognition-grid,
  .contact-grid, .pricing-contact-grid, .membership-grid, .problem-grid, .solution-grid,
  .impact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .support-cards, .plan-grid, .service-grid, .team-grid, .intro-steps {
    grid-template-columns: 1fr;
  }

  .intro-steps {
    gap: 28px;
  }

  .intro-steps::before {
    left: 26px;
    right: auto;
    top: 26px;
    bottom: 26px;
    width: 1px;
    height: auto;
  }

  .intro-steps li {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
  }

  .intro-steps .step-num {
    width: 52px;
    height: auto;
    padding: 8px 0;
    text-align: center;
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .package-banner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    order: 1;
    flex-basis: 100%;
    margin-left: 0;
    gap: 14px;
    font-size: 0.9rem;
  }

  .site-nav a {
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .call-now {
    margin-left: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .home-hero .hero-grid {
    display: block;
    min-height: 0;
    padding: 48px 0 0;
  }

  .home-hero {
    display: block;
  }

  .home-hero .hero-copy {
    width: 100%;
    max-width: 640px;
    margin-bottom: 40px;
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .home-hero .hero-media {
    height: auto;
  }

  .home-page .health-panel {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    background: #faf8f4;
  }

  .health-copy {
    padding: 32px 24px;
    align-self: stretch;
  }

  .health-copy .health-heading {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .health-art {
    position: relative;
    overflow: hidden;
    width: min(100%, 480px);
    margin-inline: auto;
    aspect-ratio: 860 / 914;
    height: auto;
  }

  .health-art img {
    width: 200%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
    transform: translateX(-50%);
  }

  .software-grid,
  .home-page .recognition-grid,
  .home-page .home-contact .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .support-card {
    padding: 24px 0;
  }

  .home-page .support-card + .support-card {
    border-left: 0;
    border-top: 1px solid var(--gold);
  }

  .home-page .expertise {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 24px;
  }

  .home-page .support-line {
    grid-column: 2;
  }

  .customer-result-banner .result-copy {
    width: 100%;
    max-width: 600px;
  }

  .result-media::after {
    background: rgba(0, 28, 53, 0.88);
  }
}

.contact.contact-light {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid #d8d2c4;
}

.contact-light .contact-copy h2,
.contact-light .final-cta h2 {
  color: var(--ink);
}

.contact-light .contact-copy p,
.contact-light .final-cta p,
.contact-light .pricing-contact-link span {
  color: var(--muted);
}

.contact-light .contact-link,
.contact-light .final-contacts a {
  color: var(--ink);
}

.contact-light .enquiry-wrap {
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-light .enquiry {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-light .enquiry input:not([type="hidden"]),
.contact-light .enquiry select,
.contact-light .enquiry textarea {
  min-width: 0;
  min-height: 48px;
  border-radius: 0;
  border-color: #778395;
  background: var(--white);
  font-size: 1rem;
  font-weight: 400;
}

.contact-light .enquiry textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-light .enquiry :is(input, select, textarea):focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.contact-light .enquiry a:focus-visible,
.contact-light .enquiry button:focus-visible {
  outline-color: var(--ink);
}

.contact-light .enquiry .btn,
.contact-light .final-cta .btn-gold {
  background: var(--ink);
  color: var(--gold-light);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}

.contact-light .enquiry .btn:hover,
.contact-light .enquiry .btn:focus-visible,
.contact-light .final-cta .btn-gold:hover,
.contact-light .final-cta .btn-gold:focus-visible {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--gold-light);
}

.contact-light .final-cta .btn-outline {
  color: var(--ink);
  border-color: var(--ink);
}

.enquiry-success {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(400px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  padding: 32px;
  border: 1px solid var(--gold);
  border-top-width: 4px;
  background: var(--ink);
  color: var(--white);
  text-align: left;
}

.enquiry-success[open] {
  display: grid;
  gap: 20px;
}

.enquiry-success::backdrop {
  background: rgba(0, 28, 53, 0.6);
}

.enquiry-success img {
  width: 150px;
  height: auto;
}

.enquiry .enquiry-success h2 {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--gold-light);
}

.enquiry .enquiry-success p {
  margin: 0;
  color: var(--white);
  font: 400 1rem/1.6 var(--font-body);
}

.enquiry .enquiry-success .btn {
  justify-self: start;
  min-width: 120px;
  margin-top: 4px;
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
}

.enquiry .enquiry-success .btn:hover,
.enquiry .enquiry-success .btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.enquiry .enquiry-success :is(a, h2):focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .call-now {
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .home-page .hero-ctas {
    gap: 12px;
  }

  .home-page .hero-ctas .btn {
    flex: 1 1 180px;
  }

  .software-features {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .expertise {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .support-line {
    grid-column: auto;
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-card {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .lawyers-hero-grid {
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-track.is-entered::after,
  .journey-track.is-entered .journey-node,
  .software-media.is-entered {
    animation: none;
    transform: none;
    opacity: 1;
  }

  html {
    scroll-behavior: auto;
  }

  .btn,
  .home-page .btn,
  .site-nav a,
  .site-nav a::after,
  .footer-contact a,
  .footer-nav a,
  .footer-social a,
  .btn-arrow {
    transition: none;
  }

  .menu-toggle path {
    transition: none;
  }

  .faq-indicator {
    transition: none;
  }

  .btn:hover .btn-arrow,
  .btn:focus-visible .btn-arrow {
    transform: none;
  }
}

/* The marker belongs to the scrolling row, so native swipe stays in sync. */
.video-gallery-track {
  position: relative;
}

.video-selection-marker {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold-light);
  pointer-events: none;
  transform-origin: left center;
  list-style: none;
}

.support-card .btn,
.service-card .btn,
.plan-card .btn,
.membership-card .btn,
.support-actions .btn {
  transition: transform 150ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .support-card .btn:hover,
  .service-card .btn:hover,
  .plan-card .btn:hover,
  .membership-card .btn:hover,
  .support-actions .btn:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .support-card .btn:active,
  .service-card .btn:active,
  .plan-card .btn:active,
  .membership-card .btn:active,
  .support-actions .btn:active {
    transform: scale(0.98);
  }
}
