/* ================================================================
   GOALKEEPERS CORNER — Editorial Design System
   Real brand: black + white + pitch-green. Photography-led.
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0a0a;
  --near-black: #141414;
  --ink:        #1a1a1a;
  --white:      #ffffff;
  --off-white:  #f4f4f2;
  --grey:       #8a8a8a;
  --grey-2:     #b8b8b8;
  --line:       rgba(255,255,255,0.12);
  --line-dark:  rgba(0,0,0,0.1);
  --pitch:      #4ade80;   /* pitch green accent */
  --pitch-deep: #22c55e;

  --container: 1240px;
  --gutter: 40px;

  --f-display: 'Anton', 'Arial Narrow', sans-serif;   /* big editorial headlines */
  --f-head: 'Montserrat', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPE ── */
h1,h2,h3,h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--f-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pitch);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

@media (max-width: 700px){ :root{ --gutter: 22px; } body{ font-size:16px; } }

/* ── HEADER ── */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px var(--gutter);
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter);
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:38px; width:auto; }
.brand-word{ font-family:var(--f-head); font-weight:800; font-size:15px; letter-spacing:.12em; text-transform:uppercase; }

.nav{ display:flex; align-items:center; gap:34px; }
.nav a{
  font-family:var(--f-head); font-size:13px; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:var(--grey-2); transition:color .15s;
}
.nav a:hover, .nav a.active{ color:var(--white); }
.nav .nav-cta{
  color:var(--black); background:var(--white); padding:10px 22px; border-radius:2px;
  transition: background .15s, transform .15s;
}
.nav .nav-cta:hover{ background:var(--pitch); transform:translateY(-1px); }

.burger{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; }
.burger span{ width:26px; height:2px; background:var(--white); transition:.2s; }

@media (max-width: 900px){
  .burger{ display:flex; }
  .nav{
    position:fixed; inset:0 0 0 auto; width:min(80vw,320px);
    flex-direction:column; align-items:flex-start; justify-content:center; gap:28px;
    background:var(--near-black); padding:40px; transform:translateX(100%);
    transition:transform .3s ease; border-left:1px solid var(--line);
  }
  .nav.open{ transform:translateX(0); }
  .nav a{ font-size:18px; }
}

/* ── HERO ── */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:flex-end;
  padding: 0 0 8vh 0; color:var(--white); overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center 40%; }
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.15) 40%, rgba(10,10,10,.92) 100%);
}
.hero .container{ width:100%; }
.hero .eyebrow{ margin-bottom:22px; }
.hero h1{
  font-family:var(--f-display); font-weight:400; text-transform:uppercase;
  font-size: clamp(3.2rem, 11vw, 9rem); line-height:.88; letter-spacing:.005em;
  max-width: 15ch;
}
.hero h1 em{ font-style:normal; color:var(--pitch); }
.hero-sub{
  margin-top:26px; max-width:52ch; font-size:clamp(1rem,1.6vw,1.25rem);
  color:var(--grey-2); line-height:1.6;
}
.hero-actions{ margin-top:36px; display:flex; gap:14px; flex-wrap:wrap; }

/* ── BUTTONS ── */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--f-head); font-size:13px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; padding:15px 30px; border-radius:2px; cursor:pointer;
  border:2px solid transparent; transition:all .16s ease;
}
.btn-solid{ background:var(--white); color:var(--black); }
.btn-solid:hover{ background:var(--pitch); transform:translateY(-2px); }
.btn-ghost{ border-color:rgba(255,255,255,.4); color:var(--white); }
.btn-ghost:hover{ border-color:var(--white); background:rgba(255,255,255,.08); }
.btn-dark{ background:var(--black); color:var(--white); }
.btn-dark:hover{ background:var(--pitch); color:var(--black); transform:translateY(-2px); }
.btn-arrow::after{ content:"→"; font-size:15px; }

/* ── SECTIONS ── */
section{ position:relative; }
.pad{ padding: clamp(70px,11vw,140px) 0; }
.section-dark{ background:var(--black); }
.section-mid{ background:var(--near-black); }
.section-light{ background:var(--off-white); color:var(--ink); }
.section-light .eyebrow{ color:var(--pitch-deep); }
.section-light .display{ color:var(--ink); }

/* ── STATEMENT (big editorial text block) ── */
.statement .container{ max-width:1100px; }
.statement .big{
  font-family:var(--f-head); font-weight:800; letter-spacing:-.02em;
  font-size:clamp(1.7rem,4.2vw,3.4rem); line-height:1.08; max-width:20ch;
}
.statement .big .hl{ color:var(--pitch); }
.section-light .statement .big .hl{ color:var(--pitch-deep); }
.statement p.lead-2{ margin-top:28px; max-width:60ch; color:var(--grey); font-size:1.1rem; }
.section-light .statement p.lead-2{ color:#555; }

/* ── FEATURE BAND (alternating photo / text) ── */
.band{ display:grid; grid-template-columns:1fr 1fr; align-items:stretch; min-height:min(88vh,760px); }
.band-media{ position:relative; overflow:hidden; }
.band-media img{ width:100%; height:100%; object-fit:cover; }
.band-body{ display:flex; flex-direction:column; justify-content:center; padding:clamp(40px,7vw,110px); }
.band-body .eyebrow{ margin-bottom:20px; }
.band-body h2{ font-size:clamp(2rem,4vw,3.4rem); margin-bottom:22px; }
.band-body p{ color:var(--grey-2); max-width:46ch; margin-bottom:16px; }
.section-light .band-body p{ color:#555; }
.band.flip .band-media{ order:2; }
.band-index{ font-family:var(--f-display); font-size:clamp(3rem,6vw,5rem); color:var(--pitch); line-height:1; margin-bottom:14px; }

@media (max-width:860px){
  .band{ grid-template-columns:1fr; min-height:0; }
  .band-media{ aspect-ratio:4/3; }
  .band.flip .band-media{ order:0; }
}

/* ── PATHWAY (editorial numbered list, photo-backed) ── */
.pathway-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:56px; flex-wrap:wrap; }
.pathway-head .display{ font-size:clamp(2.4rem,6vw,4.5rem); }
.stage-list{ border-top:1px solid var(--line); }
.section-light .stage-list{ border-color:var(--line-dark); }
.stage{
  display:grid; grid-template-columns:auto 1fr auto; gap:30px; align-items:baseline;
  padding:34px 0; border-bottom:1px solid var(--line); transition:padding-left .2s ease;
}
.section-light .stage{ border-color:var(--line-dark); }
.stage:hover{ padding-left:14px; }
.stage-num{ font-family:var(--f-display); font-size:clamp(1.8rem,3vw,2.6rem); color:var(--pitch); }
.stage-name h3{ font-size:clamp(1.3rem,2.4vw,2rem); }
.stage-name .theme{ color:var(--grey); font-style:italic; margin-top:6px; font-size:1rem; }
.section-light .stage-name .theme{ color:#666; }
.stage-age{ font-family:var(--f-head); font-weight:700; letter-spacing:.06em; color:var(--grey-2); white-space:nowrap; font-size:.95rem; }
.section-light .stage-age{ color:#666; }
@media (max-width:640px){
  .stage{ grid-template-columns:auto 1fr; }
  .stage-age{ grid-column:2; }
}

/* ── PILLARS (four, editorial — no emoji, no cards) ── */
.pillars{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--line); }
.section-light .pillars{ border-color:var(--line-dark); }
.pillar{ padding:40px 30px 40px 0; border-right:1px solid var(--line); }
.section-light .pillar{ border-color:var(--line-dark); }
.pillar:last-child{ border-right:0; }
.pillar .k{ font-family:var(--f-display); color:var(--pitch); font-size:1.4rem; margin-bottom:16px; }
.pillar h4{ font-size:1.15rem; margin-bottom:10px; }
.pillar p{ color:var(--grey); font-size:.95rem; }
.section-light .pillar p{ color:#666; }
@media (max-width:860px){
  .pillars{ grid-template-columns:1fr 1fr; }
  .pillar{ padding:28px 24px 28px 0; }
  .pillar:nth-child(2){ border-right:0; }
}
@media (max-width:480px){ .pillars{ grid-template-columns:1fr; } .pillar{ border-right:0; padding-right:0; } }

/* ── CTA (full-bleed photo) ── */
.cta-block{ position:relative; padding:clamp(90px,14vw,180px) 0; text-align:center; overflow:hidden; }
.cta-block .bg{ position:absolute; inset:0; z-index:-2; }
.cta-block .bg img{ width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.cta-block::after{ content:""; position:absolute; inset:0; z-index:-1; background:rgba(10,10,10,.72); }
.cta-block h2{ font-family:var(--f-display); font-weight:400; text-transform:uppercase; font-size:clamp(2.4rem,7vw,5.5rem); line-height:.95; }
.cta-block p{ margin:22px auto 34px; max-width:46ch; color:var(--grey-2); }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── PAGE HERO (interior pages) ── */
.page-hero{ padding: clamp(140px,20vh,220px) 0 clamp(50px,8vw,90px); border-bottom:1px solid var(--line); }
.page-hero .display{ font-size:clamp(2.8rem,9vw,6.5rem); }
.page-hero .eyebrow{ margin-bottom:18px; }

/* ── ARTICLE (markdown content) ── */
.article{ max-width:760px; margin:0 auto; padding: clamp(56px,8vw,90px) var(--gutter); }
.article h2{ font-size:clamp(1.6rem,3vw,2.3rem); margin:48px 0 18px; }
.article h3{ font-size:1.35rem; margin:34px 0 12px; color:var(--pitch); }
.article p{ color:var(--grey-2); margin-bottom:18px; }
.article ul,.article ol{ margin:0 0 20px 22px; }
.article li{ color:var(--grey-2); margin-bottom:10px; }
.article strong{ color:var(--white); font-weight:600; }
.article table{ width:100%; border-collapse:collapse; margin:24px 0; font-size:.95rem; }
.article th,.article td{ text-align:left; padding:14px 16px; border-bottom:1px solid var(--line); }
.article th{ font-family:var(--f-head); color:var(--white); text-transform:uppercase; letter-spacing:.05em; font-size:.8rem; }
.article td{ color:var(--grey-2); }

/* ── FOOTER ── */
.site-footer{ background:var(--black); border-top:1px solid var(--line); padding:70px var(--gutter) 34px; }
.footer-top{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px; }
.footer-brand img{ height:52px; margin-bottom:18px; }
.footer-brand p{ color:var(--grey); max-width:34ch; font-size:.95rem; }
.footer-col h5{ font-family:var(--f-head); font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--grey); margin-bottom:16px; }
.footer-col a{ display:block; color:var(--grey-2); font-size:.95rem; margin-bottom:10px; transition:color .15s; }
.footer-col a:hover{ color:var(--pitch); }
.footer-bottom{ max-width:var(--container); margin:40px auto 0; padding-top:24px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color:var(--grey); font-size:.85rem; }
@media (max-width:700px){ .footer-top{ grid-template-columns:1fr; gap:28px; } }

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }
