:root {
  --ink: #15171a;
  --muted: #5d646d;
  --paper: #f7f7f4;
  --panel: #ffffff;
  --line: #d8dadd;
  --tech: #245f8f;
  --tech-soft: #eaf3f9;
  --ski: #8b1e2d;
  --ski-soft: #f8ecee;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus { text-decoration: underline; }

main { min-height: 70vh; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 52px;
}

.eyebrow {
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 {
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  letter-spacing: -.04em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.025em;
}

h3 { font-size: 1.35rem; }

.lede {
  max-width: 800px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--muted);
  margin: 0;
}

.choice-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.choice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 34px rgba(0,0,0,.045);
}

.choice.tech { border-top: 8px solid var(--tech); }
.choice.ski  { border-top: 8px solid var(--ski); }

.choice p { color: var(--muted); }

.button {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  border: 2px solid currentColor;
  margin-top: 18px;
}

.button.tech { color: var(--tech); }
.button.ski  { color: var(--ski); }

.button:hover,
.button:focus {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px;
}

.section.narrow { max-width: 900px; }

.section.alt {
  max-width: none;
  background: #efefeb;
}

.section.alt > .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.tech-hero {
  background: linear-gradient(180deg, var(--tech-soft), var(--paper));
}

.ski-hero {
  background: linear-gradient(180deg, var(--ski-soft), var(--paper));
}

.reassurance {
  margin-top: 36px;
  padding: 26px;
  border-left: 6px solid var(--tech);
  background: white;
  border-radius: 0 16px 16px 0;
  max-width: 840px;
}

.contact-box {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 36px;
}

.contact-box a { color: white; }

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 24px;
  color: var(--muted);
  font-size: .95rem;
}

.small { font-size: .94rem; color: var(--muted); }

@media (max-width: 820px) {
  body { font-size: 18px; }
  .choice-grid, .service-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .nav { align-items: flex-start; }
  .nav-links { gap: 12px 18px; }
}

@media (max-width: 560px) {
  .nav { flex-direction: column; }
  .choice, .contact-box { padding: 26px; }
}

/* Brand placement and accessible controls, September 2026. */
body { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--tech); outline-offset: 5px; }
.contact-box a:focus-visible { outline-color: white; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
#main-content { scroll-margin-top: 140px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
.hero-logo {
  display: block;
  width: min(100%, 340px);
  justify-self: center;
}
.hero-logo img { display: block; width: 100%; }
.hero-contact { margin-top: 28px; background: white; }
.choice-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 196px;
  margin-bottom: 30px;
}
.choice-logo img { width: 225px; max-height: 196px; object-fit: contain; }
.reassurance p { margin-bottom: 0; }
.contact-box a { overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .hero-intro { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-logo { grid-row: 1; width: 190px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
  .tech-hero, .ski-hero { padding-top: 30px; }
  .choice-logo { height: 165px; margin-bottom: 26px; }
  .choice-logo img { width: 195px; max-height: 165px; }
}
@media (max-width: 560px) {
  .nav { gap: 8px; padding-top: 14px; padding-bottom: 10px; }
  .nav-links { gap: 8px 18px; }
  .hero-logo { width: 160px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Compact service symbols accompany the text navigation. */
.nav-links { align-items: center; }
.nav-links a { gap: 9px; white-space: nowrap; }
.nav-symbol { display: block; width: 72px; height: 40px; object-fit: contain; flex: 0 0 72px; }
@media (max-width: 820px) {
  .nav { flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .nav-links { width: 100%; justify-content: space-between; align-items: stretch; gap: 8px; }
  .nav-links a { flex-direction: column; justify-content: flex-end; gap: 2px; padding-bottom: 5px; }
  .nav-symbol { width: 64px; height: 34px; flex-basis: 34px; }
}

/* About navigation and service-specific biographies. */
.brand-group { flex-shrink: 0; }
.about-menu { position: relative; font-size: 1rem; }
.about-menu summary { cursor: pointer; min-height: 44px; display: list-item; list-style-position: inside; width: fit-content; padding: 7px 0; }
.about-menu summary:focus-visible { outline: 3px solid var(--tech); outline-offset: 3px; }
.about-options { position: absolute; top: 100%; left: 0; width: 220px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px #0002; }
.about-options a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; text-decoration: none; border-radius: 6px; }
.about-options a:hover { background: var(--tech-soft); text-decoration: underline; }
.about-bio { max-width: 820px; scroll-margin-top: 150px; }
@media (max-width: 820px) { .about-bio { scroll-margin-top: 220px; } }

@media (min-width: 821px) {
  .service-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Emphasize JP’s closing statement in the Ski Racing biography. */
.about-bio .about-statement { font-size: 1.2em; line-height: 1.5; margin-top: 1.5em; }
.about-statement strong { font-weight: 750; }

/* Portraits beside each service biography, stacked on small screens. */
.about-bio { max-width: var(--max); }
.about-layout { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: 40px; align-items: start; }
.about-portrait { display: block; width: 100%; height: auto; border-radius: 14px; }
.about-copy { min-width: 0; }
.about-copy > p:first-child { margin-top: 0; }
@media (max-width: 820px) {
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-portrait { max-width: 280px; justify-self: center; }
}

/* Business phone contact with separate, finger-friendly call and text links. */
.phone-contact { margin: 24px 0; }
.phone-contact p { margin-bottom: 8px; }
.phone-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.phone-actions a:hover { text-decoration: underline; }

/* Three equally accessible ways to contact JP from each service introduction. */
.hero-contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-contact-options .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0;
}
@media (max-width: 560px) {
  .hero-contact-options { flex-direction: column; }
  .hero-contact-options .button { width: 100%; }
}

.group-class-heading { font-size: 2.7rem; }
