/* All Star Sports Management / TeamASM: main stylesheet */

@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* REPLACEABLE IMAGES */
  /* (none: every picture is an <img src="assets/..."> so it can be swapped by replacing one file) */

  /* Brand colours from the logo badge (audit/brand.md) */
  --teal: #017F8C;          /* logo disk and stars, site primary */
  --teal-dark: #015F69;     /* same hue, darker: hover and teal text on white */
  --teal-deep: #01464E;
  --teal-tint: #E5F2F3;     /* same hue, lighter: soft panels */
  --navy: #071124;          /* batter outlines, Team Cape Cod uniforms */
  --navy-2: #0F1D38;
  --blue: #0470C3;          /* helmet visor accent */
  --black: #000000;         /* logo ring */
  --white: #FFFFFF;

  /* Neutrals */
  --ink: #0B1220;
  --text: #253041;
  --muted: #4B5768;
  --line: #D9E1E6;
  --mist: #F3F6F7;

  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(7,17,36,.06), 0 8px 24px rgba(7,17,36,.08);
  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem; --space-6: 6rem;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 46rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* Buttons: one vocabulary across the site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1.1; padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-light { background: var(--white); color: var(--teal-deep); }
.btn-light:hover { background: var(--teal-tint); color: var(--teal-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header: white brand row (scrolls away) + sticky teal bar with the badge hanging below it, as on the original */
.brandbar { background: var(--white); border-bottom: 1px solid var(--line); }
.brandbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); text-decoration: none; line-height: 1.05; display: block; }
.brand-name:hover { color: var(--ink); }
.brand-tag { margin: .2rem 0 0; color: var(--teal-dark); font-weight: 600; font-size: clamp(.92rem, 1.5vw, 1.05rem); line-height: 1.35; }
.brand-contact { display: none; text-align: right; font-size: .98rem; line-height: 1.45; }
.brand-contact a { color: var(--ink); text-decoration: none; font-weight: 600; }
.brand-contact a:hover { color: var(--teal-dark); text-decoration: underline; }
.brand-contact .big { font-family: var(--font-head); font-size: 1.5rem; display: block; }

.navbar { position: sticky; top: 0; z-index: 50; background: var(--teal); box-shadow: 0 2px 0 var(--black); }
.navbar .wrap { display: flex; align-items: center; gap: 1rem; min-height: 58px; position: relative; }
.badge { position: absolute; left: 0; top: 6px; width: 76px; height: 76px; border-radius: 50%; background: var(--white); padding: 3px; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: width .2s, height .2s; }
.badge img { width: 100%; height: 100%; }
.nav-spacer { width: 84px; flex: none; }
.navbar .mobile-name { font-family: var(--font-head); font-weight: 700; color: var(--white); text-decoration: none; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.75); border-radius: 999px; padding: .4rem .85rem; font: 700 1rem var(--font-head); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.nav-call { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); }
.nav-call:hover { background: var(--black); color: var(--white); }
.nav-call svg { width: 20px; height: 20px; }
.mainnav { display: none; }
.mainnav ul { list-style: none; margin: 0; padding: 0; }
.mainnav a { color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: .03em; text-transform: uppercase; }
.mainnav a:hover, .mainnav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; color: var(--white); }
/* No JS: the menu is simply open below the bar */
.no-js .mainnav { display: block; width: 100%; }
.navbar.open .mainnav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--teal-deep); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.navbar.open .mainnav ul, .no-js .mainnav ul { display: grid; padding: 1rem 1.25rem 1.25rem; gap: .2rem; }
.navbar.open .mainnav li a, .no-js .mainnav li a { display: block; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mainnav .nav-cta { display: none; }
.mainnav a.nav-cta, .mainnav a.nav-cta:hover { color: var(--teal-deep); text-decoration: none; }

@media (min-width: 760px) {
  .brand-contact { display: block; }
}
@media (min-width: 1180px) {
  .badge { width: 96px; height: 96px; top: 6px; }
  .nav-spacer { width: 104px; }
  .navbar .mobile-name, .nav-toggle, .nav-call { display: none; }
  .mainnav, .no-js .mainnav { display: flex; align-items: center; flex: 1; width: auto; }
  .mainnav ul, .no-js .mainnav ul { display: flex; gap: 1.35rem; padding: 0; }
  .no-js .mainnav li a { padding: 0; border: 0; }
  .mainnav .nav-cta { display: inline-flex; margin-left: auto; padding: .6rem 1.15rem; font-size: 1.02rem; }
  .navbar.scrolled .badge { width: 44px; height: 44px; top: 7px; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-mist { background: var(--mist); }
.section-tint { background: var(--teal-tint); }
.section-navy { background: var(--navy); color: #D5DCE6; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-navy .section-head p { color: #C3CCDA; }
.stars { display: inline-flex; gap: .3rem; color: var(--teal); margin-bottom: .75rem; }
.stars svg { width: 18px; height: 18px; }
.section-navy .stars, .section-teal .stars { color: #7FD3DB; }

/* Page header (inner pages) */
.pagehead { background: var(--navy); color: #D5DCE6; padding-block: clamp(2.75rem, 5vw, 3.75rem) clamp(2.25rem, 4vw, 3rem); position: relative; overflow: hidden; }
.pagehead::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 22px solid rgba(1,127,140,.35); pointer-events: none; }
.pagehead h1 { color: var(--white); max-width: 22ch; }
.pagehead .lead { color: #C3CCDA; }
.crumbs { font-size: .95rem; margin-bottom: 1rem; color: #AEB9C9; }
.crumbs a { color: #9FDDE3; }
.crumbs a:hover { color: var(--white); }

/* Home hero */
.hero { background: var(--navy); color: #D5DCE6; position: relative; overflow: hidden; padding-block: clamp(3.75rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(1,127,140,.45), transparent 55%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.7rem, 7vw, 5rem); margin-bottom: .35em; }
.hero h1 .h1-name { display: block; font-size: .4em; letter-spacing: .06em; color: #7FD3DB; margin-bottom: .45em; }
.hero .lead { color: #D5DCE6; }
.hero-note { margin-top: 1.25rem; font-size: .98rem; color: #AEB9C9; }
.hero-note a { color: #9FDDE3; }
.photo-print { margin: 0; background: var(--white); padding: 10px 10px 0; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.photo-print img { border-radius: 2px; width: 100%; }
.photo-print figcaption { color: var(--muted); font-size: .92rem; padding: .55rem .2rem .65rem; }
.hero-copy .lead { margin-bottom: 0; }
.hero-actions .hero-note { margin-bottom: 0; }
@media (max-width: 899px) {
  .hero { padding-top: 2.5rem; }
  .hero .wrap { gap: 1.5rem; }
  .hero h1 .h1-name { display: none; }
  .hero-copy .lead { font-size: 1.05rem; }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy fig" "actions fig"; row-gap: 1.75rem; }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-fig { grid-area: fig; }
  .hero-actions { grid-area: actions; align-self: start; }
}

/* Pillars */
.pillars { display: grid; gap: 2rem; }
.pillar { border-top: 4px solid var(--teal); padding-top: 1.25rem; }
.pillar h3 { display: flex; align-items: center; gap: .6rem; text-transform: uppercase; font-size: 1.7rem; }
.pillar h3 svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.pillar p { color: var(--text); margin: 0; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* Big number */
.bignum { display: grid; gap: 1.5rem; align-items: center; }
.bignum strong { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 7.5rem); line-height: .9; color: var(--white); display: block; }
.bignum p { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0; max-width: 34rem; }
@media (min-width: 800px) { .bignum { grid-template-columns: auto 1fr; gap: 3rem; } }

/* Split layout */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font-size: .92rem; color: var(--muted); margin-top: .6rem; }
.section-navy .figure figcaption { color: #AEB9C9; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.steps li { position: relative; padding-left: 3.4rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--teal); color: var(--white); font: 700 1.3rem/2.4rem var(--font-head); text-align: center; }
.steps strong { color: var(--ink); }

/* Membership tiers */
.tiers { display: grid; gap: 1rem; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; position: relative; }
.tier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: var(--radius) var(--radius) 0 0; background: var(--tier, var(--teal)); }
.tier:nth-child(1) { --tier: #9A6A3A; }
.tier:nth-child(2) { --tier: #8C96A3; }
.tier:nth-child(3) { --tier: #B8912C; }
.tier:nth-child(4) { --tier: var(--navy); }
.tier h3 { text-transform: uppercase; font-size: 1.6rem; margin-bottom: .2rem; }
.tier .price { flex: none; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--teal-dark); line-height: 1; margin: .2rem 0 .9rem; }
.tier p { font-size: 1rem; flex: 1; }
.tier .btn { align-self: flex-start; font-size: 1rem; padding: .7rem 1.2rem; }
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.fineprint { font-size: .95rem; color: var(--muted); margin-top: 1.25rem; }

/* Quote */
.quote { margin: 0 0 1.5rem; padding: 0 0 0 1.25rem; border-left: 5px solid var(--teal); }
.quote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.05rem); line-height: 1.2; color: var(--ink); margin-bottom: .5rem; }
.quote cite { font-style: normal; color: var(--muted); font-weight: 600; }
.section-navy .quote p { color: var(--white); }
.section-navy .quote cite { color: #AEB9C9; }

/* "Also from Frank" list */
.also { display: grid; gap: 1.25rem; }
.also-item { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.also-item h3 { margin-bottom: .4rem; }
.also-item p { color: #C3CCDA; flex: 1; }
.also-item a.more { color: #9FDDE3; font-weight: 600; }
.also-item a.more:hover { color: var(--white); }
@media (min-width: 860px) { .also { grid-template-columns: repeat(3, 1fr); } }

/* Sponsors: shown whole, at their own size or smaller */
.sponsors { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; justify-content: center; }
.sponsor { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem; display: flex; align-items: center; justify-content: center; }
.sponsor img { width: auto; height: auto; max-width: 100%; }
.sponsor-1 img { width: 200px; }
.sponsor-2 img { width: 446px; }
.sponsor-3 img { width: 270px; }

/* Posts */
.post-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .card-img { display: block; background: var(--mist); }
.card .card-img img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: contain; }
.card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h2, .card h3 { font-size: 1.4rem; margin-bottom: .4rem; text-transform: none; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--teal-dark); text-decoration: underline; }
.card time { font-size: .92rem; color: var(--muted); display: block; margin-bottom: .6rem; }
.card p { font-size: 1rem; margin: 0; }

/* CTA band */
.ctaband { background: var(--teal); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.ctaband .wrap { display: grid; gap: 1.5rem; align-items: center; }
.ctaband h2 { color: var(--white); margin-bottom: .3rem; }
.ctaband p { margin: 0; color: #E3F4F5; font-size: 1.12rem; }
.ctaband .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.8); }
.ctaband .btn-ghost:hover { background: var(--white); color: var(--teal-deep); }
@media (min-width: 900px) { .ctaband .wrap { grid-template-columns: 1fr auto; } }

/* Prose (posts, legal, about) */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.post-figure { margin: 0 0 2rem; }
.post-figure img { border-radius: var(--radius); width: 100%; }
.post-meta { color: #AEB9C9; margin: 0; }
.back { display: inline-block; margin-top: 2rem; font-weight: 600; }

/* Services list */
.svc-list { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.svc { display: grid; gap: 1.5rem; align-items: center; }
.svc h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); text-transform: uppercase; }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr 1.1fr; gap: 3rem; } .svc:nth-child(even) > figure { order: 2; } }
.svc ul { padding-left: 1.2rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checks li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; background: var(--teal); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* Products */
.products { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product .card-img { aspect-ratio: auto; background: var(--white); border-bottom: 1px solid var(--line); }
.product .card-img img { width: 100%; height: auto; object-fit: contain; aspect-ratio: 1880 / 1576; }
.product .card-body .btn { margin-top: 1rem; align-self: flex-start; }
.product .row-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Players */
.players { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .players { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .players { grid-template-columns: repeat(3, 1fr); } }
.player { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; border-top: 5px solid var(--teal); }
.player .year { font-family: var(--font-head); font-weight: 700; color: var(--teal-dark); font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; }
.player h2 { font-size: 1.75rem; margin: .15rem 0 .35rem; text-transform: none; }
.player h2 a { color: var(--ink); text-decoration: none; }
.player h2 a:hover { color: var(--teal-dark); text-decoration: underline; }
.player .pos { font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.player .school { color: var(--muted); font-size: .98rem; margin-bottom: .8rem; }
.player p.sum { font-size: 1rem; flex: 1; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0 0 2rem; padding: 1.25rem 1.4rem; background: var(--mist); border-radius: var(--radius); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; }

/* Media list */
.videos { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 760px) { .videos { grid-template-columns: repeat(2, 1fr); } }
.videos a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white); height: 100%; }
.videos a:hover { border-color: var(--teal); background: var(--teal-tint); }
.videos .play { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; }
.videos .play svg { width: 18px; height: 18px; margin-left: 3px; }
.videos strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.videos span.sub { font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 50rem; display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); padding: 1.05rem 2rem 1.05rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .85rem; font-size: 1.6rem; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.15rem; }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.25fr .75fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .3rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid #B9C5CD; border-radius: 8px; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); outline: 3px solid rgba(1,127,140,.25); outline-offset: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 8px; font-weight: 600; }
.form-status.ok { background: var(--teal-tint); color: var(--teal-deep); }
.form-status.err { background: #FDECEC; color: #8A1C1C; }
.form-note { font-size: .92rem; color: var(--muted); margin-top: .75rem; }
.cf-turnstile { margin: .5rem 0 1rem; }
.contact-card { background: var(--navy); color: #D5DCE6; border-radius: var(--radius); padding: 1.75rem; }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { color: #9FDDE3; }
.contact-card a:hover { color: var(--white); }
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .7rem; }
.contact-lines li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-lines svg { width: 20px; height: 20px; flex: none; margin-top: .25rem; color: #7FD3DB; }
.join { margin-top: 1.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--teal-tint); }
.join h3 { margin-bottom: .4rem; }

/* Social */
.social { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); }
.social a:hover { background: var(--teal); color: var(--white); }
.social svg { width: 18px; height: 18px; }

/* Footer */
.footer { background: var(--black); color: #B8C2CF; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .98rem; }
.footer a { color: #D9E1E8; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer a.btn-primary, .footer a.btn-primary:hover { color: var(--white); text-decoration: none; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer h2 { color: var(--white); font-size: 1.25rem; letter-spacing: .05em; margin-bottom: .8rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; background: var(--white); padding: 2px; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); line-height: 1.1; display: block; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer address { font-style: normal; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem 1.5rem; font-size: .88rem; color: #8D98A8; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-legal p { margin: 0; }
.footer-legal a { color: #B8C2CF; }
.legal-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }

/* Mobile action bar */
.actionbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; background: var(--navy); box-shadow: 0 -4px 14px rgba(0,0,0,.2); }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem .5rem; color: var(--white); text-decoration: none; font: 700 1.05rem var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.actionbar a + a { background: var(--teal); }
.actionbar svg { width: 18px; height: 18px; }
body { padding-bottom: 52px; }
@media (min-width: 760px) { .actionbar { display: none; } body { padding-bottom: 0; } }

.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.split.top { align-items: start; }
.adviser-side { max-width: 360px; width: 100%; justify-self: center; }
@media (max-width: 759px) { .pagehead::after { display: none; } }
.post-meta { margin-bottom: .5rem; }
