/* ============================================
   sections.css — Section-specific styles
   ============================================ */
.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--surface-header);
  border-bottom-color: var(--header-border);
}
.header-inner {
  height: 98px;
  /* Same width as .container (base.css:44). These were 1320px and 1200px with
     the same 56px gutter, so on every viewport above ~1200px the logo, nav and
     section headings sat on left edges 60px apart — a visible seam down the
     whole page. Both now resolve from --container. */
  /* The header is itself inset by 8px on each side, so the inner gutter is
     40px (20 + 8 + 8) to land on the same 28px page seam as `.container`. */
  width: min(var(--container), calc(100% - 40px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand {
  display: block;
  width: 250px;
  max-width: 48%;
  flex: 0 1 250px;
}
.brand img {
  width: 100%;
  height: auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.primary-nav>a:not(.nav-cta) {
  transition: color var(--duration-fast);
}
.primary-nav>a:not(.nav-cta):hover {
  color: var(--accent-text);
}
.nav-cta {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--red);
  color: #fff;
  transition: background var(--duration-fast);
}
.nav-cta:hover, .button-red:hover {
  background: var(--red-dark);
}
.nav-cta span {
  padding-left: 12px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
  color: var(--hero-text);
  min-height: 720px;
  padding-top: var(--space-3xl);
  transition: background-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.hero:before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--hero-background);
  transition: background var(--duration-medium) ease;
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -30%;
  width: 62vw;
  aspect-ratio: 1;
  border: 1px solid var(--hero-ring);
  border-radius: 50%;
  box-shadow: var(--hero-orbit-shadow);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .12;
  background-image: linear-gradient(var(--hero-grid-lines) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-lines) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent 15%, #000 100%);
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  min-height: 660px;
  gap: var(--space-xl);
  padding-block: calc(var(--space-2xl) + 24px) var(--space-4xl);
}
.hero-copy {
  max-width: 610px;
  position: relative;
  z-index: 1;
}
/* The display face, one theme for every display heading. The *size* is set per
   heading below, because the hero's line height is a poster and the section
   headings sit in narrower columns. */
.hero h1, .section-heading h2, .approach-copy h2, .contact-copy h2, .not-found h1 {
  font-family: var(--font-display);
  line-height: .91;
  letter-spacing: -.02em;
  text-transform: uppercase;
  font-weight: 800;
  margin: var(--space-md) 0 var(--space-md);
}
/* One continuous expression, not one per breakpoint. The old ladder stepped at
   1000/760/430/370 and left 761–900 with desktop type in a 386px column; a
   clamp interpolates every width between its bounds instead. The ceiling is the
   designed desktop size, the floor is the smallest that fits a 320px phone, and
   responsive.css raises both with container units where they are supported. */
.hero h1 {
  font-size: clamp(44px, 7.1vw, 98px);
}
.hero h1 span {
  color: var(--accent-text);
}
.hero-lead {
  max-width: 460px;
  font-size: var(--text-lead);
  line-height: 1.8;
  color: var(--hero-muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: var(--space-lg);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-2xl);
  color: var(--hero-muted);
  font-family: var(--font-display);
  font-size: var(--text-md);
  letter-spacing: .15em;
}
.note-line {
  width: 34px;
  height: 2px;
  background: var(--red);
}
.hero-visual {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(100%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
}
.visual-orbit {
  position: absolute;
  border: 1px solid var(--hero-ring);
  border-radius: 50%;
}
.orbit-one {
  width: 77%;
  height: 77%;
}
.orbit-two {
  width: 100%;
  height: 100%;
  border-style: dashed;
  opacity: .45;
}
.visual-core {
  position: relative;
  z-index: 1;
  width: 56%;
  /* `aspect-ratio: 1` only sets the height when one axis is `auto`, and as a
     grid item the automatic minimum size (min-height: auto) was overriding it
     with the logo's 294px attribute height — stretching this to 295x224px, an
     ellipse, with the shield overflowing the top and bottom of its own circle.
     `min-height: 0` removes that content-based floor so the ratio wins. */
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  /* Guarantees a clean circular clip whatever asset is dropped in. */
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 80px rgba(198, 40, 40, .24);
  transition: background-color var(--duration-medium) ease, border-color var(--duration-medium) ease;
}
.visual-core img {
  /* Sized from its height, not its width. The shield is a tall asset
     (intrinsic 111x150), so a percentage *width* made it derive a height that
     overflowed the circle. `width: auto` + `object-fit: contain` keeps the
     intrinsic ratio, and `place-items: center` on .visual-core centres it on
     both axes. The max-width is a guard for a future wide asset. */
  width: auto;
  height: 68%;
  max-width: 74%;
  max-height: 80%;
  object-fit: contain;
  mix-blend-mode: normal;
  opacity: 1;
}
.visual-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: .16em;
}
.visual-label span {
  color: var(--accent-text);
  font-size: var(--text-xs);
}
.label-top {
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
}
.label-right {
  right: -1%;
  top: 49%;
  transform: translateY(-50%);
}
.label-bottom {
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
}
.label-left {
  left: -1%;
  top: 49%;
  transform: translateY(-50%);
}
.hero-bottom {
  height: 49px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--hero-ring);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(28px, calc((100% - var(--container))/2));
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: .2em;
  color: var(--hero-muted);
}
.hero-bottom span:nth-child(2) {
  color: var(--hero-text);
}
.hero-bottom span:last-child {
  color: var(--accent-text);
}
.trust-strip {
  background: var(--red);
  color: #fff;
}
.trust-inner {
  min-height: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: .14em;
}
.trust-inner ul {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-inner li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  border-right: 1px solid color-mix(in srgb, var(--surface) 22%, transparent);
  font-size: var(--text-base);
}
.trust-inner li:last-child {
  border: 0;
}
.section {
  padding: var(--space-4xl) 0;
}
.services-section {
  background: var(--surface-soft);
  transition: background-color var(--duration-medium) ease;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}
/* The heading column is a `container-type: inline-size` container
   (responsive.css), and inline-size containment gives an element an intrinsic
   inline size of *zero*. As a flex item with `flex-basis: auto` it therefore
   collapsed to 0px at every width above 900 — measured 0px at 901, 1024 and
   1440 — and because the h2 is sized in `cqi` against that column it fell to
   the clamp's floor and wrapped one word per line (measured five lines at 34px
   on a 1440 page). Growing it into the free space is the fix; the block layout
   used at 900 and below never reads these two properties. */
.section-heading > div {
  flex: 1 1 0;
  min-width: 0;
}
.eyebrow-dark {
  color: var(--accent-text);
}
.section-heading h2, .approach-copy h2 {
  /* Sized against the column it sits in, not the viewport: at 768 the section
     heading is full width and the approach copy is not, and one vw value cannot
     be right for both. See the container-query block in responsive.css. */
  font-size: clamp(36px, 3.9vw + 14px, 64px);
  line-height: .97;
  margin: 19px 0 0;
}
.section-heading h2 span {
  color: var(--accent-text);
}
.section-intro {
  max-width: 360px;
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.85;
  margin: 0 0 5px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* The gap is what separates the cards. Previously this grid carried its own
     top and bottom rules and each card carried a right-hand divider, which
     joined them into one ruled table row. --space-xs (8px) keeps the four cards
     reading as a set while still giving each one its own edge. */
  gap: var(--space-xs);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 var(--space-xs);
}
.service-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 20px;
}
.service-card>a {
  margin-top: auto;
  /* Clears the 24px minimum target of WCAG 2.5.8 without relying on the
     spacing exception, which only holds while the copy stays on one line. */
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--accent-text);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.service-card>a span {
  padding-left: 7px;
  font-size: var(--text-base);
}
.approach-section {
  background: var(--surface-contrast);
  color: var(--surface-contrast-text);
  padding: var(--space-4xl) 0;
  transition: background-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: var(--space-2xl);
  /* Gives the .approach-art hover tilt depth now that it rotates via the
     independent `rotate` property, which has no perspective of its own. */
  perspective: 1200px;
}
.approach-art {
  position: relative;
  width: 100%;
  min-height: 385px;
  border: 1px solid var(--surface-contrast-border);
  background: radial-gradient(ellipse at center, rgba(198, 40, 40, .1), transparent 67%), var(--surface-contrast-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color var(--duration-medium) ease, border-color var(--duration-medium) ease;
}
.approach-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198, 40, 40, .08), transparent 58%);
  pointer-events: none;
}
.approach-art .approach-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  padding: 50px 24px;
}
.approach-art .approach-feature img {
  width: clamp(105px, 16vw, 170px);
  height: auto;
  object-fit: contain;
}
.approach-feature p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: .08em;
  font-weight: 800;
}
.approach-feature p span {
  color: var(--accent-text);
}
.art-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px var(--space-sm);
  background: var(--surface-soft);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: .18em;
}
.approach-copy .eyebrow {
  margin: 0;
}
.approach-copy h2 {
  margin: var(--space-md) 0;
  color: var(--surface-contrast-text);
}
.approach-copy h2 span {
  color: var(--accent-text);
}
.approach-copy>p:not(.eyebrow) {
  max-width: 490px;
  color: var(--surface-contrast-muted);
  font-size: var(--text-base);
  line-height: 1.9;
}
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-soft);
  color: var(--surface-contrast-text);
  padding: var(--space-4xl) 0;
  transition: background-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.contact-glow {
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -30%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(198, 40, 40, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(198, 40, 40, .035), 0 0 0 160px rgba(198, 40, 40, .025);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: var(--space-2xl);
  align-items: start;
}
.contact-copy {
  grid-column: 1;
  grid-row: 1;
}
.contact-copy h2 {
  font-size: clamp(36px, 4vw + 8px, 64px);
  line-height: .97;
  margin: var(--space-md) 0;
}
.contact-copy h2 span {
  color: var(--accent-text);
}
.contact-copy>p:not(.eyebrow) {
  max-width: 375px;
  color: var(--surface-contrast-muted);
  font-size: var(--text-base);
  line-height: 1.8;
}
.contact-details {
  grid-column: 1;
  grid-row: 2;
  max-width: 470px;
}

/* The failed-enquiry anchor is focused by the post-redirect fragment. Keep it
   clear of the fixed header rather than letting the first line sit under it. */
#form-message {
  scroll-margin-top: calc(var(--space-2xl) + var(--space-md));
}
.contact-details dl {
  margin: 0;
  /* One grid for the whole list, so every label shares one column width and
     every value starts on the same vertical line. The rows opt into it with
     `subgrid` below; without subgrid each row sizes its own label column and
     the values stop lining up (which is exactly what happened when the column
     was `max-content` per row). */
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  column-gap: 12px;
}
/* <address> carries a UA default font-style: italic, which was italicising
   every label and value in the contact block. */
.contact-details address {
  font-style: normal;
}
.contact-details dl>div {
  display: grid;
  grid-column: 1 / -1;
  /* Fallback for a browser without subgrid: the row keeps the old fixed column,
     which fits "Operating hours" from 431px up and wraps it on a phone. */
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--surface-contrast-border);
  font-size: var(--text-base);
  line-height: 1.5;
}
@supports (grid-template-columns: subgrid) {
  .contact-details dl>div {
    /* Both tracks come from the list, so "Operating hours" — the longest label
       at 104px — sets the column for all four rows and no label wraps at any
       width. Measured at 320: labels one line, values aligned. */
    grid-template-columns: subgrid;
    /* Only the rows collapse: the parent's 12px column gutter is the space
       between a label and its value. `gap: 0` removed it too, so the longest
       label ("Operating hours") sat flush against its time — measured dt right
       edge 221.4 = dd left edge 221.4. Row padding carries the vertical
       rhythm, so row-gap is the only one that should be zero. */
    row-gap: 0;
  }
}
.contact-details dt {
  color: var(--surface-contrast-muted);
  font-weight: 600;
}
.contact-details dd {
  min-width: 0;
  margin: 0;
  color: var(--surface-contrast-text);
  overflow-wrap: anywhere;
}
.contact-details a {
  /* The phone number is the primary tap target on this site. `display: inline-flex`
     plus a min-height gives it a real 24px hit area; padding keeps the underline
     from sitting flush against the line above. */
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-block: 2px;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
}
.contact-details a:hover {
  color: var(--accent-text);
}
/* The map is folded away by the section partial — the address stays on the page
   and the iframe waits to be asked for. Same primitive as the form's optional
   field: only the surface it sits on is different. */
.contact-details .sf-disclosure {
  margin-top: 18px;
}
.contact-details .sf-disclosure > summary {
  min-height: 44px;
  color: var(--surface-contrast-text);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: .04em;
}
.contact-details .sf-disclosure__body {
  padding: var(--space-sm);
}
.contact-details .sf-disclosure .contact-map {
  margin-top: 0;
}
.contact-map {
  position: relative;
  width: 100%;
  max-height: 320px;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--surface-contrast-border);
  background: var(--surface-soft);
}
/* Sits under the iframe and shows through when the embed is blocked — corporate
   proxies, Brave Shields, uBlock and GDPR blockers all produce a 470x320 blank
   box in the middle of the contact section without this. No JS: the iframe
   paints on top when it loads and never when it does not. */
.contact-map__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: var(--space-md);
  color: var(--surface-contrast-muted);
  font-size: var(--text-md);
  text-align: center;
}
.contact-map iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  gap: 7px;
  margin-top: 10px;
  color: var(--accent-text);
  font-size: var(--text-md);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form {
  grid-column: 2;
  grid-row: 2;
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  background: var(--surface-form);
  color: var(--ink);
  transition: background-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.site-footer {
  background: var(--surface-soft);
  color: var(--ink);
  transition: background-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.footer-main {
  min-height: var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  width: min(100%, 210px);
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: .9;
  font-weight: 800;
  letter-spacing: .02em;
}
.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-main>p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-muted);
  text-align: left;
}
.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-main nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.footer-main nav a:hover {
  color: var(--accent-text);
}
.footer-bottom {
  min-height: var(--space-xl);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* --- The not-found page -----------------------------------------------------
   A real page: the same header, one statement and one way back, the same
   footer. There is no hero above it to hold the fixed header off the copy, so
   this block carries that clearance itself. It is the only page shorter than
   the viewport, so <body> (given .sf-not-found by the header) becomes a column
   and the block takes the slack — the footer sits at the bottom of the window
   instead of halfway up it, which is what a short page otherwise looks like:
   unfinished. */
body.sf-not-found {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body.sf-not-found main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.not-found {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  padding-block: calc(var(--space-3xl) + var(--space-lg)) var(--space-3xl);
}
.not-found h1 {
  font-size: clamp(36px, 3.9vw + 14px, 64px);
  margin-bottom: var(--space-md);
}
.not-found p:not(.eyebrow) {
  max-width: 46ch;
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin: 0;
}
@keyframes nav-enter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
