/* Highline Financial Coaching */

:root {
  --navy: #101c33;
  --ink: #1b2740;
  --slate: #4f6a9a;
  --slate-dark: #3c5380;
  --mist: #eef1f6;
  --paper: #faf8f4;
  --white: #ffffff;
  --line: #e3dfd6;
  --brass: #b08a4f;
  --brass-light: #d9bc8a;
  --muted: #566176;
  --on-dark: #c9d2e3;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 28, 51, 0.04), 0 12px 32px -12px rgba(16, 28, 51, 0.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--slate-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus { top: 12px; color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-dark);
  margin-bottom: 1.1rem;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.8em 1.6em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--slate); color: var(--white); }
.btn-primary:hover { background: var(--slate-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { border-color: var(--slate); color: var(--slate-dark); }
.btn-outline:hover { background: var(--slate); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.arrow-link {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.arrow-link::after { content: "\2192"; transition: transform 0.2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 172px; height: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle .bar { position: relative; }
.nav-toggle .bar::before,
.nav-toggle .bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 24px;
  box-shadow: 0 24px 32px -24px rgba(16, 28, 51, 0.3);
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a:not(.btn) {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.site-nav li a[aria-current="page"] { color: var(--slate-dark); font-weight: 600; }
.site-nav .btn { width: 100%; margin-top: 18px; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 26px; }
  .site-nav li a:not(.btn) {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    font-size: 0.97rem;
  }
  .site-nav li a:not(.btn):hover,
  .site-nav li a[aria-current="page"] { border-bottom-color: var(--brass); }
  .site-nav .btn { width: auto; margin: 0; min-height: 46px; padding: 0.6em 1.3em; font-size: 0.95rem; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0e1930 0%, #1a2b50 52%, #4a6190 100%);
  color: var(--on-dark);
  padding: clamp(72px, 10vw, 128px) 0 clamp(230px, 32vw, 440px);
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .eyebrow { color: var(--brass-light); }
.hero .lead { color: var(--on-dark); max-width: 56ch; }
.hero-ridge {
  position: absolute;
  inset: auto 0 -1px 0;
  width: 100%;
  height: clamp(190px, 27vw, 360px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-sub { padding-bottom: clamp(220px, 30vw, 410px); }
.hero-plain { background: linear-gradient(180deg, #0e1930 0%, #1a2b50 100%); padding-bottom: clamp(80px, 11vw, 140px); }
/* Home hero: photo background with a navy scrim so the text stays readable */
.hero-image {
  background: #0e1930;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) 0;
}
.hero-image .wrap { width: 100%; }
.hero-photo, .hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo img { object-fit: cover; object-position: 72% 50%; }
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 19, 38, 0.88) 0%, rgba(10, 19, 38, 0.66) 42%, rgba(10, 19, 38, 0.12) 72%, rgba(10, 19, 38, 0) 100%),
    linear-gradient(180deg, rgba(10, 19, 38, 0.35) 0%, rgba(10, 19, 38, 0) 30%, rgba(10, 19, 38, 0) 75%, rgba(10, 19, 38, 0.45) 100%);
}
.hero-image .wrap { z-index: 2; }
.hero-image h1, .hero-image .lead { text-shadow: 0 1px 18px rgba(6, 12, 26, 0.45); }
@media (max-width: 760px) {
  .hero-image { min-height: 0; }
  .hero-photo img { object-position: 78% 50%; }
  .hero-image::before {
    background: linear-gradient(180deg, rgba(10, 19, 38, 0.82) 0%, rgba(10, 19, 38, 0.72) 55%, rgba(10, 19, 38, 0.55) 100%);
  }
}
.story p { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: #e4e9f3; }
.story .lead { color: var(--white); }
.hero-sub h1 { max-width: 20ch; font-size: clamp(2.1rem, 5vw, 3.4rem); }

.trust {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  max-width: 820px;
}
.trust li { display: flex; gap: 10px; align-items: baseline; }
.trust li::before { content: ""; flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--brass-light); transform: translateY(-2px); }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, auto); gap: 32px; } }

.crumbs { font-size: 0.85rem; margin-bottom: 1.5rem; color: var(--on-dark); }
.crumbs a { color: var(--on-dark); }
.crumbs a:hover { color: var(--white); }

/* Sections */
.section { padding: var(--section) 0; }
.section-white { background: var(--white); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--brass-light); }
.section-dark .lead { color: var(--on-dark); }
.section-dark a:not(.btn) { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

.grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.section-white .card { background: var(--paper); }
.card p { color: var(--muted); font-size: 1rem; }
.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--slate); color: inherit; }
.card-link .arrow-link { margin-top: auto; padding-top: 1.2rem; color: var(--slate-dark); }
.card-link:hover .arrow-link::after { transform: translateX(4px); }

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mist);
  color: var(--slate-dark);
  margin-bottom: 1.25rem;
}
.icon svg { width: 24px; height: 24px; }

.num {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}

.steps { counter-reset: step; }
.step { border-top: 2px solid var(--brass); padding-top: 1.5rem; }
.section-dark .step p { color: var(--on-dark); }
.step-meta { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 0.6rem; display: block; }

.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-photo { grid-template-columns: 5fr 7fr; }
}

.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--slate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checks strong { color: var(--navy); }

.panel {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 48px);
}
.panel h3 { color: var(--white); font-size: 1.5rem; }
.panel .checks li::before { background-color: var(--brass); }
.panel .checks strong { color: var(--white); }

.portrait { position: relative; max-width: 440px; }
.portrait img { border-radius: calc(var(--radius) + 6px); aspect-ratio: 1; object-fit: cover; width: 100%; }
.portrait::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--brass);
  border-radius: calc(var(--radius) + 6px);
  z-index: -1;
}
.portrait-wrap { position: relative; z-index: 0; padding: 0 18px 18px 0; }

/* Testimonials */
.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.quote blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--navy);
}
.quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--brass);
  margin-bottom: 0.2em;
}
.quote figcaption { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; flex-wrap: wrap; }
.quote figcaption a { font-size: 0.95rem; }

.media-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.media-list li { border-bottom: 1px solid var(--line); }
.media-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.media-list a span { font-family: var(--sans); font-size: 0.9rem; color: var(--slate-dark); font-weight: 600; white-space: nowrap; }
.media-list a:hover { color: var(--slate-dark); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 14px;
  height: 14px;
  background:
    linear-gradient(var(--slate-dark), var(--slate-dark)) center / 14px 2px no-repeat,
    linear-gradient(var(--slate-dark), var(--slate-dark)) center / 2px 14px no-repeat;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 24px; color: var(--muted); max-width: 68ch; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Booking */
.booking {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(8px, 2vw, 20px);
  min-height: 640px;
  margin-top: calc(-1 * clamp(56px, 8vw, 96px));
  position: relative;
  z-index: 2;
}
.booking iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 12px; }
.contact-list a { font-weight: 600; }

/* Prose (legal, about) */
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }

/* Footer */
.site-footer {
  background: #0b1425;
  color: var(--on-dark);
  padding: clamp(56px, 7vw, 84px) 0 32px;
  font-size: 0.95rem;
}
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 0.6rem; }
.footer-brand small { display: block; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); margin-top: 4px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer li a { display: inline-block; padding: 5px 0; }
.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #97a3b8;
  display: grid;
  gap: 12px;
}
.footer-legal p { margin: 0; max-width: 90ch; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .btn-row, .hero-ridge, .hero-photo { display: none; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1 { color: #000; }
}
