/* ==========================================================================
   Thirty Mighty Men Ministries + The Carpenter's Son
   One stylesheet, two brands. The <body> class picks the brand:
   body.brand-30  = Thirty Mighty Men Ministries (black, white, deep red)
   body.brand-tcs = The Carpenter's Son (blueprint blue)
   ========================================================================== */

:root {
  --gutter: clamp(16px, 5vw, 80px);
  --maxw: 1280px;
  --radius: 4px;
}

body.brand-30 {
  --ink: #141212;
  --paper: #F6F2EC;
  --surface: #FFFFFF;
  --accent: #A10A22;
  --accent-dk: #7A0819;
  --accent-lt: #E8776E;
  --muted: #4B4540;
  --line: #DDD5CA;
  --dk-muted: #BDB5AB;
  --dark: #141212;
  --ph: #CFCAC3;
  --ph-ink: #3F3A36;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Archivo', 'Helvetica Neue', sans-serif;
  --display-weight: 900;
  --display-track: 0.005em;
  --display-leading: 0.92;
}

body.brand-tcs {
  --ink: #1E2328;
  --paper: #F4F7F9;
  --surface: #FFFFFF;
  --accent: #2B6580;
  --accent-dk: #173F52;
  --accent-lt: #9CC3D6;
  --brand: #4682A0;
  --tint: #E6F0F5;
  --muted: #4A525A;
  --line: #D5DEE4;
  --dk-muted: #B8C7D0;
  --dark: #1E2328;
  --ph: #CCD6DC;
  --ph-ink: #34424B;
  --font-display: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --font-ui: 'Montserrat', 'Helvetica Neue', sans-serif;
  --display-weight: 800;
  --display-track: 0.04em;
  --display-leading: 1.06;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dk); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; font-family: var(--font-ui); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(48px, 6vw, 96px) 0; }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--surface); }
.bg-dark { background: var(--dark); color: #fff; }
.bg-accent { background: var(--accent); color: #fff; }
.bg-tint { background: var(--tint, var(--paper)); }
.bg-grid { background-color: #173F52; background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 32px 32px; color: #fff; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-5-7 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-8-4 { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 4vw, 48px); align-items: start; }
.align-end { align-items: end; }
.align-center { align-items: center; }
.center { text-align: center; align-items: center; }

@media (max-width: 1080px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-5-7, .split-7-5, .split-8-4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.eyebrow svg { flex-shrink: 0; }
.bg-dark .eyebrow, .bg-grid .eyebrow { color: var(--accent-lt); }
.display { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: var(--display-track); line-height: var(--display-leading); }
.h1 { font-size: clamp(52px, 8vw, 112px); }
.h2 { font-size: clamp(38px, 5.6vw, 80px); }
.h3 { font-size: clamp(30px, 3.6vw, 52px); }
.h4 { font-size: clamp(24px, 2.4vw, 34px); }
body.brand-tcs .h1 { font-size: clamp(40px, 5.6vw, 72px); }
body.brand-tcs .h2 { font-size: clamp(28px, 3.2vw, 46px); }
body.brand-tcs .h3 { font-size: clamp(22px, 2.4vw, 32px); }
body.brand-tcs .h4 { font-size: clamp(18px, 1.6vw, 22px); }
.statement { font-family: var(--font-display); font-weight: 300; letter-spacing: 0.02em; line-height: 1.15; }
.statement strong { font-weight: 800; color: var(--brand, var(--accent)); }
.accent-text { color: var(--accent); }
body.brand-tcs .accent-text { color: var(--brand); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.bg-dark .muted, .bg-grid .muted, .bg-dark .lead, .bg-grid .lead { color: #D6DEE3; }
body.brand-30 .bg-dark .muted, body.brand-30 .bg-dark .lead { color: #D9D2C9; }
.small { font-size: 15px; line-height: 1.6; }
.ui { font-family: var(--font-ui); }
.label { font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.tag { display: inline-block; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; background: var(--accent); color: #fff; }
.tag-dark { background: var(--ink); }
.tag-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.quote { font-family: var(--font-body); font-style: italic; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border-radius: var(--radius); font-family: var(--font-ui); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
body.brand-tcs .btn-outline { color: var(--accent); border-color: var(--accent); }
body.brand-tcs .btn-outline:hover { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-lg { min-height: 60px; padding: 18px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-ui); font-size: 15px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
@media (max-width: 640px) { .row > .btn { width: 100%; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand-logo img { height: 48px; width: auto; }
body.brand-tcs .brand-logo img { height: 30px; }
.nav { display: flex; align-items: center; gap: 30px; font-family: var(--font-ui); font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.nav .btn { color: #fff; min-height: 46px; padding: 10px 20px; font-size: 13px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.nav-toggle { display: none; width: 48px; height: 48px; border: none; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .nav .btn { margin-top: 14px; border-bottom: none; }
  .brand-logo img { height: 40px; }
  body.brand-tcs .brand-logo img { height: 22px; }
}

/* ---------- Photos (gray placeholders until the real file is added) ---------- */
.photo { position: relative; background: var(--ph); background-size: cover; background-position: center; color: var(--ph-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-family: var(--font-ui); padding: 16px; min-height: 240px; }
.photo .ph-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.photo .ph-desc { font-size: 13px; }
.photo.has-img .ph-label, .photo.has-img .ph-desc, .photo.has-img svg { display: none; }
.bg-dark .photo, .bg-grid .photo { background-color: #3A3533; color: #D9D2C9; }
body.brand-tcs .bg-grid .photo { background-color: #2C5467; color: #D6E4EB; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: min(820px, 88vh); }
.hero-copy { padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 7vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 28px; max-width: 760px; margin-left: auto; width: 100%; }
.hero .photo { min-height: 420px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero .photo { order: -1; min-height: 300px; }
  .hero-copy { padding: 40px var(--gutter) 56px; margin: 0; max-width: none; }
}

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.card-paper { background: var(--paper); }
.card-top { border-top: 5px solid var(--accent); }
body.brand-tcs .card-top { border-top-color: var(--brand); }
.card-link { text-decoration: none; color: var(--ink); }
.card-link:hover { border-color: var(--accent); color: var(--ink); }
.card .grow { flex-grow: 1; }
.program-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); }
.program-card .photo { min-height: 100%; }
.program-card .body { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1100px) { .program-card { grid-template-columns: minmax(0, 1fr); } .program-card .photo { min-height: 220px; } }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); }
.feature .photo { min-height: 560px; }
.feature .body { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature .photo { min-height: 280px; } }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-family: var(--font-ui); font-size: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex-shrink: 0; margin-top: 4px; }
.big-list li { font-family: var(--font-body); font-size: 19px; }

/* ---------- Fact strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 44px 0; }
.fact { border-left: 3px solid var(--accent); padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.fact .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; }
.fact .lbl { font-family: var(--font-ui); font-size: 15px; color: var(--dk-muted); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trades { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 40px 0; }
.trade { display: flex; align-items: center; gap: 14px; border-left: 2px solid var(--accent-lt); padding-left: 18px; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 20px; }
@media (max-width: 900px) { .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Steps ---------- */
.step-num { font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 1; color: var(--accent); }
.step { border-top: 3px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.step h3 { font-family: var(--font-ui); font-size: 22px; font-weight: 700; }
.num-box { width: 56px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff; }

/* ---------- Blueprint words (TRAIN / BUILD / SERVE) ---------- */
.bp { position: relative; display: inline-flex; padding: 14px 20px; align-self: flex-start; }
.bp::before, .bp::after { content: ""; position: absolute; left: -14px; right: -14px; height: 1px; background: var(--brand); opacity: 0.7; }
.bp::before { top: 14px; } .bp::after { bottom: 14px; }
.bp .v1, .bp .v2 { position: absolute; top: -12px; bottom: -12px; width: 1px; background: var(--brand); opacity: 0.7; }
.bp .v1 { left: 20px; } .bp .v2 { right: 20px; }
.bp span.word { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 60px); line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); }
.bp.outline span.word { color: transparent; -webkit-text-stroke: 2px var(--brand); }
.bp.half span.word { color: transparent; -webkit-text-stroke: 2px var(--brand); background-image: linear-gradient(180deg, transparent 52%, var(--brand) 52%); -webkit-background-clip: text; background-clip: text; }

/* ---------- Training day ---------- */
.day { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin: 0 auto; }
.day > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 20px; text-align: center; }
.day > div + div { border-left: 1px solid var(--accent-lt); }
.day .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: 1; }
.day .t { font-style: italic; font-weight: 300; font-size: clamp(16px, 1.6vw, 20px); color: #D6E4EB; }
@media (max-width: 640px) { .day { grid-template-columns: minmax(0, 1fr); gap: 28px; } .day > div + div { border-left: none; border-top: 1px solid var(--accent-lt); padding-top: 24px; } }

/* ---------- Bays ---------- */
.bays { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-bottom: 1.5px solid var(--accent); }
.bays div { border: 1.5px solid var(--accent); border-bottom: none; height: 200px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; }
.bays span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 640px) { .bays { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bays div { height: 150px; } }

/* ---------- Team ---------- */
.person { display: flex; align-items: center; gap: 20px; }
.person .icon-box { width: 68px; height: 68px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.person .name { font-family: var(--font-ui); font-size: 21px; font-weight: 700; }

/* ---------- Share ---------- */
.share-box { display: flex; flex-direction: column; gap: 16px; }
.share-msg { background: var(--tint, var(--paper)); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.share-msg p { font-style: italic; font-size: 18px; line-height: 1.6; }
.share-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .share-buttons { grid-template-columns: minmax(0, 1fr); } }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px solid var(--line); background: #fff; padding: 6px 6px 6px 18px; min-height: 60px; }
.copy-row .url { font-family: var(--font-ui); font-weight: 700; font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.copy-row .btn { min-height: 46px; padding: 10px 18px; font-size: 13px; }
.qr { display: flex; align-items: center; gap: 20px; }
.qr img { width: 132px; height: 132px; border: 1px solid var(--line); }

/* ---------- Signup band ---------- */
.signup { background: var(--tint, var(--paper)); border-top: 1px solid var(--line); }
.signup .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 64px 0; }
.signup form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: end; }
@media (max-width: 900px) { .signup .inner { grid-template-columns: minmax(0, 1fr); } .signup form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms (native inputs in signup) ---------- */
.field { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-ui); font-size: 14px; font-weight: 600; }
.field input { height: 52px; padding: 0 16px; border: 1.5px solid #9AA8B1; border-radius: var(--radius); background: #fff; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); }
.form-frame { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--accent); padding: 12px; }
.form-frame iframe { width: 100%; min-height: 900px; border: none; display: block; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border: 1.5px solid #9AA8B1; border-radius: 999px; background: #fff; color: var(--ink); font-family: var(--font-ui); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
@media (max-width: 640px) { .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .chip { flex-shrink: 0; } }

/* ---------- Tool wishlist ---------- */
.tool-group { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.tool-group-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } }
.tool { background: #fff; border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-ui); }
.tool.selected { border: 2px solid var(--accent); }
.tool .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tool .status { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1.5px solid var(--accent); padding: 3px 8px; }
.tool .status.pledged { color: var(--muted); border-color: var(--muted); }
.tool .qty { font-size: 13px; font-weight: 700; color: var(--muted); }
.tool .name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.tool .detail { font-size: 14px; line-height: 1.5; color: var(--muted); flex-grow: 1; }
.tool .btn { min-height: 44px; padding: 8px 14px; font-size: 12px; align-self: flex-start; }
.picked { background: var(--tint, var(--paper)); border: 1.5px dashed var(--brand, var(--accent)); padding: 16px 20px; font-family: var(--font-ui); }
.picked .v { font-size: 19px; font-weight: 700; }

/* ---------- Workshops ---------- */
.ws-card { display: grid; grid-template-columns: 132px minmax(0, 1fr) 220px; background: #fff; border: 1px solid var(--line); }
.ws-date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 20px 8px; text-align: center; }
.ws-date .m { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-lt); }
.ws-date .d { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; }
.ws-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-ui); }
.ws-body h3 { font-size: 22px; font-weight: 700; }
.ws-meta { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 6px; font-size: 14px; color: var(--ink); }
.ws-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ws-actions { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; border-left: 1px solid var(--line); }
@media (max-width: 800px) { .ws-card { grid-template-columns: 96px minmax(0, 1fr); } .ws-actions { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; } .ws-actions .btn { flex: 1 1 160px; } .ws-date .d { font-size: 40px; } }
.ws-empty { border: 1.5px dashed #9AA8B1; padding: 28px 30px; font-family: var(--font-ui); }
.cal { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; font-family: var(--font-ui); }
.cal-head { display: flex; justify-content: space-between; align-items: center; }
.cal-head button { width: 44px; height: 44px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cal-title { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 6px; }
.cal-grid .day-cell { height: 52px; border: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: flex-end; padding: 6px; font-size: 13px; color: var(--muted); }
.cal-grid .day-cell.has { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; justify-content: center; align-items: center; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #fff; font-family: var(--font-ui); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 44px; }
.footer-grid h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-lt); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; color: #fff; }
.footer-about { display: flex; flex-direction: column; gap: 20px; }
.footer-about p { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--dk-muted); max-width: 440px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 48px; padding-top: 24px; font-size: 13px; line-height: 1.6; color: var(--dk-muted); display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.cta-band p { color: rgba(255,255,255,0.88); }
@media (max-width: 800px) { .cta-band .container { flex-direction: column; align-items: flex-start; } }

/* ---------- Print (flyer) ---------- */
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 640px) {
  .display { overflow-wrap: break-word; }
  .h1 { font-size: clamp(38px, 11vw, 60px); }
  .h2 { font-size: clamp(32px, 9vw, 48px); }
  body.brand-tcs .h1 { font-size: clamp(34px, 9.5vw, 48px); }
  body.brand-tcs .h2 { font-size: clamp(26px, 7.4vw, 40px); }
  .bp span.word { font-size: clamp(30px, 9vw, 44px); }
  .trade { font-size: 15px; gap: 10px; padding-left: 12px; }
  .trade svg { width: 22px; height: 22px; }
  .quote { font-size: 24px; }
}
@media (max-width: 540px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 36px 0; }
}

.copy-row .url { white-space: nowrap; }
@media (max-width: 640px) { .copy-row .url { font-size: 15px; } }

/* photo additions */
.photo-pair { gap: 20px; }
@media (max-width: 899px) { body.brand-tcs .hero .photo.has-img { min-height: 460px; background-position: center 65%; } }

/* Join a Program form */
.join-form { display: flex; flex-direction: column; gap: 28px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent); padding: clamp(22px, 4vw, 44px); font-family: var(--font-ui); }
.join-form .fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.join-form legend { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 4px; padding: 0; }
.join-form .hint { margin: -6px 0 0; font-size: 14px; color: #5b6770; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); padding: 14px 16px; cursor: pointer; background: var(--paper); }
.choice:has(input:checked) { border-color: var(--accent); background: #fff; box-shadow: inset 4px 0 0 var(--accent); }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.choice span { display: flex; flex-direction: column; gap: 2px; }
.choice strong { font-size: 16px; }
.choice small { font-size: 13px; color: #5b6770; line-height: 1.4; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
@media (max-width: 600px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .flabel { font-size: 14px; font-weight: 700; }
.join-form input:not([type=checkbox]):not([type=radio]), .join-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #c5d0d7; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; border-radius: 0; }
.join-form input:focus-visible, .join-form textarea:focus-visible { outline: 3px solid rgba(43,101,128,0.3); border-color: var(--accent); }
.join-form [aria-invalid="true"] { border-color: var(--accent) !important; background: #eef5f9 !important; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #c5d0d7; padding: 10px 14px; cursor: pointer; font-size: 15px; }
.pill:has(input:checked) { border-color: var(--accent); background: #eef5f9; }
.pill input { accent-color: var(--accent); margin: 0; }
.optin { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.optin input { width: 18px; height: 18px; accent-color: var(--accent); }
.join-form .err { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0; }
.join-form .btn { align-self: flex-start; }
.card.bg-dark { background: var(--dark); color: #fff; }

.bg-grid .join-form { color: var(--ink); }
.always-needed { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: var(--paper); border: 1px solid var(--line); border-left: 0; border-top: 5px solid var(--accent); padding: clamp(22px, 3vw, 36px); }
.always-needed .stack-sm { max-width: 760px; }
.always-needed p { margin: 0; color: #3d474e; }
.signup form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) auto; }
@media (max-width: 900px) { .signup form { grid-template-columns: minmax(0, 1fr); } }
form[data-signup] [aria-invalid="true"] { outline: 3px solid #E8776E; }
[hidden] { display: none !important; }
.bg-grid .join-form .muted, .bg-grid .join-form .small { color: #5b6770; }

.join-form select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #c5d0d7; background: #fff; color: var(--ink); width: 100%; border-radius: 0; }
.ws-manage { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--font-ui); font-size: 14px; }
.ws-manage li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: start; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ws-manage .st { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 6px; text-align: center; background: #e3ecf2; color: var(--accent-dk); }
.ws-manage .st-open { background: #e3f1e6; color: #1f5e3a; }
.ws-manage .st-full { background: #fff1c2; color: #6b5200; }
.ws-manage .st-cancelled, .ws-manage .st-canceled { background: #f8d7da; color: #7a1c24; }
.ws-manage .st-hidden, .ws-manage .st-past, .ws-manage .st-example { background: #eceff1; color: #55606a; }

/* Hire Us page */
.phone-cta { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-left: 5px solid var(--brand); background: var(--paper); align-self: flex-start; }
.phone-big { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: 0.01em; }
.phone-big svg { color: var(--brand); width: 34px; height: 34px; }
.svc .checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc .checklist li { display: flex; gap: 10px; font-family: var(--font-ui); font-size: 15px; }
.adv-list { display: grid; gap: 28px; }
.adv { display: grid; gap: 8px; padding-left: 22px; border-left: 3px solid var(--brand); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps .step { display: flex; flex-direction: column; gap: 14px; }
.steps .num-box { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-family: var(--font-ui); font-size: 24px; font-weight: 800; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.bg-grid .steps .muted { color: #D6E4EB; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.svc .icon-box { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; }
.nav a { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1320px) { body.brand-tcs .nav { gap: 16px; font-size: 13.5px; } body.brand-tcs .brand-logo img { height: 24px; } }
