/* Negril Culinary Classic style sheet
   Locked November 29, 2026 from Version 3 of the home page design.
   Change values here and every page follows. */

:root {
  /* color */
  --green: #0B6B3A;        /* lead color: wordmark, every button, links */
  --yellow: #F6C21A;       /* guest list band, middle bar, one divider. Ink text only */
  --red: #CE2B2B;          /* small accents only. Never a button */
  --ink: #17211B;          /* text */
  --white: #FFFFFF;        /* page ground */
  --mist: #F5F6F2;         /* quiet band */
  --text-muted: #46544B;
  --text-label: #4F5C54;
  --line: #BCC7BF;
  --frame: #C6D0C8;
  --field-border: #A9B5AD;
  --tint-green: #D6EEDD;
  --tint-yellow: #FFF0B8;
  --tint-red: #FADCD6;
  --tint-neutral: #E4EFE7;
  --error: #9B1C1C;        /* error text on white, 7:1 */

  /* type */
  --display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* space */
  --space-1: 8px;
  --space-2: 18px;
  --space-3: 22px;
  --space-4: 28px;
  --space-5: 32px;
  --space-6: 56px;
  --space-7: 88px;
  --space-8: 104px;
  --bar-width: 68px;
  --bar-height: 5px;
  --page-width: 1240px;
  --page-narrow: 1100px;

  /* corners */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.78; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.wrap { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--space-5); }
.wrap-narrow { max-width: var(--page-narrow); margin: 0 auto; padding: 0 var(--space-5); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* header: centered wordmark, small menu, three bar rule */
.site-header { padding: 38px var(--space-5) 0; text-align: center; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--green); }
.wordmark-name {
  font-family: var(--display); font-size: 50px; line-height: 1;
  letter-spacing: 0.14em; margin-right: -0.14em;
}
.wordmark-sub { font-size: 12px; font-weight: 500; letter-spacing: 0.46em; margin-right: -0.46em; }
.wordmark-small .wordmark-name { font-size: 30px; }
.wordmark-small .wordmark-sub { font-size: 10px; }
.menu {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 30px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
}
.bars { display: flex; justify-content: center; gap: var(--space-1); margin-top: var(--space-4); }
.bars span { width: var(--bar-width); height: var(--bar-height); }
.bars span:nth-child(1) { background: var(--green); }
.bars span:nth-child(2) { background: var(--yellow); }
.bars span:nth-child(3) { background: var(--red); }

/* opening: date line and italic tagline */
.opening { padding-top: 44px; text-align: center; }
.date-line { font-family: var(--display); font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase; }
.date-line span { white-space: nowrap; }
.tagline {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.15; color: var(--green);
  margin: 10px 0 0; text-wrap: balance;
}
.tagline span { white-space: nowrap; }
.lede { font-family: var(--display); font-size: 20px; line-height: 1.6; max-width: 640px; margin: 26px auto 0; text-wrap: pretty; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; text-wrap: balance; }
.caps-line {
  font-family: var(--condensed); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06; text-transform: uppercase;
}
.plus { color: var(--red); }

/* framed photograph */
.framed { border: 1px solid var(--frame); padding: 10px; margin-top: 34px; }
.framed img { display: block; width: 100%; height: auto; }

/* number row */
.numbers { display: flex; flex-wrap: wrap; gap: 36px 0; padding-top: var(--space-7); text-align: left; }
.number { flex: 1 1 240px; padding: 0 var(--space-4); border-left: 2px solid var(--line); }
.number:first-child { padding-left: 0; border-left: 0; }
.number:nth-child(2) { border-left-color: var(--yellow); }
.number:nth-child(3) { border-left-color: var(--red); }
.number-figure { font-weight: 700; font-size: 60px; line-height: 1; }
.number-caption { font-family: var(--display); font-style: italic; font-size: 21px; margin-top: 8px; }

/* quiet band with the four themes */
.band-mist { background: var(--mist); margin-top: var(--space-8); }
.band-mist .wrap { padding-top: var(--space-7); padding-bottom: var(--space-7); text-align: center; }
.themes { display: flex; flex-wrap: wrap; gap: 40px 0; margin-top: 60px; text-align: left; }
.theme { flex: 1 1 240px; padding: 0 26px; border-left: 1px solid var(--line); }
.theme:first-child { padding-left: 0; border-left: 0; }
.theme-mark { font-weight: 700; font-size: 44px; line-height: 0.8; color: var(--green); }
.theme:nth-child(2) .theme-mark { color: #E5AE00; }
.theme:nth-child(3) .theme-mark { color: var(--red); }
.theme-title { font-family: var(--display); font-weight: 500; font-size: 27px; margin: 14px 0 8px; }
.theme p:not(.theme-mark) { font-size: 16px; color: var(--text-muted); }

/* buttons: green, never red */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--green); color: var(--white);
  border-radius: var(--radius-sm); padding: 15px 28px;
  font-family: var(--condensed); font-weight: 600; font-size: 21px; line-height: 1.2;
  text-transform: uppercase;
}
.btn:hover { opacity: 0.88; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn-large { border-radius: var(--radius-md); padding: 22px 30px; font-size: 26px; }
.btn-reverse { background: var(--white); color: var(--green); }
.btn-plain { border-radius: 0; font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0.14em; padding: 14px 24px; }

/* program card and date chip, for the full site */
.card { border-radius: var(--radius-lg); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); background: var(--tint-neutral); }
.card-green { background: var(--green); color: var(--white); }
.card-tint-green { background: var(--tint-green); }
.card-tint-yellow { background: var(--tint-yellow); }
.card-tint-red { background: var(--tint-red); }
.card-white { background: var(--white); border: 1px solid var(--green); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-title { font-family: var(--condensed); font-weight: 600; font-size: 34px; line-height: 1.08; }
.chip {
  background: rgba(255, 255, 255, 0.45); border-radius: var(--radius-sm); padding: 8px 12px;
  font-family: var(--condensed); font-weight: 600; font-size: 18px; line-height: 1.2;
  text-transform: uppercase; text-align: right; white-space: nowrap;
}
.card-green .chip { background: rgba(255, 255, 255, 0.16); }
.card-white .chip { background: var(--mist); }

/* guest list band and form */
.band-yellow { background: var(--yellow); color: var(--ink); margin-top: var(--space-8); }
.band-yellow .wrap-narrow {
  padding-top: var(--space-7); padding-bottom: var(--space-7);
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px;
}
.band-copy { flex: 1 1 340px; }
.band-heading {
  font-family: var(--condensed); font-weight: 600; font-size: clamp(34px, 3.8vw, 46px);
  line-height: 1.02; text-transform: uppercase;
}
.band-copy p { font-size: 18px; margin-top: 20px; max-width: 420px; }
.form-card {
  flex: 1 1 420px; background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-wrap: wrap; gap: var(--space-2);
}
.field { flex: 1 1 170px; min-width: 0; }
.field-full { flex: 1 1 100%; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.field input, .field select {
  font: inherit; width: 100%; padding: 14px 16px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--field-border); border-radius: var(--radius-sm);
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 13px; color: var(--error); margin-top: 6px; min-height: 0; }
.form-note { flex: 1 1 100%; font-size: 13px; color: var(--text-label); }
.form-status { flex: 1 1 100%; font-size: 15px; }
.form-status.is-error { color: var(--error); }
.form-done { flex: 1 1 100%; }
.form-done h3 { font-family: var(--display); font-weight: 500; font-size: 27px; margin-bottom: 8px; }
.trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* a link inside a sentence */
.text-link { text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.site-footer { padding: 64px var(--space-5) 52px; text-align: center; }
.site-footer .footer-line { font-size: 13px; color: var(--text-label); margin-top: 28px; }
.site-footer .footer-line + .footer-line { margin-top: 6px; }

@media (max-width: 720px) {
  .wordmark-name { font-size: 38px; }
  .date-line span { display: block; }
  .date-line .dot { display: none; }
  .number, .theme { padding-left: 0; border-left: 0; }
  .band-mist .wrap, .band-yellow .wrap-narrow { padding-top: 64px; padding-bottom: 64px; }
  .form-card { padding: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, a { transition: opacity 0.15s ease; }
}