/* Haluwasa Staff Alumni Reunion 2026
   Palette lifted from the autumn banner art in the source document. */

:root {
  --cream:      #fdf6e7;
  --cream-deep: #f6ead1;
  --paper:      #fffdf7;
  --sun:        #f2c94c;
  --amber:      #e79c3c;
  --pumpkin:    #d1712f;
  --rust:       #b04a26;
  --lake:       #8cbcd8;
  --lake-deep:  #4f8fb5;
  --bark:       #5d3b23;
  --ink:        #33241a;
  --ink-soft:   #6b5647;
  --rule:       #e3d4b6;

  --serif: "Bitter", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --hand:  "Caveat", "Bradley Hand", cursive;

  --measure: 66ch;
  --shell: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background-color: var(--cream);
  /* Faint paper tooth so the cream doesn't read as flat digital beige. */
  background-image:
    radial-gradient(circle at 15% 8%, rgba(231,156,60,.055), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(140,188,216,.07), transparent 38%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pumpkin); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--bark);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

.shell { width: min(var(--shell), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: var(--measure); }

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 246, 231, .93);
  backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .7rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--bark);
  text-decoration: none;
  letter-spacing: -.015em;
}
.wordmark span {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pumpkin);
  margin-top: .18rem;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: .25rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--rust); border-bottom-color: var(--amber); }
.nav a.is-current { color: var(--bark); border-bottom-color: var(--pumpkin); }
.nav .btn { border-bottom: none; }

@media (max-width: 800px) {
  .masthead__inner { flex-wrap: wrap; gap: .75rem 1.1rem; }
  .nav { gap: 1.1rem; flex-wrap: wrap; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .68rem 1.35rem;
  border: 2px solid var(--rust);
  border-radius: 2px;
  background: var(--rust);
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  box-shadow: 3px 3px 0 rgba(93, 59, 35, .22);
}
.btn:hover {
  color: var(--cream);
  background: var(--pumpkin);
  border-color: var(--pumpkin);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(93, 59, 35, .26);
}
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(93,59,35,.25); }

.btn--ghost {
  background: transparent;
  color: var(--rust);
  box-shadow: 3px 3px 0 rgba(93, 59, 35, .14);
}
.btn--ghost:hover { background: var(--rust); color: var(--cream); border-color: var(--rust); }

.btn--sm { font-size: .72rem; padding: .48rem .9rem; }

/* ---------- hero ---------- */

.hero { position: relative; padding-top: 3.4rem; text-align: center; overflow: hidden; }

.hero__kicker {
  font-family: var(--hand);
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  color: var(--pumpkin);
  transform: rotate(-1.6deg);
  margin: 0 0 .1em;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.35rem, 6.4vw, 4.15rem);
  font-weight: 800;
  margin: 0 auto .35rem;
  max-width: 14ch;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
  color: var(--bark);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .55rem 0;
  margin-bottom: 1.6rem;
}
.hero__meta .dot { color: var(--amber); }

.hero__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero__art {
  display: block;
  width: 100%;
  margin-bottom: -1px;
}

/* ---------- sections ---------- */

.band { padding-block: 3.6rem; }
.band--paper { background: var(--paper); border-block: 1px solid var(--rule); }
.band--lake  { background: linear-gradient(180deg, #a7cde2, #8cbcd8); }
.band--tight { padding-block: 2.4rem; }

.section-head { margin-bottom: 1.9rem; }
.section-head__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pumpkin);
  margin: 0 0 .45rem;
}
.section-head h2 { font-size: clamp(1.65rem, 3.6vw, 2.3rem); margin: 0; }
.section-head__rule {
  width: 3.2rem;
  height: 3px;
  background: var(--amber);
  margin-top: .9rem;
  border-radius: 2px;
}

.lede { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- schedule ---------- */

.day { margin-bottom: 3rem; }

.day__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  padding-bottom: .7rem;
  border-bottom: 3px solid var(--bark);
  margin-bottom: 0;
}
.day__title { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.day__title small {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pumpkin);
  margin-bottom: .25rem;
}

.slots { list-style: none; margin: 0; padding: 0; }

.slot {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0 1.5rem;
  align-items: baseline;
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule);
}
.slot:last-child { border-bottom: none; }

.slot__time {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--rust);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.slot__name { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.slot__note { display: block; font-family: var(--sans); font-weight: 400; font-size: .93rem; color: var(--ink-soft); margin-top: .1rem; }

.slot--optional .slot__name::after {
  content: "optional";
  display: inline-block;
  margin-left: .6rem;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lake-deep);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .05rem .5rem;
  vertical-align: middle;
}

@media (max-width: 620px) {
  .slot { grid-template-columns: 1fr; gap: .1rem; }
  .slot__time { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
}

/* ---------- price cards ---------- */

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

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--amber);
  border-radius: 3px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 1px 0 rgba(93,59,35,.05), 0 10px 22px -18px rgba(93,59,35,.6);
}
.card--feature { border-top-color: var(--rust); }
.card h3 { font-size: 1.22rem; margin-bottom: .15rem; }
.card__tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pumpkin); margin: 0 0 .55rem;
}
.card__note { font-size: .9rem; color: var(--ink-soft); margin: .9rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--rule); }

.rate { list-style: none; margin: .8rem 0 0; padding: 0; }
.rate li {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .35rem 0;
  font-size: .96rem;
}
.rate li + li { border-top: 1px dotted var(--rule); }
.rate .lbl { color: var(--ink-soft); }
.rate .lead { flex: 1; border-bottom: 1px dotted #d8c6a4; transform: translateY(-.25em); }
.rate .amt { font-family: var(--serif); font-weight: 700; color: var(--bark); white-space: nowrap; }
.rate .amt--free { color: var(--lake-deep); }

/* ---------- faces ---------- */

.faces-frame {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1rem;
  box-shadow: 0 14px 30px -24px rgba(93,59,35,.8);
  transform: rotate(-.45deg);
}

/* ---------- notes list ---------- */

.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.notes li { position: relative; padding-left: 1.9rem; }
.notes li::before {
  content: "";
  position: absolute;
  left: .35rem; top: .62em;
  width: .5rem; height: .5rem;
  background: var(--amber);
  transform: rotate(45deg);
}

/* ---------- callout ---------- */

.callout {
  background: var(--cream-deep);
  border-left: 5px solid var(--pumpkin);
  padding: 1.2rem 1.4rem;
  border-radius: 0 3px 3px 0;
}
.callout p:last-child { margin-bottom: 0; }

.signoff {
  font-family: var(--hand);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--rust);
  transform: rotate(-.8deg);
  margin: 0;
}

/* ---------- footer ---------- */

.footer {
  background: var(--bark);
  color: #e9dcc9;
  padding-block: 2.6rem;
  font-size: .95rem;
}
.footer a { color: var(--sun); }
.footer h3 { color: var(--sun); font-size: 1.05rem; }
.footer__grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.footer__fine { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(233,220,201,.22); font-size: .82rem; color: #bda88f; }

/* ---------- form ---------- */

.form-shell { width: min(760px, 100% - 2.5rem); margin-inline: auto; }

fieldset {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  padding: 1.5rem 1.5rem 1.6rem;
  margin: 0 0 1.6rem;
}
legend {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--bark);
  padding-inline: .55rem;
  margin-left: -.55rem;
}
fieldset .hint { margin-top: -.2rem; }

.hint { font-size: .9rem; color: var(--ink-soft); margin: 0 0 1.1rem; }

.field { margin-bottom: 1.15rem; }
.field:last-child { margin-bottom: 0; }

label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: .35rem; color: var(--ink); }
label .opt { font-weight: 400; color: var(--ink-soft); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9c8a6;
  border-radius: 3px;
  padding: .6rem .7rem;
  transition: border-color .12s ease, box-shadow .12s ease;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pumpkin);
  box-shadow: 0 0 0 3px rgba(209,113,47,.18);
}
input[type="number"] { max-width: 8rem; }

input[type="checkbox"], input[type="radio"] { accent-color: var(--rust); width: 1.05rem; height: 1.05rem; margin: 0; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 400;
  font-size: .98rem;
  margin-bottom: .5rem;
  cursor: pointer;
}
.check:last-child { margin-bottom: 0; }
.check input { margin-top: .28rem; flex: none; }

.check-grid { display: grid; gap: .1rem .9rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.yesno { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.yesno .check { margin-bottom: 0; }

.row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .row { grid-template-columns: 1fr; } }

.reveal { display: none; }
.reveal.is-open { display: block; }

.subpanel {
  border-left: 3px solid var(--amber);
  background: var(--cream);
  padding: 1.1rem 1.1rem .1rem;
  margin-top: .9rem;
  border-radius: 0 3px 3px 0;
}
.subpanel > .field:last-child { margin-bottom: 1rem; }
.subpanel h4 { font-size: 1rem; margin-bottom: .9rem; color: var(--rust); }

.repeat-row {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr 6rem;
  align-items: end;
  margin-bottom: .85rem;
}
.repeat-row--shirt { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .repeat-row, .repeat-row--shirt { grid-template-columns: 1fr; } }

/* running cost estimate */
.estimate {
  position: sticky;
  bottom: 0;
  background: var(--bark);
  color: #f4e8d5;
  border-radius: 3px 3px 0 0;
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -8px 20px -14px rgba(51,36,26,.85);
  z-index: 20;
}
.estimate__label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); font-weight: 700; }
.estimate__amt { font-family: var(--serif); font-weight: 800; font-size: 1.5rem; }
.estimate__fine { font-size: .8rem; color: #c2ad93; flex-basis: 100%; margin: 0; }
.estimate details { flex-basis: 100%; }
.estimate summary { cursor: pointer; font-size: .82rem; color: var(--sun); }
.estimate table { width: 100%; margin-top: .6rem; border-collapse: collapse; font-size: .85rem; }
.estimate td { padding: .22rem 0; border-bottom: 1px solid rgba(233,220,201,.16); }
.estimate td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.form-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: 1.8rem 0 3rem; }

.form-error {
  background: #fbe3da;
  border: 1px solid var(--rust);
  color: #7d2f14;
  padding: .8rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.2rem;
}

/* ---------- utility ---------- */

.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute; 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) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
