/* ===================================================================
   PERFECT TOUCH FOOTBALL CLUB — editorial cream / navy / gold system
=================================================================== */

:root{
  --cream:#f6f2ec;
  --cream-2:#fbf8f3;
  --paper:#ffffff;
  --navy:#0b1120;
  --navy-2:#111a2e;
  --navy-3:#182640;
  --gold:#c9a227;
  --gold-light:#e4c158;
  --ink:#1c2130;
  --steel:#5b6472;
  --steel-light:#8a92a0;
  --line:#e4ded2;
  --line-dark:rgba(246,242,236,0.12);
  --radius:18px;
  --radius-sm:10px;
  --shadow:0 30px 70px -34px rgba(11,17,32,0.28);
  --ff-display:'Big Shoulders Display', sans-serif;
  --ff-body:'Work Sans', sans-serif;
  --ff-mono:'Space Mono', monospace;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--cream); color:var(--ink);
  font-family:var(--ff-body); line-height:1.65; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--ff-display); font-weight:800; margin:0; line-height:1.03; letter-spacing:0.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:15px; color:var(--ink); }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }

.skip-link{ position:absolute; left:-999px; background:var(--gold); color:var(--navy); padding:12px 18px; border-radius:8px; font-weight:700; z-index:999; }
.skip-link:focus{ left:16px; top:16px; }

.reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce){ *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; } .reveal{ opacity:1; transform:none; } }

/* ---------- BUTTONS ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 28px; border-radius:999px; font-weight:700; font-size:14.5px; border:1px solid transparent; transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease; white-space:nowrap; }
.btn-primary{ background:var(--navy); color:var(--cream); box-shadow:0 16px 34px -14px rgba(11,17,32,0.45); }
.btn-primary:hover{ background:var(--gold); color:var(--navy); transform:translateY(-2px); }
.btn-sm{ padding:10px 20px; font-size:13px; }
.btn-ghost{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-ghost:hover{ background:var(--navy); color:var(--cream); }

/* ---------- NAVBAR ---------- */
#navbar{ position:fixed; top:0; left:0; right:0; z-index:200; display:flex; align-items:center; justify-content:space-between; padding:22px 32px; transition:background .35s ease, padding .35s ease, box-shadow .35s ease; }
#navbar.scrolled{ background:rgba(246,242,236,0.9); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); padding:14px 32px; box-shadow:0 1px 0 var(--line); }
.logo{ display:flex; align-items:center; gap:10px; font-family:var(--ff-display); font-size:19px; font-weight:800; letter-spacing:0.02em; color:var(--navy); }
.crest-img{ width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid var(--gold); }
.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{ font-size:14px; font-weight:600; color:var(--steel); transition:color .2s ease; }
.nav-links a:hover{ color:var(--navy); }
.nav-cta{ margin-left:14px; }
.burger{ display:none; flex-direction:column; justify-content:center; gap:5px; width:38px; height:38px; background:transparent; border:none; padding:0; }
.burger span{ width:100%; height:2px; background:var(--navy); border-radius:2px; transition:transform .3s ease, opacity .3s ease; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

#mobile-drawer{ position:fixed; top:0; right:0; height:100vh; width:min(320px,84vw); background:var(--paper); border-left:1px solid var(--line); display:flex; flex-direction:column; gap:6px; padding:100px 30px 30px; transform:translateX(100%); transition:transform .4s cubic-bezier(.2,.8,.2,1); z-index:190; }
#mobile-drawer.open{ transform:translateX(0); }
.drawer-link{ padding:14px 0; font-size:17px; font-weight:600; border-bottom:1px solid var(--line); color:var(--navy); }
#mobile-drawer .btn{ margin-top:20px; }

/* ---------- HERO ---------- */
#top{ padding:150px 32px 0; }
.hero-grid{ max-width:1180px; margin:0 auto; display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:center; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-family:var(--ff-mono); font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--navy); border:1px solid var(--line); padding:8px 16px; border-radius:999px; margin-bottom:26px; background:var(--cream-2); }
.hero-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(201,162,39,0.25); }
.hero-title{ font-size:clamp(46px,6.4vw,88px); text-transform:uppercase; color:var(--navy); }
.hero-title .line{ display:block; }
.hero-title .line.accent{ color:var(--gold); -webkit-text-stroke:1px var(--navy); }
.hero-sub{ margin:26px 0 0; max-width:480px; color:var(--steel); font-size:16.5px; }
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero-media{ position:relative; }
.hero-img{ border-radius:24px; width:100%; box-shadow:var(--shadow); border:1px solid var(--line); }
.hero-media-tag{ position:absolute; bottom:18px; left:18px; background:var(--navy); color:var(--gold-light); font-family:var(--ff-mono); font-size:10.5px; letter-spacing:0.08em; padding:9px 14px; border-radius:999px; }

.hero-stats{ max-width:1180px; margin:70px auto 0; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; border-top:1px solid var(--line); padding:32px 32px; }
.stat{ text-align:center; }
.stat strong{ display:block; font-family:var(--ff-display); font-size:clamp(28px,4vw,38px); color:var(--navy); }
.stat span{ display:block; margin-top:6px; font-size:11.5px; color:var(--steel); font-family:var(--ff-mono); letter-spacing:0.04em; text-transform:uppercase; }

/* ---------- MARQUEE ---------- */
.marquee-band{ background:var(--navy); overflow:hidden; padding:16px 0; margin-top:8px; }
.marquee-track{ display:flex; gap:16px; width:max-content; font-family:var(--ff-mono); font-size:13px; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold-light); animation:marquee 30s linear infinite; white-space:nowrap; }
.marquee-track span{ padding:0 4px; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- SECTIONS ---------- */
section{ padding:110px 0; }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.eyebrow{ display:inline-block; font-family:var(--ff-mono); font-size:12px; letter-spacing:0.16em; text-transform:uppercase; color:#a5811b; margin-bottom:14px; padding-bottom:9px; border-bottom:2px solid rgba(201,162,39,0.4); }
.on-dark .eyebrow{ color:var(--gold-light); }
.section-head h2{ font-size:clamp(30px,4.4vw,46px); color:var(--navy); text-transform:uppercase; }
.section-head p{ margin-top:16px; color:var(--steel); font-size:16px; }
.on-dark{ background:var(--navy); color:var(--cream); }
.on-dark .section-head p{ color:var(--steel-light); }

/* ---------- ABOUT ---------- */
.about-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:start; }
.about-mission{ font-size:19px; line-height:1.75; color:var(--navy); }
.about-mission strong{ color:#a5811b; }
.about-history{ margin-top:18px; color:var(--steel); font-size:15.5px; line-height:1.75; }
.about-side{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:34px; }
.value-row{ display:flex; gap:16px; padding:16px 0; border-top:1px solid var(--line); }
.value-row:first-of-type{ border-top:none; padding-top:0; }
.value-num{ font-family:var(--ff-mono); color:#a5811b; font-size:14px; padding-top:3px; }
.value-row h4{ font-size:16px; text-transform:none; font-family:var(--ff-body); font-weight:700; margin-bottom:4px; color:var(--navy); }
.value-row p{ font-size:13.5px; color:var(--steel); line-height:1.6; }

/* ---------- LEADERSHIP ---------- */
.leader-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; max-width:760px; margin:0 auto; }
.leader-card{ background:var(--navy-2); border:1px solid var(--line-dark); border-radius:var(--radius); padding:26px; text-align:left; transition:transform .35s ease, border-color .35s ease; }
.leader-card:hover{ transform:translateY(-6px); border-color:rgba(201,162,39,0.4); }
.leader-photo{ width:100%; aspect-ratio:4/5; border-radius:14px; overflow:hidden; margin-bottom:18px; }
.leader-photo img{ width:100%; height:100%; object-fit:cover; object-position:top; }
.leader-card h3{ font-size:22px; text-transform:uppercase; color:#fff; }
.leader-role{ font-family:var(--ff-mono); font-size:11.5px; color:var(--gold-light); text-transform:uppercase; margin:6px 0 14px; letter-spacing:0.05em; }
.leader-desc{ font-size:13.5px; color:var(--steel-light); line-height:1.65; }

/* ---------- PATHWAY ---------- */
.pathway-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.pathway-step{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-sm); padding:22px 18px; transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.pathway-step:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:rgba(201,162,39,0.4); }
.pathway-step .pnum{ font-family:var(--ff-display); font-size:34px; color:var(--line); margin-bottom:8px; }
.pathway-step h4{ font-size:17px; text-transform:uppercase; color:var(--navy); margin-bottom:8px; }
.pathway-step p{ font-size:12.5px; color:var(--steel); line-height:1.55; }
.pathway-step.final{ background:var(--navy); border-color:var(--navy); }
.pathway-step.final .pnum{ color:rgba(246,242,236,0.16); }
.pathway-step.final h4{ color:var(--gold-light); }
.pathway-step.final p{ color:var(--steel-light); }

/* ---------- SUCCESS STORY ---------- */
.story-card{ display:grid; grid-template-columns:0.9fr 1.6fr; gap:44px; align-items:center; background:var(--navy-2); border:1px solid var(--line-dark); border-radius:24px; padding:44px; }
.story-media{ aspect-ratio:3/4; border-radius:16px; background:linear-gradient(160deg, rgba(201,162,39,0.16), transparent); border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; }
.story-media svg{ width:90px; height:90px; color:var(--gold-light); }
.story-body h3{ font-size:32px; text-transform:uppercase; color:#fff; }
.story-role{ font-family:var(--ff-mono); font-size:12px; color:var(--gold-light); text-transform:uppercase; margin:6px 0 18px; }
.story-desc{ color:var(--steel-light); font-size:15px; line-height:1.7; margin-bottom:26px; }
.story-stats{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.story-stats > div{ border:1px solid var(--line-dark); border-radius:12px; padding:16px; }
.story-stats .label{ display:block; font-family:var(--ff-mono); font-size:10.5px; color:var(--steel-light); text-transform:uppercase; margin-bottom:6px; }
.story-stats strong{ font-family:var(--ff-body); font-size:14px; color:#fff; font-weight:600; }

/* ---------- SERVICES ---------- */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:30px; transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:rgba(201,162,39,0.4); }
.service-card .snum{ font-family:var(--ff-mono); font-size:12px; color:#a5811b; margin-bottom:14px; display:block; }
.service-card h3{ font-size:21px; text-transform:uppercase; color:var(--navy); margin-bottom:10px; }
.service-card p{ font-size:14px; color:var(--steel); line-height:1.6; }

/* ---------- WHY ---------- */
.why-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center; }
.why-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.why-item{ display:flex; gap:14px; align-items:flex-start; background:var(--navy-2); border:1px solid var(--line-dark); border-radius:14px; padding:18px; }
.why-item .wnum{ font-family:var(--ff-display); font-size:24px; color:var(--gold); }
.why-item p{ font-size:13.5px; color:var(--steel-light); padding-top:2px; }

/* ---------- RECRUITMENT / CONTACT FORMS ---------- */
.form-card{ max-width:840px; margin:0 auto; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:38px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:12px; font-family:var(--ff-mono); letter-spacing:0.04em; color:var(--steel); text-transform:uppercase; }
.field input, .field select, .field textarea{ background:var(--cream-2); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.field textarea{ min-height:100px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--gold); outline-offset:1px; border-color:var(--gold); }
.confirm-msg{ display:none; margin-top:18px; padding:14px 18px; border-radius:12px; background:rgba(201,162,39,0.1); border:1px solid rgba(201,162,39,0.35); font-size:13.5px; color:#a5811b; font-weight:600; text-align:center; }
.confirm-msg.show{ display:block; }

/* ---------- GALLERY ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:140px; gap:14px; }
.g-tile{ border-radius:14px; background:var(--navy-2); border:1px solid var(--line-dark); display:flex; align-items:flex-end; padding:16px; overflow:hidden; position:relative; }
.g-tile span{ font-family:var(--ff-mono); font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--steel-light); }
.g-tile.g-wide{ grid-column:span 2; }
.g-tile.g-tall{ grid-row:span 2; padding:0; }
.g-tile.g-tall img{ width:100%; height:100%; object-fit:cover; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 4px; font-weight:700; font-size:16px; color:var(--navy); }
.faq-q .plus{ flex:none; width:26px; height:26px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:#a5811b; transition:transform .3s ease, background .3s ease, border-color .3s ease, color .3s ease; }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); background:var(--navy); border-color:var(--navy); color:var(--gold-light); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s ease; }
.faq-a p{ padding:0 4px 22px; font-size:14.5px; color:var(--steel); line-height:1.7; }

/* ---------- CONTACT ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.contact-info-list{ margin-top:32px; display:flex; flex-direction:column; gap:18px; }
.contact-info-list .item{ display:flex; gap:14px; align-items:center; }
.contact-info-list .icon{ flex:none; width:38px; height:38px; border-radius:50%; background:rgba(201,162,39,0.14); color:var(--gold-light); display:flex; align-items:center; justify-content:center; }
.contact-info-list strong{ display:block; font-size:14.5px; color:#fff; }
.contact-info-list span{ display:block; font-size:12.5px; color:var(--steel-light); margin-top:2px; }
.contact-form-card{ background:var(--navy-2); border:1px solid var(--line-dark); border-radius:var(--radius); padding:34px; }
.contact-form-card .field input, .contact-form-card .field textarea{ background:rgba(246,242,236,0.05); border-color:var(--line-dark); color:#fff; }
.contact-form-card .field label{ color:var(--steel-light); }

/* ---------- FOOTER ---------- */
footer{ background:var(--navy); border-top:1px solid var(--line-dark); padding:70px 0 30px; color:var(--cream); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.footer-logo{ display:flex; align-items:center; gap:10px; font-family:var(--ff-display); font-size:18px; letter-spacing:0.02em; }
.footer-logo img{ width:32px; height:32px; border-radius:50%; object-fit:cover; }
.footer-tag{ margin-top:14px; font-size:13.5px; color:var(--steel-light); max-width:240px; }
.footer-founded{ font-family:var(--ff-display); font-size:34px; color:var(--gold-light); }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{ width:34px; height:34px; border-radius:50%; border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; color:var(--steel-light); font-size:12px; transition:color .2s ease, border-color .2s ease; }
.footer-social a:hover{ color:var(--gold-light); border-color:var(--gold); }
footer h5{ font-family:var(--ff-mono); font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--steel-light); margin-bottom:16px; }
footer ul li{ padding:6px 0; }
footer ul a{ font-size:14px; color:var(--cream); opacity:0.82; transition:opacity .2s ease; }
footer ul a:hover{ opacity:1; color:var(--gold-light); }
.footer-bottom{ margin-top:56px; padding-top:26px; border-top:1px solid var(--line-dark); display:flex; justify-content:space-between; font-size:12.5px; color:var(--steel-light); flex-wrap:wrap; gap:10px; }

/* ---------- BACK TO TOP ---------- */
#back-to-top{ position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%; background:var(--navy); color:var(--gold-light); border:none; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transform:translateY(10px); transition:opacity .3s ease, transform .3s ease; z-index:150; box-shadow:0 12px 26px -10px rgba(11,17,32,0.5); }
#back-to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .nav-links, .nav-cta{ display:none; }
  .burger{ display:flex; }
  .hero-grid, .about-grid, .why-grid, .contact-grid, .story-card{ grid-template-columns:1fr; }
  .pathway-grid{ grid-template-columns:repeat(3,1fr); }
  .service-grid{ grid-template-columns:repeat(2,1fr); }
  .leader-grid{ grid-template-columns:1fr; max-width:380px; }
  .why-list{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .hero-stats{ grid-template-columns:repeat(2,1fr); row-gap:24px; }
}
@media (max-width:640px){
  .wrap{ padding:0 20px; }
  section{ padding:80px 0; }
  #top{ padding:130px 20px 0; }
  .pathway-grid, .service-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr 1fr; grid-auto-rows:120px; }
}
