/* Pacewise Coaching - site styles */
:root {
  --navy: #0F2A43;
  --navy-card: #17344D;
  --navy-line: #2C4A63;
  --orange: #FF7A1A;
  --orange-text: #D95F00;
  --teal-text: #13827D;
  --off: #F7F4EE;
  --white: #FFFFFF;
  --muted: #4B5E71;
  --line: #DDD8CC;
  --field: #6B7C8E;
  --footer-text: #C5D0DB;
  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--off);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--off); padding: 12px 18px; border-radius: 10px; z-index: 100; font-family: var(--font-head); font-weight: 500; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 34px; border-radius: 999px; font-family: var(--font-head); font-size: 17px; font-weight: 500; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #FF8D3A; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--off); }
.btn-dark { background: var(--navy); color: var(--off); }
.btn-dark:hover { background: #17344D; }
.btn[disabled] { opacity: 0.65; cursor: wait; }

/* Header */
.site-header { background: var(--off); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.brand img { width: 230px; height: 46px; }
.nav { display: flex; align-items: center; gap: 36px; font-family: var(--font-head); font-size: 16px; font-weight: 500; }
.nav a[aria-current="page"]:not(.nav-cta) { border-bottom: 3px solid var(--orange); padding-bottom: 4px; }
.nav-cta { background: var(--orange); color: var(--navy); padding: 13px 26px; border-radius: 999px; }
.nav-cta:hover { background: #FF8D3A; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 14px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.35rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.03em; }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.028em; }
.h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; line-height: 1.25; }
.accent { color: var(--orange-text); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.375rem); line-height: 1.5; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: 48px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.hero-text .lead { max-width: 560px; }
.btn-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.chips li { background: var(--white); font-family: var(--font-head); font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 999px; }
.photo { border-radius: 28px; overflow: hidden; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo { height: 480px; }
.hero .photo img { object-position: 100% 50%; }

/* Sections */
.section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--off); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 740px; margin-bottom: 44px; }
.section-head p { font-size: 1.25rem; line-height: 1.5; }
.section-white .section-head p, .section-light .section-head p { color: var(--muted); }

/* Goals */
.goals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.goal { background: var(--off); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.goal-num { font-family: var(--font-head); font-size: 2.25rem; line-height: 1; font-weight: 700; color: var(--teal-text); }
.goal h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.goal p { font-size: 17px; line-height: 1.45; }

/* How it works */
.how-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; }
.how-grid .section-head { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0; margin: 0; list-style: none; }
.step { background: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.step h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.step p { font-size: 17px; line-height: 1.45; }

/* Value cards on navy */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 0; list-style: none; }
.value { background: var(--navy-card); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.value svg { width: 36px; height: 36px; stroke: var(--orange); }
.value h3 { font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; line-height: 1.25; }
.value p { font-size: 18px; line-height: 1.5; }

/* About block on home */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid .photo { height: 640px; background: var(--off); }
.about-grid .photo img { object-position: 50% 0%; }
.story-grid .photo img { object-position: 50% 0%; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text p { font-size: 1.25rem; line-height: 1.55; }
.about-text .btn-row { margin-top: 4px; }

/* Where */
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.where-card { background: var(--white); border-radius: 20px; padding: 32px; display: flex; align-items: flex-start; gap: 20px; }
.where-card svg { width: 36px; height: 36px; flex: none; stroke: var(--orange-text); }
.where-card h3 { font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; margin-bottom: 8px; }
.where-card p { font-size: 18px; line-height: 1.5; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--navy); padding: 88px 0; text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-band .h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); max-width: 800px; }
.cta-band p { font-size: 1.3rem; max-width: 620px; }

/* About page */
.story-grid { display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: start; }
.story { display: flex; flex-direction: column; gap: 28px; }
.story p { font-size: 1.3rem; line-height: 1.65; max-width: 680px; }
.glance { background: var(--off); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.glance h2 { font-family: var(--font-head); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.glance div { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.glance div:last-child { padding-bottom: 0; border-bottom: 0; }
.glance dt { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--muted); }
.glance dd { margin: 0; font-size: 19px; line-height: 1.4; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 28px; }
.contact-intro .lead { max-width: 480px; }
.contact-links { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.contact-link { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: 16px; padding: 18px 22px; }
.contact-link svg { width: 30px; height: 30px; flex: none; stroke: var(--orange-text); }
.contact-link small { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--muted); }
.contact-link a { font-size: 20px; font-weight: 600; word-break: break-word; }
.form-card { background: var(--white); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.form-card h2 { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.form { display: flex; flex-direction: column; gap: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-head); font-size: 15px; font-weight: 500; }
.field .opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.field .help { font-size: 16px; line-height: 1.4; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 2px solid var(--field); border-radius: 12px; padding: 0 16px; font-family: var(--font-body); font-size: 18px; color: var(--navy); background: var(--white); }
.field input { height: 54px; }
.field textarea { min-height: 168px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 2px; border-color: var(--navy); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-foot small { font-size: 16px; color: var(--muted); }
.form-status { font-size: 17px; line-height: 1.4; min-height: 0; }
.form-status.is-error { background: #FDECEA; color: #7A1F12; border-radius: 12px; padding: 14px 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box { min-height: 65px; }

/* Thanks / 404 */
.center-page { padding: 96px 0 128px; }
.center-page .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.center-page .lead { max-width: 620px; }
.check { width: 88px; height: 88px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.check svg { width: 44px; height: 44px; stroke: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: var(--off); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-grid img { width: 280px; height: 56px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.foot-col h2 { font-family: var(--font-head); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 2px; }
.foot-col a:hover { text-decoration: underline; }
.legal { border-top: 1px solid var(--navy-line); padding-top: 24px; font-size: 15px; color: var(--footer-text); }

/* Tablet */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .how-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .goals { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .where-grid { grid-template-columns: 1fr; }
  .about-grid .photo { height: auto; aspect-ratio: 33 / 40; max-width: 560px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .site-header .bar { height: 72px; }
  .brand img { width: 180px; height: 36px; }
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; z-index: 20; flex-direction: column; align-items: stretch; gap: 4px; background: var(--off); padding: 8px 20px 24px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a { padding: 14px 4px; }
  .nav a[aria-current="page"]:not(.nav-cta) { border-bottom: 0; padding-bottom: 14px; font-weight: 700; }
  .nav-cta { text-align: center; margin-top: 8px; padding: 16px 26px !important; }
  .site-header { position: relative; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  html:not(.js) .nav { display: flex; position: static; padding: 0 20px 16px; border: 0; }
  .hero { padding: 24px 0 56px; }
  .hero .photo { height: auto; }
  .hero .photo img { height: auto; }
  .hero-text { gap: 24px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .goals { grid-template-columns: 1fr; gap: 14px; }
  .goal { padding: 22px; border-radius: 18px; gap: 8px; }
  .goal-num { font-size: 2.1rem; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { flex-direction: row; gap: 16px; padding: 22px; border-radius: 18px; }
  .step-n { flex: none; width: 44px; height: 44px; font-size: 20px; }
  .value { padding: 24px; border-radius: 18px; gap: 10px; }
  .value svg { width: 32px; height: 32px; }
  .about-grid .photo { height: auto; aspect-ratio: auto; max-width: none; border-radius: 24px; }
  .about-grid .photo img { height: auto; }
  .where-card { padding: 24px; border-radius: 18px; gap: 16px; }
  .cta-band { padding: 56px 0; text-align: left; }
  .cta-band .wrap { align-items: stretch; gap: 20px; }
  .cta-band .btn { width: 100%; }
  .story p { font-size: 1.15rem; line-height: 1.6; }
  .glance { padding: 24px; border-radius: 18px; }
  .contact-grid { gap: 32px; }
  .contact-link { padding: 16px 18px; border-radius: 16px; }
  .contact-link a { font-size: 18px; }
  .form-card { padding: 24px; border-radius: 22px; gap: 20px; }
  .form-card h2 { font-size: 1.5rem; }
  .form { gap: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .field input { height: 56px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; min-height: 58px; }
  .center-page { padding: 56px 0 72px; }
  .center-page .wrap { align-items: flex-start; text-align: left; }
  .check { width: 72px; height: 72px; }
  .check svg { width: 36px; height: 36px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid img { width: 240px; height: 48px; }
  .site-footer .wrap { padding-top: 48px; padding-bottom: 32px; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
