/* The Allman Club
   Colours come from the logo: its cream paper and warm black ink,
   plus one cobalt, like a biro on the same paper.
   Loud type (Archivo, wide and heavy) for big wins,
   quiet type (Newsreader italic) for the small ones. */

:root {
  --cobalt: #1f3fd6;
  --cobalt-deep: #142a9c;
  --paper: #fdeecf;
  --paper-light: #fff8e9;
  --ink: #1c160d;
  --ink-soft: #5c5242;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --quiet: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4.5rem, 11vw, 9rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}
.send :focus-visible,
.foot :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: .6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: .75rem; }

.wrap {
  max-width: 78rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--body);
  font-size: .8125rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.012em;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: .85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--cobalt); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-paper-line { border-color: rgb(253 238 207 / .7); color: var(--paper); }
.btn-paper-line:hover { border-color: var(--paper); background: rgb(253 238 207 / .12); }

/* ---------- Hero ---------- */

.hero {
  background: var(--paper);
  color: var(--ink);
  min-height: min(100svh, 58rem);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  font-stretch: 118%;
  font-size: .9375rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}

.wordmark img,
.foot-mark img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  flex: none;
}

@media (max-width: 30rem) {
  /* The logo already carries the name; keep the text for screen readers only */
  .wordmark span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.bar-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  font-weight: 600;
  font-size: .9375rem;
}
.bar-links a {
  text-decoration: none;
  padding-block: .5rem;
  border-bottom: 2px solid transparent;
}
.bar-links a:hover { border-bottom-color: var(--ink); }

.hero-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-top: 2rem;
}

.headline {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(4.25rem, 21vw, 15.5rem);
  line-height: .8;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.headline span {
  display: block;
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
}
.headline span:nth-child(2) { animation-delay: .12s; }
.headline span:nth-child(3) { animation-delay: .24s; }
.headline .accent { color: var(--cobalt); }

@keyframes rise {
  from { opacity: 0; transform: translateY(.35em); }
  to { opacity: 1; transform: none; }
}

.hero-side {
  display: grid;
  gap: 1.5rem;
  max-width: 34rem;
}

.lede {
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.4;
  text-wrap: pretty;
}

/* Tear-off calendar leaf: the "every day" part, showing the real date */
.leaf {
  position: absolute;
  top: clamp(.5rem, 3vw, 2.5rem);
  right: 0;
  width: clamp(8.5rem, 15vw, 12.5rem);
  padding: 1.4rem 1rem 1rem;
  display: grid;
  justify-items: center;
  background: #fffdf8;
  color: var(--ink);
  text-align: center;
  transform: rotate(4deg);
  box-shadow: 0 1.25rem 2.5rem -1rem rgb(28 22 13 / .45);
  border-top: .7rem solid var(--ink);
}
.leaf[hidden] { display: none; }
.leaf::before {
  content: "";
  position: absolute;
  inset: .45rem 1rem auto;
  border-top: 2px dashed rgb(28 22 13 / .22);
}
.leaf-weekday,
.leaf-month {
  font-size: .75rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.leaf-day {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: .9;
  color: var(--cobalt);
}
.leaf-note {
  margin-top: .7rem;
  padding-top: .6rem;
  border-top: 1px solid rgb(28 22 13 / .14);
  font-family: var(--quiet);
  font-style: italic;
  font-size: .9375rem;
  line-height: 1.25;
}

@media (max-width: 47.99rem) {
  .leaf {
    position: static;
    align-self: flex-end;
    order: -1;
    margin-bottom: auto;
    margin-right: .25rem;
  }
  .leaf-note { display: none; }
}

/* ---------- Wins: type gets quieter as the wins do ---------- */

.wins { padding-block: var(--section); background: var(--paper-light); }
.wins .eyebrow { color: var(--cobalt); margin-bottom: 1rem; }

.volume {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  border-top: 2px solid var(--ink);
}
.volume li {
  padding-block: clamp(.8rem, 1.6vw, 1.3rem);
  border-bottom: 1px solid rgb(28 22 13 / .16);
  text-wrap: balance;
}

.v1, .v2, .v3, .v4 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: .95;
}
.v1 { font-stretch: 100%; font-weight: 900; font-size: clamp(2.1rem, 7.2vw, 6.25rem); color: var(--cobalt); }
.v2 { font-stretch: 96%;  font-weight: 800; font-size: clamp(1.9rem, 5.6vw, 4.75rem); }
.v3 { font-stretch: 90%;  font-weight: 700; font-size: clamp(1.7rem, 4.3vw, 3.5rem); }
.v4 { font-stretch: 84%;  font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.6rem); }

.v5, .v6, .v7, .v8 {
  font-family: var(--quiet);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}
.v5 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.v6 { font-size: clamp(1.25rem, 2vw, 1.625rem); color: #33291a; }
.v7 { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--ink-soft); }
.v8 { font-size: 1.0625rem; color: var(--ink-soft); }

/* ---------- About: plain questions, plain answers ---------- */

.faq { padding-block: var(--section); }
.faq .eyebrow { color: var(--cobalt); margin-bottom: 1rem; }

.qa-list {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 2px solid var(--ink);
}
.qa {
  display: grid;
  gap: .5rem;
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid rgb(28 22 13 / .16);
}
@media (min-width: 56rem) {
  .qa { grid-template-columns: 1fr 1.5fr; gap: 3rem; }
}
.qa h3 {
  margin: 0;
  font-family: var(--display);
  font-stretch: 80%;
  font-weight: 800;
  font-size: clamp(1.3125rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  text-wrap: balance;
}
.qa p { max-width: 38rem; text-wrap: pretty; }
.qa a {
  color: var(--cobalt);
  font-weight: 600;
  text-underline-offset: .18em;
}
.qa a:hover { color: var(--cobalt-deep); }

/* ---------- Send ---------- */

.send {
  background: var(--cobalt);
  color: var(--paper);
  padding-block: var(--section);
}
.send .eyebrow { margin-bottom: 1rem; }

.send-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 56rem) {
  .send-grid { grid-template-columns: 1.15fr 1fr; align-items: end; }
}

.steps {
  counter-reset: step;
  display: grid;
  margin-bottom: 2rem;
  border-top: 2px solid var(--paper);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  padding-block: 1rem;
  border-bottom: 1px solid rgb(253 238 207 / .35);
}
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
}
.steps strong { font-weight: 700; }

/* ---------- Footer ---------- */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding-block: 2.5rem;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.foot-mark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  font-stretch: 118%;
  font-size: .875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.foot-links { display: flex; gap: 1.5rem; font-weight: 600; font-size: .9375rem; }
.foot-links a { text-underline-offset: .2em; }
.foot-links a:hover { color: #fff; text-decoration-thickness: 2px; }
.foot-small {
  font-family: var(--quiet);
  font-style: italic;
  font-size: 1.0625rem;
  color: rgb(253 238 207 / .75);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .headline span { animation: none; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
