/* ==========================================================================
   West Horsley Padel - 1.61 type
   How the small type is set, measured against nickschlekeway.com, whose
   body face (Satoshi) this site has used since 1.60. The face alone made
   almost no difference; the setting is what reads as premium there:
     - labels in small, bold, widely spaced capitals with a short rule
       before them (Nick: 12.5 to 14.5px, 700, 2.5 to 3px tracking)
     - buttons in spaced capitals (Nick: 14px, 700, 2px)
     - running text a calmer shade than the headings (Nick: #46413a body
       under #1a1816 headings, 16/26)
     - footer heads in bright spaced capitals, links near full strength
       with a small accent dot, the base bar in plain 15px with an
       underlined link
   Headlines stay in Outfit, exactly as before.

   This file sits on top of site.css and only changes type. Add ?type=before
   to any address and the theme leaves it out, which is 1.60.0's type
   exactly (functions.php, whp_type_compare). ?type=outfit also sets the
   reading text back in Outfit, as it was up to 1.59.
   ========================================================================== */

:root {
  /* Running text on cream: forest at 78%, 5.3:1 on cream (AA). */
  --ink-soft: rgba(14, 59, 42, 0.78);
  /* Running text on forest. */
  --ink-soft-dark: rgba(254, 246, 231, 0.8);
  --label-size: 0.75rem;     /* 12px */
  --label-track: 0.2em;
}

/* --- Running text -------------------------------------------------------- */
body { line-height: 1.625; }                       /* 16/26, as Nick */
/* Paragraphs take the colour of whatever they sit on, at 80%: soft forest
   on cream (5.3:1), soft cream on forest, so a dark card inside a light
   section is never caught out. */
main p, .faq__a p, .prose li { color: color-mix(in srgb, currentColor 80%, transparent); }
.lead { line-height: 1.6; letter-spacing: 0; }
.muted { color: var(--ink-soft); }
.on-dark .muted, .sec--forest .muted, .sec--deep .muted { color: var(--ink-soft-dark); }
.pagehead > .wrap > p:not(.crumbs), .hero__tag { color: rgba(254, 246, 231, 0.88); }

/* --- Labels: small spaced capitals with a short rule -------------------- */
/* Labels that are really headlines (Outfit, large, beside a section) are
   left exactly as they were. */
.eyebrow:not(.eyebrow--feature, .split__aside > .eyebrow) {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: var(--label-size); font-weight: 700; line-height: 1.4;
  letter-spacing: var(--label-track); text-transform: uppercase;
}
.eyebrow:not(.eyebrow--feature, .split__aside > .eyebrow)::before {
  content: ""; flex: none; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.7;
}
/* Centred blocks centre the label too. */
.ctablock .eyebrow { justify-content: center; }
/* The newsletter bar and the stat band sit their label on the heading. */
.news__bar .eyebrow, .statband__title .eyebrow { margin-bottom: 0.9rem; }
/* A person's role on their card. */
.person__body .eyebrow { margin-bottom: 0.5rem; }

/* --- The way back up the site ------------------------------------------- */
.crumbs, .pagehead .crumbs {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(254, 246, 231, 0.62);
}
.crumbs a { color: rgba(254, 246, 231, 0.86); }

/* --- Buttons: spaced capitals ------------------------------------------- */
.pill {
  font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: calc(1.0625rem + 1px) calc(1.85rem + 1px);
}
.pill--sm { font-size: 0.71875rem; letter-spacing: 0.15em; padding: calc(0.7rem + 1px) calc(1.2rem + 1px); }
.pill .arw { font-size: 1.15em; letter-spacing: 0; }
.booknow { font-size: 0.71875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
/* A second action that is a quiet text link stays in sentence case. */
.ctarow:not(.ctarow--center) > .pill--ghost-forest {
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.005em; text-transform: none;
}
.textlink { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.005em; }
@media (max-width: 900px) {
  /* The phone menu's button sits under large Satoshi links. */
  .nav-links .m-cta .pill { font-size: 0.8125rem; }
}

/* --- The header --------------------------------------------------------- */
/* 1.62: the links are set like the logo's PADEL and the buttons, in small
   spaced capitals; the page you are on is full strength with a small olive
   dot under it, the rest a step back. On a phone the menu is set in the
   headline face, in capitals. */
@media (min-width: 901px) {
  .nav-links > a {
    font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: rgba(14, 59, 42, 0.66); transition: color 0.3s var(--ease-calm);
  }
  .nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--forest); }
}
@media (max-width: 900px) {
  .nav-links > a {
    font-family: var(--font); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em;
    text-transform: uppercase; color: rgba(14, 59, 42, 0.62);
  }
  .nav-links > a[aria-current="page"] { color: var(--forest); }
  .nav-links .m-cta .pill { font-size: 0.78125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
}

/* --- Forms -------------------------------------------------------------- */
.field label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.field input, .field select, .field textarea { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.field input::placeholder, .field textarea::placeholder { letter-spacing: 0; }

/* --- The footer ----------------------------------------------------------- */
.footer__col h4, .assoc h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; color: var(--cream); margin-bottom: 1.5rem;
}
.footer__col ul { gap: 0.8rem; }
.footer__col li { position: relative; padding-left: 1.05rem; }
.footer__col li::before {
  content: ""; position: absolute; left: 0; top: 0.68em; width: 4px; height: 4px; border-radius: 50%; background: var(--olive-lt);
}
.footer__col a, .footer__col address {
  font-size: 0.96875rem; font-weight: 400; letter-spacing: 0; color: rgba(254, 246, 231, 0.88);
}
.footer__col a:hover { color: var(--olive-lt); }
.assoc__row a, .assoc__row span { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; }
.totop { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
/* The base bar: plain and calm, the legal links underlined. */
.legal { font-size: 0.875rem; letter-spacing: 0; color: rgba(254, 246, 231, 0.72); }
.legal__links { gap: 1.25rem; }
.legal__links a {
  font-weight: 400; color: rgba(254, 246, 231, 0.9);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: rgba(254, 246, 231, 0.32);
  transition: color 0.3s var(--ease-calm), text-decoration-color 0.3s var(--ease-calm);
}
.legal a:hover, .legal__links a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--olive-lt); }
.footer-credit span { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.22em; color: rgba(254, 246, 231, 0.5); }
.now { font-size: 0.8125rem; letter-spacing: 0.01em; }

/* Contact details are values to read off, not running text: full strength. */
.contact__details p, main p:has(> .bookband__link) { color: var(--forest); }
.on-dark .contact__details p, .sec--forest .contact__details p, .sec--forest p:has(> .bookband__link) { color: var(--cream); }

/* The values cards had their own 88% fade; the 80% above replaces it. */
