/* Sandbagger identity, built around the owner's supplied artwork.
   The wordmark viewport displays the original lettering without redrawing it. */
:root {
  --cream: #fffbf1;
  --burlap: #bd9b72;
  --olive: #43533c;
  --charcoal: #20221d;
}

body { background: var(--paper); }
h1, .page-heading h1 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 650;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -.055em;
  text-transform: none;
}
h2 { letter-spacing: -.035em; }
.club-header {
  height: 100px;
  background: var(--cream);
  color: var(--charcoal);
  gap: 26px;
  box-shadow: 0 1px 0 var(--rule);
}
.brand { width: 188px; }
.wordmark-crop {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 748 / 264;
  overflow: hidden;
  mix-blend-mode: darken;
}
.wordmark-crop img {
  position: absolute;
  width: 136.8984%;
  height: auto;
  max-width: none;
  left: -20.3209%;
  top: -64.3939%;
}
.brand > .brand-the, .footer-mark > .brand-the {
  font: 400 12px/.85 var(--script);
  margin-bottom: -3px;
  position: relative;
  z-index: 1;
}
.main-nav a { color: #62695b; font-size: 11px; padding-inline: 13px; }
.main-nav a:hover { background: #e9e8d9; color: var(--ink); }
.main-nav a.active { background: var(--olive); color: var(--cream); }
.nav-count { background: #43533c12; }
.main-nav a.active .nav-count { background: #ffffff20; }
.command-trigger { border-color: #b7bbaa; color: var(--ink); }
.command-trigger:hover { background: var(--pale); }
.identity-button { color: var(--ink); }
.identity-button > .avatar { background: var(--olive); color: var(--cream); }
.room-status > span > i { background: var(--burlap); }
.room-status { height: 56px; }
.button { border-radius: 999px; padding-inline: 20px; }
.button.primary { background: var(--olive); color: var(--cream); }
.button.primary:hover:not(:disabled) { background: var(--green-dark); }
.button.voted { background: var(--olive); }
.button:focus-visible, a:focus-visible { outline-color: #765d40; }

.club-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .9fr);
  min-height: 390px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
}
.hero-copy { padding: 29px 0 26px 40px; }
.hero-kicker { color: var(--olive); font-size: 9px; letter-spacing: .15em; }
.hero-kicker i { background: var(--burlap); border: none; width: 5px; height: 5px; }
.club-hero .hero-wordmark {
  width: min(100%, 420px);
  max-width: none;
  margin: 20px 0 16px;
  font-size: inherit;
  line-height: 1;
  position: relative;
  isolation: isolate;
}
.hero-the {
  display: block;
  font: 400 25px/.8 var(--script);
  letter-spacing: 0;
  text-align: center;
  margin-bottom: -3px;
}
.hero-copy p { font-size: 12px; line-height: 1.7; color: var(--muted); }
.hero-copy .hero-lead { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.025em; }
.hero-copy .button { margin-top: 21px; font-size: 11px; min-height: 43px; gap: 22px; }
.hero-art { position: relative; min-width: 0; overflow: visible; padding: 24px 12px 14px 0; display: grid; place-items: center; }
.mascot-crop {
  display: block;
  width: 232px;
  max-width: 100%;
  aspect-ratio: 336 / 420;
  position: relative;
  overflow: hidden;
  mix-blend-mode: darken;
}
.mascot-crop > img {
  position: absolute;
  width: 304.7619%;
  height: auto;
  max-width: none;
  left: -102.381%;
  top: -104.7619%;
}
.hero-art > img {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: normal;
}
.hero-signoff {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 13px 28px;
  background: #ebe3d2;
  border-top: 1px solid #ddd4c2;
  color: #5c513e;
  font-size: 8px;
  font-weight: 550;
  letter-spacing: .1em;
}
.hero-signoff > span:last-child { display: inline-flex; align-items: center; gap: 10px; }
.hero-signoff svg { width: 13px; height: 13px; }
.club-stamp { display: none; }
.room-pulse { padding-block: 23px; }
.room-layout, .home-lower { gap: 28px; }
.proposal-top { background: #e7e8d9; border-bottom-color: #d5d8c5; }
.destination-card, .suggestion-box, .note-form, .last-trip, .date-window, .budget-panel { border-radius: 12px; }
.destination-card:hover { box-shadow: 0 5px 18px #20221d06; }
.destination-copy h3 { font-size: 29px; font-weight: 650; letter-spacing: -.04em; line-height: 1.15; text-transform: none; }
.proposal-author .avatar { background: #e5dfcf; color: #5b513d; }
.plan-summary { background: var(--olive); border-radius: 12px; padding: 25px; }
.plan-heading h2 { font-size: 21px; }
.plan-fraction { font-size: 20px; font-weight: 600; }
.decision-row strong { font-weight: 500; }
.decision-row small { color: #e0e0cc; }
.decision-row > div > span, .summary-bottom { color: #d6d9c9; }
.plan-progress > span.done { background: var(--burlap); }
.section-count { color: #5c654e; border-color: #c6c9b6; }
.tone-1 { background: #e8d7bc; color: #685237; }
.tone-2 { background: #e3e0cf; color: #555c46; }
.tone-3 { background: #d7ddc6; color: #43533c; }
.member-name > .member-nickname, .identity-grid button small { color: #756041; }
.last-trip-copy h2 { text-transform: none; font-size: 25px; font-weight: 650; letter-spacing: -.035em; line-height: 1.12; }
.empty-shortlist h2, .destination-add > strong, .budget-panel h2, .archive-course h3 {
  font-style: normal;
  text-transform: none;
  font-weight: 600;
  letter-spacing: -.035em;
  font-size: 30px;
  line-height: 1.1;
}
.empty-shortlist { border-radius: 12px; }
.empty-shortlist h2 { max-width: none; }
.budget-panel { background: #e4cfad; color: var(--charcoal); }
.budget-panel h2 { font-size: 30px; }
.budget-number { font-size: 34px; letter-spacing: -.04em; }
.budget-panel .button { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.budget-panel .button:hover { background: var(--green-dark); }
.calendar-tile b { font-size: 26px; }
.archive-cover { border-radius: 12px; }
.archive-cover h2 { text-transform: none; font-style: normal; font-size: 46px; font-weight: 600; line-height: 1.07; letter-spacing: -.04em; }
.archive-facts strong { text-transform: none; font-size: 30px; font-weight: 600; letter-spacing: -.035em; }
.identity-explainer { background: #e8e8da; border-radius: 12px; }
.identity-grid > button { border-radius: 9px; }
.dialog { border: 1px solid #c9cbb7; border-radius: 18px; background: var(--cream); }
.dialog h2 { font-size: 33px; font-style: normal; font-weight: 600; text-transform: none; letter-spacing: -.045em; line-height: 1.1; }
.dialog input, .dialog textarea, .dialog select, .access-input > input, .suggestion-input input { border-radius: 8px; background: #fffcf6; }
.dialog input:focus, .dialog textarea:focus, .dialog select:focus, .access-input > input:focus { outline-color: var(--olive); }
.app-footer { gap: 25px; }
.footer-mark { width: 150px; font-size: inherit; }
.footer-mark > .brand-the { font-size: 10px; }
.footer-mark .wordmark-crop { width: 100%; }
.loading-mascot { width: 70px; margin-bottom: 22px; }
.loading h1 { font-size: 42px; }
.access-room { min-height: 470px; border: 1px solid var(--rule); border-radius: 14px; background: var(--cream); }
.access-intro { padding: 42px; }
.access-intro h1 { font-size: 51px; line-height: 1.05; max-width: 12ch; }
.access-intro > .micro { color: #685739; }
.access-art { padding: 20px 22px 20px 0; display: grid; place-items: center; }
.access-art > img { width: 100%; height: 360px; object-fit: contain; }

@media (max-width: 1050px) and (min-width: 641px) {
  .club-header { gap: 18px; padding-inline: 26px; }
  .brand { width: 166px; }
  .main-nav a { padding-inline: 10px; font-size: 10px; }
  .topbar-right { gap: 10px; }
  .identity-button { font-size: 11px; }
  .hero-copy { padding-left: 31px; }
  .hero-copy .hero-lead { font-size: 16px; }
  .club-hero { min-height: 355px; }
  .club-hero .hero-wordmark { margin-top: 24px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 96px; }
  .club-header { height: 82px; padding-inline: 18px; gap: 15px; }
  .brand { width: 143px; }
  .brand > .brand-the { font-size: 10px; margin-bottom: -2px; }
  .command-trigger { width: 31px; height: 31px; border-color: #b7bbaa; }
  .command-trigger svg { width: 17px; }
  .main-nav { background: var(--cream); border-top: 1px solid #d8d5c6; box-shadow: 0 -3px 16px #20221d08; }
  .main-nav a { color: #62695b; font-size: 9px; padding: 7px 2px; border-radius: 10px; }
  .main-nav a.active { background: #e4e7d4; color: var(--olive); }
  .main-nav a.active:after { background: var(--olive); }
  .main-nav a:hover { background: #e9e8d9; }
  .identity-button > .avatar { background: var(--olive); color: var(--cream); }
  .room-status { height: 45px; }
  .club-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 135px;
    border-radius: 12px;
    min-height: 0;
  }
  .hero-copy { display: contents; pointer-events: auto; }
  .hero-kicker { grid-column: 1 / -1; padding: 18px 20px 0; font-size: 7px; }
  .club-hero .hero-wordmark { grid-column: 1 / -1; width: calc(100% - 40px); margin: 18px auto 0; }
  .hero-the { font-size: 21px; }
  .hero-copy .hero-lead { grid-column: 1; font-size: 15px; line-height: 1.45; margin: 24px 0 0 20px; max-width: 12ch; align-self: end; }
  .hero-copy p:not(.hero-lead) { grid-column: 1; font-size: 10px; line-height: 1.65; margin: 6px 0 0 20px; max-width: 17ch; align-self: start; }
  .hero-copy .button { grid-column: 1 / -1; grid-row: 6; justify-self: start; margin: 0 20px 21px; min-height: 43px; font-size: 10px; padding-inline: 18px; gap: 18px; }
  .hero-art { position: relative; grid-column: 2; grid-row: 3 / 6; inset: auto; padding: 12px 17px 9px 0; min-height: 144px; pointer-events: none; }
  .hero-art .mascot-crop { width: 111px; }
  .hero-art > img { position: relative; inset: auto; width: 100%; height: 154px; transform: none; object-fit: contain; }
  .hero-signoff { grid-row: 7; gap: 7px; padding: 12px 16px; font-size: 6px; letter-spacing: .055em; }
  .hero-signoff > span:last-child { gap: 5px; white-space: nowrap; }
  .hero-signoff svg { width: 10px; height: 10px; }
  .room-pulse { padding-block: 18px; }
  .room-layout, .home-lower { gap: 25px; }
  .destination-copy h3 { font-size: 28px; }
  .destination-copy { padding: 20px; }
  .plan-summary { padding: 23px; }
  .plan-heading h2 { font-size: 21px; }
  .plan-fraction { font-size: 20px; }
  .page-heading h1 { font-size: 38px; max-width: 14ch; line-height: 1.05; }
  .page-heading .micro { margin-bottom: 12px; }
  .page-lead { font-size: 12px; }
  .page-heading > .button { padding-inline: 18px; }
  .empty-shortlist h2, .destination-add > strong, .budget-panel h2 { font-size: 27px; }
  .budget-number { font-size: 32px; }
  .archive-course h3 { font-size: 26px; }
  .archive-cover h2 { font-size: 37px; }
  .archive-facts strong { font-size: 27px; }
  .dialog { padding: 30px 23px; border-radius: 16px; }
  .dialog h2 { font-size: 29px; }
  .footer-mark { width: 128px; }
  .footer-mark > .brand-the { font-size: 9px; }
  .loading h1 { font-size: 34px; }
  .access-room { display: flex; flex-direction: column-reverse; min-height: 0; }
  .access-art { position: relative; inset: auto; width: 100%; padding: 22px 0 0; opacity: 1; }
  .access-art .mascot-crop { width: 115px; }
  .access-art > img { height: 155px; width: 100%; }
  .access-intro { padding: 20px 24px 30px; width: 100%; }
  .access-intro > .micro { font-size: 7px; margin-bottom: 15px; }
  .access-intro h1 { font-size: 37px; line-height: 1.06; max-width: none; }
  .access-intro > p { max-width: none; margin-top: 16px; font-size: 12px; }
  .access-intro form { margin-top: 21px; }
}

@media (max-width: 370px) {
  .club-header { padding-inline: 14px; gap: 10px; }
  .brand { width: 131px; }
  .topbar-right { gap: 9px; }
  .identity-button > span[title] { max-width: 70px; font-size: 9px; }
  .club-hero { grid-template-columns: minmax(0, 1fr) 119px; }
  .hero-copy .hero-lead { font-size: 14px; margin-left: 18px; }
  .hero-copy p:not(.hero-lead) { margin-left: 18px; }
  .hero-art > img { height: 147px; }
  .hero-signoff { padding-inline: 12px; font-size: 5.5px; }
  .page-heading h1 { font-size: 35px; }
}
