/* Eldred's Taekwondo: black and maroon */
:root {
  --black: #0d0b0c;
  --ink: #161214;
  --maroon: #7d172c;
  --maroon-deep: #4a0d1a;
  --red: #c8102e;
  --cream: #f6f1ea;
  --paper: #fffdf9;
  --text: #1d1a1b;
  --muted: #6d6466;
  --on-dark: #f3eeee;
  --on-dark-muted: #bfb3b5;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.65; color: var(--text); background: var(--black); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; }

.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; font-size: .85rem; font-weight: 500; color: #e3342f; margin-bottom: .9rem; display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--maroon); }

/* Buttons */
.btn { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; text-decoration: none; color: #fff; background: var(--maroon); padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid var(--maroon); transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.15rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13,11,12,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--on-dark); font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .05em; }
.brand strong { color: #fff; font-weight: 700; }
.brand-badge { display: inline-grid; place-items: center; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 0 0 2px var(--maroon); }
.brand-badge img { width: 44px; height: 44px; }
.brand-badge.lg img { width: 72px; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .92rem; transition: color .2s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero { position: relative; color: var(--on-dark); overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 70% at 78% 45%, rgba(125,23,44,.75), transparent 70%),
  radial-gradient(ellipse 40% 50% at 10% 100%, rgba(74,13,26,.6), transparent 70%),
  linear-gradient(180deg, #0d0b0c 0%, #140d10 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; min-height: min(86vh, 760px); padding-block: 3rem 0; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 700; line-height: .98; margin-bottom: 1.4rem; }
.hero h1 span { color: transparent; -webkit-text-stroke: 2px #fff; }
.hero h1 span:nth-child(2) { color: #e3342f; -webkit-text-stroke: 0; }
.lead { font-size: 1.2rem; color: var(--on-dark-muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-art { position: relative; align-self: end; display: flex; justify-content: center; }
.hero-art img { position: relative; max-height: 680px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.hero-ring { position: absolute; width: 88%; aspect-ratio: 1; bottom: 12%; border-radius: 50%; border: 2px solid rgba(227,52,47,.35); box-shadow: inset 0 0 0 18px rgba(125,23,44,.25); }
.tenets { position: relative; background: var(--maroon); border-top: 1px solid rgba(255,255,255,.12); }
.tenets-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.05rem; }
.tenets span { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: .95rem; color: #fff; }
.tenets span + span::before { content: "\25C6"; color: rgba(255,255,255,.4); margin-right: 1.5rem; font-size: .6rem; vertical-align: middle; }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.light { background: var(--cream); color: var(--text); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark p { color: var(--on-dark-muted); }
.sub { max-width: 44em; }

.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.about-photo { margin: 0; position: relative; display: flex; justify-content: center; }
.about-photo::before { content: ""; position: absolute; inset: 12% 6% 0; background: linear-gradient(160deg, var(--maroon), var(--maroon-deep)); border-radius: 200px 200px var(--radius) var(--radius); }
.about-photo img { position: relative; max-height: 560px; width: auto; }

/* Program cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.card { position: relative; background: linear-gradient(180deg, #1e171a, #171214); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 2rem 1.6rem 1.8rem; transition: transform .25s, border-color .25s; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--maroon); transform: scaleX(.25); transform-origin: left; transition: transform .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(227,52,47,.35); }
.card:hover::after { transform: scaleX(1); }
.num { font-family: var(--display); font-size: 2.8rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(227,52,47,.7); line-height: 1; display: block; margin-bottom: 1rem; }
.card h3 { color: #fff; margin-bottom: .2rem; }
.age { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: #e3342f !important; margin-bottom: .8rem; }

/* Founder */
.founder { background: linear-gradient(120deg, var(--maroon-deep), var(--maroon) 60%, #8f1b33); color: #fff; }
.founder p { color: rgba(255,255,255,.86); }
.founder .eyebrow { color: #f2d5cf; }
.founder-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: center; }
.founder-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 30%, #2a1b20, var(--black)); box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.founder-photo img { width: 100%; }
.pull { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; line-height: 1.35; letter-spacing: .02em; color: #fff !important; border-left: 4px solid #fff; padding-left: 1.2rem; margin-top: 1.6rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.member { text-align: center; }
.member-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(180deg, #2a1b20 0%, var(--black) 100%); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; margin-bottom: 1.1rem; position: relative; }
.member-photo::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; top: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(125,23,44,.85), transparent 70%); }
.member-photo img { position: relative; height: 94%; width: auto; object-fit: contain; transition: transform .35s; }
.member:hover .member-photo img { transform: scale(1.04); }
.member h3 { margin-bottom: .1rem; }
.member p { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--maroon); }

/* Quote */
.quote-band { background: var(--black); color: #fff; text-align: center; }
blockquote { margin: 0; }
blockquote p { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.25; text-transform: uppercase; }
blockquote footer { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; color: #e3342f; font-size: .9rem; }

/* Students */
.block-title { color: #fff; margin-top: 3rem; font-size: 1.3rem; letter-spacing: .08em; }
.forms { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.forms a { display: grid; grid-template-columns: 54px 1fr auto; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; text-decoration: none; padding: 1rem 1.2rem; border-radius: 12px; background: #1e171a; border: 1px solid rgba(255,255,255,.07); transition: border-color .2s, background .2s; }
.forms a::after { content: "PDF \2193"; grid-row: 1 / 3; grid-column: 3; font-family: var(--display); font-size: .8rem; letter-spacing: .1em; color: #e3342f; }
.forms a:hover { border-color: rgba(227,52,47,.5); background: #241b1f; }
.belt { grid-row: 1 / 3; width: 54px; height: 14px; border-radius: 3px; background: var(--belt); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); position: relative; }
.belt::after { content: ""; position: absolute; right: 10px; top: -4px; width: 6px; height: 22px; background: var(--belt); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.f-name { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; color: #fff; letter-spacing: .04em; }
.f-belt { font-size: .9rem; color: var(--on-dark-muted); }
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.2rem; }
.module { background: #1e171a; border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.module h4 { color: #e3342f; font-size: 1.05rem; letter-spacing: .14em; }
.module ol { margin: 0; padding-left: 1.4rem; color: var(--on-dark-muted); columns: 1; }
.module li { padding: .18rem 0; }
.module li::marker { color: #e3342f; font-family: var(--display); }

/* Visit */
.visit { background: linear-gradient(180deg, var(--black), #170d11); color: var(--on-dark); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.2rem 0 1.2rem; }
.info dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: #e3342f; margin-bottom: .3rem; }
.info dd { margin: 0; color: #fff; }
.info a { text-decoration: none; }
.link-arrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; color: #fff; text-decoration: none; border-bottom: 2px solid var(--maroon); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4 / 3.4; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }

/* Footer */
.site-footer { background: #070606; color: var(--on-dark-muted); padding-block: 2.5rem; font-size: .95rem; border-top: 3px solid var(--maroon); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 1.2rem; align-items: center; }
.foot-brand p, .foot-meta { margin: 0; }
.foot-brand strong { color: #fff; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.site-footer a { text-decoration: none; color: var(--on-dark); }
.site-footer a:hover { color: #fff; }

/* Privacy page */
.doc { background: var(--cream); padding-block: 4rem 5rem; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .forms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid rgba(255,255,255,.08); display: none; padding: .5rem 20px 1.2rem; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links .btn { margin-top: 1rem; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 3rem; }
  .hero-art img { max-height: 440px; }
  .two-col, .founder-grid, .visit-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-photo { max-width: 380px; }
  .about-photo img { max-height: 420px; }
  .team { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr; }
  .tenets-inner { justify-content: center; }
  .tenets span + span::before { margin-right: 1rem; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .cards, .forms, .team, .info { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.module a { color: var(--on-dark-muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.module a:hover { color: #fff; border-color: #e3342f; }
.module a::after { content: " \2193"; color: #e3342f; font-size: .8em; }

/* Gallery */
.gallery-sec { background: var(--black); color: var(--on-dark); padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; margin-top: 2.2rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 10px; background: #1e171a; }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; } .gallery .g-wide { grid-column: auto; grid-row: auto; } }
.member-photo-pending { align-items: center; }
.member-photo-pending img { height: auto; width: 62%; background: #fff; border-radius: 50%; padding: 6px; }
.member-photo-full img { height: 100%; width: 100%; object-fit: cover; object-position: 50% 15%; }
.member-photo-full::before { display: none; }

/* Photo hero */
.hero-photo { background:
  linear-gradient(90deg, rgba(13,11,12,.97) 0%, rgba(13,11,12,.88) 30%, rgba(13,11,12,.25) 60%, rgba(13,11,12,.05) 100%),
  linear-gradient(0deg, rgba(13,11,12,.9) 0%, transparent 30%),
  radial-gradient(ellipse 50% 60% at 70% 45%, rgba(125,23,44,.35), transparent 70%),
  url("/assets/img/hero-throw.webp") 72% 40% / cover no-repeat; }
.hero-photo::after { display: none; }
.hero-photo ~ .hero-grid { grid-template-columns: minmax(0, 620px) 1fr; min-height: min(88vh, 780px); padding-block: 4rem; }
@media (max-width: 860px) {
  .hero-photo { background:
    linear-gradient(0deg, rgba(13,11,12,1) 38%, rgba(13,11,12,.6) 62%, rgba(13,11,12,.15) 100%),
    url("/assets/img/hero-throw-900.webp") 68% 0 / auto 62% no-repeat, var(--black); }
  .hero-photo ~ .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 52vw; }
}
/* About: board-break cutout */
@media (min-width: 861px) {
  #about .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; }
  #about .about-photo img { width: 100%; max-height: none; }
  #about .about-photo::before { inset: 22% 4% 0; }
}
@media (max-width: 860px) {
  #about .about-photo { max-width: 460px; margin-inline: auto; }
  #about .about-photo img { width: 100%; max-height: none; }
  #about .about-photo::before { inset: 22% 4% 0; }
  .hero-photo ~ .hero-grid { padding-top: 62vw; }
}
.module li { padding: 0; }
.module a { display: inline-block; padding: .55rem 0; }
@media (max-width: 860px) { .module a { padding: .7rem 0; } }
.info a, .link-arrow, .site-footer a { display: inline-block; padding: .55rem 0; }
.link-arrow { padding-bottom: .35rem; }
