/* =========================================================================
   Marzey Group — static site stylesheet
   Dark identity preserved from the Claude Design handoff.
   Red accent darkened from #eb4336 to #d8321f for WCAG AA white contrast.
   ========================================================================= */

/* --- Design tokens --- */
:root {
  /* Surface colors */
  --bg-body: #070707;
  --bg-hero: #090909;
  --bg-section: #0c0c12;
  --bg-dark: #030303;
  --bg-card: #11121e;
  --bg-input: #070707;

  /* Accent (contrast-fixed: white on #d8321f = 4.78:1, passes WCAG AA) */
  --accent: #d8321f;
  --accent-hover: #c52e1c;
  --accent-soft: rgba(216, 50, 31, 0.16);
  --accent-border: rgba(216, 50, 31, 0.40);
  --accent-glow: rgba(216, 50, 31, 0.28);
  --accent-glow-soft: rgba(216, 50, 31, 0.18);

  /* Link colors */
  --link: #ff7065;
  --link-hover: #ff9a92;

  /* Text colors — single muted-text family to avoid near-duplicate greys */
  --text: #e8e8ef;
  --text-secondary: #c5cbdd;
  --text-muted: #aab2d0;
  --text-nav: #d7d7e2;
  --text-faint: #aab2cc;
  --text-dim: #a6aecc;
  --text-label: #e5e5ef;
  --text-fine: #7a83a6;
  --text-footer: #6b7699;
  --text-contact-label: #9aa4c8;
  --text-email-label: #a7a7bb;

  /* Border colors */
  --border: #25274d;
  --border-card: #30325a;
  --border-input: #3d4070;
  --border-footer: #17203f;

  /* Status */
  --green: #4ecb8d;

  /* Typography */
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 1140px;
  --gutter: 28px;
  --section-py: 96px;

  /* Scroll offset for sticky header (logo 112px + padding 10px*2 ≈ 132px) */
  --scroll-offset: 140px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Accessibility utilities --- */
:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100;
  padding: 14px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Links --- */
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  color: var(--link-hover);
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-py) 0;
}
.section-audiences {
  padding: 72px 0;
  background: var(--bg-section);
}
.section-services { background: var(--bg-body); }
.section-why { background: var(--bg-section); }
.section-team { background: var(--bg-dark); }
.section-about { background: var(--bg-section); }
.section-process {
  padding: 72px 0;
  background: var(--bg-body);
}
.section-quote { background: var(--bg-dark); }

/* Anchor offset for sticky header */
#audiences, #services, #why, #team, #about, #process, #quote {
  scroll-margin-top: var(--scroll-offset);
}

html {
  scroll-behavior: smooth;
}
.nowrap {
  white-space: nowrap;
}

/* --- Eyebrow / section header --- */
.eyebrow {
  color: var(--link);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 12px 0 0;
}
.section-lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 16px 0 0;
}
.section-header {
  max-width: 640px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 30px;
  border-radius: 10px;
  box-shadow: 0 6px 16px var(--accent-glow);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 8px 20px var(--accent-glow);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* --- Header / navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.94);
  -webkit-backdrop-filter: saturate(1.25) blur(10px);
  backdrop-filter: saturate(1.25) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 112px;
  width: auto;
  display: block;
}
.nav {
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item {
  flex: 0 0 auto;
}
.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--text-nav);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #fff;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px 6px 6px;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1b1d3a;
  color: #e8e8ef;
}
.nav-phone-svg {
  width: 19px;
  height: 19px;
}
.nav-phone-number {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-phone:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--accent-glow-soft);
  transition: background 0.2s ease;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}
.menu-icon {
  flex: 0 0 auto;
}
.menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  background: var(--bg-hero);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,4,8,0.94) 0%, rgba(4,4,8,0.78) 48%, rgba(4,4,8,0.26) 78%, rgba(4,4,8,0.12) 100%),
    linear-gradient(0deg, rgba(3,3,5,0.4), rgba(3,3,5,0.08));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter);
  width: 100%;
}
.hero-inner {
  max-width: 660px;
  animation: mzFade 0.7s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--link);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 22px 0 0;
}
.hero-subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 22px 0 0;
  max-width: 560px;
}
.hero-tagline {
  max-width: 560px;
  margin: 14px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
  margin-top: 38px;
}
.hero-trust-point {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dfe3ee;
  font-weight: 600;
  font-size: 14.5px;
}
.hero-trust-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex: 0 0 auto;
}

/* --- Trust strip --- */
.trust-strip {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 44px;
  text-align: center;
}
.trust-strip-label {
  color: var(--text-faint);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.trust-items {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-item {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--link);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Audiences --- */
.audience-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.55fr);
  gap: 72px;
  align-items: start;
}
.audience-layout > * {
  min-width: 0;
}
.audience-intro .section-title {
  margin-top: 0;
  font-size: 36px;
}
.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border-card);
}
.audience-item {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  padding: 18px 0;
  border-top: 1px solid var(--border-card);
}
.audience-item h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.3;
}
.audience-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.6;
}

/* --- Services --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 48px;
}
.service-grid > * {
  min-width: 0;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  /* No whole-card hover/transform/border feedback: only the inner .service-link
     is interactive. The card itself stays inert so it never reads as a clickable
     surface and so prefers-reduced-motion has nothing to suppress here. */
}
.service-photo {
  position: relative;
  height: 230px;
  background: var(--bg-body);
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(9, 14, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 8px;
  pointer-events: none;
}
/* "Show more" gallery trigger. Anchored to the bottom-right of the photo
   so it does not collide with the category tag (top-left) and remains
   tappable on touch. It is hidden in HTML and revealed by site.js so a
   JS-off visitor never sees a broken empty overlay. */
.service-gallery-trigger {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(9, 14, 34, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.service-gallery-trigger::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 5h18v14H3z M8 5v14 M3 9h5 M3 15h5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 5h18v14H3z M8 5v14 M3 9h5 M3 15h5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.service-gallery-trigger:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.service-gallery-trigger:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.service-content {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0;
  line-height: 1.18;
}
.service-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 10px 0 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--link);
  font-weight: 700;
  font-size: 15px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.service-link:hover {
  gap: 11px;
  color: var(--link-hover);
}

/* --- Why us --- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.why-grid > * {
  min-width: 0;
}
.reasons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.reason {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.reason-marker {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(216, 50, 31, 0.32);
  color: var(--link);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.reason-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 1px 0 0;
  line-height: 1.3;
}
.reason-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 5px;
}
.why-media-wrap {
  position: relative;
}
.why-media {
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--accent);
  color: #fff;
  padding: 22px 26px;
  border-radius: 16px;
  box-shadow: 0 10px 22px var(--accent-glow);
  max-width: 230px;
}
.why-badge-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
}
.why-badge-text {
  font-weight: 600;
  font-size: 14.5px;
  margin-top: 6px;
  color: #ffe2da;
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 42px;
  align-items: stretch;
}
.team-grid > * {
  min-width: 0;
}
.team-figure {
  height: 560px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.team-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  display: block;
}
.owner-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, #17182a 0%, #0d0e18 100%);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 42px 44px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  min-height: 0;
}
.owner-accent {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}
.owner-eyebrow {
  color: var(--link);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 28px 0 0;
}
.owner-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.08;
  color: #fff;
  margin: 10px 0 0;
}
.owner-bio {
  margin-top: 18px;
  max-width: 68ch;
}
.owner-bio p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  margin: 18px 0 0;
}
.owner-bio p:first-child {
  margin-top: 0;
}
.owner-bio p:last-child {
  margin-bottom: 0;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}
.about-grid > * {
  min-width: 0;
}
.about-media {
  height: 820px;
  min-height: 820px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 58%;
  display: block;
}
.about-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 18px 0 0;
}
.about-body p:first-of-type {
  margin-top: 0;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-label);
}

/* --- About: Licences, Insurance & Compliance subsection --- */
/* Restrained <dl>/address-style details treatment. The ABN, contractor
   licence and approved policy details each appear once across the page, so no
   footer business block remains. */
.about-compliance {
  margin-top: 30px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
}
.about-compliance-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: #fff;
}
.about-compliance-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 28px;
}
.about-compliance-item {
  min-width: 0;
}
.about-compliance-item--policy {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--border-card);
}
.about-compliance-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-fine);
  margin: 0 0 4px;
}
.about-compliance-value {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
  word-break: break-word;
}
.policy-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}
.policy-detail {
  min-width: 0;
}
.policy-detail--wide {
  grid-column: 1 / -1;
}
.policy-detail dt {
  margin: 0 0 2px;
  color: var(--text-fine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.policy-detail dt.policy-detail-label--case {
  letter-spacing: 0;
  text-transform: none;
}
.policy-detail dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.about-compliance-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- Process --- */
.process-header {
  max-width: 620px;
}
.process-header .section-title {
  margin-top: 0;
}
.process-list {
  counter-reset: marzey-process;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
}
.process-list > li {
  counter-increment: marzey-process;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-card);
}
.process-list > li::before {
  content: counter(marzey-process, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--link);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.process-list h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
}
.process-list p {
  margin: 9px 0 0;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.6;
}

/* --- Quote / contact --- */
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}
.quote-grid > * {
  min-width: 0;
}
.quote-lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 16px 0 0;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.contact-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 18px 20px;
  min-height: 84px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-block:hover {
  background: #191a2a;
  border-color: rgba(216, 50, 31, 0.32);
}
.contact-block-area {
  background: transparent;
  border: 1px solid var(--border);
  padding: 16px 20px;
  min-height: 0;
}
.contact-block-area:hover {
  background: transparent;
  border-color: var(--border-card);
}
.contact-badge {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
}
.contact-badge-call {
  background: var(--accent);
}
.contact-badge-email {
  background: var(--bg-body);
  border: 1px solid var(--border-input);
}
.contact-badge-area {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
}
.contact-label {
  display: block;
  color: var(--text-contact-label);
  font-size: 13px;
  font-weight: 600;
}
.contact-value {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}
.contact-value-email {
  font-weight: 700;
  font-size: 19px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.contact-area-text {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.4;
}

/* Required enquiry consent and privacy page; no inline styles. */
.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  cursor: pointer;
}
.quote-consent input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}
.quote-privacy { margin: 0; font-size: 15px; line-height: 1.6; }
.quote-privacy a, .privacy-page a { text-decoration: underline; }
.privacy-page { max-width: 800px; margin: 0 auto; padding: 48px 24px; line-height: 1.7; }
.privacy-page h1 { line-height: 1.2; }
.privacy-page h2 { margin-top: 32px; line-height: 1.4; }

/* Quote panel */
.quote-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}
.quote-panel-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  margin: 0;
}
.quote-panel-notice {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 14px 0 0;
}
.quote-panel-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-fine);
  margin: 22px 0 0;
}

/* --- Quote form fields --- */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.quote-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quote-field > label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-label);
}
.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}
.quote-field textarea {
  min-height: 96px;
  resize: vertical;
}
.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: var(--text-fine);
}
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  outline: 2px solid var(--accent-border);
  outline-offset: 1px;
  border-color: var(--accent);
}
.quote-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23aab2d0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Submit remains disabled until Turnstile supplies a token. */
.quote-submit {
  margin-top: 4px;
  min-height: 52px;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.quote-submit:disabled {
  color: #9aa4c8;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  cursor: not-allowed;
  opacity: 0.75;
}
.quote-submit:not(:disabled):hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.quote-submit:focus {
  outline: 2px solid var(--accent-border);
  outline-offset: 2px;
}
.quote-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.quote-honeypot input {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
}
.quote-turnstile {
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
}
.quote-form-status {
  min-height: 24px;
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}
.quote-form-status[data-state="pending"] {
  color: #fff;
}
.quote-form-status[data-state="success"] {
  color: #9fe0b1;
}
.quote-form-status[data-state="error"] {
  color: #ffb4ad;
}
.quote-form[aria-busy="true"] {
  cursor: progress;
}

/* --- Footer --- */
.footer {
  background: #000;
  padding: 46px var(--gutter) 34px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  height: 126px;
  width: auto;
  display: block;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 30px;
  align-items: center;
}
.footer-link {
  color: var(--text-faint);
  font-weight: 600;
  font-size: 14.5px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #fff;
}
.footer-phone {
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.footer-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}
.footer-bottom {
  max-width: var(--container);
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border-footer);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.footer-copyright {
  color: var(--text-footer);
  font-size: 13.5px;
}

/* --- Service gallery (native <dialog>) --- */
.service-gallery-dialog {
  /* Anchor well above the default UA max-width so the photo can use the
     viewport. The dialog itself is centred by the user-agent stylesheet
     once we set max-width and margin. */
  width: min(960px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.service-gallery-dialog::backdrop {
  background: rgba(3, 4, 10, 0.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.service-gallery-frame {
  display: flex;
  flex-direction: column;
  /* Keep the frame inside the dialog's 1px border at its viewport cap. */
  max-height: calc(100vh - 34px);
}
.service-gallery-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.service-gallery-eyebrow {
  margin: 0;
  color: var(--link);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex: 1 1 100%;
}
.service-gallery-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
}
.service-gallery-position {
  margin: 0 0 0 auto;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.service-gallery-figure {
  margin: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
  width: 100%;
}
.service-gallery-image {
  display: block;
  width: 100%;
  height: min(600px, calc(100vh - 280px));
  object-fit: contain;
  object-position: center;
  background: #000;
}
.service-gallery-video {
  display: block;
  /* Clips are portrait (720x1280): size by height so the tall video never
     exceeds the dialog, and let the width follow the aspect ratio. */
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 280px);
  height: auto;
  margin: 0 auto;
  align-self: center;
  object-fit: contain;
  background: #000;
}
.service-gallery-video[hidden] {
  display: none;
}
.service-gallery-image[hidden] {
  display: none;
}
.service-gallery-caption {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.18);
  min-height: 48px;
}
.service-gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  align-items: center;
  justify-content: space-between;
}
.service-gallery-prev,
.service-gallery-next,
.service-gallery-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.service-gallery-prev:hover,
.service-gallery-next:hover,
.service-gallery-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}
.service-gallery-prev:focus-visible,
.service-gallery-next:focus-visible,
.service-gallery-close:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.service-gallery-prev:disabled,
.service-gallery-next:disabled {
  display: none;
}
.service-gallery-close {
  margin-left: auto;
  background: var(--accent);
  border-color: var(--accent);
}
.service-gallery-close:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* --- Animations --- */
@keyframes mzFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* --- Responsive: tablet --- */
@media (min-width: 701px) and (max-width: 900px) {
  /* Reduce nav gap to fit within 768px */
  .nav-list {
    gap: 18px;
  }
  .nav-link,
  .nav-phone {
    padding: 6px 6px 6px 4px;
  }
  .nav-phone {
    gap: 7px;
  }
  .nav-phone-icon {
    width: 32px;
    height: 32px;
  }
  .nav-phone-svg {
    width: 16px;
    height: 16px;
  }
  /* Tighter grid gaps */
  .audience-layout,
  .why-grid,
  .about-grid,
  .quote-grid {
    gap: 32px;
  }
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    padding: 72px 0;
  }
  .hero-content {
    padding: 72px var(--gutter);
  }
}

/* --- Responsive: small tablet (768px needs compact nav) --- */
@media (min-width: 701px) and (max-width: 780px) {
  .nav-list {
    gap: 8px;
  }
  .nav-link,
  .nav-phone {
    font-size: 13.5px;
    padding: 6px 6px 6px 4px;
    min-width: 44px;
  }
  .nav-cta {
    padding: 10px 12px;
    font-size: 13.5px;
  }
}

/* The About portrait needs a natural full-width tablet stage rather than a
   narrow two-column crop. Other desktop/tablet layout contracts are unchanged. */
@media (min-width: 701px) and (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .about-media {
    height: 420px;
    min-height: 0;
  }
}

/* --- Responsive: mobile (≤700px) --- */
@media (max-width: 700px) {
  :root {
    --scroll-offset: 120px;
  }

  /* Mobile menu */
  .menu-toggle {
    display: inline-flex;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 18px;
    background: rgba(0, 0, 0, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  }
  .nav-list[data-open="true"] {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    min-height: 48px;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(37, 39, 77, 0.5);
    font-size: 16px;
  }
  .nav-phone {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 14px;
    margin: 10px 0 6px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-bottom: 1px solid var(--accent-border);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
  }
  .nav-phone-icon {
    width: 38px;
    height: 38px;
  }
  .nav-phone-svg {
    width: 19px;
    height: 19px;
  }
  .nav-cta {
    margin-top: 8px;
    min-height: 48px;
    padding: 14px 20px;
    text-align: center;
    border-bottom: none;
    border-radius: 10px;
  }

  /* Service gallery: tighten the frame so the photo can use more of the
     narrow viewport, and stack the caption/controls into one column. */
  .service-gallery-dialog {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 14px;
  }
  .service-gallery-frame {
    max-height: calc(100vh - 18px);
  }
  .service-gallery-header {
    padding: 16px 16px 12px;
    gap: 4px 12px;
  }
  .service-gallery-title {
    font-size: 19px;
  }
  .service-gallery-position {
    font-size: 13.5px;
  }
  .service-gallery-image {
    max-height: calc(100vh - 320px);
  }
  .service-gallery-video {
    max-height: calc(100vh - 360px);
  }
  .service-gallery-caption {
    padding: 12px 16px;
    font-size: 14.5px;
  }
  .service-gallery-controls {
    padding: 12px 14px;
    gap: 8px;
  }
  .service-gallery-prev,
  .service-gallery-next,
  .service-gallery-close {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14.5px;
  }
  .service-gallery-close {
    flex: 1 1 100%;
    order: 99;
  }

  /* Logo */
  .brand-logo {
    height: 96px;
  }

  /* Hero */
  .hero {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero-content {
    padding: 56px var(--gutter);
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-subtitle {
    color: #edf0f7;
  }
  .section-title {
    font-size: 30px;
  }
  .section-lead,
  .quote-lead {
    font-size: 16px;
  }
  .hero-image {
    object-position: 60% center;
  }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4,4,8,0.94) 0%, rgba(4,4,8,0.82) 62%, rgba(4,4,8,0.5) 100%),
      linear-gradient(0deg, rgba(3,3,5,0.38), rgba(3,3,5,0.12));
  }

  /* Grids collapse */
  .service-grid,
  .audience-layout,
  .why-grid,
  .about-grid,
  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .audience-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .audience-intro .section-title {
    font-size: 30px;
  }
  .process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 36px;
  }

  /* Media heights */
  .why-media {
    height: 280px;
  }
  .about-media {
    height: 280px;
    min-height: 0;
  }

  /* Floating badge becomes static */
  .why-badge {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

  /* Team */
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .team-figure {
    height: 360px;
  }
  .owner-panel {
    min-height: 0;
    padding: 30px 26px;
  }
  .owner-name {
    font-size: 28px;
  }
  .owner-bio {
    margin-top: 16px;
  }
  .owner-bio p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Footer */
  .footer-logo {
    height: 96px;
  }

  /* About compliance: single column on mobile */
  .about-compliance-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .about-compliance-value {
    font-size: 14px;
  }
  .policy-details {
    grid-template-columns: minmax(0, 1fr);
  }
  .policy-detail--wide {
    grid-column: auto;
  }
}

/* --- Very narrow (≤380px) --- */
@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }
  .hero-title {
    font-size: 32px;
  }
  .section-title {
    font-size: 26px;
  }
  .header-inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .brand-logo {
    height: 88px;
  }
  .quote-panel {
    padding: 24px 20px;
  }
  .section {
    padding: 64px 0;
  }
  .hero-content {
    padding: 48px var(--gutter);
  }
  .team-figure {
    height: 280px;
  }
  .owner-panel {
    padding: 26px 22px;
  }
  .owner-name {
    font-size: 26px;
  }
  .owner-bio p {
    font-size: 15.5px;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Selection --- */
::selection {
  background: var(--accent);
  color: #fff;
}