/* ==========================================================================
   Tauranga Pickleball Club — stylesheet
   Plain CSS, no build step. Edit colours via the variables in :root below.
   ========================================================================== */

/* --- Design tokens -------------------------------------------------------- */
:root {
  --charcoal: #1a1a1a;
  --charcoal-soft: #242424;
  --charcoal-line: #383838;
  --teal: #2c8c8c;
  --teal-dark: #226d6d;
  --cream: #f2e7ce;
  --orange: #e0913c;
  --orange-dark: #c87a26;
  --rust: #c0432e;

  --ink: #1a1a1a;          /* dark text on light surfaces */
  --paper: #faf5ea;        /* light page background       */
  --muted: #5c5750;        /* secondary text on light     */
  --muted-dark: #b9b2a6;   /* secondary text on dark      */

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.22);

  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--teal-dark); }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #1a1a1a;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--teal { background: var(--teal); color: #fff; }
.section--paper2 { background: #fff; }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--rust);
  margin-bottom: 10px;
}
.section--dark .eyebrow,
.section--teal .eyebrow { color: var(--orange); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }
.section--teal .lead { color: rgba(255, 255, 255, 0.9); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--orange); color: #1d1402; }
.btn-primary:hover { background: var(--orange-dark); box-shadow: var(--shadow); }

.btn-rust { background: var(--rust); color: #fff; }
.btn-rust:hover { background: #a5371f; box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
/* On light sections, ghost buttons need dark ink + a visible border.
   (Default ghost inherits the surrounding text colour, which is light on
   our dark/teal sections, so leave those alone.) */
.section--paper2 .btn-ghost,
.section:not(.section--dark):not(.section--teal) .btn-ghost {
  color: var(--ink);
  border-color: var(--charcoal-line);
}
.section--paper2 .btn-ghost:hover,
.section:not(.section--dark):not(.section--teal) .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-sm { padding: 9px 18px; font-size: 0.92rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row.center { justify-content: center; }

/* --- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--charcoal-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-weight: 800;
}
.brand img { height: 42px; width: auto; }
.brand span { font-size: 1.02rem; letter-spacing: 0.01em; }
.brand small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin-inline: auto;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  font-size: 0.98rem;
}
.nav-menu a:hover { background: rgba(255, 255, 255, 0.08); }
.nav-menu a[aria-current="page"] { color: var(--orange); }
.nav-menu .btn { margin-left: 8px; }

/* Tighten the brand lockup on small screens so it never crowds the logo */
@media (max-width: 600px) {
  .brand img { height: 36px; }
  .brand span { white-space: nowrap; font-size: 0.96rem; }
  .brand small { display: none; }
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--charcoal);
    border-bottom: 1px solid var(--charcoal-line);
    padding: 12px 20px 22px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 12px 10px; font-size: 1.06rem; }
  .nav-menu .btn { margin: 10px 0 0; justify-content: center; }
}
@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .nav-menu { transform: none !important; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--cream);
  background: var(--charcoal);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.72), rgba(20, 20, 20, 0.92)),
    url("../img/background-main-1920_1080.png") center / cover no-repeat;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(56px, 10vw, 110px) 0;
}
@media (min-width: 880px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
}
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero .tagline {
  font-size: 1.22rem;
  color: var(--cream);
  max-width: 36ch;
  margin-bottom: 1.6rem;
}
.hero-logo { justify-self: center; }
.hero-logo img {
  width: min(360px, 78vw);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 140, 140, 0.22);
  border: 1px solid rgba(242, 231, 206, 0.25);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}

/* --- Retro stripe accent -------------------------------------------------- */
.stripe {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--teal) 0 25%,
    var(--cream) 25% 50%,
    var(--orange) 50% 75%,
    var(--rust) 75% 100%
  );
}

/* --- Cards / grids -------------------------------------------------------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.section--dark .card {
  background: var(--charcoal-soft);
  border-color: var(--charcoal-line);
  color: var(--cream);
}
.card h3 { margin-bottom: 0.4em; }

/* Session cards */
.session {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal-soft);
  border: 1px solid var(--charcoal-line);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.session img { aspect-ratio: 1 / 1; object-fit: cover; }
.session .session-body { padding: 20px 22px 24px; }
.session h3 { color: #fff; margin-bottom: 6px; }
.session .when { color: var(--orange); font-weight: 800; }
.session .where { color: var(--muted-dark); margin: 2px 0 0; }
.session .note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted-dark);
}
.tag {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag.rust { background: var(--rust); }
.tag.orange { background: var(--orange); color: #1d1402; }

/* Link cards (events / GPN deep links) */
.linkcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.linkcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.linkcard .ic { font-size: 1.8rem; line-height: 1; }
.linkcard h3 { margin: 0; }
.linkcard p { margin: 0; color: var(--muted); }
.linkcard .go { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--rust); }

/* Stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  text-align: center;
}
.stat .num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat .label {
  margin-top: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* Feature list with check marks */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 2px var(--teal);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--rust);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p:last-child { margin-bottom: 16px; }
.faq details > *:not(summary) { color: var(--muted); }

/* Contact methods */
.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card { text-align: center; }
.contact-card .ic { font-size: 2rem; }
.contact-card a { font-weight: 700; word-break: break-word; }

/* Generic prose blocks */
.prose { max-width: 720px; }
.prose blockquote {
  margin: 0 0 1.4rem;
  padding: 18px 24px;
  border-left: 5px solid var(--orange);
  background: rgba(224, 145, 60, 0.1);
  border-radius: 0 10px 10px 0;
  font-size: 1.1rem;
  font-style: italic;
}
.section--dark .prose blockquote { background: rgba(224, 145, 60, 0.14); }

/* Page header (interior pages) */
.page-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(48px, 8vw, 84px) 0 clamp(40px, 6vw, 64px);
  position: relative;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--muted-dark); max-width: 60ch; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 52ch; margin-inline: auto; }

/* --- Live GPN embed ------------------------------------------------------- */
.gpn-embed {
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.gpn-embed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: var(--charcoal);
  color: var(--cream);
}
.gpn-embed__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.9rem;
}
.gpn-embed__live .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #39d353;
  animation: gpn-pulse 2s infinite;
}
@keyframes gpn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(57, 211, 83, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(57, 211, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 211, 83, 0); }
}
@media (max-width: 600px) {
  .gpn-embed__bar { flex-wrap: wrap; }
}

/* Live-rendered sessions list (on-brand, fetched from GPN) */
.sessions-live__body {
  background: #fbf8f1;
  padding: 16px;
}
.sessions-live__status {
  margin: 0;
  padding: 14px 6px;
  color: var(--muted);
}
.event-list {
  display: grid;
  gap: 12px;
}
.event-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.event-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.event-date {
  flex: 0 0 58px;
  text-align: center;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 10px;
  padding: 8px 4px;
}
.event-date .m {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--orange);
}
.event-date .d {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.05;
}
.event-body { min-width: 0; }
.event-body h3 { font-size: 1.05rem; margin: 0 0 5px; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}
.event-meta .when { color: var(--rust); font-weight: 700; }
.event-cancelled {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rust);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.event-card.is-cancelled { opacity: 0.72; }
.event-card.is-cancelled h3 { text-decoration: line-through; }

/* --- Apparel order form --------------------------------------------------- */
.order-item {
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}
.order-item__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.order-item__variants { display: flex; flex-direction: column; }
.order-variant {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  padding: 12px 0;
  border-top: 1px dashed #efe7d6;
}
.order-variant:first-child { border-top: 0; padding-top: 0; }
.order-variant__remove {
  margin-left: auto;
  align-self: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  border: 1px solid #d9cfba;
  background: #fff;
  color: var(--rust);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.order-variant__remove:hover { background: rgba(192, 67, 46, 0.08); }
.order-item__variants .order-variant:only-child .order-variant__remove { display: none; }
.order-item__add {
  margin-top: 12px;
  background: none;
  border: 1px dashed #c9bfa8;
  color: var(--rust);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
}
.order-item__add:hover { background: rgba(192, 67, 46, 0.06); }
.order-item__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-item__thumb img.is-placeholder { width: 70%; height: 70%; object-fit: contain; opacity: 0.85; }
.order-item__thumb img[data-large] { cursor: zoom-in; }
.order-item__thumb img:not(.is-placeholder) { cursor: zoom-in; }
.order-item__info { flex: 1; }

/* Image lightbox — click a product image to view it large */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 34px;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
}
.order-item__info h3 { margin: 0 0 2px; font-size: 1.1rem; }

.size-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.size-guide__label { font-weight: 800; }
.size-guide__link { font-weight: 700; text-decoration: none; color: var(--teal-dark); }
.size-guide__link:hover { text-decoration: underline; }

/* Size charts */
.size-diagram {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 6px auto 18px;
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: 12px;
  padding: 10px;
}
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.size-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-width: 460px;
}
.size-table th,
.size-table td { padding: 11px 14px; text-align: center; border-bottom: 1px solid #efe7d6; }
.size-table thead th {
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.size-table tbody th {
  background: #faf5ea;
  font-weight: 800;
  color: var(--ink);
  text-align: left;
}
.size-table tbody tr:nth-child(even) td { background: #fcf9f2; }
.size-table tbody tr:last-child th,
.size-table tbody tr:last-child td { border-bottom: 0; }
.order-item__info .price { margin: 0; color: var(--rust); font-weight: 800; }
.order-item__controls { display: flex; flex-wrap: wrap; gap: 12px; }
.order-item__field { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.order-item__field select,
.order-item__field input {
  font: inherit;
  font-weight: 500;
  padding: 9px 10px;
  border: 1px solid #d9cfba;
  border-radius: 8px;
  background: #fff;
  min-width: 84px;
}
.order-item__field input[type="number"] { width: 84px; }

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 6px;
  font-size: 1.05rem;
}
.order-total strong { font-size: 1.5rem; color: var(--orange); }

.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.field--full { grid-column: 1 / -1; }
.field span em { color: var(--rust); font-style: normal; }
.field input,
.field textarea {
  font: inherit;
  font-weight: 500;
  padding: 11px 12px;
  border: 1px solid #d9cfba;
  border-radius: 9px;
  background: #fff;
}
.field input:focus,
.field textarea:focus,
.order-item__field select:focus,
.order-item__field input:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.form-error {
  margin-top: 16px;
  background: rgba(192, 67, 46, 0.1);
  border-left: 4px solid var(--rust);
  color: #8f2d1c;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: #121212;
  color: var(--muted-dark);
  padding: 52px 0 28px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 12px; }
.footer-brand p { max-width: 34ch; }
.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1f1f1f;
  border: 1px solid var(--charcoal-line);
  color: var(--cream);
  font-weight: 800;
}
.social-row a:hover { background: var(--teal); color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #262626;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* --- Utilities ------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
