/*
 * Fonts from the business plan and pitch: Calibri for body copy, Georgia for
 * headings, with Trebuchet MS and Arial in the stack. Carlito is the
 * metric-compatible face served when Calibri is not installed.
 * Colors sampled from the logo and the pitch palette: earthy brown,
 * sky blue #1BB8FF, warm orange #E97132, and gold #FFB308.
 */

@font-face {
  font-family: "Carlito";
  src: url("/assets/Carlito-Regular-61bf8ea5.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("/assets/Carlito-Bold-00deb422.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown: #5c3310;
  --brown-deep: #3e2412;
  --sky: #1bb8ff;
  --sky-deep: #0a6eae;
  --orange: #e97132;
  --gold: #ffb308;
  --cream: #fff6e8;
  --paper: #fffdf8;
  --ink: #2a1a0c;
  --line: #e4cba8;
  --font-body: Calibri, Carlito, "Trebuchet MS", Arial, sans-serif;
  --font-display: Georgia, "Trebuchet MS", serif;
  --space: 1.25rem;
  --max: 68rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(27, 184, 255, 0.18), transparent 28rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
}

h1, h2, h3, .coming-soon, .header-tagline {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.45rem; margin: 0.2rem 0 0.4rem; }

p { margin: 0 0 0.9rem; }

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

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

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  z-index: 5;
}

.skip-link:focus { top: 0.5rem; }

.site-header {
  background: var(--brown);
  color: var(--cream);
}

.coming-soon {
  margin: 0;
  background: var(--gold);
  color: var(--brown-deep);
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.15rem;
  padding: 0.55rem 1rem;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem var(--space) 1rem;
}

.brand-logo {
  width: 7.5rem;
  height: auto;
  display: block;
  background: var(--cream);
  border-radius: 1rem;
}

.header-copy { flex: 1 1 14rem; }
.header-kicker, .header-tagline { margin: 0; color: var(--cream); }
.header-kicker { font-family: var(--font-body); letter-spacing: 0.04em; }
.header-tagline { font-size: 1.35rem; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover, .site-nav a:focus { border-bottom-color: var(--gold); color: var(--gold); }

.cart-count {
  display: inline-block;
  min-width: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  text-align: center;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--space) 3rem;
}

.hero, .band, .split, .offering-group, .prose {
  margin-bottom: 2rem;
}

.lede { font-size: 1.3rem; }

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-actions, .action-row, .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button, button, input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font: 700 1rem/1 var(--font-body);
  padding: 0.8rem 1.15rem;
  text-decoration: none;
  cursor: pointer;
}

.button:hover, button:hover, input[type="submit"]:hover { background: #cf5d1d; }

.button-secondary {
  background: var(--sky-deep);
}

.button-secondary:hover { background: #08598c; }

.text-link, .text-button {
  background: transparent;
  color: var(--sky-deep);
  border: 0;
  border-radius: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.band, .card, .square-panel, .prose.narrow, .details, .cart-table {
  background: var(--paper);
}

.band, .card, .square-panel {
  border: 3px solid var(--brown);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
}

.price-list, .checkout-lines { list-style: none; padding: 0; margin: 0 0 1rem; }

.price-list li, .checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.card-price, .total {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.card-audience {
  margin: 0;
  color: var(--sky-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

.hours, .cart-table { width: 100%; border-collapse: collapse; }

.hours th, .hours td, .cart-table th, .cart-table td {
  text-align: left;
  padding: 0.45rem 0.3rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.hours th { font-weight: 700; padding-right: 1rem; }

.narrow { max-width: 40rem; }

.field { margin-bottom: 0.9rem; }

label { display: block; font-weight: 700; margin-bottom: 0.25rem; }

input, select, textarea {
  width: 100%;
  max-width: 28rem;
  font: 1rem/1.4 var(--font-body);
  padding: 0.55rem 0.65rem;
  border: 2px solid var(--brown);
  border-radius: 0.6rem;
  background: white;
  color: var(--ink);
}

.inline-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; }
.inline-form input[type="number"] { width: 5rem; }
.hint { color: #5c4632; font-size: 0.95rem; }

.form-errors, .flash {
  background: #fff1e4;
  border: 2px solid var(--orange);
  border-radius: 0.8rem;
  padding: 0.7rem 0.9rem;
}

.flashes { max-width: var(--max); margin: 1rem auto 0; padding: 0 var(--space); }

.details { margin: 0 0 1rem; }
.details div { display: grid; grid-template-columns: 9rem 1fr; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.details dt { font-weight: 700; }

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}

.people figure {
  margin: 0;
  background: white;
  border: 3px solid var(--brown);
  border-radius: 1rem;
  overflow: hidden;
}

.people img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #ddd;
}

.people figcaption { padding: 0.8rem; }

.square-panel { margin-top: 1.5rem; background: #f3fbff; }

.site-footer {
  background: var(--brown-deep);
  color: var(--cream);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  padding: 1.5rem var(--space) 2rem;
}

.site-footer a { color: var(--gold); }
.site-footer h2 { font-size: 1.3rem; }
.footer-name { font-family: var(--font-display); font-size: 1.3rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.field_with_errors input,
.field_with_errors select,
.field_with_errors textarea { border-color: #9d1c1c; }

@media (max-width: 640px) {
  .details div { grid-template-columns: 1fr; gap: 0.1rem; }
  .brand-logo { width: 5.5rem; }
  .cart-table { font-size: 1rem; }
}
