/* ============================================================================
   CONTACT — templates/website/contact.html only
   Everything shared with another page belongs in website.css instead.

   Four things on this page needed components of their own, because nothing
   else on the site does them:

     .bs-direct   the two oversized links in the page head
     .bs-field    the form control — mono label, hairline underline, brand
                  focus sweep, and an error slot that collapses when empty
     .bs-result   the three outcomes the enquiry endpoint can produce
     .bs-plan     the drawn location plan that stands in for a map embed

   There is no red on this site and none is introduced here. An invalid field
   is marked by a thickened brand underline, the word "Required" in the label,
   and a sentence in body ink underneath — never by colour alone, and never by
   a colour the palette does not have.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   PAGE HEAD
   About half a screen. Someone on the contact page has already decided to get
   in touch, so the number and the address are above the fold and the form is
   below it. svh rather than vh for the same reason as every other page head:
   on a phone, vh is measured against the chrome at its smallest.
   ------------------------------------------------------------------------- */
.bs-contacthead {
  position: relative;
  min-height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--bs-header-h) + clamp(30px, 4vw, 52px));
  padding-bottom: clamp(30px, 4vw, 52px);
}

.bs-contacthead__rule {
  height: 1px;
  width: min(380px, 100%);
  background: linear-gradient(to right, rgb(var(--bs-brand)), rgb(var(--bs-brand) / 0));
  transform-origin: left center;
}

/* -- The two big links ----------------------------------------------------- */
.bs-direct {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--bs-hairline-strong);
}
@media (min-width: 900px) {
  .bs-direct { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bs-direct__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 20px;
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--bs-hairline);
  color: rgb(var(--bs-ink));
}
@media (min-width: 900px) {
  .bs-direct__link + .bs-direct__link {
    border-left: 1px solid var(--bs-hairline);
    padding-left: clamp(24px, 3vw, 44px);
  }
}

.bs-direct__tag {
  grid-column: 1 / -1;
  color: rgb(var(--bs-ink-3));
  transition: color 300ms var(--bs-ease-smooth);
}

.bs-direct__value {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  transition: color 300ms var(--bs-ease-smooth), transform 560ms var(--bs-ease-smooth);
}
/* The address is nine characters longer than the number and has no spaces to
   break at, so it is set a step down and allowed to break anywhere. */
.bs-direct__value--email {
  font-size: clamp(20px, 2.5vw, 34px);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.bs-direct__arrow {
  width: 22px;
  height: 22px;
  flex: none;
  margin-bottom: 6px;
  color: rgb(var(--bs-ink-3));
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 380ms var(--bs-ease-smooth), transform 520ms var(--bs-ease-smooth),
              color 320ms var(--bs-ease-smooth);
}

.bs-direct__link:hover .bs-direct__value,
.bs-direct__link:focus-visible .bs-direct__value { color: rgb(var(--bs-brand-ink)); }
.bs-direct__link:hover .bs-direct__tag,
.bs-direct__link:focus-visible .bs-direct__tag { color: rgb(var(--bs-ink-2)); }
.bs-direct__link:hover .bs-direct__arrow,
.bs-direct__link:focus-visible .bs-direct__arrow {
  opacity: 1;
  transform: translate(0, 0);
  color: rgb(var(--bs-brand-ink));
}

/* ---------------------------------------------------------------------------
   THE TWO COLUMNS
   Seven parts form, five parts detail. Written as fr rather than as Tailwind
   column spans because the gutter between them is wider than the page grid's
   and the details column needs a rule down its left edge.
   ------------------------------------------------------------------------- */
.bs-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(56px, 8vw, 88px);
}
@media (min-width: 1024px) {
  .bs-contact__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(56px, 6vw, 96px);
  }
}

.bs-contact__col { min-width: 0; }

@media (min-width: 1024px) {
  .bs-contact__details {
    border-left: 1px solid var(--bs-hairline);
    padding-left: clamp(32px, 3.6vw, 56px);
  }
}

/* ---------------------------------------------------------------------------
   THE FORM
   ------------------------------------------------------------------------- */
.bs-formwrap { position: relative; }

/* The wrapper scrolls into view when an outcome replaces the form, and the
   header is fixed, so it carries its own clearance. */
.bs-formwrap { scroll-margin-top: calc(var(--bs-header-h) + 32px); }

.bs-form[hidden],
.bs-result[hidden] { display: none; }

.bs-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3vw, 34px) clamp(20px, 2.4vw, 32px);
}
@media (min-width: 640px) {
  .bs-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bs-field--wide { grid-column: 1 / -1; }

.bs-form__note {
  grid-column: 1 / -1;
  margin-top: -8px;
  font-size: 13px;
  line-height: 1.55;
  color: rgb(var(--bs-ink-3));
  max-width: 52ch;
}

/* -- A field --------------------------------------------------------------- */
.bs-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.bs-field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--bs-ink-3));
  cursor: pointer;
}
/* "Required" is a word, not a colour. The brand tint is decoration on top of
   a label that already reads correctly in greyscale. */
.bs-field__req {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgb(var(--bs-brand-ink));
  flex: none;
}

.bs-field__control { position: relative; display: block; }

.bs-field__input {
  width: 100%;
  display: block;
  background: transparent;
  color: rgb(var(--bs-ink));
  border: 0;
  border-bottom: 1px solid var(--bs-hairline-strong);
  border-radius: 0;
  padding: 15px 2px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;   /* 16px exactly: anything smaller makes iOS zoom on focus */
  line-height: 1.5;
  transition: border-color 320ms var(--bs-ease-smooth),
              background-color 320ms var(--bs-ease-smooth);
}
/* No alpha. The input background is transparent, so the placeholder
   composites straight onto the page — at 0.85 it measured 3.76:1 light and
   4.19:1 dark, both under AA. Full ink-3 is 5.09/5.68 and still reads as
   clearly lighter than a typed value, which is set in --bs-ink. */
.bs-field__input::placeholder { color: rgb(var(--bs-ink-3)); }
.bs-field__input:hover { border-bottom-color: rgb(var(--bs-ink) / 0.34); }

.bs-field__area {
  min-height: 190px;
  resize: vertical;
  padding-top: 14px;
}

/* The focus sweep — the same left-to-right fill the buttons and links use, so
   the site has one idea of what "this is active" looks like. The outline in
   website.css still handles keyboard focus; this is in addition to it. */
.bs-field__flare {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  /* --bs-brand-ink, not --bs-brand, even though this is a background bar:
     it sits in the same place as the invalid underline below, and two orange
     lines on one control that are not the same orange look like a defect. */
  background: rgb(var(--bs-brand-ink));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms var(--bs-ease-smooth);
  pointer-events: none;
}
.bs-field__control:focus-within .bs-field__flare { transform: scaleX(1); }

/* -- The select ------------------------------------------------------------ */
.bs-field__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 34px;
  cursor: pointer;
}
/* The option list is painted by the operating system, not by this stylesheet,
   so it is told which palette it is in rather than left to guess. */
.bs-field__select option { background: rgb(var(--bs-surface)); color: rgb(var(--bs-ink)); }

.bs-field__chevron {
  position: absolute;
  right: 8px;
  bottom: 22px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgb(var(--bs-ink-3));
  border-bottom: 1px solid rgb(var(--bs-ink-3));
  transform: rotate(45deg);
  pointer-events: none;
  transition: border-color 300ms var(--bs-ease-smooth), transform 420ms var(--bs-ease-smooth);
}
.bs-field__control--select:focus-within .bs-field__chevron {
  border-color: rgb(var(--bs-brand-ink));
  transform: rotate(225deg);
}

/* -- The error slot --------------------------------------------------------
   Collapsed entirely while empty, so a clean form has no gaps waiting to be
   filled. The template writes the message with no whitespace inside the tag
   and contact.js sets textContent, so :empty is reliable here. --------- */
.bs-field__error {
  font-size: 13px;
  line-height: 1.5;
  color: rgb(var(--bs-ink));
  animation: bs-err-in 420ms var(--bs-ease-smooth) both;
}
.bs-field__error:empty {
  /* Not display:none — see the note on .bs-form__status:empty below.
     -9px cancels the gap on .bs-field so an empty slot takes no room. */
  height: 0;
  margin-top: -9px;
  overflow: hidden;
}
.bs-field__error:empty::before { display: none; }
.bs-field__error::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  /* One orange for all three error signals — the word in the label, the
     underline on the control, and this marker. */
  background: rgb(var(--bs-brand-ink));
  transform: translateY(-1px);
}
@keyframes bs-err-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.bs-field.is-invalid .bs-field__input {
  border-bottom-color: rgb(var(--bs-brand-ink));
  border-bottom-width: 2px;
  padding-bottom: 14px;   /* keeps the control the same height as a clean one */
}

/* -- Foot: submit, and what the button does -------------------------------- */
.bs-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--bs-hairline);
}
.bs-form__sent { max-width: 34ch; }

.bs-btn[data-submit][aria-disabled="true"] { cursor: progress; }
/* The pending state is the button filling itself, left to right, on a loop —
   the same sweep as its own hover, so nothing new is introduced. It is a
   decorative layer over a label that already says "Sending".

   The fill is a translucent tint of the label colour rather than the solid
   ink the hover sweep uses. The hover sweep can afford solid ink because it
   also flips the label to the page background; a disabled button that is
   still under the pointer would otherwise end up dark ink on dark ink for
   half of every loop. Holding the label colour still is the fix. */
.bs-btn.is-pending,
.bs-btn.is-pending:hover,
.bs-btn.is-pending:focus-visible {
  color: rgb(var(--bs-on-brand));
  border-color: rgb(var(--bs-brand-ink));
}
.bs-btn.is-pending::before {
  background: rgb(var(--bs-on-brand) / 0.16);
  transform-origin: left center;
  animation: bs-pending 1400ms var(--bs-ease-power) infinite;
}
@keyframes bs-pending {
  0%   { transform: scaleX(0); transform-origin: left center; }
  50%  { transform: scaleX(1); transform-origin: left center; }
  51%  { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0); transform-origin: right center; }
}

.bs-form__status {
  margin-top: 16px;
  color: rgb(var(--bs-ink-2));
}
/* Kept in the layout while empty so it is a live region that EXISTS when
   its text changes. A region that is display:none until it has content
   is a region most screen readers never announce. */
.bs-form__status:empty { height: 0; overflow: hidden; margin: 0; }

/* -- The honeypot ----------------------------------------------------------
   Off-screen rather than display:none, because a form filler that reads the
   computed style skips a hidden field and this one is meant to be filled. -- */
.bs-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   THE OUTCOMES
   Three panels, one component. The entrance state is added by contact.js
   before the panel is unhidden — a panel rendered by the server (the
   no-JavaScript path) has no `--enter` class and is simply there.
   ------------------------------------------------------------------------- */
.bs-result {
  position: relative;
  border: 1px solid var(--bs-hairline);
  border-top: 2px solid rgb(var(--bs-brand));
  border-radius: 3px;
  background: rgb(var(--bs-surface));
  box-shadow: var(--bs-shadow-card);
  padding: clamp(28px, 3.4vw, 46px);
}
.bs-result:focus { outline: none; }
.bs-result:focus-visible { outline: 2px solid rgb(var(--bs-brand-ink)); outline-offset: 3px; }

.bs-result--enter {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 700ms var(--bs-ease-smooth), transform 700ms var(--bs-ease-smooth);
}
.bs-result--enter.is-in { opacity: 1; transform: none; }

.bs-result__mark {
  width: 34px;
  height: 34px;
  color: rgb(var(--bs-brand-ink));
}
.bs-result__mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.bs-result--enter .bs-result__mark path { stroke-dashoffset: 1; }
.bs-result--enter.is-in .bs-result__mark path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 760ms var(--bs-ease-smooth) 260ms;
}

/* The warning variant is the same panel with the accent moved to the side —
   a different shape of emphasis rather than a different colour. */
.bs-result--warn {
  border-top: 1px solid var(--bs-hairline);
  border-left: 2px solid rgb(var(--bs-brand));
}

.bs-result__lines { display: flex; flex-direction: column; border-top: 1px solid var(--bs-hairline); }

/* ---------------------------------------------------------------------------
   DIRECT LINES — used in the details column and inside the outcome panels
   ------------------------------------------------------------------------- */
.bs-dlines { display: flex; flex-direction: column; border-top: 1px solid var(--bs-hairline); }

.bs-dline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--bs-hairline);
  color: rgb(var(--bs-ink));
  min-width: 0;
}
.bs-dline__tag {
  grid-column: 1 / -1;
  color: rgb(var(--bs-ink-3));
  transition: color 300ms var(--bs-ease-smooth);
}
.bs-dline__value {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  min-width: 0;
  transition: color 300ms var(--bs-ease-smooth), transform 520ms var(--bs-ease-smooth);
}
.bs-dline__value--email { font-size: clamp(15px, 1.35vw, 18.5px); overflow-wrap: anywhere; }

.bs-dline__arrow {
  width: 16px;
  height: 16px;
  flex: none;
  color: rgb(var(--bs-ink-3));
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 360ms var(--bs-ease-smooth), transform 480ms var(--bs-ease-smooth),
              color 320ms var(--bs-ease-smooth);
}
.bs-dline:hover .bs-dline__value,
.bs-dline:focus-visible .bs-dline__value { color: rgb(var(--bs-brand-ink)); transform: translateX(4px); }
.bs-dline:hover .bs-dline__arrow,
.bs-dline:focus-visible .bs-dline__arrow { opacity: 1; transform: translate(0, 0); color: rgb(var(--bs-brand-ink)); }

/* ---------------------------------------------------------------------------
   THE LOCATION PLAN
   A drawing, not a map embed — this project self-hosts everything, and a
   third-party tile server would be the only external request on the site.
   Same technique as the bridge elevation on the home page: every stroke
   carries pathLength="1" in the markup, so one dasharray value unrolls
   shapes of completely different real lengths.

   The hidden state is scoped to html.has-js. Without that guard a visitor
   whose JavaScript failed would get an empty frame, because nothing would
   ever add .is-drawn.
   ------------------------------------------------------------------------- */
.bs-plan {
  border: 1px solid var(--bs-hairline);
  border-radius: 3px;
  background: rgb(var(--bs-surface));
  box-shadow: var(--bs-shadow-card);
  overflow: hidden;
}

.bs-plan__head,
.bs-plan__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgb(var(--bs-ink-3));
}
.bs-plan__head { border-bottom: 1px solid var(--bs-hairline); }
.bs-plan__foot { border-top: 1px solid var(--bs-hairline); background: rgb(var(--bs-surface-2)); }
.bs-plan__scale { color: rgb(var(--bs-brand-ink)); }
.bs-plan__note { color: rgb(var(--bs-ink)); letter-spacing: 0.1em; }

.bs-plan__svg {
  width: 100%;
  height: auto;
  display: block;
  padding: 8px 6px 0;
  color: rgb(var(--bs-ink-2));
}

html.has-js .bs-plan__ink .ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1100ms var(--bs-ease-smooth);
  transition-delay: calc(var(--o, 0) * 1ms);
}
html.has-js .bs-plan.is-drawn .ln { stroke-dashoffset: 0; }

.bs-plan__ink .ln--faint { opacity: 0.42; }
.bs-plan__ink .ln--dim { stroke: rgb(var(--bs-brand-ink)); stroke-width: 1.3; }

.bs-plan__label text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  fill: rgb(var(--bs-ink-3));
}
/* `text.` and not the class alone: `.bs-plan__label text` above is a class
   plus an element and outranks a bare class, so the modifier has to match at
   least as tightly or the label silently stays grey. */
text.bs-plan__label--brand { fill: rgb(var(--bs-brand-ink)); }
html.has-js .bs-plan__label text {
  opacity: 0;
  transition: opacity 700ms var(--bs-ease-smooth) 900ms;
}
html.has-js .bs-plan.is-drawn .bs-plan__label text { opacity: 1; }

/* ---------------------------------------------------------------------------
   WHAT HAPPENS NEXT
   On the alternate ground, the way the home page sets "why choose us" apart.
   It is the one block on this page that is not a control or a contact detail,
   and the change of surface is what says so.
   ------------------------------------------------------------------------- */
.bs-next { background: rgb(var(--bs-bg-alt)); }

.bs-next__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(8px, 1.4vw, 16px);
}
@media (min-width: 860px) { .bs-next__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bs-next__step {
  padding: clamp(28px, 3.6vw, 46px) 0;
  border-bottom: 1px solid var(--bs-hairline);
}
@media (min-width: 860px) {
  .bs-next__step { padding-right: clamp(20px, 2.6vw, 40px); }
  .bs-next__step + .bs-next__step {
    border-left: 1px solid var(--bs-hairline);
    padding-left: clamp(20px, 2.6vw, 40px);
  }
}

/* ---------------------------------------------------------------------------
   CLOSING BAND
   The four ways to reach the company, at headline size, on the orange.
   ------------------------------------------------------------------------- */
.bs-close__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgb(var(--bs-on-brand) / 0.24);
}
@media (min-width: 860px) { .bs-close__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bs-close__link {
  position: relative;
  display: block;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid rgb(var(--bs-on-brand) / 0.24);
  color: rgb(var(--bs-on-brand));
  min-width: 0;
}
@media (min-width: 860px) {
  .bs-close__link:nth-child(2n) {
    border-left: 1px solid rgb(var(--bs-on-brand) / 0.24);
    padding-left: clamp(24px, 3vw, 48px);
  }
}

.bs-close__tag { display: block; color: rgb(var(--bs-on-brand) / 0.92); }

.bs-close__value {
  display: block;
  margin-top: 12px;
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  transition: transform 560ms var(--bs-ease-smooth);
}
.bs-close__value--email {
  font-size: clamp(19px, 2.6vw, 36px);
  letter-spacing: -0.022em;
  overflow-wrap: anywhere;
}

/* An underline that sweeps in from the left — the .bs-link behaviour, at
   headline scale, in the on-brand ink. */
.bs-close__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgb(var(--bs-on-brand));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 480ms var(--bs-ease-smooth);
}
.bs-close__link:hover::after,
.bs-close__link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.bs-close__link:hover .bs-close__value,
.bs-close__link:focus-visible .bs-close__value { transform: translateX(6px); }

/* ---------------------------------------------------------------------------
   REDUCED MOTION
   website.css already stills the shared engine. These are the four things
   this page adds that it does not know about.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html.has-js .bs-plan__ink .ln { stroke-dashoffset: 0 !important; transition: none !important; }
  html.has-js .bs-plan__label text { opacity: 1 !important; transition: none !important; }
  .bs-result--enter { opacity: 1 !important; transform: none !important; }
  .bs-result__mark path { stroke-dashoffset: 0 !important; }
  .bs-btn.is-pending::before { animation: none !important; transform: scaleX(1) !important; }
  .bs-field__error { animation: none !important; }
}

/* ---------------------------------------------------------------------------
   PRINT
   A tender committee prints this page for the address block, and a form is
   not part of that.
   ------------------------------------------------------------------------- */
@media print {
  .bs-form, .bs-direct__arrow, .bs-dline__arrow { display: none !important; }
  .bs-plan { break-inside: avoid; }
  html.has-js .bs-plan__ink .ln { stroke-dashoffset: 0 !important; }
  html.has-js .bs-plan__label text { opacity: 1 !important; }
}

/* ---------------------------------------------------------------------------
   TOUCH AFFORDANCES
   Both arrow glyphs sit at opacity 0 and are raised by :hover / :focus-visible.
   A phone has neither, so on touch they were six SVGs nobody ever saw — and
   the rows in the details column lost the one mark saying they are tappable,
   reading as a data table instead of a list of links. Keyed on pointer, not
   width, so a touchscreen laptop is judged by its pointer.
   ------------------------------------------------------------------------- */
@media (hover: none) {
  .bs-direct__arrow, .bs-dline__arrow { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   NO-JAVASCRIPT ERROR SUMMARY
   Only rendered when the server re-rendered the page after a failed POST.
   It is focused on arrival (tabindex="-1" + autofocus in the markup), which
   is the only way a plain browser submit tells the visitor anything failed.
   ------------------------------------------------------------------------- */
.bs-form__summary {
  border: 1px solid rgb(var(--bs-brand-ink) / 0.45);
  border-left: 3px solid rgb(var(--bs-brand-ink));
  border-radius: 3px;
  background: rgb(var(--bs-brand) / 0.07);
  padding: clamp(16px, 2vw, 22px);
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.bs-form__summary ul { display: flex; flex-direction: column; gap: 6px; }
.bs-form__summary li { font-size: 14px; line-height: 1.5; }

/* ---------------------------------------------------------------------------
   v46 — the office address
   Four direct links now (call, WhatsApp, write, visit): a 2 x 2 grid. Each
   link already carries its own bottom rule; the vertical rule belongs only
   between the two links in a row, never at the start of one.
   ------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .bs-direct__link + .bs-direct__link:nth-child(odd) { border-left: 0; padding-left: 0; }
}
.bs-direct__value--addr { font-size: clamp(22px, 2.8vw, 38px); letter-spacing: -0.02em; }

.bs-office {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--bs-hairline);
  border-left: 2px solid rgb(var(--bs-brand));
  border-radius: 3px;
  background: rgb(var(--bs-surface));
}
.bs-office__addr { font-size: 16px; line-height: 1.7; color: rgb(var(--bs-ink-2)); }
.bs-office__addr strong { color: rgb(var(--bs-ink)); font-weight: 600; }
