/* ==========================================================
   Standing Invitation: website styles
   Colors and fonts come from the Standing Invitation brand guide.
   To change a color everywhere, edit it once in :root below.
   ========================================================== */

:root {
  --forest: #173D32;   /* primary brand green */
  --ivory: #F5F1E8;    /* main background */
  --brass: #A68A55;    /* rules, flag, small details (not for small text) */
  --navy: #1D2F40;     /* occasional supporting accent */

  --paper: #FBF9F4;    /* cards and form fields */
  --sand: #EAE3D5;     /* alternate section background */
  --rule: #D8CFBC;     /* light divider lines */
  --ink: #2B2E28;      /* body text */
  --muted: #55584F;    /* secondary text */
  --on-forest: #DCD6C6;/* body text on green */
  --on-forest-label: #DCD3BC;

  --serif: "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

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

a { color: var(--forest); }
a:hover { color: var(--navy); }

.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; }
.section { padding: 96px 24px; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--forest { background: var(--forest); color: var(--ivory); padding: 88px 24px; }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}
.section--forest .eyebrow { color: var(--on-forest-label); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--forest); margin: 0; }
.section--forest h2, .section--forest h3 { color: var(--ivory); }

.h2 { font-size: clamp(34px, 4.5vw, 50px); line-height: 1.1; margin-bottom: 14px; }
.lead { margin: 0; max-width: 640px; color: var(--muted); }
.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--forest);
  cursor: pointer;
}
.btn--solid { background: var(--forest); color: var(--ivory); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.btn--outline { background: transparent; color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--ivory); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--brass); background: var(--ivory); }
.site-header .wrap {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.lockup { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.lockup img { width: 40px; }
.lockup__rule { width: 1px; height: 44px; background: var(--brass); }
.lockup__name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: 0.2em;
  color: var(--forest);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.nav .btn { padding: 12px 20px; min-height: 44px; }

/* Phone menu (only shows on small screens) */
.menu { display: none; position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--forest);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}
.menu summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 10px 0;
  min-width: 220px;
  z-index: 10;
}
.menu__panel a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero { padding: 80px 24px 88px; }
.invite {
  max-width: 860px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 10px;
}
.invite__inner {
  border: 1px solid var(--brass);
  padding: 60px 40px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.invite__inner img { width: 92px; }
.invite h1 { font-size: clamp(46px, 7vw, 80px); line-height: 1.04; }
.brass-rule { width: 64px; height: 1px; background: var(--brass); }
.invite__promise { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--forest); }
.invite__text { margin: 0; max-width: 580px; color: var(--muted); }
.invite__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; max-width: 520px; margin-top: 6px; }
.invite__actions .btn { flex: 1 1 220px; white-space: nowrap; }
.invite__place { margin: 8px 0 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Grids and cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.ruled { border-top: 1px solid var(--brass); padding-top: 22px; }
.ruled h2, .ruled h3 { font-size: 28px; margin-bottom: 8px; }
.ruled p { margin: 0; color: var(--muted); }
.section--forest .ruled p { color: var(--on-forest); }
.numeral { font-family: var(--serif); font-size: 26px; color: var(--brass); }
.section--forest .ruled h3 { font-size: 30px; margin: 4px 0 10px; }

/* ---------- Order of play (tee sheet) ---------- */
.tee-sheet { border-top: 2px solid var(--forest); border-bottom: 2px solid var(--forest); margin-top: 40px; }
.tee-row { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.tee-row:last-child { border-bottom: none; }
.tee-row__when { flex: 0 0 210px; padding-top: 6px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); }
.tee-row__what { flex: 1 1 400px; }
.tee-row__what strong { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--forest); }

/* ---------- Member-guest journey ---------- */
.journey { display: flex; flex-direction: column; gap: 14px; margin-top: 48px; }
.journey__row { display: flex; flex-wrap: wrap; gap: 14px; }
.journey__when { flex: 0 0 170px; padding-top: 22px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); }
.journey__card { flex: 1 1 300px; background: var(--paper); border: 1px solid var(--rule); padding: 20px 22px; }
.journey__who { margin-bottom: 6px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.club-extras { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.club-list { flex: 2 1 480px; }
.club-list h3 { font-size: 28px; margin-bottom: 14px; }
.club-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }
.club-list li { border-top: 1px solid #C9BEA4; padding: 12px 0; }
.season { flex: 1 1 300px; background: var(--navy); color: var(--ivory); padding: 30px 28px; }
.season .eyebrow { color: var(--on-forest-label); }
.season__title { margin: 0 0 12px; font-family: var(--serif); font-size: 23px; line-height: 1.3; }
.season p:last-child { margin: 0; font-size: 16px; color: #D5D9DD; }

/* ---------- Letters ---------- */
.letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 48px; }
.letter-wrap { flex: 0 1 440px; display: flex; flex-direction: column; gap: 12px; }
.letter {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  padding: 40px 40px 28px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: #22261F;
}
.letter__head { display: flex; justify-content: center; padding-bottom: 18px; border-bottom: 1px solid var(--brass); margin-bottom: 26px; }
.letter__head img { width: 34px; }
.letter p { margin: 0 0 14px; }
.letter .sign { margin: 26px 0 30px; }
.letter__foot { border-top: 1px solid var(--rule); padding-top: 10px; text-align: center; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.letter-label { margin: 0; text-align: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); }

/* ---------- Services ---------- */
.package { background: var(--ivory); border: 1px solid var(--rule); padding: 34px 28px; display: flex; flex-direction: column; gap: 14px; }
.package h3 { font-size: 30px; }
.package__price { margin: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.package__rule { height: 1px; background: var(--brass); }
.package ul { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.85; }
.package--featured { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.package--featured h3 { color: var(--ivory); }
.package--featured .package__price { color: var(--on-forest-label); }
.package--addon { background: transparent; border: 1px dashed var(--brass); }

/* ---------- Organizers ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; max-width: 1100px; margin: 0 auto; }
.split > * { flex: 1 1 380px; }
.plain-list { list-style: none; margin: 0; padding: 0; line-height: 2; color: #4A4D45; }
.quote { margin: 0; border-left: 1px solid var(--brass); padding: 8px 0 8px 36px; align-self: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.3; color: var(--forest); }
.quote figcaption { margin-top: 20px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 24px; max-width: 780px; margin: 44px auto 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #3A3D36; }
.form input, .form select, .form textarea {
  font-family: var(--sans);
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid #A0957B;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.form textarea { resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form__submit { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 8px; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--on-forest); padding: 64px 24px 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 36px; }
.site-footer .lockup img { width: 46px; }
.site-footer .lockup__rule { height: 52px; }
.site-footer .lockup__name { font-size: 20px; color: var(--ivory); }
.footer-tagline { font-family: var(--serif); font-size: 17px; color: var(--on-forest-label); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.footer-cols div { display: flex; flex-direction: column; gap: 6px; }
.footer-cols .eyebrow { margin: 0; font-size: 11px; color: var(--on-forest-label); }
.footer-cols a { color: var(--on-forest); text-decoration: none; }
.footer-cols a:hover { color: var(--ivory); text-decoration: underline; }
.footer-legal { max-width: 1200px; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid #3E5E53; font-size: 13px; color: #B9C4BC; }

/* ---------- Thank-you page ---------- */
.thanks { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; }

/* ---------- Phone adjustments ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .lockup { gap: 10px; }
  .lockup__name { font-size: 15px; letter-spacing: 0.14em; }
  .hero { padding: 36px 20px 56px; }
  .invite__inner { padding: 40px 18px; }
  .section { padding: 72px 20px; }
  .letter { padding: 32px 26px 24px; }
}
