/* Store styles. Colours live in :root so they are easy to change.
   Look: Midnight and Sand. Midnight header, footer and buttons, a warm sand highlight on a light sand page,
   condensed bold headings, a big search bar, soft photo tiles and a dense product grid.
   Sand (--gold) is for fills and lines only, never small text. */

:root {
  --bg: #F5F1EA;
  --surface: #FFFFFF;
  --soft: #EEE8DD;
  --text: #16233B;
  --muted: #565F6E;
  --line: #E0D9CC;
  --night: #16233B;
  --night-dark: #0E1728;
  --accent: #16233B;
  --accent-dark: #0E1728;
  --on-accent: #FFFFFF;
  --gold: #C8A97E;
  --gold-soft: #EADFCB;
  --link: #2C4468;
  --cream: #FFFFFF;
  --sand: #EADFCB;
  --sage: #EEE8DD;
  --ice: #E3E5E9;
  --tile-green: #EADFCB;
  --tile-blue: #E3E5E9;
  --photo: #EEE8DD;
  --radius: 14px;
  --radius-small: 8px;
  --wrap: 1280px;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

a { color: var(--link); }
a:hover { color: var(--night); }

h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; font-weight: 700; }
h1, h2 { font-family: var(--display); letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 6vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }
.section { padding: 36px 0; }
@media (min-width: 900px) { .section { padding: 52px 0; } }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: 0.95rem; font-weight: 600; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }

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

/* Buttons: rounded pills */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 28px;
  background: var(--accent); color: var(--on-accent);
  border: 1px solid var(--accent); border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-outline { background: var(--surface); color: var(--accent-dark); border-color: var(--accent); }
.btn-outline:hover { background: var(--sage); color: var(--accent-dark); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--night-dark); }
.btn-gold:hover { background: #D6BC97; border-color: #D6BC97; color: var(--night-dark); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }
.btn.added { background: var(--gold); border-color: var(--gold); color: var(--night-dark); }
.btn-block { width: 100%; }

.link-btn { background: none; border: 0; padding: 4px 0; color: var(--link); font: inherit; font-size: 0.875rem; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* Top bar: small pill badges */

.topbar { background: var(--soft); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 8px; min-height: 40px; overflow-x: auto; scrollbar-width: none; }
.topbar-inner::-webkit-scrollbar { display: none; }
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px; font-size: 0.8rem; font-weight: 600; color: var(--night); white-space: nowrap;
}
.pill svg { color: var(--accent); }
.topbar-ship { margin-left: auto; }

/* Header: navy band with logo, search and basket, then a white category row */

.site-header { background: var(--surface); }
@media (min-width: 900px) { .site-header { position: sticky; top: 0; z-index: 20; } }

.header-main { background: var(--night); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo basket" "search search";
  align-items: center; gap: 4px 12px; padding-top: 8px; padding-bottom: 12px;
}
@media (min-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo search basket"; gap: 40px; padding-top: 14px; padding-bottom: 14px; }
}

.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.logo img { display: block; width: auto; }
.logo-badge { height: 46px; }
.logo-word { height: 36px; }
@media (min-width: 900px) { .logo-badge { height: 54px; } .logo-word { height: 42px; } }

.search { grid-area: search; display: flex; align-items: center; background: #fff; border-radius: 999px; height: 46px; padding: 0 5px 0 20px; max-width: 760px; width: 100%; justify-self: center; }
.search input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0;
  font: inherit; font-size: 16px; color: var(--text);
}
.search input:focus { outline: none; box-shadow: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search:focus-within { box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.6); }
.search button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 999px; background: var(--gold); color: var(--night-dark); cursor: pointer; }
.search button:hover { background: #D6BC97; }

.basket-link {
  grid-area: basket; position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 10px; border-radius: 999px;
  color: var(--on-accent); text-decoration: none; font-weight: 600;
}
.basket-link:hover { background: rgba(255, 255, 255, 0.12); color: var(--on-accent); }
.basket-label { display: none; }
@media (min-width: 900px) { .basket-label { display: inline; } }
.basket-count {
  position: absolute; top: 3px; left: 22px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: var(--night-dark);
  font-size: 0.72rem; font-weight: 700; line-height: 19px; text-align: center;
}
.basket-count[hidden] { display: none; }

.cat-nav { border-bottom: 1px solid var(--line); background: var(--surface); }
.cat-nav-inner { display: flex; align-items: stretch; gap: 24px; overflow-x: auto; scrollbar-width: none; height: 46px; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: none; display: inline-flex; align-items: center;
  color: var(--night); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  border-bottom: 3px solid transparent; padding-top: 3px;
}
.cat-nav a:hover, .cat-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--night-dark); }
.cat-nav .cat-nav-extra { color: var(--muted); }
@media (min-width: 900px) { .cat-nav .cat-nav-extra:first-of-type { margin-left: auto; } }

/* Photo placeholder */

.photo-box { background: var(--photo); display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; font-size: 0.9rem; }

/* Hero: a bold navy banner beside two pastel promo cards */

.hero-wrap { padding-top: 16px; }
@media (min-width: 900px) { .hero-wrap { padding-top: 24px; } }
.hero-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; } }

.hero-main {
  display: grid; gap: 20px; align-items: center;
  background: var(--night); color: #fff; border-radius: var(--radius); padding: 26px 20px;
  background-image: radial-gradient(circle at 92% 8%, rgba(242, 184, 75, 0.22), transparent 42%);
}
@media (min-width: 600px) { .hero-main { grid-template-columns: 1.1fr 1fr; padding: 34px; } }
@media (min-width: 900px) { .hero-main { grid-row: span 2; padding: 44px; gap: 32px; } }
.hero-main .eyebrow { color: #fff; }
.hero-main h1 { color: #fff; text-transform: uppercase; line-height: 0.98; margin-bottom: 14px; }
@media (min-width: 900px) { .hero-main h1 { font-size: 3.6rem; } }
.hero-lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.86); max-width: 34ch; margin-bottom: 24px; }
.hero-img { aspect-ratio: 16 / 9; border-radius: var(--radius); background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); border: 1px dashed rgba(255, 255, 255, 0.35); }
@media (min-width: 900px) { .hero-img { aspect-ratio: 1 / 1; } }
.hero-main-photo {
  display: flex; align-items: flex-end; min-height: 560px;
  background-color: var(--night);
  background-image: linear-gradient(0deg, #16233B 0%, #16233B 46%, rgba(22, 35, 59, 0) 72%), url("images/hero-hikers.jpg");
  background-size: 100% 100%, 100% auto; background-position: center, center -45vw; background-repeat: no-repeat;
}
.hero-main-photo > div { max-width: 440px; }
@media (min-width: 700px) {
  .hero-main-photo {
    align-items: center; min-height: 430px;
    background-image: linear-gradient(90deg, rgba(14, 23, 40, 0.94) 0%, rgba(14, 23, 40, 0.76) 45%, rgba(14, 23, 40, 0.05) 80%), url("images/hero-hikers.jpg");
    background-size: cover; background-position: center;
  }
}

.promo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: var(--radius); padding: 18px 20px; color: var(--text); text-decoration: none;
  transition: transform 0.15s ease;
}
.promo:hover { color: var(--text); transform: translateY(-2px); }
.promo h2 { font-size: 1.6rem; margin-bottom: 2px; color: var(--night); }
.promo p { font-size: 0.95rem; color: var(--muted); margin-bottom: 10px; }
.promo-link { font-weight: 700; font-size: 0.95rem; color: var(--accent-dark); }
.promo-link::after { content: " \2192"; }
.promo img { width: 104px; height: 104px; flex: none; object-fit: contain; background: #fff; border-radius: 999px; padding: 12px; }
@media (min-width: 900px) { .promo { padding: 22px 24px; } .promo img { width: 124px; height: 124px; } }
.promo-sand { background: var(--sand); }
.promo-gold { background: var(--gold-soft); }

/* Promise strip: why order here */

.promise { margin-top: 28px; }
.promise-inner { display: grid; gap: 10px; }
@media (min-width: 900px) { .promise-inner { grid-template-columns: auto repeat(3, 1fr); align-items: center; gap: 16px; } }
.promise-title { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--night); margin: 0 0 2px; }
@media (min-width: 900px) { .promise-title { margin: 0 12px 0 0; } }
.promise-item { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: var(--radius); padding: 12px 16px; font-size: 0.95rem; font-weight: 600; line-height: 1.3; color: var(--night); }
.promise-item svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 999px; background: var(--gold); color: var(--night-dark); }

/* Product grid and cards */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; }
.card-photo { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.card-photo:hover { border-color: #CFC7B8; box-shadow: 0 4px 14px rgba(22, 35, 59, 0.08); }
.card-img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
/* Product shots sit on white, so show the whole pack with some breathing room */
.product-photo { object-fit: contain; background: #fff; padding: 8%; }
.line-img.product-photo { padding: 6px; border: 1px solid var(--line); }
.sold-out .product-photo { opacity: 0.55; }
.stock-note { font-size: 0.85rem; font-weight: 700; color: var(--muted); }

.card-body { padding: 10px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card-name { font-size: 0.95rem; font-weight: 400; line-height: 1.35; margin-bottom: 4px; }
.card-name a { color: var(--text); text-decoration: none; }
.card-name a:hover { color: var(--link); text-decoration: underline; }
.card-name strong { font-weight: 700; color: var(--night); }
.card-cat { font-size: 0.8rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.card-size { color: var(--muted); font-size: 0.85rem; margin-bottom: 2px; }
.card-npn { font-size: 0.78rem; color: var(--muted); margin-bottom: 8px; }
.card-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 6px; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--night); line-height: 1.1; }

.after-grid { margin-top: 28px; text-align: center; }

/* Product page */

.product-page { padding-top: 16px; padding-bottom: 64px; }
.crumbs { margin-bottom: 16px; color: var(--muted); }
.crumbs a { color: var(--link); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.product-img { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); border: 1px solid var(--line); }
@media (min-width: 900px) { .product-img { position: sticky; top: 160px; } }
.product-info h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 6px; color: var(--night); }
.product-variant { color: var(--muted); margin-bottom: 12px; }
.product-price { font-family: var(--display); font-size: 2.3rem; font-weight: 700; color: var(--night); line-height: 1.1; margin-bottom: 4px; }
.product-info .card-npn { margin-bottom: 0; font-size: 0.88rem; }
.product-info .btn { margin-top: 18px; width: 100%; min-height: 52px; font-size: 1.05rem; }
@media (min-width: 600px) { .product-info .btn { width: auto; min-width: 260px; } }
.product-info .stock-note { margin-top: 18px; font-size: 1rem; }
.product-desc { margin: 24px 0 0; font-size: 1.05rem; }
.product-block { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.product-block h2 { font-size: 1.35rem; margin-bottom: 8px; color: var(--night); }
.product-block p { margin: 0; }
.product-list { margin: 0; padding-left: 1.2em; }
.product-list li { margin-bottom: 6px; }
.product-info > .small.muted { margin-top: 24px; }

/* Shop by category: pastel photo tiles that scroll sideways on phones */

.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .cats { grid-auto-columns: 26%; } }
@media (min-width: 900px) { .cats { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; } }
@media (min-width: 1200px) { .cats { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.cat {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 10px 14px; border-radius: var(--radius); text-align: center;
  color: var(--night); text-decoration: none; font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  transition: transform 0.15s ease;
}
.cat:hover { color: var(--night-dark); transform: translateY(-3px); }
.cat-img { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.cat-img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.cat-img svg { width: 42%; height: 42%; color: var(--night); }
.cat:nth-child(5n+1) { background: var(--sage); }
.cat:nth-child(5n+2) { background: var(--sand); }
.cat:nth-child(5n+3) { background: var(--gold-soft); }
.cat:nth-child(5n+4) { background: var(--ice); }
.cat:nth-child(5n+5) { background: var(--cream); }

/* How ordering works */

.how { background: var(--cream); }
.steps { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.step { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.step h3 { font-size: 1.1rem; color: var(--night); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--gold); color: var(--night-dark);
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 12px;
}
.step p { margin: 0; color: var(--muted); }

/* Page headers */

.page-head { padding-top: 28px; padding-bottom: 4px; }
.page-head h1 { color: var(--night); }
.page-head p { color: var(--muted); max-width: 64ch; }

/* Shop filters */

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 4px 6px 0; margin-bottom: 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--night);
  font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer;
}
.chip:hover { border-color: var(--night); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.search-note { margin: -8px 0 18px; color: var(--muted); }

/* Basket */

.basket-layout, .order-layout { display: grid; gap: 24px; padding-bottom: 64px; align-items: start; }
@media (min-width: 900px) {
  .basket-layout, .order-layout { grid-template-columns: 1fr 380px; gap: 40px; }
}

.lines { display: grid; gap: 0; border-top: 1px solid var(--line); }
.line {
  display: grid; grid-template-columns: 80px 1fr; gap: 14px;
  background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 0;
}
.line-img { width: 80px; height: 80px; border-radius: var(--radius-small); font-size: 0.7rem; text-align: center; object-fit: cover; }
.line-info h3 { margin-bottom: 2px; }
.line-info p { margin: 0; }
.line-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.line-total { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--night); }
@media (min-width: 600px) {
  .line { grid-template-columns: 96px 1fr auto; align-items: center; }
  .line-img { width: 96px; height: 96px; }
  .line-controls { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 6px; }
}

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 40px; border: 0; background: none; font: inherit; font-size: 1.1rem; font-weight: 700; color: var(--night); cursor: pointer; }
.qty button:hover { background: var(--sage); }
.qty input { width: 42px; height: 40px; border: 0; background: none; text-align: center; font: inherit; font-weight: 700; color: var(--text); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.summary { background: var(--cream); border-radius: var(--radius); padding: 22px; }
@media (min-width: 900px) { .summary { position: sticky; top: 160px; } }
.summary h2 { font-size: 1.6rem; color: var(--night); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-row span:last-child { text-align: right; }
.summary-row.muted { font-size: 0.9rem; }
.summary-row.total { border-bottom: 0; font-weight: 700; font-size: 1.2rem; padding-top: 14px; margin-bottom: 16px; color: var(--night); }
.summary-note { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; }

.mini-line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; padding: 6px 0; }

.empty-box { background: var(--cream); border-radius: var(--radius); padding: 40px 20px; text-align: center; }
.empty { color: var(--muted); }

/* Forms */

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.form-card h2 { font-size: 1.5rem; margin-top: 4px; color: var(--night); }
.form-card h2:not(:first-child) { margin-top: 28px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid #CFC7B8; border-radius: var(--radius-small);
  background: #fff; color: var(--text);
  font: inherit; font-size: 16px;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(22, 35, 59, 0.15); }

fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.choice {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius-small);
  padding: 14px; margin-top: 8px; cursor: pointer; background: #fff;
}
.choice:has(input:checked) { border-color: var(--accent); background: var(--sage); }
.choice input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.choice strong { display: block; }
.choice span span { font-size: 0.875rem; color: var(--muted); }

.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; margin: 8px 0 20px; }
.agree input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }

.form-error { background: #FDECEA; color: #8A1C10; border-radius: var(--radius-small); padding: 12px 14px; font-size: 0.92rem; margin-bottom: 16px; }

/* Thanks */

.thanks-card { max-width: 680px; margin: 0 auto 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; }
.thanks-card h2 { font-size: 1.5rem; margin-top: 28px; color: var(--night); }
.order-number { background: var(--night); color: #fff; border-radius: var(--radius-small); padding: 18px; margin-bottom: 18px; display: grid; gap: 2px; }
.order-number .muted { color: rgba(255, 255, 255, 0.85); }
.order-number strong { font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: 0.03em; }
.steps-list { padding-left: 1.2em; }
.steps-list li { margin-bottom: 10px; }

/* 404 */

.not-found { padding-top: 56px; padding-bottom: 96px; max-width: 720px; }
.not-found h1 { color: var(--night); }
.not-found p { color: var(--muted); font-size: 1.05rem; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Text pages */

.prose { max-width: 760px; padding-bottom: 64px; }
.prose h2 { font-size: 1.5rem; margin-top: 32px; color: var(--night); }
.badge { display: inline-block; background: var(--gold-soft); color: #6B4A0C; border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; margin-bottom: 16px; }

.contact-grid { display: grid; gap: 16px; padding-bottom: 64px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.contact-card { border-radius: var(--radius); padding: 24px; }
.contact-card h2 { color: var(--night); }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { font-weight: 700; word-break: break-word; }

/* Footer: midnight navy with link columns */

.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.85); padding: 44px 0 28px; margin-top: 16px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 820px) { .footer-brand { grid-column: auto; } }
.site-footer .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; margin: 0; }
.footer-col h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 3px; margin-bottom: 10px; }
.footer-col a { display: block; color: #fff; text-decoration: none; font-size: 0.95rem; padding: 4px 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.copyright { font-size: 0.85rem; margin: 0; }
.credit { font-size: 0.82rem; margin: 0; }
.credit a { color: #fff; }
.credit a:hover { color: #fff; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
