/* ClubShack website. The app's typeface (Atkinson Hyperlegible, SIL OFL, in /fonts)
   and colours (docs/design/brand), light and dark. */
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-regular.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-bold.woff2) format('woff2'); }

:root {
  --bg: #f4f6f3; --paper: #ffffff; --ink: #182d31; --muted: #4c6266;
  --teal: #14645e; --on-teal: #ffffff; --soft: #e4f1ea; --line: #d8e1dc;
  --shack: #c17a0e; --amber-bg: #fdf1dc; --amber-ink: #6e4300;
  --hero: linear-gradient(160deg, #1c8279, #0b3a36);
  --shadow: 0 1px 2px rgba(24, 45, 49, .05), 0 8px 24px rgba(24, 45, 49, .07);
  --sans: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a1c; --paper: #18262a; --ink: #e8efec; --muted: #a9bcb8;
    --teal: #7fd1c4; --on-teal: #0e3b37; --soft: #1f3634; --line: #2a3a3e;
    --shack: #f2c14e; --amber-bg: #3a2c12; --amber-ink: #f2c77a;
    --hero: linear-gradient(160deg, #14544e, #08201e);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); overflow-wrap: anywhere; font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.wrap.home { max-width: 68rem; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 2rem 0 .5rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 .6rem; }
h3 { font-size: 1.15rem; margin: 1.25rem 0 .35rem; }
p, li { margin: .55rem 0; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--paper); padding: .5rem 1rem; border-radius: 8px; z-index: 2; }
.skip-link:focus { left: .5rem; }
.meta, .small { color: var(--muted); font-size: .92rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.35rem; margin: 1.25rem 0; box-shadow: var(--shadow); }
.note { background: var(--amber-bg); color: var(--amber-ink); border-radius: 12px; padding: .8rem 1rem; }
.wm { font-weight: 700; letter-spacing: -.01em; color: var(--teal); }
.wm b { color: var(--shack); }

/* Header and footer, on every page. */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.5rem; }
.brand img { width: 40px; height: 40px; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-weight: 700; font-size: .95rem; }
.site-nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; }
footer { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0 0 .5rem; padding: 0; list-style: none; }
.footer-links li { margin: 0; }
.footer-links a { color: var(--muted); }
footer p { margin: .25rem 0; }

/* Buttons and pills. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .7rem 1.35rem; border: 2px solid var(--teal); border-radius: 12px; font: 700 1rem/1.2 var(--sans); color: var(--teal); background: var(--paper); text-decoration: none; }
.button.primary { background: var(--teal); color: var(--on-teal); }
.button:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 .5rem; }
.pill { display: inline-block; border-radius: 999px; padding: .15rem .7rem; font-size: .85rem; font-weight: 700; background: var(--soft); color: var(--teal); }

/* Home page. */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1rem 0 0; }
.hero h1 { margin-top: .75rem; }
.eyebrow { font-weight: 700; color: var(--teal); margin: 1.5rem 0 0; }
.phones { position: relative; background: var(--hero); border-radius: 28px; padding: 1.75rem 1rem 0; display: flex; justify-content: center; gap: .75rem; overflow: hidden; min-height: 20rem; }
.phones img { width: 31%; border-radius: 18px 18px 0 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); align-self: flex-end; }
.phones img:nth-child(2) { width: 34%; margin-bottom: -1.25rem; }
.phones figcaption { position: absolute; top: .6rem; right: .9rem; color: #cfe6e1; font-size: .8rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.grid .card { margin: 0; }
.grid h3 { margin-top: .2rem; }
.grid p { margin-bottom: 0; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.25rem; margin: 0; }
.steps li::before { content: counter(step); display: flex; width: 2rem; height: 2rem; border-radius: 50%; background: var(--teal); color: var(--on-teal); font-weight: 700; align-items: center; justify-content: center; margin-bottom: .5rem; }
.promise { padding-left: 1.25rem; columns: 2 18rem; column-gap: 2rem; }
.promise li { break-inside: avoid; }
.status { list-style: none; padding: 0; }
.status li { padding-left: 2rem; position: relative; }
.status li::before { content: ''; position: absolute; left: .35rem; top: .45rem; width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid var(--teal); }
.status li.done::before { background: var(--teal); }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1.1rem; margin: .6rem 0; }
summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.interest { background: var(--hero); color: #fff; border: 0; }
.interest h2 { margin-top: .25rem; }
.interest p, .interest li { color: #e3f1ee; }
.interest .button { background: #fff; border-color: #fff; color: #0b3a36; }
.interest a:not(.button) { color: #fff; }
.interest .wm { color: #fff; } .interest .wm b { color: #f2c14e; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .phones { min-height: 0; }
}
