/* Doomlet site. Colors taken from the logo. */
:root {
  --forest: #395C46;
  --forest-deep: #2C4836;
  --moss: #A6B95F;
  --sage: #EEF1E6;
  --ink: #1C2A21;
  --muted: #56645A;
  --line: #D5DCCB;
  --white: #FFFFFF;
  --narrow: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  font-stretch: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Headlines: narrow and heavy, like the "d" in the logo. */
h1, h2, h3, .brand-name {
  font-family: var(--narrow);
  font-stretch: 62%;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 0.98;
  margin: 0;
}
h1 { font-size: clamp(52px, 8.4vw, 104px); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: 34px; line-height: 1.05; }
p { margin: 0 0 1em; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 30px; line-height: 1; }
.site-nav { display: flex; gap: 22px; font-size: 16px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--forest); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 17px/1 var(--body); text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-deep); color: var(--white); }
.btn-ghost { border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover { background: var(--white); }
.btn-moss { background: var(--moss); color: var(--ink); }
.btn-moss:hover { background: #B6C870; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 40px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--forest); margin-bottom: 26px; }
.hero .lede { font-size: 21px; max-width: 34ch; color: var(--ink); margin-bottom: 30px; }

/* The loyalty card: the one memorable element. */
.card-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.loyalty {
  width: min(360px, 100%);
  background: var(--forest);
  color: var(--white);
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: 0 30px 60px -28px rgba(28, 42, 33, 0.55);
  transform: rotate(-3deg);
}
.loyalty-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.loyalty-top img { width: 36px; height: 36px; border-radius: 9px; }
.loyalty-venue { font-weight: 700; font-size: 17px; line-height: 1.2; }
.loyalty-program { font-size: 14px; opacity: 0.8; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 6px 0 14px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--moss); }
.stamp.on { background: var(--moss); }
.loyalty-foot { display: flex; justify-content: space-between; align-items: end; font-size: 15px; }
.loyalty-count { font-family: var(--narrow); font-stretch: 62%; font-weight: 800; font-size: 40px; line-height: 0.9; color: var(--moss); }
.tap-note {
  position: absolute; right: 6%; bottom: -14px;
  background: var(--white); color: var(--ink); border-radius: 14px;
  padding: 10px 14px; font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 30px -16px rgba(28, 42, 33, 0.5);
  transform: rotate(2deg);
}

/* Stamps fill once on load. */
@media (prefers-reduced-motion: no-preference) {
  .stamp.on { animation: stamp 420ms cubic-bezier(.2,.9,.3,1.4) both; }
  .stamp.on:nth-child(1) { animation-delay: 300ms; }
  .stamp.on:nth-child(2) { animation-delay: 420ms; }
  .stamp.on:nth-child(3) { animation-delay: 540ms; }
  .stamp.on:nth-child(4) { animation-delay: 660ms; }
  .stamp.on:nth-child(5) { animation-delay: 780ms; }
  .stamp.on:nth-child(6) { animation-delay: 900ms; }
  .stamp.on:nth-child(7) { animation-delay: 1020ms; }
  @keyframes stamp { from { transform: scale(0.2); background: transparent; } to { transform: scale(1); } }
}

/* Services */
.services { background: var(--white); padding: 88px 0; }
.services h2 { max-width: 22ch; margin-bottom: 48px; }
.service {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px;
  padding: 34px 0; border-top: 2px solid var(--line);
}
.service:last-child { border-bottom: 2px solid var(--line); }
.service h3 { color: var(--forest); }
.service p { color: var(--muted); max-width: 52ch; }
.service .gain { color: var(--ink); font-weight: 600; margin-bottom: 0; }

/* Steps: a real sequence, so numbers are earned here. */
.steps { padding: 88px 0; }
.steps h2 { margin-bottom: 40px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; font-family: var(--narrow); font-stretch: 62%; font-weight: 800;
  font-size: 64px; line-height: 1; color: var(--moss); margin-bottom: 10px;
}
.steps li strong { display: block; font-size: 20px; margin-bottom: 6px; }
.steps li p { color: var(--muted); margin: 0; }

/* Contact band */
.contact-band { background: var(--forest); color: var(--white); padding: 80px 0; }
.contact-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.contact-band h2 { color: var(--white); max-width: 15ch; margin-bottom: 18px; }
.contact-band p { max-width: 46ch; opacity: 0.9; margin: 0; }
.contact-band a:not(.btn) { color: var(--moss); }

/* Footer */
.site-footer { padding: 32px 0 40px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }

/* Text pages (privacy, contact) */
.page { padding: 32px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(44px, 7vw, 76px); color: var(--forest); margin-bottom: 18px; }
.page h2 { font-size: 34px; margin: 44px 0 14px; }
.page .lede { font-size: 20px; margin-bottom: 8px; }
.page .updated { color: var(--muted); font-size: 15px; }
.page ul { padding-left: 1.2em; margin: 0 0 1em; }
.page li { margin-bottom: 0.4em; }
.page table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 16px; background: var(--white); }
.page th, .page td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.page th { font-weight: 700; }
.fill { background: #FFF1A8; padding: 0 4px; border-radius: 3px; } /* placeholder to fill in before publishing */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 28px; }
.contact-item { padding: 18px 0; border-top: 2px solid var(--line); }
.contact-item .k { color: var(--muted); font-size: 15px; display: block; }
.contact-item .v { font-size: 22px; font-weight: 700; }

/* Mobile */
@media (max-width: 860px) {
  .hero .wrap, .service, .contact-band .wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .hero .wrap { gap: 40px; }
  .service { gap: 10px; }
  .steps ol { grid-template-columns: 1fr; gap: 26px; }
  .site-nav { gap: 16px; }
}
@media (max-width: 600px) {
  .page table { font-size: 15px; table-layout: fixed; }
  .page th, .page td { padding: 10px 8px; hyphens: auto; overflow-wrap: break-word; }
}
@media (max-width: 420px) {
  .site-nav a.hide-sm { display: none; }
  body { font-size: 17px; }
}
