/* ABAM Group of Companies
   Palette and type come from the Stitch design; the chamfered corner and
   offset edge come from the AMP and ABS logos. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plusjakartasans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f2438;
  --navy-deep: #071d30;
  --ink: #111c2d;
  --muted: #4a5568;
  --surface: #f9f9ff;
  --surface-tint: #eef2fd;
  --white: #ffffff;
  --line: #d3dcee;
  --orange: #e06d28;
  --orange-ink: #9e4200;
  --on-navy: #c9d8ea;
  --error: #ba1a1a;

  /* company liveries, taken from the logos */
  --masonry: #135381;
  --masonry-edge: #f59a00;
  --patban: #004d25;
  --patban-edge: #d6d000;

  --display: "Outfit", "Segoe UI", Arial, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;

  --radius: 4px;
  --pill: 999px;   /* anything that acts as a button */
  --gutter: 1.5rem;
  --cut: 56px;
  --chamfer: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--masonry); text-underline-offset: 0.18em; }
a:hover { color: var(--orange-ink); }

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

.wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 44rem); }

.muted { color: var(--muted); }
.lede { font-size: 1.1875rem; line-height: 1.55; max-width: 52ch; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.375rem;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--large { min-height: 3.25rem; padding-inline: 1.875rem; font-size: 1.0625rem; }

.btn--primary { background: var(--orange); color: var(--navy-deep); }
.btn--primary:hover { background: #f08a4a; color: var(--navy-deep); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--livery { background: var(--livery, var(--masonry)); color: var(--white); }
.btn--livery:hover { background: var(--navy-deep); color: var(--white); }

.btn--patban { background: var(--patban); color: var(--white); }
.btn--patban:hover { background: #00381b; color: var(--white); }

.text-link { font-weight: 600; }

/* ---------- Header ---------- */

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

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 0.75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  color: var(--navy);
  text-decoration: none;
}
.wordmark:hover { color: var(--navy); }
.wordmark__name {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark__rest {
  padding-left: 0.625rem;
  border-left: 3px solid var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}
.wordmark--light { color: var(--white); }
.wordmark--light .wordmark__rest { color: var(--on-navy); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-right: auto;
}
.site-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { background: var(--surface-tint); color: var(--ink); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); }

.site-header__actions { display: flex; align-items: center; gap: 1.25rem; }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Chamfered photo (the logo shape) ---------- */

.chamfer {
  position: relative;
  margin: 0 14px 14px 0;
}
.chamfer::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  background: var(--masonry-edge);
  clip-path: var(--chamfer);
}
.chamfer img, .chamfer iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  clip-path: var(--chamfer);
}
.chamfer--patban::before { background: var(--patban-edge); }

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero .lede { color: var(--on-navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__photo { aspect-ratio: 5 / 4; --cut: 72px; }

/* ---------- Page heads (inner pages) ---------- */

.page-head {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page-head .lede { color: var(--on-navy); margin-bottom: 0; }
.page-head--masonry { background: var(--masonry); border-bottom: 8px solid var(--masonry-edge); }
.page-head--masonry .lede { color: #dbe8f3; }
.page-head--patban { background: var(--patban); border-bottom: 8px solid var(--patban-edge); }
.page-head--patban .lede { color: #d5e6db; }

.page-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo-pair { display: flex; gap: 1rem; }
.logo-pair img {
  height: 5.5rem;
  width: auto;
  padding: 0.5rem;
  background: var(--white);
  border-radius: var(--radius);
}
.page-head--patban .logo-pair img { padding: 0; background: none; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--tint { background: var(--surface-tint); }
.section__head { margin-bottom: 2.5rem; }
.section__head p { color: var(--muted); font-size: 1.0625rem; }

/* ---------- Company cards ---------- */

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

.company {
  --livery: var(--masonry);
  --livery-edge: var(--masonry-edge);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--livery);
  border-radius: var(--radius);
}
.company--patban { --livery: var(--patban); --livery-edge: var(--patban-edge); }

.company__head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.company__head h3 { margin-bottom: 0.25rem; }
.company__logo { width: 6rem; height: 4.25rem; object-fit: contain; flex: none; }
.company__tagline { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.company__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

/* ---------- Lists ---------- */

.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--livery-edge, var(--masonry-edge));
  clip-path: polygon(35% 0, 100% 0, 100% 65%, 65% 100%, 0 100%, 0 35%);
}
.ticks--patban li::before { background: var(--patban); }

.plain-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plain-list li { padding: 0.6rem 0; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Quote ---------- */

.quote-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote-form { display: grid; gap: 1.125rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem; }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.optional { font-weight: 400; color: var(--muted); }

input, select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid #8f98a8;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #6b7483; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--navy); }
.input-validation-error { border-color: var(--error); border-width: 2px; }

.field__error, .form-error { color: var(--error); font-size: 0.9375rem; font-weight: 600; }
.form-error ul { margin: 0; padding: 0; list-style: none; }
.field__error:empty, .form-error.validation-summary-valid { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quote-form__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: 0.5rem;
}
.quote-form__send p { margin: 0; color: var(--muted); }

.sent p:first-child { font-size: 1.1875rem; font-weight: 600; }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact__list.contact__list--stacked { grid-template-columns: minmax(0, 1fr); margin-top: 1.5rem; }
.contact__list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.contact__list div { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact__list dt { font-size: 0.875rem; color: var(--muted); }
.contact__list dd { margin: 0.15rem 0 0; font-family: var(--display); font-size: 1.1875rem; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Map (contact page) ---------- */

.map {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
/* Only the top-left corner is cut, so Google's attribution and controls in the bottom corners stay whole. */
.map__frame {
  height: clamp(20rem, 42vw, 30rem);
  --chamfer: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.map__text .contact__list { margin-bottom: 1.5rem; }
.map__pickup { margin: 1.5rem 0 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.map__text .contact__list div:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Place switcher (ABS page) ---------- */

.places__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 1rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.place:has([aria-pressed="true"]) { border-left-color: var(--masonry-edge); }
.place__pick {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.place__pick strong { font-family: var(--display); font-size: 1.125rem; }
.place__pick span { color: var(--muted); font-size: 0.9375rem; }
.place__pick .place__coordinates { font-variant-numeric: tabular-nums; }
.place__pick[aria-pressed="true"] strong { color: var(--masonry); }
.place__directions { margin-right: 1rem; font-weight: 600; white-space: nowrap; }

/* ---------- Product rows (inner pages) ---------- */

.product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.product--flip .product__photo { order: 2; }
.product--text { align-items: start; }
.product__photo { aspect-ratio: 3 / 2; }
.product__maker { margin-bottom: 0.5rem; font-weight: 600; color: var(--muted); }
.product__text > :last-child { margin-bottom: 0; }

/* ---------- Callout band ---------- */

.callout { background: var(--navy); color: var(--white); padding-block: 2rem; }
.callout--patban { background: var(--patban); }
.callout__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.callout p { margin: 0; font-family: var(--display); font-size: 1.375rem; font-weight: 600; }
.callout a:not(.btn) { color: var(--white); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--on-navy); padding-top: 3.5rem; font-size: 0.9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; color: var(--white); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.2rem 0; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--masonry-edge); }
.site-footer address { margin-top: 1rem; font-style: normal; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
}
.site-footer__base p { margin: 0; }
.staff-link { color: var(--on-navy); }
.staff-bar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; }
.staff-bar button { padding: 0; border: 0; background: none; color: var(--white); font: inherit; text-decoration: underline; cursor: pointer; }
.staff-bar button:hover { color: var(--masonry-edge); }
.powered { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.powered img { height: 1.25rem; width: auto; }

/* ---------- Shared bits for the tools ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.notice {
  max-width: none;
  padding: 0.875rem 1rem;
  border-left: 6px solid var(--masonry-edge);
  background: #fff6e5;
  font-weight: 600;
}
.notice--quiet { background: var(--surface-tint); border-left-color: var(--line); font-weight: 400; }
.notice--ok { background: #e6f4ea; border-left-color: #2e7d4f; }
.notice--bad { background: #fdecea; border-left-color: var(--error); }
.notice p { margin: 0 0 0.5rem; max-width: none; }
.notice p:last-child { margin-bottom: 0; }
.notice form { margin-top: 0.75rem; }
.notice__detail { font-weight: 400; font-size: 0.9375rem; overflow-wrap: anywhere; }
div.notice { margin-bottom: 1em; }
.admin-alert { margin-top: 1.5rem; }
.admin-alert .notice { margin: 0; }
.admin-subhead { margin-top: 2.5rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.field--inline { grid-template-columns: minmax(0, 1fr) 9rem; align-items: center; gap: 1rem; max-width: 34rem; }

.page-head a:not(.btn) { color: inherit; }

.gear {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  align-self: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.gear:hover { background: var(--white); color: var(--masonry); }
.gear svg { width: 1.625rem; height: 1.625rem; }

/* ---------- Concrete designer ---------- */

.designer {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.designer__steps { display: grid; gap: 1.5rem; }

.step {
  min-width: 0;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.step legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.step legend + * { clear: both; }
.step__number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  background: var(--masonry);
  color: var(--white);
  font-size: 1.0625rem;
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
}
.step__label { margin: 1.25rem 0 0.5rem; font-weight: 600; }
.step legend + .step__label { margin-top: 0; }
.step__hint, .step__empty { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9375rem; max-width: none; }
.step__empty { margin-bottom: 1rem; }

.shape-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.5rem;
}
.shape {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: 600 0.875rem/1.25 var(--body);
  cursor: pointer;
}
.shape:hover { border-color: var(--masonry); background: var(--white); }
.shape svg, .pour-item__icon svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: var(--masonry);
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.pour-items { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.pour-items:empty { margin: 0; }
.pour-item { padding: 1rem; border-left: 6px solid var(--masonry-edge); background: var(--surface-tint); border-radius: var(--radius); }
.pour-item__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.pour-item__icon svg { width: 1.75rem; height: 1.75rem; display: block; }
.pour-item__volume { margin-left: auto; font-family: var(--display); font-weight: 700; white-space: nowrap; }
.pour-item__remove {
  padding: 0.25rem 0.5rem;
  border: 0;
  background: none;
  color: var(--masonry);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}
.pour-item__fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.75rem; align-items: end; }
.pour-item__fields label { font-size: 0.8125rem; }
.pour-item__fields input { min-height: 2.5rem; }

.pour-items + .step__empty + .field--inline, .step__empty + .field--inline { margin-top: 1.25rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block;
  padding: 0.625rem 1.25rem;
  border: 1px solid #8f98a8;
  border-radius: var(--pill);
  background: var(--white);
  font-family: var(--display);
  font-weight: 600;
}
.chip input:checked + span { border-color: var(--masonry); background: var(--masonry); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.additives { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; max-width: 30rem; }
.pump-hire { display: grid; gap: 1rem; margin-top: 1rem; }
.pump-hire[hidden], .field[hidden] { display: none; }

.ticket {
  position: sticky;
  top: 6rem;
  padding: 1.75rem;
  background: var(--navy);
  color: var(--white);
  clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
}
.ticket p { max-width: none; }
.ticket__title { margin: 0 0 0.25rem 1.5rem; font-family: var(--display); font-weight: 600; color: var(--on-navy); }
.ticket__volume { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.1; }
.ticket__volume output { display: block; font-size: clamp(3.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.04em; color: var(--masonry-edge); font-variant-numeric: tabular-nums; }
.ticket__sub { margin: 0.5rem 0 0; color: var(--on-navy); font-size: 0.9375rem; }
.ticket__price { margin: 1.25rem 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.ticket__message { margin: 0; font-weight: 600; }
.ticket__lines { margin: 0; }
.ticket__line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.ticket__line dt small { display: block; color: var(--on-navy); font-size: 0.8125rem; }
.ticket__line dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__line--total { margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-family: var(--display); font-size: 1.375rem; font-weight: 700; }
.ticket__note { margin: 0.75rem 0 0; color: var(--on-navy); font-size: 0.875rem; }
.ticket__cta { width: 100%; }
.ticket__small { margin: 0.75rem 0 1rem; color: var(--on-navy); font-size: 0.8125rem; }

/* ---------- US$ / EC$ switch ---------- */

.xcd { display: none; }
[data-currency="xcd"] .xcd { display: inline; }
[data-currency="xcd"] .usd { display: none; }

.currency { display: flex; flex-wrap: wrap; align-items: center; margin: 1rem 0 0; }
.currency button {
  min-height: 2.25rem;
  padding: 0.25rem 0.875rem;
  border: 1px solid #8f98a8;
  background: var(--white);
  color: var(--ink);
  font: 600 0.9375rem var(--display);
  cursor: pointer;
}
.currency button:first-child { padding-left: 1.125rem; border-radius: var(--pill) 0 0 var(--pill); }
.currency button + button { margin-left: -1px; padding-right: 1.125rem; border-radius: 0 var(--pill) var(--pill) 0; }
.currency button[aria-pressed="true"] { position: relative; border-color: var(--masonry); background: var(--masonry); color: var(--white); }
.currency__rate { margin-left: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.ticket .currency button { border-color: rgba(255, 255, 255, 0.4); background: transparent; color: var(--white); }
.ticket .currency button[aria-pressed="true"] { border-color: var(--masonry-edge); background: var(--masonry-edge); color: var(--navy-deep); }
.ticket .currency__rate { color: var(--on-navy); }
.product__text .currency { margin: 0 0 1rem; }

/* ---------- Price table (ABS customer page) ---------- */

.price-table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; color: var(--muted); padding-bottom: 0.5rem; }
.price-table th, .price-table td { padding: 0.625rem 0.5rem; border-bottom: 1px solid var(--line); text-align: right; }
.price-table th:first-child { text-align: left; padding-left: 0; }
.price-table thead th { border-bottom: 2px solid var(--masonry); font-size: 0.875rem; }
.price-table tbody th { font-weight: 600; }
.price-table tbody th small { display: block; font-weight: 400; color: var(--muted); }
.price-table td { font-family: var(--display); font-weight: 600; }

/* ---------- Pricing admin ---------- */

.admin-head { background: var(--ink); color: var(--white); padding: 1.5rem 0 0; }
.admin-head__flag { margin: 0 0 0.75rem; max-width: none; font-size: 0.875rem; color: var(--masonry-edge); font-weight: 600; }
.admin-head__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-head h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
.admin-switch { display: flex; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--pill); overflow: hidden; }
.admin-switch a { padding: 0.4rem 1rem; color: var(--white); font-family: var(--display); font-weight: 600; text-decoration: none; }
.admin-switch a[aria-current="page"] { background: var(--white); color: var(--ink); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 1.25rem; }
.admin-tabs a { padding: 0.625rem 0; border-bottom: 4px solid transparent; color: var(--on-navy); font-weight: 600; text-decoration: none; }
.admin-tabs a:hover { color: var(--white); }
.admin-tabs a[aria-current="page"] { color: var(--white); border-bottom-color: var(--masonry-edge); }
.admin-tabs a:last-child { margin-left: auto; }

.section--admin { padding-block: 2.5rem 4rem; }
.section--admin h2 { font-size: 1.75rem; }
.section--admin .wrap { width: min(100% - 2 * var(--gutter), 60rem); }

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

.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.admin-table th, .admin-table td { padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table thead th { background: var(--surface-tint); font-size: 0.875rem; }
.admin-table tbody th { font-weight: 600; }
.admin-table__action { text-align: right; white-space: nowrap; }
.admin-table__who { font-size: 0.875rem; color: var(--muted); overflow-wrap: anywhere; }
.admin-table .is-current { box-shadow: inset 6px 0 0 #2e7d4f; }
.admin-table .is-gap td { background: #fff6e5; color: #6b4a00; font-weight: 600; }
.admin-table--entry input:not([type="checkbox"]):not([type="hidden"]) { min-height: 2.5rem; max-width: 16rem; }
.admin-table--entry td { width: 1%; min-width: 9rem; }
.admin-table--entry th:first-child, .admin-table--entry td:first-child { width: auto; }

.status { display: inline-block; padding: 0.1rem 0.5rem; border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600; }
.status--current { background: #e6f4ea; color: #1d5c37; }
.status--upcoming { background: var(--surface-tint); color: var(--masonry); }
.status--past { background: #eceef2; color: var(--muted); }
th .status { margin-left: 0.5rem; }

.admin-form { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.admin-form fieldset { min-width: 0; margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.admin-form legend { padding: 0 0.5rem; font-family: var(--display); font-size: 1.125rem; font-weight: 700; }
.admin-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-form .field--inline { margin-top: 1rem; }
.admin-form__row--add { margin-top: 1rem; max-width: 34rem; }
.admin-form .admin-actions { margin: 0; }
.check { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 400; }
input[type="checkbox"] { width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; accent-color: var(--masonry); }

.danger { margin-top: 2.5rem; padding: 1rem 1.25rem; border: 1px solid #e3b4b4; border-radius: var(--radius); background: var(--white); }
.danger summary { cursor: pointer; font-weight: 600; color: var(--error); }
.danger form { margin-top: 1rem; }
.btn--danger { background: var(--error); color: var(--white); }
.btn--danger:hover { background: #8c1010; }
/* ---------- Small screens ---------- */

@media (max-width: 60rem) {
  .hero__grid, .quote-split, .contact, .product, .designer, .map, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ticket { position: static; }
  .product--flip .product__photo { order: 0; }
  .company-grid { grid-template-columns: minmax(0, 1fr); }
  .site-nav { order: 3; width: 100%; margin-inline: -0.75rem; }
  .site-header__actions { margin-left: auto; }
  :root { --cut: 40px; }
  .hero__photo { --cut: 48px; aspect-ratio: 16 / 10; }
}

@media (max-width: 36rem) {
  :root { --gutter: 1rem; }
  .wordmark__rest { display: none; }
  .wordmark__name { font-size: 1.75rem; }
  .phone-link { display: none; }
  .site-nav { gap: 0; margin-inline: -0.375rem; }
  .site-nav a { padding-inline: 0.375rem; font-size: 0.875rem; }
  .field-row, .contact__list, .admin-form__row { grid-template-columns: minmax(0, 1fr); }
  .field--inline { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .step { padding: 1rem; }
  .admin-table th, .admin-table td { padding: 0.5rem; }
  .admin-table--entry td { min-width: 5.5rem; }
  .company { padding: 1.25rem; }
  .company__head { align-items: flex-start; gap: 1rem; }
  .company__logo { width: 4.5rem; height: 3.25rem; }
  .hero__actions .btn { width: 100%; }
}

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