/* Bristol Vending — regional services brand
   Palette: Clifton limestone paper, harbour ink, warehouse terracotta.
   CITY-CLONE: no city strings here; colours can stay. */

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

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

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1e2a32;
  --ink-soft: #2c3a44;
  --paper: #f4efe6;
  --paper-2: #ebe4d8;
  --cream: #fffcf7;
  --sand: #e2d6c4;
  --terracotta: #c0562a;
  --terracotta-deep: #9e4320;
  --sea: #3a6b63;
  --sea-deep: #2c524c;
  --text: #243038;
  --muted: #5c6370;
  --line: #d8cdb8;
  --focus: #1e2a32;
  --danger: #8b2e1f;
  --ok: #2c524c;
  --shadow: 0 1px 2px rgba(30, 42, 50, 0.06), 0 12px 32px rgba(30, 42, 50, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 4.25rem;
  --space: 1.25rem;
  --measure: 40rem;
  --wrap: 70rem;
  --font-serif: "Fraunces", Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sea-deep);
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  z-index: 100;
  border-radius: var(--radius-sm);
}

.skip:focus {
  top: 0.75rem;
}

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

.wrap-narrow {
  width: min(100% - 1.75rem, 42rem);
  margin-inline: auto;
}

/* Header
   -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, white);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 550;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 550;
  padding: 0.45rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--terracotta-deep);
}

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

body.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.75rem 1.1rem;
  box-shadow: var(--shadow);
}

body.nav-open .site-nav a {
  width: 100%;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }
}

/* Buttons
   -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff8f4;
  border-color: var(--terracotta-deep);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  color: #fff8f4;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

.btn-on-dark {
  background: var(--cream);
  color: var(--ink);
}

.btn-on-dark:hover {
  background: #fff;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

/* Hero
   -------------------------------- */
.hero {
  padding: 2.5rem 0 3rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(192, 86, 42, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(58, 107, 99, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3rem;
    padding: 1.5rem 0 2rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea-deep);
  margin: 0 0 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--terracotta);
}

h1,
h2,
h3,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.55rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0;
}

.honesty-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: var(--shadow);
}

.honesty-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.honesty-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.honesty-card li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--paper-2);
  font-size: 0.98rem;
}

.honesty-card li:first-of-type {
  border-top: 0;
}

.tick,
.cross {
  font-weight: 700;
  font-size: 0.95rem;
}

.tick {
  color: var(--sea);
}

.cross {
  color: var(--terracotta);
}

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

/* Sections
   -------------------------------- */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.section-ink {
  background: var(--ink);
  color: #d7ddd8;
}

.section-ink h2,
.section-ink h3 {
  color: var(--cream);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.muted {
  color: var(--muted);
}

.section-ink .muted {
  color: #b7c0bb;
}

/* Steps
   -------------------------------- */
.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
}

.section-alt .step {
  background: var(--paper);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.step p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Chips / venues / areas
   -------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 550;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.section-alt .chips li {
  background: var(--paper);
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* FAQ
   -------------------------------- */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.faq details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.15rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--terracotta);
  font-size: 1.3rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Split band
   -------------------------------- */
.band {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .band {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

/* Footer
   -------------------------------- */
.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: #c5cdc8;
  padding: 2.4rem 0 1.6rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.2rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  max-width: 28rem;
  line-height: 1.3;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-bottom: 1.4rem;
}

.site-footer a {
  color: #e8ece8;
}

.legal-note {
  font-size: 0.85rem;
  color: #9aa59f;
  margin: 0;
  max-width: 40rem;
}

/* Forms
   -------------------------------- */
.form {
  display: grid;
  gap: 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

@media (min-width: 700px) {
  .form {
    padding: 1.75rem;
    grid-template-columns: 1fr 1fr;
  }

  .form .full {
    grid-column: 1 / -1;
  }
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 550;
  font-size: 0.95rem;
}

.req {
  color: var(--terracotta-deep);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  width: 100%;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--terracotta) 50%, transparent);
  outline-offset: 1px;
  border-color: var(--ink);
  background: #fff;
}

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

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  min-height: 48px;
  align-items: center;
}

.radios label,
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 450;
  font-size: 0.95rem;
}

.check {
  padding: 0.35rem 0;
}

input[type="radio"],
input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--terracotta);
  flex-shrink: 0;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-error {
  background: #f8e7e2;
  border: 1px solid #e2b4a8;
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.form-ok {
  background: #e4eee8;
  border: 1px solid #b7cfc4;
  color: var(--ok);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

/* Legal / long copy
   -------------------------------- */
.prose {
  max-width: var(--measure);
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
}

.prose h2 {
  margin-top: 2rem;
}

.notice {
  background: var(--paper-2);
  border-left: 3px solid var(--terracotta);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 650;
  background: var(--paper-2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Thanks / 404
   -------------------------------- */
.center-page {
  padding: 4rem 0 5rem;
  text-align: left;
  max-width: 36rem;
}

/* Page title block
   -------------------------------- */
.page-hero {
  padding: 2.4rem 0 0.5rem;
}

.page-hero .lead {
  margin-bottom: 0.5rem;
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}

.site-nav a.btn-primary,

.site-nav a.btn-primary:hover,

.site-nav a.btn-primary[aria-current="page"] {

  color: #fff8f4;

  box-shadow: none;

}

.tally-embed {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem 1rem;
  box-shadow: var(--shadow);
}
.tally-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 40rem;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 800px) {
  .logo-img {
    height: 48px;
  }
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-photo {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-photo img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 900px) {
  .hero-photo img {
    height: 16.5rem;
  }
}

.photo-cards {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .photo-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.photo-cards figure {
  margin: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-cards img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
}

.photo-cards figcaption {
  padding: 0.7rem 1rem 0.9rem;
  font-weight: 650;
  color: var(--ink);
}

.footer-seo {
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.footer-seo a {
  font-size: 0.9rem;
}


/* Blog index */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}
.post-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.post-list li:first-child {
  padding-top: 0;
}
.post-list h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}
.post-list h2 a {
  text-decoration: none;
  color: var(--ink);
}
.post-list h2 a:hover {
  color: var(--accent, #c45c26);
  text-decoration: underline;
}
.post-list p {
  margin: 0;
  color: var(--muted, #5c5a57);
}
