/* =============================================================================
   Thompson Longhorn — public site
   One stylesheet, no framework. Tokens first, then base, then components.
   ============================================================================= */

/* ---------- fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --navy: #043652;        /* sampled from the logo */
  --navy-deep: #022638;
  --navy-soft: #0b4a6c;   /* panels sitting on navy */
  --navy-tint: #0d5f8c;   /* link hover on light grounds */
  --steel: #7d8a96;       /* galvanised mid grey */
  --steel-light: #cfd6dc;
  --gal: #eef1f4;         /* light band */
  --paper: #ffffff;
  --ink: #16212b;
  --ink-soft: #4b5864;
  --amber: #f5a300;       /* hi-vis — the single accent */
  --amber-deep: #d48d00;
  --amber-ink: #1a1200;
  --danger: #b42318;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", Arial, Helvetica, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 2px;
  --band-pad: clamp(56px, 8vw, 104px);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-tint); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 .45em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.005em; }
h3 { font-size: 1.5rem; }
.display {
  font-weight: 700;
  font-size: clamp(3.4rem, 8.4vw, 6.6rem);
  line-height: .94;
  letter-spacing: -0.012em;
  margin: 0 0 .35em;
}
.display span { display: block; }
.lead { font-size: 1.25rem; line-height: 1.45; color: var(--ink-soft); max-width: 36em; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: -.2em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font-body);
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 26px; font-size: 1.0625rem; }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--amber-ink); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.08); color: var(--paper); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--navy-tint); text-decoration-color: var(--navy-tint); }
.text-link-light { color: var(--paper); }
.text-link-light:hover { color: var(--paper); text-decoration-color: var(--paper); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; list-style: none; }
.nav-list a {
  display: block; padding: 10px 12px;
  color: var(--paper); text-decoration: none; font-weight: 500; font-size: 1.0625rem;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover { color: var(--paper); border-bottom-color: rgba(255,255,255,.35); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--amber); }
.nav-phone { padding: 11px 16px; }
.nav-toggle { display: none; }
.header-call { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand img { height: 34px; }
  .header-call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-left: auto; margin-right: 6px;
    background: var(--amber); color: var(--amber-ink); border-radius: var(--radius);
  }
  .header-call:hover { background: var(--amber-deep); color: var(--amber-ink); }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; color: var(--paper); font: 600 1rem var(--font-body);
    padding: 10px 4px; cursor: pointer;
  }
  .nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
  .nav-toggle-bars i { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-header.is-open .nav-toggle-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px var(--gutter) 24px;
  }
  .site-header.is-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-list a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.1); box-shadow: inset 4px 0 0 var(--amber); padding-left: 14px; }
  .nav-phone { margin-top: 20px; justify-content: center; padding: 15px; font-size: 1.0625rem; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero .display { color: var(--paper); }
.hero .lead { color: var(--steel-light); margin-bottom: 1.6em; }
.hero-plan { width: 100%; max-width: 560px; }
.hero-plan svg { width: 100%; height: auto; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .hero-plan { justify-self: end; max-width: none; }
}

.plan-steel { stroke: var(--steel-light); opacity: .9; }
.plan-flow { stroke: var(--amber); }
.plan-dots circle { fill: var(--amber); }
.plan-labels text { fill: var(--steel-light); font-family: var(--font-body); font-size: 13px; font-weight: 500; opacity: 0; animation: plan-fade .6s ease 1.9s forwards; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: plan-draw .9s cubic-bezier(.4, 0, .2, 1) forwards; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .3s; }
.d3 { animation-delay: .6s; }
.d4 { animation-delay: .8s; }
.d5 { animation-delay: .95s; }
.d6 { animation-duration: 1.3s; animation-delay: 1.2s; }
@keyframes plan-draw { to { stroke-dashoffset: 0; } }
@keyframes plan-fade { to { opacity: .95; } }
@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
  .plan-labels text { animation: none; opacity: .95; }
}
@media (max-width: 480px) { .plan-labels { display: none; } }

/* ---------- facts strip ---------- */
.facts { background: var(--gal); border-bottom: 1px solid var(--steel-light); }
.facts-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 36px; padding: 14px 0; }
.facts-list li { padding: 8px 0 8px 14px; border-left: 3px solid var(--navy); font-weight: 500; color: var(--ink); }

/* ---------- bands ---------- */
.band { padding: var(--band-pad) 0; }
.band-gal { background: var(--gal); }
.band-navy { background: var(--navy); color: var(--paper); }
.band-navy h2, .band-navy h3 { color: var(--paper); }
.band-quote { padding-block: clamp(48px, 6vw, 80px); }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); max-width: 720px; }
.section-head .lead { margin-bottom: 0; }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head-split > div { max-width: 720px; }
.section-foot { margin-top: 40px; margin-bottom: 0; }

/* ---------- audience chooser ---------- */
.segment-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .segment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.segment-tile {
  display: flex; flex-direction: column;
  padding: 30px 28px 26px;
  background: var(--paper);
  border: 1px solid var(--steel-light);
  border-left: 5px solid var(--navy);
  border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.segment-tile .glyph { color: var(--navy); margin-bottom: 22px; }
.segment-tile h3 { font-size: 1.85rem; margin-bottom: .35em; }
.segment-tile p { color: var(--ink-soft); margin-bottom: 1.4em; }
.segment-tile .tile-link { margin-top: auto; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.segment-tile:hover { background: var(--gal); border-left-color: var(--amber); color: var(--ink); }

/* ---------- equipment grid ---------- */
.equipment-grid { display: grid; gap: 28px 24px; }
@media (min-width: 600px) { .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .equipment-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.equipment-tile { display: block; color: var(--ink); text-decoration: none; }
.equipment-caption { padding-top: 16px; }
.equipment-caption h3 { font-size: 1.45rem; margin-bottom: .3em; text-decoration: underline transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .15s ease; }
.equipment-caption p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.equipment-tile:hover h3 { text-decoration-color: var(--amber); }

/* ---------- photo placeholder ---------- */
.ph { position: relative; aspect-ratio: var(--ph-ratio, 4 / 3); overflow: hidden; border-radius: var(--radius); }
.ph-light { background: var(--gal); color: var(--steel); border: 1px solid var(--steel-light); }
.band-gal .ph-light { background: var(--paper); }
.ph-dark { background: var(--navy-soft); color: rgba(255,255,255,.4); }
.ph-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  font-size: .8125rem; line-height: 1.3;
}
.ph-tag { font-weight: 600; padding: 3px 8px; border: 1px solid currentColor; border-radius: var(--radius); background: rgba(255,255,255,.85); color: var(--navy); }
.ph-label { color: var(--ink-soft); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: var(--radius); }
.ph-dark .ph-tag { color: var(--paper); background: rgba(2,38,56,.75); }
.ph-dark .ph-label { color: var(--steel-light); background: rgba(2,38,56,.75); }

/* ---------- process (a real sequence, so numbers are earned) ---------- */
.process { list-style: none; display: grid; gap: 28px; border-left: 2px solid var(--steel-light); padding-left: 24px; }
.process li { position: relative; }
.process li::before { content: ""; position: absolute; top: 14px; left: -31px; width: 12px; height: 12px; background: var(--amber); }
@media (min-width: 600px) {
  .process { border-left: 0; padding-left: 0; border-top: 2px solid var(--steel-light); gap: 32px; }
  .process li { padding-top: 24px; }
  .process li::before { top: -2px; left: 0; width: 36px; height: 3px; }
}
.process-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--navy); margin-bottom: 10px; }
.process h3 { font-size: 1.45rem; margin-bottom: .3em; }
.process p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (min-width: 600px) and (max-width: 899px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 28px; } }

/* ---------- featured project ---------- */
.feature-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .feature-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.feature-kicker { color: var(--steel-light); font-weight: 500; margin-bottom: .6em; }
.feature-copy h2 { margin-bottom: .2em; }
.feature-location { color: var(--steel-light); margin-bottom: 1.2em; }
.feature-copy p { color: rgba(255,255,255,.88); }

/* ---------- quotes ---------- */
.quote { margin: 0; max-width: 30em; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.15; color: var(--navy); margin-bottom: .7em; text-wrap: balance; }
.quote footer { font-size: .95rem; line-height: 1.45; }
.quote-name { font-weight: 600; display: block; }
.quote-place, .quote-note { display: block; color: var(--ink-soft); }
.band-navy .quote p { color: var(--paper); }
.band-navy .quote-name { color: var(--paper); }
.band-navy .quote-place, .band-navy .quote-note { color: var(--steel-light); }

/* ---------- story ---------- */
.story-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.story-copy p { max-width: 60ch; }
.md-quote { border-left: 3px solid var(--navy); padding-left: 24px; font-size: 1.125rem; line-height: 1.5; margin-top: .4em; }
.md-quote p { margin-bottom: .8em; }
.md-quote-name { font-weight: 600; font-size: 1rem; margin: 0; }
.md-quote-name span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; }

/* ---------- call to action ---------- */
.cta { background: var(--navy); color: var(--paper); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid rgba(255,255,255,.08); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta h2 { color: var(--paper); margin-bottom: .25em; }
.cta p { color: var(--steel-light); margin: 0; max-width: 34em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--steel-light); padding: clamp(48px, 6vw, 72px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { max-width: 28em; }
.footer-heading { font-size: 1.3rem; color: var(--paper); margin-bottom: .6em; }
.site-footer a { color: var(--paper); text-decoration-color: rgba(255,255,255,.4); }
.site-footer a:hover { color: var(--paper); text-decoration-color: var(--amber); }
.footer-small { font-size: .875rem; opacity: .9; }
.footer-links, .footer-social { list-style: none; }
.footer-links li { padding: 3px 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; }
.footer-legal p { margin: 0; }

/* ---------- inner pages ---------- */
.page-head { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--paper); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 64px); }
.page-head h1 { color: var(--paper); font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: .98; letter-spacing: -0.01em; }
.page-head .lead { color: var(--steel-light); margin-bottom: 0; }
.page-head-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .page-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .9375rem; color: var(--steel-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--steel-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.two-col-even { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .two-col-even { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

.product-list { list-style: none; display: grid; gap: 0 48px; }
@media (min-width: 760px) { .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-list li { padding: 22px 0 26px; border-top: 1px solid var(--steel-light); }
.product-list h3 { font-size: 1.45rem; margin-bottom: .3em; }
.product-list p { margin: 0; color: var(--ink-soft); }

.point-list { list-style: none; display: grid; gap: 28px; }
@media (min-width: 760px) { .point-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.point-list h3 { font-size: 1.45rem; margin-bottom: .3em; }
.point-list p { margin: 0; color: var(--ink-soft); }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { padding-left: 26px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 3px; background: var(--amber); }

.service-row { display: grid; gap: 16px 48px; padding: 36px 0; border-top: 1px solid var(--steel-light); }
.service-row:last-of-type { border-bottom: 1px solid var(--steel-light); }
@media (min-width: 760px) { .service-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.service-row h2 { font-size: 1.9rem; margin: 0; }
.service-row p { margin: 0; max-width: 60ch; }

.project-group { padding: 40px 0; border-top: 1px solid var(--steel-light); }
.project-group h2 { font-size: 1.9rem; margin-bottom: 24px; }
.project-grid { display: grid; gap: 28px 24px; }
@media (min-width: 600px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-card h3 { font-size: 1.35rem; margin: 14px 0 .15em; }
.project-location { color: var(--ink-soft); font-size: .95rem; margin-bottom: .5em; }
.project-card p:last-child { margin: 0; }

.note { border-left: 3px solid var(--amber); padding: 6px 0 6px 20px; color: var(--ink-soft); max-width: 60ch; }

.value-list { list-style: none; display: grid; gap: 20px 32px; }
@media (min-width: 600px) { .value-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .value-list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.value-list h3 { font-size: 1.35rem; margin-bottom: .2em; }
.value-list p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.contact-block { padding: 20px 0; border-top: 1px solid var(--steel-light); }
.contact-block h2 { font-size: 1.5rem; margin-bottom: .35em; }
.contact-block p { margin: 0 0 .4em; }
.contact-block .footer-small { color: var(--ink-soft); }
.contact-phone { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; text-decoration: none; }
.map { aspect-ratio: 16 / 10; border: 1px solid var(--steel-light); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-preview { display: grid; place-items: center; background: var(--gal); color: var(--ink-soft); font-size: .95rem; text-align: center; padding: 24px; }
.map-preview p { margin: 0; }

.form { background: var(--gal); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); }
.form h2 { font-size: 1.9rem; margin-bottom: .6em; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span-2 { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; background: var(--paper);
  border: 1px solid var(--steel); border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid var(--amber); outline-offset: 1px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; margin-top: 6px; display: block; }
.form-error { border-left: 3px solid var(--danger); padding: 8px 0 8px 16px; margin-bottom: 20px; color: var(--ink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-foot p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.preview-note { background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: var(--radius); font-size: .9375rem; margin-bottom: 20px; }

/* ---------- misc ---------- */
.simple-page { max-width: 62ch; }
.not-found h1 { font-size: clamp(3rem, 7vw, 5rem); }

/* ---------- photos chosen in the editor ---------- */
.pic { aspect-ratio: var(--ph-ratio, 4 / 3); overflow: hidden; border-radius: var(--radius); background: var(--gal); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.product-photo { margin-bottom: 14px; }

/* ---------- preview bar (signed-in editors only) ---------- */
.preview-bar { background: var(--amber); color: var(--amber-ink); font-size: .9375rem; padding: 8px var(--gutter); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; }
.preview-bar a { color: var(--amber-ink); font-weight: 600; }
.preview-bar-links { display: flex; gap: 20px; }
