/* ============================================================================
   LUNCH & LEARN LANDING PAGE — site.css
   The WEB layer on top of Triumph Design System v2.

   Everything here is composed from v2 tokens (tokens.css) — no colors outside
   the 7-color Brandpad palette and its sanctioned derivations. The v2 atoms
   (.eyebrow / .label / .tagline / .pill / .stat__* / .detail-* / .accent-rule /
   .brand-field / .logo-*) are used as-is; this file only supplies the page
   chrome a web page needs and a flyer does not: nav, sections, cards, buttons,
   tables. Link order: tokens -> pattern -> logos -> components -> site.

   v2 --text-* are clamps tuned for ~1080px promo canvases, so the scale is
   re-pointed once on :root for screen density. That is the sanctioned override
   (SKILL.md); colors, fonts, pattern classes and atoms stay untouched.
   ========================================================================== */

:root {
  /* Web-density type scale (re-point only; the atoms read these) */
  --text-hero:  clamp(2.75rem, 1.9rem + 4.6vw, 6rem);
  --text-title: clamp(1.875rem, 1.4rem + 2vw, 3.125rem);
  --text-xl:    clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --text-lg:    1.3125rem;
  --text-md:    1.125rem;
  --text-body:  1.0625rem;   /* 17px */
  --text-sm:    0.9375rem;   /* 15px - was 14 */
  --text-label: 0.8125rem;   /* 13px - was 12 */
  --text-xs:    0.8125rem;   /* 13px - was 11. Nothing on this page goes below 13. */

  /* THE WEAVE IS ONE LARGE, CONTINUOUS, EDGE-TO-EDGE FIELD. The motif must read BIG,
     roughly 8-11 columns across the viewport, so it looks like woven fabric.
     100% BANNED (Sean, 2026-08-04): shrinking it into a fine repeating texture, i.e.
     "the pattern pasted multiple times as small chunks". Never scale this down, never
     re-tile it per section, and never run it as a low-opacity watermark on a light
     surface. This value is approved; hold it at EVERY breakpoint. */
  --brand-pattern-size: 96px 128px;   /* 3:4, mandatory for the 516x688 fog tile */

  /* Derived neutrals (all straight from the palette, nothing new) */
  --panel:      #ffffff;
  --ink-quiet:  #5a7089;          /* same quiet ink components.css already uses */
  --rule:       rgba(0, 40, 85, .12);
  --rule-soft:  rgba(0, 40, 85, .07);
  --nav-h:      64px;
}

html { scroll-behavior: smooth; }
body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  background: var(--surface-light);
  color: var(--ink-body);
}
img { max-width: 100%; }
a  { color: var(--navy); text-decoration-color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green); }
.tnum { font-variant-numeric: tabular-nums; }
/* <hr> carries a UA margin-inline:auto that centres the accent rule. Kill it once. */
hr.accent-rule { margin: 0 0 var(--space-4); }

/* ---- Layout -------------------------------------------------------------- */
.wrap { width: min(1180px, calc(100% - 2 * var(--space-5))); margin-inline: auto; }
/* SURFACE RULE - the weave is a STATEMENT, not the page's wallpaper.
   Alternating a full-bleed pattern band every single section is exhausting and
   reads as repetition, not rhythm. So:
     - NAVY + weave = the three statement moments only: hero, the mid-page Reach
       break, and the closing CTA. Top, middle, bottom.
     - FOG, calm, NO pattern = every content section in between.
   That is still one consistent system - the SURFACE decides the treatment, and
   it is applied uniformly: every navy band carries the weave, no fog band does.
   Consecutive fog sections are fine here precisely BECAUSE there is no pattern
   to restart and jump across the seam; a hairline gives them definition. */
.sec  { padding: var(--space-9) 0; }
.sec--fog { background: var(--fog); }
.sec--fog + .sec--fog { border-top: 1px solid var(--rule); }

/* ---- Top bar ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(242, 250, 250, .93);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.nav-brand { display: flex; align-items: center; gap: var(--space-4); text-decoration: none; }
.nav-brand img { height: 26px; width: auto; display: block; }
.nav-brand span {
  font-weight: 700; font-size: var(--text-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--ink-body);
  padding-left: var(--space-4); border-left: 1px solid var(--rule);
}
.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-links a {
  font-weight: 600; font-size: var(--text-sm); color: var(--ink-body); text-decoration: none;
}
.nav-links a:hover { color: var(--green); }
@media (max-width: 900px) { .nav-links .nav-hide { display: none; } }

/* ---- Buttons — sharp, brand-colored, restrained -------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 800;
  font-size: var(--text-label); letter-spacing: var(--track-label); text-transform: uppercase;
  line-height: 1; padding: 14px 22px; border: 1.5px solid transparent;
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 16px; }
.btn--grad   { background: var(--grad-hero); color: var(--navy); }
.btn--grad:hover { color: var(--navy); }
.btn--navy   { background: var(--navy); color: var(--ink-on-navy); }
.btn--navy:hover  { background: #013a76; color: var(--ink-on-navy); }
.btn--wire   { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--wire:hover  { background: var(--navy); color: var(--ink-on-navy); }
.btn--wire-light { border-color: rgba(255,255,255,.5); color: var(--ink-on-navy); background: transparent; }
.btn--wire-light:hover { background: var(--ink-on-navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---- Hero (navy weave field) --------------------------------------------- */
.hero { padding: var(--space-9) 0 var(--space-8); }
.hero .logo-crest-white { height: 104px; margin-bottom: var(--space-5); }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--text-hero); line-height: var(--leading-hero);
  letter-spacing: var(--track-hero); color: var(--ink-on-navy);
  margin: var(--space-4) 0 0; text-box-trim: trim-both; text-box-edge: cap alphabetic;
}
.hero-lede {
  max-width: 56ch; margin: var(--space-5) 0 0;
  font-size: var(--text-md); color: #cfe0f0;
}
/* v2's --ink-muted-navy (#9db6d0) is tuned for flat navy. Over the weave field it
   drops below comfortable reading contrast, so small copy on navy uses the brighter
   #cfe0f0 the ledes already use. */
.detail-grid--on-navy .detail__value small,
.on-navy .detail-grid--on-navy .detail__value small { color: #cfe0f0; }
.hero .detail-grid { margin-top: var(--space-7); }
.hero .btn-row { margin-top: var(--space-7); }

/* ---- Section header ------------------------------------------------------ */
.sec-head { max-width: 68ch; margin-bottom: var(--space-7); }
.sec-head h2 {
  font-family: var(--font-body); font-weight: 900;
  font-size: var(--text-title); line-height: var(--leading-tight);
  letter-spacing: -0.02em; color: var(--ink); margin: var(--space-3) 0 0;
}
/* :not(.eyebrow) — an element+class selector outranks .eyebrow and would
   otherwise repaint the green kicker in body ink. */
.sec-head p:not(.eyebrow) { font-size: var(--text-md); color: var(--ink-body); margin: var(--space-4) 0 0; }
.sub-head {
  font-weight: 700; font-size: var(--text-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--ink-quiet); margin: 0 0 var(--space-4);
}

/* ---- SECTION ARCHETYPES ---------------------------------------------------
   The page's variety comes from SHAPE, not from background colour. Six sections
   used to be "header + a row of white boxes"; that sameness is what made the
   alternating pattern bands read as relentless. No two adjacent sections may
   share an archetype. Current order:
     hero(navy statement) / steps / schedule strip / data / navy statement /
     cards / split+list / definition list / navy statement
   ------------------------------------------------------------------------- */

/* A · Numbered steps - no boxes, just a rule and a big numeral. */
.steps { display: grid; gap: var(--space-6) var(--space-7);
         grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { border-top: 3px solid var(--green); padding-top: var(--space-4); }
.step__n { font-weight: 900; font-size: 1.75rem; line-height: 1; color: var(--green);
           font-variant-numeric: tabular-nums; }
.step h3 { font-weight: 800; font-size: var(--text-lg); line-height: 1.2;
           color: var(--ink); margin: var(--space-3) 0 0; }
.step p  { margin: var(--space-3) 0 0; font-size: var(--text-body); color: var(--ink-body); }

/* B · Schedule strip - a row that reads as a timetable, not five cards. */
.date-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
              border-top: 3px solid var(--navy); }
.date-strip > div { padding: var(--space-5) var(--space-5) var(--space-5) 0;
                    border-right: 1px solid var(--rule); }
.date-strip > div:last-child { border-right: 0; }
.d-day  { display: block; font-weight: 900; font-size: 1.75rem; line-height: 1.05;
          letter-spacing: -0.02em; color: var(--ink); }
.d-dow  { display: block; margin-top: var(--space-2); font-weight: 700;
          font-size: var(--text-label); letter-spacing: var(--track-label);
          text-transform: uppercase; color: var(--green); }
.d-time { display: block; margin-top: var(--space-1); font-size: var(--text-body);
          color: var(--ink-quiet); }
.date-strip .pill { margin-top: var(--space-4); white-space: nowrap; }

/* C · Split - section head on the left, a ruled list on the right. */
.split-head { display: grid; gap: var(--space-7) var(--space-8);
              grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
.split-head .sec-head { margin-bottom: 0; }
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; } }
.waylist > div { border-top: 1px solid var(--rule); padding: var(--space-5) 0; }
.waylist > div:first-child { border-top: 0; padding-top: 0; }
.waylist h3 { font-weight: 800; font-size: var(--text-lg); color: var(--ink); margin: 0; }
.waylist p  { margin: var(--space-2) 0 0; font-size: var(--text-body); color: var(--ink-body); }

/* D · Definition list - programmes as entries, not six boxes. */
.deflist { display: grid; gap: var(--space-6) var(--space-8);
           grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.deflist > div { border-top: 1px solid var(--rule); padding-top: var(--space-4); }
.deflist h3 { font-weight: 800; font-size: var(--text-md); color: var(--ink); margin: 0; }
.deflist p  { margin: var(--space-2) 0 0; font-size: var(--text-body); color: var(--ink-body); }

/* ---- Cards (ONE remaining card row: the venue spaces) --------------------- */
.grid    { display: grid; gap: var(--space-5); }
.grid-3  { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

.card, .panel, .weave-panel, .kpi, .stat-band {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--green);
  padding: var(--space-5);
}
/* On navy the accent is lime, and the 1px side rule would go invisible. */
.on-navy .card, .on-navy .kpi, .on-navy .stat-band {
  border-color: transparent; border-top-color: var(--lime);
}
/* On navy the panel stays navy - it exists to block the field, not to become a card. */
.on-navy .panel, .on-navy .weave-panel {
  background: var(--navy); border: 1px solid rgba(255,255,255,.18); border-top-width: 1px;
  padding: var(--space-6);
}
.card h3 {
  font-family: var(--font-body); font-weight: 800; font-size: var(--text-lg);
  line-height: 1.15; color: var(--ink); margin: 0;
}
.card p { margin: var(--space-3) 0 0; font-size: var(--text-body); color: var(--ink-body); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }


/* ---- Stat band ----------------------------------------------------------- */
/* White panel, not a navy block: a navy stat band sitting in a fog section that is
   itself sandwiched between two navy bands just reads as a fourth band. */
.stat-band {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.stat-band .stat__num { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); }

/* ---- Split (table + rail) ------------------------------------------------ */
.split { display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---- Tables -------------------------------------------------------------- */
/* Data sitting straight on the weave field gets noisy; float it on a panel. */
.t-scroll { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: var(--text-body); }
table.t th {
  text-align: left; font-weight: 700; font-size: var(--text-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-quiet);
  padding: 0 var(--space-4) var(--space-3) 0; border-bottom: 2px solid var(--navy);
  white-space: nowrap;
}
table.t td {
  padding: var(--space-4) var(--space-4) var(--space-4) 0;
  border-bottom: 1px solid var(--rule-soft); color: var(--ink-body); vertical-align: top;
}
table.t td:last-child, table.t th:last-child { padding-right: 0; }
table.t .num { text-align: right; font-weight: 800; color: var(--ink); white-space: nowrap; }
table.t b { color: var(--ink); font-weight: 800; }
table.t .key { width: 10.5rem; }
.t-note { font-size: var(--text-sm); color: var(--ink-quiet); margin: var(--space-4) 0 0; line-height: 1.55; }

/* ---- KPI rail ------------------------------------------------------------ */
.kpi-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi .k-label {
  font-weight: 700; font-size: var(--text-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--green);
}
.kpi .k-value {
  font-weight: 900; font-size: 1.75rem; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink); margin-top: var(--space-2);
}
.kpi .k-foot { font-size: var(--text-xs); color: var(--ink-quiet); margin-top: var(--space-1); line-height: 1.4; }

/* ---- THE WEAVE ------------------------------------------------------------
   VERBATIM from the design system's CANONICAL rule: components.css section
   `4d · WEAVE`, "Ruling 2026-08-04, after the Lunch & Learn landing page".
   Do not re-derive this. If it needs to change, change it in the design
   system first, then copy it back down here.

     - The asset is a finished pattern PANEL (1600x1897, cropped to the alpha
       bbox of the 11812px master), NOT a tile, so it is placed ONCE with
       cover / no-repeat and NO ROTATION.
     - `cover` holds the motif scale identical across bands for any band
       shorter than ~1.19x the viewport width, which every section here is.
     - Colourway and opacity are the ONLY things that differ between surfaces.
     - NEVER repeat-tile, never shrink background-size, never step it down at
       mobile, never a light-surface watermark, never mix treatments, never
       leave one band bare. `.brand-field` / `.brand-zone` are DEPRECATED -
       they tile and rotate -8deg. */
.weave { position: relative; isolation: isolate; overflow: hidden; }
.weave > * { position: relative; z-index: 1; }
.weave::before {
  content: '';
  position: absolute;
  /* Overscan so the tilt can never drag a bare corner into view. vw, NOT %:
     a percent inset resolves against the BAND'S OWN HEIGHT, so it starves on
     a short strip and leaves bare wedges at the corners. >= width x tan(tilt)/2,
     ~7vw at -8deg; 12vw carries a safe margin at every width. */
  inset: calc(-1 * var(--weave-overscan, 12vw));
  background-position: center center;
  background-size: cover;               /* ONE field. Never `repeat`, never a px size. */
  background-repeat: no-repeat;
  transform: rotate(var(--weave-tilt, -8deg));   /* the house tilt - keep it */
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
}
/* Square variant. Opt in deliberately, then use it on EVERY band of the page. */
.weave--flat::before { inset: 0; transform: none; }
.weave--light::before { background-image: url("images/brand/triumph-pattern-field.png");       opacity: 0.07; }
.weave--navy::before  { background-image: url("images/brand/triumph-pattern-field-white.png"); opacity: 0.09; }

/* Navy band surface (replaces pattern.css .brand-field, which tiles AND tilts) */
.band-navy { background: var(--navy); color: var(--ink-on-navy); }

/* ---- Navy section (colour blocking, breaks the run of light) -------------- */
.on-navy .sec-head h2                { color: var(--ink-on-navy); }
.on-navy .sec-head p:not(.eyebrow)   { color: #cfe0f0; }
.on-navy .eyebrow                    { color: var(--lime); }
.on-navy .sub-head                   { color: var(--ink-muted-navy); }
.on-navy .label                      { color: var(--ink-muted-navy); }
.on-navy .label--accent              { color: var(--lime); }
.on-navy table.t th { color: var(--ink-muted-navy); border-bottom-color: rgba(255,255,255,.45); }
.on-navy table.t td { color: #cfe0f0; border-bottom-color: rgba(255,255,255,.14); }
.on-navy table.t b, .on-navy table.t .num { color: var(--ink-on-navy); }
/* A navy card rule on a navy band is invisible; on dark the accent is lime, not green. */

/* ---- Chips (capability list) --------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.chip {
  font-weight: 600; font-size: var(--text-body); color: var(--ink-body);
  background: var(--mist); padding: 9px 15px; border-radius: var(--radius);
}

/* ---- Closing navy band --------------------------------------------------- */
.close-band { padding: var(--space-9) 0; }
/* "One Fabiola moment. Inter does the work." (design.greenvilletriumph.club,
   09 Anti-patterns: "Fabiola weight 400, hero only" / "Don't: Fabiola on h2/h3").
   The hero H1 IS that one moment, so the mission line is Inter - NOT the v2
   `.tagline` atom, which is Fabiola and would be a second display font. */
.mission-line {
  max-width: 22ch; margin: var(--space-5) 0 0;
  font-family: var(--font-body); font-weight: 900;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ink-on-navy);
}
.close-band .lede {
  max-width: 62ch; margin: var(--space-5) 0 0; font-size: var(--text-md); color: #cfe0f0;
}
.close-band .btn-row { margin-top: var(--space-7); }
.contact {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--space-6); margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.16);
}
.contact .c-name { font-weight: 800; font-size: var(--text-lg); color: var(--ink-on-navy); }
.contact .c-role {
  font-weight: 700; font-size: var(--text-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--lime); margin-top: var(--space-1);
}
.contact .c-line { font-size: var(--text-body); color: #cfe0f0; margin-top: var(--space-3); }
.contact .c-line a { color: var(--ink-on-navy); text-decoration-color: var(--lime); }
.contact .c-line a:hover { color: var(--lime); }

/* ---- Footer -------------------------------------------------------------- */
.foot { background: var(--night); color: var(--ink-muted-navy); padding: var(--space-7) 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.foot .logo-gevp-h { width: 230px; }
.foot-meta { font-size: var(--text-sm); letter-spacing: .02em; }
.foot-meta a { color: var(--ink-muted-navy); text-decoration-color: var(--green); }
.foot-meta a:hover { color: var(--lime); }

/* ---- Small screens ------------------------------------------------------- */
@media (max-width: 640px) {
  /* --brand-pattern-size is deliberately NOT reduced here. See the ban at :root. */
  .sec { padding: var(--space-8) 0; }
  .hero { padding: var(--space-8) 0 var(--space-7); }
  .hero .logo-crest-white { height: 78px; }
  .stat-band { padding: var(--space-5); }
  .btn { padding: 13px 18px; }
  .close-band .tagline { max-width: none; }
}

/* Below this the wordmark + full CTA no longer fit one row and the nav would
   widen the whole document. Drop the section label, tighten the CTA. */
@media (max-width: 560px) {
  .nav-in { gap: var(--space-3); }
  .nav-brand span { display: none; }
  .nav-brand img { height: 22px; }
  .nav .btn { font-size: var(--text-xs); letter-spacing: .07em; padding: 10px 12px; }
}

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