@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/newsreader-500.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/newsreader-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/newsreader-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-700.woff2") format("woff2");
}

:root {
  --blue: #182946;
  --blue-deep: #0d1b31;
  --orange: #b94e3c;
  --orange-deep: #963c2e;
  --ink: #202b39;
  --muted: #57616b;
  --line: #deded9;
  --paper: #f7f6f2;
  --white: #ffffff;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --header-offset: 7.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  color-scheme: light;
}

body.nav-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--blue);
  line-height: 1.12;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--orange-deep);
}

:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 3px;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--orange-deep);
  color: var(--white);
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

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

.kicker a:hover {
  text-decoration: underline;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 40rem;
}

.deck {
  margin: 0;
  max-width: 40rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}

.measure {
  max-width: 42rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-rule {
  height: 4px;
  background: var(--orange);
}

.topbar {
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.45rem 0;
}

.topbar p {
  margin: 0;
}

.header-bar {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.brand img {
  height: 75px;
  width: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 1.15rem;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 -6px 0 var(--blue), 0 6px 0 var(--blue);
  display: inline-block;
  position: relative;
}

.site-header.is-open .nav-toggle-bars {
  background: transparent;
  box-shadow: none;
}

.site-header.is-open .nav-toggle-bars::before,
.site-header.is-open .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.15rem;
  height: 2px;
  background: var(--blue);
}

.site-header.is-open .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--orange);
}

.banner,
.page-banner {
  width: 100%;
  max-width: none;
  color: var(--white);
  background: var(--blue-deep);
}

.banner-viewport,
.page-banner {
  position: relative;
  overflow: hidden;
}

.banner-viewport {
  height: clamp(26rem, 78vw, 34rem);
  border-bottom: 4px solid var(--orange);
}

.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-copy,
.page-banner-scrim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  background: linear-gradient(to top, rgba(0, 8, 36, 0.86) 0%, rgba(0, 8, 36, 0.42) 38%, rgba(0, 8, 36, 0) 64%);
}

.banner-copy {
  padding: 2rem 1.15rem 6.4rem;
}

.banner-copy-inner {
  width: 100%;
}

.banner-line {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.4;
}

.page-banner {
  min-height: 18rem;
  height: clamp(18rem, 46vw, 26rem);
  border-bottom: 4px solid var(--orange);
}

.page-banner-scrim {
  padding: 1.5rem 0 1.35rem;
}

.page-banner h1 {
  margin: 0;
  max-width: 16em;
  color: var(--white);
  font-size: clamp(2.15rem, 5vw, 3.7rem);
}

.page-banner .kicker {
  color: #ffc7b8;
}

.page-banner .kicker a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.page-banner .crumb-current {
  color: var(--white);
}

.page-lead {
  padding: 1.75rem 0 0;
}

.page-photo {
  margin: 0;
}

.page-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--blue);
}

.page-photo figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.page-photo-wide {
  padding: 1.75rem 0 0;
}

.page-photo-wide img {
  aspect-ratio: 16 / 9;
}

.photo-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.opening {
  padding: 3.5rem 0 4.25rem;
}

.opening-grid {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}

.opening h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  max-width: 12em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border: 2px solid transparent;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-orange {
  background: var(--orange-deep);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-line {
  border-color: var(--blue);
  background: var(--white);
}

.btn-line:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-white:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.slip {
  background: var(--blue);
  color: var(--white);
  padding: 1.5rem 1.4rem 1.35rem;
  border-top: 6px solid var(--orange);
}

.slip-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffc7b8;
}

.slip-co {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
}

.slip-place {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.slip ol {
  list-style: none;
  margin: 1.15rem 0;
  padding: 0;
}

.slip a {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.slip li:last-child a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.slip a span {
  color: #ffc7b8;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.slip a:hover {
  color: #ffd8cc;
}

.slip-foot {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}

.section {
  padding: 4rem 0;
}

.section h2,
.related h2,
.brief h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-intro {
  margin-bottom: 2rem;
  max-width: 40rem;
}

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

.reasons {
  display: grid;
  gap: 0;
}

.reasons article + article {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.reasons h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.55rem;
}

.index-num {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.4rem;
  background: var(--orange-deep);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.service-list {
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.service-row h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.service-row p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.service-go {
  grid-column: 2;
  margin-top: 0.45rem;
  font-weight: 700;
  color: var(--blue);
}

.service-row:hover {
  background: var(--paper);
  color: inherit;
}

.service-row:hover h3,
.service-row:hover .service-go {
  color: var(--orange-deep);
}

.brief {
  background: var(--orange-deep);
  color: var(--white);
  padding: 3rem 0;
}

.brief h2 {
  color: var(--white);
}

.brief-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.brief p {
  max-width: 38rem;
  font-size: 1.1rem;
}

.page-mast {
  background: var(--paper);
  padding: 3.25rem 0 2.75rem;
  border-bottom: 4px solid var(--orange);
}

.page-mast h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  max-width: 16em;
}

.prose a {
  text-underline-offset: 0.16em;
}

.pair {
  display: grid;
  gap: 1rem;
}

.pair article {
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--paper);
  border-top: 4px solid var(--blue);
}

.pair article.invert {
  background: var(--blue);
  color: var(--white);
  border-top-color: var(--orange);
}

.pair h2,
.pair h3 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
}

.pair article.invert h2,
.pair article.invert h3 {
  color: var(--white);
}

.topics {
  display: grid;
  gap: 1.25rem;
}

.topics article {
  border-top: 2px solid var(--blue);
  padding-top: 0.85rem;
}

.topics h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: var(--orange-deep);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  z-index: 1;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 1.42rem;
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

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

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

.steps h3 {
  margin: 0.35rem 0 0.3rem;
  font-size: 1.4rem;
}

.callout {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border-left: 4px solid var(--orange);
}

.band .callout {
  background: var(--white);
}

.parties {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.parties li {
  background: var(--paper);
  padding: 1.2rem 1.15rem 1.3rem;
  border-top: 4px solid var(--orange);
}

.parties li.is-company {
  background: var(--blue);
  color: var(--white);
}

.parties h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.parties li.is-company h3 {
  color: var(--white);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--orange);
}

.related {
  padding: 2.5rem 0 2.75rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.related a {
  font-weight: 700;
  text-decoration: none;
}

.related a:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.address-panel {
  background: var(--blue);
  color: var(--white);
  padding: 1.7rem 1.45rem 1.6rem;
  border-top: 6px solid var(--orange);
}

.address-panel .kicker {
  color: #ffc7b8;
}

.co-name {
  margin: 0 0 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.address-panel address {
  margin: 0;
  font-style: normal;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.3;
}

.panel-note {
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.form-panel {
  border: 1px solid var(--line);
  padding: 1.4rem 1.25rem 1.5rem;
  background: var(--white);
}

.form-panel h2 {
  margin: 0 0 0.55rem;
  font-size: 1.8rem;
}

.fields {
  display: grid;
  gap: 0.95rem;
  margin: 1.1rem 0;
}

.fields label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.fields input,
.fields select,
.fields textarea {
  width: 100%;
  border: 1.5px solid #b7c0d6;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.75rem;
  border-radius: 0;
}

.fields textarea {
  min-height: 9rem;
  resize: vertical;
}

.hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.95rem;
}

.note-result {
  margin-top: 1.25rem;
  padding: 1rem 1rem 1.1rem;
  background: var(--paper);
  border-top: 4px solid var(--blue);
}

.note-result h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.note-text {
  margin: 0.85rem 0;
  padding: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.5;
}

.site-footer address {
  font-style: normal;
}

.footer-address {
  background: var(--blue);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer-address .kicker {
  color: #ffc7b8;
}

.footer-address-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-address address {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
}

.fn {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.footer-note {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.84);
}

.footer-base {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1.75rem;
}

.footer-base-inner {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
}

.footer-base .brand img {
  height: 46px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--orange-deep);
}

.legal {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  .topics {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .pair,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .brief-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 880px) {
  .reasons {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 1.75rem;
  }

  .reasons article + article {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 1.5rem;
  }

  .parties {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .footer-address-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.3fr) auto;
    align-items: center;
  }

  .footer-address-inner .btn {
    justify-self: end;
  }
}

@media (min-width: 800px) {
  .photo-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.85fr);
    gap: 2.5rem;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .banner-viewport {
    height: clamp(28rem, 62vh, 42rem);
  }

  .banner-copy {
    padding: 3rem 0 5.5rem;
  }

  .banner-copy-inner {
    width: min(var(--wrap), calc(100% - 4rem));
    margin-inline: auto;
    padding-right: 22rem;
  }

  .opening {
    padding: 4.5rem 0 5rem;
  }

  .opening-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.72fr);
    gap: 3.5rem;
    align-items: stretch;
  }

  .slip {
    padding: 1.75rem 1.6rem 1.5rem;
  }

  .service-row {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1.6rem 0.6rem;
    margin: 0 -0.6rem;
  }

  .service-go {
    grid-column: auto;
    margin-top: 0;
    text-align: right;
  }

  .footer-base-inner {
    grid-template-columns: auto 1fr;
  }

  .footer-nav ul {
    justify-content: flex-end;
  }

  .legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 4px solid var(--orange);
    box-shadow: 0 16px 30px rgba(0, 16, 144, 0.12);
    max-height: calc(100vh - 6.5rem);
    overflow: auto;
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0 0.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 1.25rem;
    font-size: 1.12rem;
    border-top: 1px solid var(--line);
  }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--orange);
    background: var(--paper);
  }
}

@media (max-width: 400px) {
  .footer-base .brand img {
    height: 46px;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 1.75rem));
  }
}

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

}

@media print {
  .nav-toggle,
  .skip-link,
  .form-panel,
  .brief .btn,
  .actions {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    display: block !important;
    position: static;
    width: auto;
    transform: none;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
  }

  body {
    color: black;
  }
}

/* Refined site-wide layout */
.brand-rule { height: 2px; background: var(--orange); }
.topbar { background: var(--blue-deep); font-size: .7rem; letter-spacing: .14em; }
.topbar-inner { padding: .38rem 0; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.site-header { box-shadow: 0 8px 28px rgba(13, 27, 49, .045); }
.header-inner { min-height: 6.6rem; gap: 2rem; }
.site-nav ul { gap: .15rem .45rem; }
.site-nav a {
    padding: .7rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .015em;
}
.site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--orange); }

.banner-viewport { height: clamp(39rem, 78vh, 53rem); border-bottom: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility 0s linear .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .7s ease; }
.banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.banner-copy { padding: 4rem 0; justify-content: center; background: linear-gradient(90deg, rgba(8, 22, 39, .87) 0%, rgba(8, 22, 39, .69) 40%, rgba(8, 22, 39, .12) 100%); }
.banner-copy-inner { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.banner-copy .kicker { color: #ead2c5; letter-spacing: .2em; }
.banner h1, .banner h2 { max-width: 11ch; margin: 0 0 1.2rem; color: var(--white); font-size: clamp(3.2rem, 5.5vw, 5.6rem); line-height: 1.02; }
.banner-line { max-width: 37rem; margin-bottom: 2rem; color: #f1f1ee; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.banner .btn { gap: 1.75rem; }
.hero-controls { position: absolute; z-index: 4; right: max(2rem, calc((100% - var(--wrap)) / 2)); bottom: 2.5rem; display: flex; align-items: center; gap: .55rem; }
.hero-controls[hidden] { display: none; }
.hero-count { margin-right: .5rem; color: var(--white); font-size: .85rem; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.hero-control { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; padding: 0; border: 1px solid rgba(255, 255, 255, .65); background: rgba(13, 27, 49, .28); color: var(--white); font: inherit; font-size: 1.2rem; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.hero-control:hover { background: var(--orange); border-color: var(--orange); }
.hero-pause { margin-left: .25rem; font-size: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#service, #about { scroll-margin-top: 8rem; }

.opening { padding: clamp(4.5rem, 7vw, 7rem) 0; }
.opening-grid { gap: clamp(2.5rem, 6vw, 6rem); }
.opening h2 { margin: 0 0 1.5rem; max-width: 12ch; font-size: clamp(2.8rem, 4.5vw, 4.7rem); line-height: 1.05; }
.opening-grid > div > p:not(.kicker) { max-width: 42rem; }
.opening .lede { font-size: 1.22rem; color: var(--ink); }
.opening-grid > div > p:not(.kicker):not(.lede) { color: var(--muted); }
.actions { margin-top: 2rem; }
.btn { min-height: 3.25rem; padding: .8rem 1.4rem; border-width: 1px; font-size: .9rem; letter-spacing: .02em; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-orange { background: var(--orange); }
.btn-line { border-color: var(--line); }
.slip { padding: 2.2rem; background: var(--paper); color: var(--ink); border-top: 1px solid var(--orange); }
.slip-kicker { color: var(--orange-deep); }
.slip-co { color: var(--blue); font-size: 1.8rem; }
.slip-place, .slip-foot { color: var(--muted); }
.slip ol { margin: 2rem 0; }
.slip a { padding: 1rem 0; color: var(--blue); border-top-color: var(--line); font-weight: 600; }
.slip li:last-child a { border-bottom-color: var(--line); }
.slip a span { color: var(--orange-deep); }
.slip a:hover { color: var(--orange-deep); }

.section { padding: clamp(4.5rem, 7vw, 7rem) 0; }
.section-intro { max-width: 46rem; margin-bottom: 2.8rem; }
.section h2, .related h2, .brief h2 { font-size: clamp(2.25rem, 3.5vw, 3.5rem); line-height: 1.06; }
.section-intro > p:last-child { color: var(--muted); }
.index-num { min-width: auto; height: auto; padding: 0; background: transparent; color: var(--orange-deep); font-size: .82rem; }
.reasons { gap: 0 2.5rem; }
.reasons article + article { border-color: var(--line); }
.reasons h3 { margin: 1.4rem 0 .7rem; font-size: 1.7rem; }
.reasons p, .topics p, .pair p, .steps p { color: var(--muted); }
.service-list { border-bottom: 1px solid var(--line); }
.service-row { padding-block: 1.8rem; transition: background-color .2s ease; }
.service-row h3 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); }
.service-go { font-size: .88rem; letter-spacing: .02em; }
.service-go::after { content: " ↗"; margin-left: .5rem; }
.brief { padding: clamp(3.5rem, 5vw, 5rem) 0; background: var(--blue-deep); }
.brief p { color: #d9dfe6; }

.page-banner { height: clamp(20rem, 38vw, 31rem); border-bottom: 0; }
.page-banner-scrim { padding: 2.5rem 0; background: linear-gradient(90deg, rgba(8, 22, 39, .84), rgba(8, 22, 39, .18)); }
.page-banner h1 { font-size: clamp(2.15rem, 3.6vw, 3.8rem); max-width: none; }
.page-banner .kicker { color: #ead2c5; }
.page-lead { padding-top: 3.5rem; }
.deck { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.35; font-style: normal; }
.page-mast { padding: 5rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.page-mast h1 { font-size: clamp(3rem, 5vw, 5rem); }
.page-photo-wide { padding-top: 3rem; }
.page-photo figcaption { font-weight: 400; }
.pair article, .parties li { border-top-width: 1px; padding: 2rem; }
.topics article { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.steps li::before { background: var(--blue); }
.callout { border-left-width: 2px; }
.address-panel { background: var(--blue-deep); border-top-width: 2px; border-top-color: var(--orange); padding: 2.2rem; }
.form-panel { padding: 2.2rem; }
.footer-address { padding: 4rem 0; background: var(--blue-deep); }
.footer-base { padding: 2rem 0; }

@media (min-width: 900px) {
  .banner-copy { padding: 4rem 0; }
  .banner-copy-inner { width: min(var(--wrap), calc(100% - 4rem)); padding-right: 0; }
  .opening-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .72fr); }
  .slip { padding: 2.4rem; }
  .service-row { padding: 2.1rem .65rem; }
}

@media (max-width: 1040px) {
  .site-nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--orange); }
  .site-nav { border-bottom-width: 2px; box-shadow: 0 20px 35px rgba(13, 27, 49, .12); }
}

@media (max-width: 680px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner p:first-child { display: none; }
  .header-inner { min-height: 5.4rem; }
  .brand img { height: 52px; }
  .banner-viewport { height: min(48rem, calc(100svh - 6rem)); min-height: 39rem; }
  .banner-image { object-position: 60% center; }
  .banner-copy { padding: 3rem 0; background: linear-gradient(0deg, rgba(8, 22, 39, .94), rgba(8, 22, 39, .48) 80%); justify-content: flex-end; }
  .banner h1, .banner h2 { font-size: clamp(2.9rem, 11vw, 4rem); }
  .banner-copy { padding-bottom: 7rem; }
  .hero-controls { left: max(1.25rem, calc((100% - var(--wrap)) / 2)); right: auto; bottom: 1.5rem; }
  .hero-control { width: 2.8rem; height: 2.8rem; }
  .opening { padding: 4.5rem 0; }
  .opening h2 { font-size: clamp(2.65rem, 11vw, 3.7rem); }
  .slip { padding: 1.8rem; }
  .section { padding: 4.5rem 0; }
  .page-banner { height: 24rem; }
  .page-banner-scrim { background: linear-gradient(0deg, rgba(8, 22, 39, .9), rgba(8, 22, 39, .24)); }
  .page-banner h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .page-lead { padding-top: 2.5rem; }
  .form-panel, .address-panel { padding: 1.65rem; }
}

@media (min-width: 700px) {
  .page-banner h1 { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { transition: none; }
}

/* Reference content layout */
.home .banner h1,
.home .banner h2 {
  max-width: 18ch;
  font-size: clamp(2.75rem, 4.8vw, 5rem);
  line-height: 1.04;
}

.about-section .photo-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.about-section .page-photo img {
  aspect-ratio: 4 / 3;
}

.about-section h2 {
  max-width: 14ch;
}

.why-closing {
  max-width: 52rem;
  margin: 2.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-cards article {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-cards article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.service-cards h3 {
  margin: 0 0 .75rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

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

.service-cards a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.service-cards a span { margin-left: .35rem; }
.measure-wide { max-width: 58rem; }
.service-detail p:first-child { font-size: 1.18rem; }
.service-detail h2 { margin: 2.5rem 0 1.5rem; }
.detail-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.detail-list li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.detail-list strong { color: var(--blue); }

.contact-reference-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-details { background: var(--paper); border-top: 2px solid var(--orange); padding: 2rem; }
.contact-details h2 { font-size: 1.7rem; }
.contact-details address { font-style: normal; line-height: 1.8; }
.contact-details > div + div { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-details a { font-weight: 600; overflow-wrap: anywhere; }
.contact-reference-grid .form-panel,
.enquiry-layout .form-panel { border: 0; padding: 0; }
.enquiry-layout { max-width: 58rem; }
.fields.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.4rem; }
.message-form .fields { margin: 1.2rem 0; }
.message-form .fields label { font-weight: 600; }
.message-form select { appearance: auto; }
.message-form input[type="file"] { padding: .6rem; }
.form-status { margin: .8rem 0 0; min-height: 1.5em; color: var(--muted); }

.ref-footer { background: var(--blue-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
.ref-footer h2 { margin: 0 0 1rem; color: var(--white); font-size: 1.45rem; }
.ref-footer p,
.ref-footer address { margin: 0; color: #d5dce5; font-style: normal; font-size: .98rem; }
.ref-footer address strong { color: var(--white); font-weight: 600; }
.ref-footer ul { list-style: none; margin: 0; padding: 0; }
.ref-footer li + li { margin-top: .6rem; }
.ref-footer a { color: #d5dce5; text-decoration: none; }
.ref-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-copyright { border-top: 1px solid rgba(255,255,255,.15); padding: 1.1rem 0; color: #bfc8d3; font-size: .85rem; }

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

@media (max-width: 680px) {
  .topbar-inner p:first-child { display: block; }
  .topbar-inner p:last-child { display: none; }
  .home .banner h1,
  .home .banner h2 { max-width: 17ch; font-size: clamp(2.3rem, 9vw, 3.3rem); }
  .about-section .photo-split,
  .contact-reference-grid,
  .fields.two-col { grid-template-columns: 1fr; }
  .service-cards,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
}
