/* GP Coaching homepage. Built from the real system: the weekly loop in the hero, George's story, a logbook entry,
   the four guide covers and the Built Through Discipline lockup. Sections change tone
   instead of sitting in ruled boxes. No scroll effects. Colours and fonts come from design-tokens.css. */

*{box-sizing:border-box}
html{scroll-padding-top:88px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased}
h1,h2,h3,p,figure,ol,ul{margin:0}
[hidden]{display:none!important}
p,li{text-wrap:pretty}
h1,h2,h3{font-family:var(--display);font-weight:300;color:var(--text-strong);letter-spacing:-.02em;text-wrap:balance}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
::selection{background:var(--gold);color:#0b0a08}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}

.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.skip-link{position:fixed;z-index:100;left:16px;top:12px;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);background:var(--gold);color:#0b0a08;font-weight:700}
.skip-link:focus{width:auto;height:auto;clip-path:none;padding:14px 18px}

.muted{color:var(--muted)}
.button{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 26px;background:var(--gold);color:#0b0a08;text-decoration:none;font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:var(--radius);transition:background-color .16s ease,transform .12s ease}
.button:hover{background:var(--gold-hover)}
.button:active{transform:translateY(1px)}
.textlink{display:inline-flex;align-items:center;min-height:44px;color:var(--text);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}
.textlink:hover{color:var(--text-strong)}

/* Top bar */
.bar{position:sticky;top:0;z-index:20;background:rgba(8,8,7,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.bar .wrap{display:flex;align-items:center;gap:40px;height:72px}
.brand{display:flex;align-items:center;gap:12px;min-height:44px;white-space:nowrap;text-decoration:none;font-family:var(--display);font-size:21px;letter-spacing:.03em;color:var(--text-strong)}
.brand img{width:36px;height:36px;mix-blend-mode:lighten}
.bar-nav{display:flex;gap:32px;margin-left:auto;font-size:15px}
.bar-nav a{text-decoration:none;color:var(--muted);transition:color .16s ease}
.bar-nav a:hover{color:var(--text-strong)}
.bar .button{min-height:42px;padding:0 20px;font-size:13px}
.menu{display:none;min-height:44px;padding:0 14px;background:none;border:1px solid var(--line-strong);border-radius:var(--radius);color:var(--text);font:inherit;font-size:13px;letter-spacing:.04em;cursor:pointer}
.mobile-menu{border-top:1px solid var(--line);background:var(--bg)}
.mobile-menu a{display:block;padding:16px var(--gutter);border-bottom:1px solid var(--line);text-decoration:none;font-size:17px}

/* Hero: the coaching week as a loop around the emblem */
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(40px,6vw,96px);align-items:center;padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(72px,8vw,120px)}
.hero h1{max-width:12em;font-size:clamp(42px,5.6vw,84px);line-height:1.03}
.hero .sub{margin:28px 0 40px;max-width:31em;font-size:19px;color:var(--muted)}
.actions{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.hero-cycle{position:relative;width:100%;max-width:520px;justify-self:end}
.hero-cycle svg{display:block;width:100%;height:auto;overflow:visible}
.hero-cycle .ring{fill:none;stroke:var(--line-strong);stroke-width:1}
.hero-cycle circle:not(.ring){fill:var(--bg);stroke:var(--gold);stroke-width:1.5}
.hero-cycle circle.key{fill:var(--gold)}
.hero-cycle text{font-family:var(--display);font-size:22px;fill:var(--text-strong)}
.hero-cycle .n{fill:var(--gold)}
.hero-cycle .sub{font-family:var(--body);font-size:14px;fill:var(--muted)}
.hero-cycle img{position:absolute;left:50%;top:47.8%;width:40%;transform:translate(-50%,-50%);mix-blend-mode:lighten}

/* Sections step in tone rather than drawing boxes */
section.block{padding:clamp(88px,11vw,150px) 0}
section.tone{background:var(--surface)}
.head{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:end;margin-bottom:64px}
.head h2,.split h2,.faq-grid h2,.coach-copy h2,.close h2{font-size:clamp(36px,4.2vw,58px);line-height:1.06}
.head p{color:var(--muted);max-width:32em}

/* Approach */
.split{display:grid;grid-template-columns:.8fr 1.2fr;gap:88px;align-items:start}
.lede{margin:0 0 22px;font-family:var(--display);font-size:clamp(23px,2.2vw,30px);line-height:1.32;color:var(--text-strong)}
.principles{list-style:none;padding:0;margin-top:36px}
.principles li{display:grid;grid-template-columns:180px 1fr;gap:24px;padding:20px 0;border-top:1px solid var(--line)}
.principles h3{font-size:22px}
.principles p{color:var(--muted);font-size:16px}

/* The logbook: a real page from how George coaches */
.logbook{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px 88px;margin-top:clamp(72px,9vw,120px);padding:clamp(28px,4vw,48px);background:var(--surface-raised);border-radius:var(--radius)}
.logbook h3{font-size:clamp(26px,2.6vw,34px);line-height:1.15}
.logbook figcaption p{margin-top:14px;color:var(--muted);font-size:16px;max-width:24em}
.logbook table{width:100%;border-collapse:collapse;font-size:16px;font-variant-numeric:tabular-nums}
.logbook th{padding:0 16px 12px 0;text-align:left;font-size:13px;font-weight:500;color:var(--muted);border-bottom:1px solid var(--line-strong)}
.logbook td{padding:14px 16px 14px 0;border-bottom:1px solid var(--line);vertical-align:top;color:var(--muted)}
.logbook td:nth-child(-n+3){white-space:nowrap;color:var(--text-strong)}
.logbook td:first-child{width:3.5em}
.logbook .change td{color:var(--text-strong)}
.logbook .change td:nth-child(2){color:var(--gold)}
.logbook .rule{grid-column:2;font-family:var(--display);font-size:clamp(20px,1.8vw,24px);line-height:1.35;color:var(--text-strong)}

/* What's included: a ledger, then the guides themselves */
.included{list-style:none;padding:0}
.included li{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(0,1.3fr);gap:32px;align-items:baseline;padding:26px 0;border-top:1px solid var(--line)}
.included li:last-child{border-bottom:1px solid var(--line)}
.included .when{font-size:15px;color:var(--gold)}
.included h3{font-size:24px;line-height:1.2}
.included p{color:var(--muted);font-size:16px}
.covers{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(12px,2vw,24px);margin-top:56px}
.cover{display:flex;flex-direction:column;aspect-ratio:1/1.414;padding:20px;background:var(--bg);border-radius:var(--radius);box-shadow:0 18px 40px -18px rgba(0,0,0,.8)}
.cover img{width:28px;height:28px;mix-blend-mode:lighten}
.cover small{margin-top:auto;font-size:11px;color:var(--gold)}
.cover b{margin-top:8px;font-family:var(--display);font-weight:300;font-size:clamp(17px,1.8vw,24px);line-height:1.12;min-height:2.24em;color:var(--text-strong)}
.cover i{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);font-style:normal;font-size:12px;color:var(--muted)}
.note{margin-top:40px;color:var(--muted);font-size:16px}

/* The week */
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:28px}
.steps li{padding-top:22px;border-top:1px solid var(--line-strong)}
.steps .deadline{border-top-color:var(--gold)}
.steps .n{display:block;margin-bottom:14px;font-family:var(--display);font-size:40px;line-height:1;color:var(--gold);font-variant-numeric:tabular-nums}
.steps h3{font-size:23px}
.steps p{margin-top:8px;color:var(--muted);font-size:16px}

/* Coach */
.coach-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:88px;align-items:center}
.ba{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ba img{width:100%;aspect-ratio:9/15;object-fit:cover;object-position:50% 12%;border-radius:var(--radius)}
.ba span{display:block;margin-top:10px;font-size:14px;color:var(--muted)}
.ba figcaption{grid-column:1/-1;margin-top:4px;font-size:14px;color:var(--muted)}
.coach-copy h2{margin-bottom:28px}
.coach-copy p+p{margin-top:18px}
.coach-copy p.muted{max-width:36em}

/* FAQ */
.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:88px}
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{display:flex;justify-content:space-between;gap:24px;padding:22px 0;cursor:pointer;list-style:none;font-size:18px;color:var(--text-strong)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold);font-size:22px;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details p{padding:0 0 24px;max-width:40em;color:var(--muted)}

/* Close: the brand line, as the artwork carries it */
.close{padding:clamp(96px,12vw,168px) 0;background:#000;text-align:center}
.close .wrap{display:flex;flex-direction:column;align-items:center}
.close .lockup{width:min(560px,100%);mix-blend-mode:lighten;margin-bottom:clamp(48px,6vw,80px)}
.close p{margin:20px 0 36px;max-width:30em;color:var(--muted)}
.site-foot{border-top:1px solid var(--line);padding:32px 0 48px;font-size:14px;color:var(--muted)}
.site-foot .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px}
.site-foot nav{display:flex;gap:0 24px;flex-wrap:wrap}
.site-foot a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;text-decoration:none}
.site-foot a:hover{color:var(--text-strong)}

@media (max-width:1080px) and (min-width:901px){.bar-nav{gap:20px;font-size:14px}.bar .wrap{gap:28px}}
@media (max-width:900px){
  .bar-nav{display:none}
  .bar .button{min-height:44px;padding:0 16px;margin-left:auto}
  .menu{display:inline-flex;align-items:center;gap:8px}
  .bar .wrap{height:64px;gap:10px}
  .hero-grid{grid-template-columns:1fr;gap:36px;padding-top:44px}
  .hero .sub{font-size:17px;margin:20px 0 30px}
  .hero-cycle{justify-self:center;max-width:360px}
  .head,.split,.coach-grid,.faq-grid,.logbook{grid-template-columns:1fr;gap:28px}
  .logbook .rule{grid-column:auto}
  .logbook th,.logbook td{padding-right:10px}
  .head{margin-bottom:44px}
  .included li{grid-template-columns:1fr;gap:6px}
  .covers{display:none} /* the guides are named in the list above; the covers are decoration a phone doesn't need */
  .principles li{grid-template-columns:1fr;gap:4px}
  .steps{grid-template-columns:1fr;gap:0}
  .steps li{display:grid;grid-template-columns:48px 1fr;padding:18px 0}
  .steps li:last-child{border-bottom:1px solid var(--line)}
  .steps .n{grid-row:span 2;margin:0;font-size:30px}
  .steps p{margin-top:4px}
}
@media (max-width:480px){
  .menu{padding:0 12px}
  .cover{padding:14px}
  .cover b{font-size:16px}
  .logbook table{font-size:15px}
  .logbook th:last-child,.logbook td:last-child{min-width:0}
}
/* Very narrow phones: the emblem alone, so Apply and Menu still fit. The link keeps its aria-label. */
@media (max-width:380px){.brand{font-size:0}}
@media (min-width:901px){.mobile-menu{display:none}}
