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

/* =========================================================
   Brand tokens
========================================================= */
:root {
  /* Spacing */
  --xs: 8px;
  --s: 16px;
  --m: 24px;
  --l: 40px;
  --xl: 64px;
  --xxl: 96px;
  --xxxl: 144px;

  /* Colours */
  --accent: #d61a1a;
  --ink: #161616;
  --muted: #5e5e5e;
  --line: #e8e8e8;
  --soft: #f6f6f6;
  --bg: #ffffff;

  /* Type */
  --h1: 40px;
  --h2: 22px;
  --h3: 16px;
  --body: 16px;
  --lede: 18px;
  --micro: 13px;

  /* Layout */
  --container: 1040px;
}

/* =========================================================
   Base
========================================================= */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(214, 26, 26, 0.65);
  text-underline-offset: 3px;
}

.muted { color: var(--muted); }
.micro { font-size: var(--micro); }

.measure {
  max-width: 760px;
  margin: 0 auto;
}

/* =========================================================
   Containers
========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(24px, 6vw, 200px);
  padding-right: clamp(24px, 6vw, 200px);
}

.container.narrow { max-width: 720px; }
.container.medium { max-width: 800px; }

.section {
  padding: var(--xxl) 0;
}

/* =========================================================
   Divider
========================================================= */
.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* =========================================================
   Masthead
========================================================= */
.masthead {
  padding: 56px 0 28px;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--xl);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--m);
}

.brand-logo {
  width: 160px;
  height: auto;
}

.brand-text .descriptor {
  font-size: 15px;
  margin-top: 2px;
}

.brand-text .details {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 560px;
}

.contact {
  text-align: right;
  max-width: 280px;
  line-height: 1.35;
}

.contact-strong a {
  font-weight: 700;
}

.nav {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.nav a {
  margin-right: 34px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(214, 26, 26, 0.85);
  text-underline-offset: 6px;
}
/* Nav layout: left links + right support */
.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

/* Preserve left spacing exactly */
.nav-left a:last-child {
  margin-right: 0;
}

/* Right-aligned support link */
.nav-right {
  margin-left: auto;
}

/* Support link styling */
.nav-support {
  margin-right: 0;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 26, 26, 0.4);
  padding-bottom: 2px;
}

.nav-support:hover {
  border-bottom-color: rgba(214, 26, 26, 0.8);
}


/* =========================================================
   Opening (hero)
========================================================= */
.opening {
  position: relative;

  background-image:
    linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)),
    url("../assets/opening-bg.jpg");

  background-size: cover;
  background-position: center 25%;

  min-height: 560px;
  padding: var(--xl) 0;

  display: flex;
  align-items: center;

  border-top: 1px solid var(--line);
}

.opening .measure {
  background: rgba(255,255,255,0.65);
  padding: 32px 36px;
  max-width: 680px;
  border-left: 4px solid rgba(214,26,26,0.22);
}

.opening .lede {
  font-size: var(--lede);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #111;
}

.opening .lede:first-of-type {
  font-weight: 600;
}

.opening .lede + .lede {
  margin-top: 16px;
}

/* Opening focal adjustments */
@media (min-width: 1600px) {
  .opening { background-position: center 30%; }
}

@media (max-width: 1024px) {
  .opening { background-position: center 20%; }
}

@media (max-width: 480px) {
  .opening {
    min-height: 360px;
    padding: var(--l) 0;
    background-position: center 15%;
  }

  .opening .measure {
    padding: 22px 20px;
  }
}

/* =========================================================
   Section headers
========================================================= */
.section-head {
  margin-bottom: 28px;
}

h2 {
  font-size: var(--h2);
}

.subhead {
  margin-top: var(--s);
  color: var(--muted);
  max-width: 760px;
}

/* =========================================================
   Services
========================================================= */
.services-wrap {
  max-width: 900px;
}

.service-item {
  position: relative;
  padding-left: 28px;
  margin-top: 32px;
  border-left: 3px solid rgba(214,26,26,0.14);
}

.service-item h3 {
  font-size: var(--h3);
  margin-bottom: 10px;
}

.service-item p {
  color: var(--muted);
  max-width: 72ch;
}

.service-item .micro a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--accent);
}

.service-item:not(:last-child) {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
/* Services page: reduce checklist feel (desktop only) */
@media (min-width: 900px) {
  .service ul {
    columns: 2;
    column-gap: 56px;
    margin-top: var(--m);
  }

  .service li {
    break-inside: avoid;
  }
}



/* =========================================================
   Proof strip
========================================================= */
.proof-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  padding: var(--l);
  max-width: 760px;
}

.proof-box p {
  color: var(--muted);
}

/* =========================================================
   How we work
========================================================= */
.how-we-work-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--xl);
  align-items: start;
}

.how-we-work .section-head {
  margin-bottom: 0;
  position: sticky;
  top: var(--l);
}

.how-we-work-content p {
  margin-top: var(--m);
  color: var(--muted);
}

.how-we-work-content p:first-of-type {
  margin-top: 0;
}

.how-we-work .micro {
  margin-top: var(--l);
}

.how-we-work .micro a {
  color: var(--accent);
}

@media (max-width: 768px) {
  .how-we-work-grid {
    grid-template-columns: 1fr;
    gap: var(--l);
  }

  .how-we-work .section-head {
    position: static;
  }
}

/* =========================================================
   How to start
========================================================= */
.how-to-start-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--xl);
  align-items: start;
}

.how-to-start .section-head {
  margin-bottom: 0;
  position: sticky;
  top: var(--l);
}

@media (max-width: 768px) {
  .how-to-start-grid {
    grid-template-columns: 1fr;
    gap: var(--l);
  }

  .how-to-start .section-head {
    position: static;
  }
}

/* =========================================================
   Steps (timeline)
========================================================= */
.steps {
  list-style: none;
  display: grid;
  gap: 0;
  position: relative;
}

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--m);
  position: relative;
  padding-bottom: var(--l);
}

.steps li:last-child {
  padding-bottom: 0;
}

/* Vertical line connecting steps */
.steps li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.steps li:last-child::before {
  display: none;
}

/* Arrow between steps */
.steps li::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 12px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
}

.steps li:last-child::after {
  display: none;
}

.step-no {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--accent);
  font-weight: 700;
  font-size: var(--micro);
  position: relative;
  z-index: 1;
}

.step-text {
  color: var(--muted);
  padding-top: 6px;
}

/* =========================================================
   Contact closure
========================================================= */
.contact-closure-box {
  border-left: 3px solid var(--accent);
  padding-left: var(--l);
  max-width: 480px;
}

.contact-prompt {
  font-size: var(--h3);
  color: var(--muted);
  margin-bottom: var(--s);
}

.contact-details {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.4;
}

.contact-link {
  color: var(--ink);
}

.contact-link:hover {
  color: var(--accent);
}

.contact-sep {
  color: var(--muted);
  font-weight: 400;
  margin: 0 0.3em;
}

.contact-closure .micro {
  margin-top: var(--m);
}

/* =========================================================
   Footer
========================================================= */
.footer {
  padding: var(--xl) 0 var(--l);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--l);
}

.footer-info p + p {
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: var(--m);
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--m);
  }
}

/* =========================================================
   Mobile (general)
========================================================= */
@media (max-width: 480px) {
  .masthead {
    padding: 24px 0 16px;
  }

  .masthead-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact {
    text-align: left;
  }

  .nav a {
    margin-right: 18px;
  }

  .section {
    padding: var(--xl) 0;
  }

}
/* =========================================================
   Services grid
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: auto auto;
  gap: 40px 72px;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 821px) {
  .services-grid .service-item {
    margin-top: 0;
    border-left: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    min-height: 170px;
  }

  .services-grid .service-item:not(:last-child) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .services-grid .service-item::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: rgba(214, 26, 26, 0.35);
    margin-bottom: 14px;
  }

  .services-grid .service-item .micro {
    margin-top: auto;
    padding-top: 14px;
  }
}

@media (max-width: 820px) {
  .services-grid {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 26px;
  }

  .services-grid .service-item:not(:last-child) {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
  }

  .services-grid .service-item {
    padding-left: 18px;
  }
}
/* =========================================================
   Partners
========================================================= */
.partners .section-head {
  margin-bottom: 18px;
}

.partner-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.partner-rail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
}

.partner-track {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Each logo tile */
.partner {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 64px;
  min-width: 160px;
  padding: 10px 14px;

  border-left: 3px solid rgba(214, 26, 26, 0.12);
}

.partner img {
  display: block;
  max-height: 44px;
  max-width: 180px;
  width: auto;
  height: auto;

  filter: grayscale(1) contrast(0.95);
  opacity: 0.85;
  transition: filter 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.partner:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 600px) {
  .partner-track {
    gap: 24px;
    padding: 0 20px;
  }

  .partner {
    min-width: 120px;
    height: 54px;
  }

  .partner img {
    max-height: 34px;
    max-width: 140px;
  }
  .nav {
  flex-wrap: wrap;
}

.nav-right {
  width: 100%;
  margin-top: 8px;
}

}


/* =========================================================
   Services page
========================================================= */

/* Kicker — small label above section intros */
.kicker {
  font-size: var(--micro);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--m);
}

/* Horizontal rule — chapter break */
.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--xxl) 0;
}

/* Services intro — two-column layout */
.services-intro {
  padding-top: var(--xxl);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: baseline;
  position: relative;
}

.services-intro-grid::before {
  content: "";
  position: absolute;
  left: 224px;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: rgba(214, 26, 26, 0.12);
}

.services-intro .kicker {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 0;
}

.services-intro-content p {
  font-size: var(--body);
  line-height: 1.65;
  color: var(--muted);
  max-width: 700px;
}

.services-intro-content p + p {
  margin-top: var(--s);
}

/* Lead sentence — subtle emphasis */
.lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

@media (max-width: 820px) {
  .services-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--m);
  }

  .services-intro-grid::before {
    display: none;
  }
}

/* Individual service sections — constrained prose width, list styling */
.service {
  max-width: 700px;
}

.service h2 {
  margin-bottom: var(--m);
}

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

.service p + p {
  margin-top: var(--s);
}

.service ul {
  margin-top: var(--s);
  padding-left: var(--s);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.service li {
  margin-top: 6px;
}

.service li::marker {
  color: rgba(214, 26, 26, 0.5);
  font-size: 12px;
}

/* Service group — two-column layout for related services */
.service-group-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: baseline;
  position: relative;
}

.service-group-grid::before {
  content: "";
  position: absolute;
  left: 224px;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: rgba(214, 26, 26, 0.12);
}

.service-group-label {
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-group-number {
  font-size: var(--micro);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.service-group-content .service + .service {
  margin-top: var(--xl);
  padding-top: var(--xl);
  border-top: 1px solid var(--line);
}

.service-group-content .service h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: var(--s);
}

@media (max-width: 820px) {
  .service-group-grid {
    grid-template-columns: 1fr;
    gap: var(--m);
  }

  .service-group-grid::before {
    display: none;
  }
}

/* Service group flipped — title on right */
.service-group--flipped .service-group-grid {
  grid-template-columns: 1fr 200px;
}

.service-group--flipped .service-group-grid::before {
  left: auto;
  right: 224px;
}

.service-group--flipped .service-group-label {
  text-align: right;
}

@media (max-width: 820px) {
  .service-group--flipped .service-group-grid {
    grid-template-columns: 1fr;
  }

  .service-group--flipped .service-group-label {
    text-align: left;
  }
}

/* Service group tinted — full-width background band */
.service-group--tinted {
  position: relative;
}

.service-group--tinted::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--soft);
  z-index: -1;
}

/* Service group side-by-side — two services in columns */
.service-group--side-by-side .service-group-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--xl);
}

.service-group--side-by-side .service-group-title {
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
}

.service-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xl);
}

.service-pair .service {
  padding-left: var(--m);
  border-left: 1px solid rgba(214, 26, 26, 0.15);
}

.service-pair .service h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: var(--s);
}

@media (max-width: 820px) {
  .service-pair {
    grid-template-columns: 1fr;
    gap: var(--l);
  }
}

/* Service feature — prominent single service with accent bar */
.service-feature {
  position: relative;
}

.service-feature-inner {
  max-width: 700px;
  padding-left: var(--l);
  border-left: 3px solid var(--accent);
}

.service-feature-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--l);
}

.service-feature-inner h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: var(--m);
}

.service-feature-inner p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.service-feature-inner p + p {
  margin-top: var(--s);
}

/* Service centered — minimal centered layout */
.service-centered {
  text-align: center;
}

.service-centered-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--l);
}

.service-centered-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.service-centered-content h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: var(--m);
  text-align: center;
}

.service-centered-content p {
  color: var(--muted);
}

.service-centered-content p + p {
  margin-top: var(--s);
}

/* Shared title styling for new layouts */
.service-group-title {
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
}

/* Contact within service-group layout */
.service-group-content .contact-details {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--s);
  padding-left: var(--m);
  border-left: 3px solid var(--accent);
}

.service-group-content .contact-link {
  color: var(--ink);
}

.service-group-content .contact-link:hover {
  color: var(--accent);
}

.service-group-content .contact-sep {
  color: var(--muted);
  font-weight: 400;
  margin: 0 0.3em;
}

/* =========================================================
   About page
========================================================= */

/* About intro — two-column with image */
.about-intro {
  padding-top: var(--xxl);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--xl);
  align-items: start;
}

.about-intro-content .kicker {
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
  margin-bottom: var(--m);
}

.about-intro-content p {
  color: var(--muted);
  max-width: 600px;
}

.about-intro-content p + p {
  margin-top: var(--s);
}

.about-intro-image img {
  width: 100%;
  height: auto;
  filter: grayscale(20%);
}

.about-caption {
  margin-top: var(--s);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-caption-name {
  font-weight: 600;
  font-size: 15px;
}

.about-caption-role {
  font-size: var(--micro);
  color: var(--muted);
}

@media (max-width: 820px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--l);
  }

  .about-intro-image {
    max-width: 280px;
  }
}

/* About timeline */
.about-timeline-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: baseline;
  position: relative;
}

.about-timeline-grid::before {
  content: "";
  position: absolute;
  left: 224px;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: rgba(214, 26, 26, 0.12);
}

.about-timeline-label {
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
}

.timeline {
  max-width: 600px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--m);
  padding: var(--s) 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:first-child {
  padding-top: 0;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item dt {
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
}

.timeline-item dd {
  color: var(--muted);
}

@media (max-width: 820px) {
  .about-timeline-grid {
    grid-template-columns: 1fr;
    gap: var(--m);
  }

  .about-timeline-grid::before {
    display: none;
  }
}

/* About clients */
.about-clients-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: baseline;
  position: relative;
}

.about-clients-grid::before {
  content: "";
  position: absolute;
  left: 224px;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: rgba(214, 26, 26, 0.12);
}

.about-clients-label {
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
}

.about-clients-content {
  max-width: 600px;
}

.client-quote {
  padding: var(--m) 0;
  border-bottom: 1px solid var(--line);
}

.client-quote:first-child {
  padding-top: 0;
}

.client-quote:last-child {
  border-bottom: none;
}

.client-quote p {
  color: var(--ink);
  font-style: italic;
  margin-bottom: var(--xs);
}

.client-quote cite {
  font-size: var(--micro);
  font-style: normal;
  color: var(--muted);
}

@media (max-width: 820px) {
  .about-clients-grid {
    grid-template-columns: 1fr;
    gap: var(--m);
  }

  .about-clients-grid::before {
    display: none;
  }
}

/* About location */
.about-location {
  position: relative;
}

.about-location-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: baseline;
  position: relative;
}

.about-location-grid::before {
  content: "";
  position: absolute;
  left: 224px;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: rgba(214, 26, 26, 0.12);
}

.about-location-label {
  font-size: 20px;
  font-weight: 550;
  color: var(--ink);
}

.about-location-content {
  max-width: 600px;
}

.location-address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: var(--s);
}

.location-note {
  margin-bottom: var(--m);
}

.location-map {
  margin-top: var(--m);
}

.location-map iframe {
  display: block;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.9;
}

.location-map iframe:hover {
  filter: grayscale(50%);
  opacity: 1;
}

@media (max-width: 820px) {
  .about-location-grid {
    grid-template-columns: 1fr;
    gap: var(--m);
  }

  .about-location-grid::before {
    display: none;
  }
}
/* =========================================================
   Contact page (minimal, editorial)
========================================================= */
.page-title {
  font-size: var(--h1);
  line-height: 1.2;
  font-weight: 650;
  margin-top: 6px;
}

.contact-intro .section-head {
  max-width: 760px;
}
/* Tighten spacing between contact intro and form */
.contact-intro + .rule {
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
/* Reduce top padding of contact intro only */
.contact-intro {
  padding-top: 40px;
}
.contact-intro + .rule {
  margin-top: 32px;
  margin-bottom: 32px;
}


.h2 {
  font-size: var(--h2);
  font-weight: 650;
  margin-bottom: 14px;
}

.form {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.4;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(214, 26, 26, 0.45);
}

.form-actions {
  margin-top: 6px;
}

.button-plain {
  appearance: none;
  border: 1px solid rgba(214, 26, 26, 0.45);
  background: transparent;
  color: var(--accent);
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 650;
  cursor: pointer;
}

.button-plain:hover {
  border-color: rgba(214, 26, 26, 0.75);
}

.map-embed {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .map-embed iframe {
    height: 320px;
  }
}
/* ============================
   Nav: resources dropdown
============================ */

.nav-right {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

/* Resources toggle */
.nav-resources {
  position: relative;
}

.nav-resources-toggle {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

/* Optional: keep hover colour change (does NOT open menu) */
.nav-resources-toggle:hover {
  color: var(--ink);
}

/* Dropdown menu */
.nav-resources-menu {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  right: 0;
  min-width: 220px;

  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 0;

  display: none;
  z-index: 999;
}

/* Open dropdown ONLY when clicked/focused (no hover-open) */
.nav-resources:focus-within .nav-resources-menu {
  display: block;
}

/* Links inside dropdown */
.nav-resources-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--muted);
  text-transform: none;
}

.nav-resources-menu a:hover {
  color: var(--ink);
  background: rgba(0,0,0,0.03);
}

/* Mobile handling */
@media (max-width: 480px) {
  .nav-right {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-resources-menu {
    position: static;
    border: none;
    padding: 6px 0 0;
  }
}
/* =========================================================
   Back to top
========================================================= */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;

  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;

  background: transparent;
  border: 1px solid rgba(214, 26, 26, 0.4);
  padding: 8px 12px;

  color: var(--accent);
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
}

.back-to-top:hover {
  border-color: rgba(214, 26, 26, 0.8);
}

/* Visible state */
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   Services page — new design (sv- prefix)
========================================================= */

/* Hero intro */
.sv-hero {
  padding: var(--xxl) 0 var(--xl);
  border-bottom: 1px solid var(--line);
}

.sv-hero-label {
  display: block;
  font-size: var(--micro);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s);
}

.sv-hero-title {
  font-size: 42px;
  font-weight: 650;
  line-height: 1.15;
  margin-bottom: var(--m);
}

.sv-hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}

/* Service blocks — alternating layout */
.sv-block {
  padding: var(--xxl) 0;
}

.sv-block--alt {
  position: relative;
}

.sv-block--alt::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--soft);
  z-index: -1;
}

.sv-block-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--xl);
  align-items: start;
}

.sv-block-grid--reverse {
  grid-template-columns: 1fr 80px;
}

.sv-block-grid--reverse .sv-block-number {
  order: 2;
  text-align: right;
}

.sv-block-number {
  font-size: 48px;
  font-weight: 700;
  color: rgba(214, 26, 26, 0.15);
  line-height: 1;
  letter-spacing: -2px;
}

.sv-block-content {
  max-width: 640px;
}

.sv-block-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--m);
}

.sv-block-intro {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: var(--m);
}

.sv-block-details p {
  color: var(--muted);
  line-height: 1.65;
}

.sv-block-details p + p {
  margin-top: var(--s);
}

/* Featured service — prominent centered section */
.sv-feature {
  position: relative;
  padding: var(--xxl) 0;
  overflow: hidden;
}

.sv-feature-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--ink);
  z-index: -1;
}

.sv-feature-inner {
  max-width: 640px;
  padding-left: var(--l);
  border-left: 3px solid var(--accent);
}

.sv-feature-number {
  display: block;
  font-size: var(--micro);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: var(--m);
}

.sv-feature h2 {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--m);
}

.sv-feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.sv-feature p + p {
  margin-top: var(--s);
}

/* Wide section — three-column layout */
.sv-wide {
  padding: var(--xxl) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sv-wide-header {
  display: flex;
  align-items: baseline;
  gap: var(--m);
  margin-bottom: var(--xl);
}

.sv-wide-number {
  font-size: var(--micro);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.sv-wide h2 {
  font-size: 24px;
  font-weight: 600;
}

.sv-wide-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--xl);
}

.sv-wide-col {
  padding-left: var(--m);
  border-left: 1px solid rgba(214, 26, 26, 0.2);
}

.sv-wide-col p {
  color: var(--muted);
  line-height: 1.65;
}

/* Contact closure */
.sv-contact {
  padding: var(--xxl) 0;
}

.sv-contact-inner {
  max-width: 480px;
}

.sv-contact-label {
  font-size: var(--micro);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s);
}

.sv-contact-details {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--s);
}

.sv-contact-details a {
  color: var(--ink);
}

.sv-contact-details a:hover {
  color: var(--accent);
}

.sv-contact-details span {
  color: var(--muted);
  font-weight: 400;
  margin: 0 0.3em;
}

.sv-contact-note {
  font-size: 15px;
  color: var(--muted);
}

/* Mobile responsive */
@media (max-width: 820px) {
  .sv-hero-title {
    font-size: 32px;
  }

  .sv-block-grid,
  .sv-block-grid--reverse {
    grid-template-columns: 1fr;
    gap: var(--m);
  }

  .sv-block-grid--reverse .sv-block-number {
    order: 0;
    text-align: left;
  }

  .sv-block-number {
    font-size: 36px;
  }

  .sv-wide-columns {
    grid-template-columns: 1fr;
    gap: var(--l);
  }

  .sv-contact-details {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .sv-hero {
    padding: var(--xl) 0 var(--l);
  }

  .sv-hero-title {
    font-size: 28px;
  }

  .sv-block {
    padding: var(--xl) 0;
  }

  .sv-feature {
    padding: var(--xl) 0;
  }

  .sv-wide {
    padding: var(--xl) 0;
  }

  .sv-contact {
    padding: var(--xl) 0;
  }
}

/* =========================================================
   Home quotes — rotating testimonials
========================================================= */
.home-quotes {
  position: relative;
}

.home-quotes-label {
  font-size: var(--micro);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--l);
}

.home-quotes-carousel {
  position: relative;
}

.home-quote {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: var(--xl);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.home-quote.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.home-quote-text {
  max-width: 600px;
}

.home-quote-text p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin-bottom: var(--m);
}

.home-quote-text cite {
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  display: block;
}

.home-quote-text cite::before {
  content: "— ";
  color: var(--accent);
}

/* Client image — circular with red border */
.home-quote-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}

.home-quote-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

/* Navigation dots */
.home-quotes-dots {
  display: flex;
  gap: 10px;
  margin-top: var(--l);
}

.home-quotes-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-quotes-dot:hover {
  border-color: var(--muted);
}

.home-quotes-dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 700px) {
  .home-quote {
    grid-template-columns: 1fr;
    gap: var(--m);
  }

  .home-quote-image {
    width: 80px;
    height: 80px;
    order: -1;
  }

  .home-quote-text p {
    font-size: 18px;
  }
}
