/* tommiforsstrom.com
   Extracted from design-mockups/option-c-v2-bold-direct.html, which is the
   approved design reference. Layout, spacing and colour values are unchanged
   from that mockup; the only additions are the about-section portrait (the one
   approved deviation) and print styles. */

:root {
  --navy: hsl(204, 73%, 22%);
  --navy-dark: hsl(205, 45%, 11%);
  --navy-mid: hsl(205, 50%, 17%);
  --pale: hsl(205, 40%, 94%);
  --gold: #f2b234;
  --ink: #16212c;
  --muted: #51636f;
  --line: #dbe4eb;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 16.5px;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Every responsive image keeps its intrinsic width/height attributes in the
   HTML so the browser can reserve space, and height:auto here so the aspect
   ratio survives. The v1 mockup shipped squished for want of this. */
img { max-width: 100%; height: auto; display: block; }

/* --- Header ------------------------------------------------------------ */

header.site {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand span { color: var(--gold); }
.nav ul { display: flex; gap: 26px; list-style: none; padding: 0; align-items: center; }
.nav ul a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav ul a:hover { color: #fff; }

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark) !important;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  border: 2px solid var(--gold);
}
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }

/* --- Hero -------------------------------------------------------------- */

.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 70%, var(--navy) 100%);
  color: #fff;
  padding: 88px 0 0;
}
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); color: #fff; }
.hero h1 .g { color: var(--gold); }
.hero p.sub {
  font-size: 20px;
  margin: 24px 0 8px;
  color: rgba(255, 255, 255, .85);
  max-width: 540px;
}
.hero .cta-row { margin: 30px 0 56px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero picture { display: block; }
.hero img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 50px -12px rgba(0, 0, 0, .5);
}

/* --- Credentials strip ------------------------------------------------- */

.stats { background: var(--gold); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats div { padding: 20px 18px; text-align: center; color: var(--navy-dark); }
.stats b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.stats span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* --- About ------------------------------------------------------------- */

.about { padding: 72px 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about h2 { font-size: 34px; margin-bottom: 18px; }
.about p { margin-bottom: 14px; font-size: 17px; }

.about aside { align-self: start; }

.fitcard {
  background: var(--pale);
  border-radius: 14px;
  padding: 30px 32px;
}
.fitcard h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: 16px;
}
.fitcard ul { list-style: none; padding: 0; }
.fitcard li { font-size: 18px; font-weight: 700; padding: 12px 0; border-bottom: 2px solid #fff; }
.fitcard li:last-child { border: 0; }
.fitcard li small { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }

/* Approved deviation from the mockup: the second headshot sits below the fit
   card. The source is a 2:3 standing portrait, but it is cropped to a 3:2 band
   in build-images.sh. Shipped full-height it stood ~645px tall, dwarfing the
   card above it and competing with the hero; as a band matching the card's
   width it reads as an editorial break instead. */
.portrait { margin-top: 20px; }
.portrait img { width: 100%; border-radius: 14px; }

/* --- Services ---------------------------------------------------------- */

.services { background: #f5f8fa; padding: 72px 0; }
.services h2 { font-size: 34px; margin-bottom: 8px; }
.services .intro { color: var(--muted); max-width: 620px; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
}
.card .quote {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-dark);
  margin-bottom: 12px;
}
.card .quote::before {
  content: "\201C";
  color: var(--gold);
  font-size: 30px;
  line-height: 0;
  vertical-align: -8px;
  margin-right: 2px;
}
.card h3 {
  font-size: 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  order: -1;
}
.card p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.card ul { padding-left: 18px; font-size: 14px; margin-top: auto; }
.card li { margin: 4px 0; }
.card.hot { border: 2px solid var(--gold); position: relative; }
.card.hot::after {
  content: "NEW";
  position: absolute;
  top: -11px;
  right: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 2px 10px;
  border-radius: 99px;
}

/* --- Contact band ------------------------------------------------------ */

.band { background: var(--navy-dark); color: #fff; padding: 72px 24px; text-align: center; }
.band h2 { font-size: clamp(28px, 4vw, 40px); color: #fff; margin-bottom: 14px; }
.band h2 .g { color: var(--gold); }
.band p { color: rgba(255, 255, 255, .85); max-width: 520px; margin: 0 auto 28px; }
.band .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.band .socials { margin-top: 30px; display: flex; gap: 22px; justify-content: center; }
.band .socials a { color: rgba(255, 255, 255, .7); text-decoration: none; font-weight: 700; font-size: 14px; }
.band .socials a:hover { color: var(--gold); }

/* --- Footer ------------------------------------------------------------ */

footer.site {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .55);
  font-size: 13.5px;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer.site a { color: rgba(255, 255, 255, .75); text-decoration: none; }
footer.site a:hover { color: var(--gold); }

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero .grid, .about .wrap { grid-template-columns: 1fr; }
  .hero picture, .hero img { max-width: 380px; margin: 0 auto; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .nav ul li.hide-m { display: none; }
  .portrait { max-width: 380px; margin: 20px auto 0; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
}

/* --- Print ------------------------------------------------------------- */
/* People do print consultant pages to share internally. Drop the dark
   backgrounds, keep the content legible, and show link targets. */

@media print {
  header.site { position: static; }
  .hero, .band, footer.site, header.site { background: #fff !important; color: #000 !important; }
  .hero h1, .band h2, .hero h1 .g, .band h2 .g { color: #000 !important; }
  .hero p.sub, .band p, footer.site, footer.site a, .band .socials a { color: #222 !important; }
  .btn, .btn.ghost { border: 1px solid #666; color: #000 !important; background: none; }
  .stats { background: none; border-top: 1px solid #999; border-bottom: 1px solid #999; }
  .card { break-inside: avoid; }
  .hero img, .portrait { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}
