/* =========================================================
   Chris Upton — Captain. Coach. Ocean Sailor.
   Design system: minimalist, professional, nautical
   ========================================================= */

:root {
  /* Palette */
  --navy-900: #061A2E;
  --navy-800: #0B2A4A;
  --navy-700: #133A5E;
  --navy-600: #1E4D6B;
  --steel:    #2C4A66;
  --brass:    #B8975A;
  --brass-dark: #98793F;
  --ivory:    #F5F1E8;
  --parchment:#FAF8F2;
  --paper:    #FFFFFF;
  --ink:      #0F1A2A;
  --ink-muted:#5A6472;
  --hairline: #DCD7C7;
  --hairline-cool: #D8DEE6;

  /* Type scale */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --container: 1180px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(44px, 6vw, 80px);

  /* Other */
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.06);
  --shadow-md: 0 8px 32px rgba(11, 42, 74, 0.08);
  --transition: 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; font-weight: 500; }
h2 { font-size: clamp(2.5rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.25; font-weight: 600; }
h4 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; font-family: var(--sans); letter-spacing: 0.02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.lede {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 400;
}

.muted { color: var(--ink-muted); }

/* =========================================================
   Layout primitives
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow {
  max-width: var(--container-narrow);
}
section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-title { max-width: 780px; margin-bottom: 2rem; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline-cool);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  color: var(--navy-900);
}
.brand__logo {
  height: 40px;
  width: auto;
  align-self: center;
  display: block;
}
.brand__name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand__tag {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-weight: 500;
}
@media (max-width: 720px) {
  .brand__tag { display: none; }
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__list a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--brass); }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--brass);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: var(--navy-800);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav__list {
    position: fixed;
    inset: 77px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline-cool);
    padding: 16px var(--gutter) 28px;
    transform: translateY(calc(-100% - 90px));
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
  }
  .nav__list[data-open="true"] { transform: translateY(0); }
  .nav__list li { border-bottom: 1px solid var(--hairline-cool); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__list a { display: block; padding: 16px 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy-800);
  color: var(--paper);
  border-color: var(--navy-800);
}
.btn--primary:hover { background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn--ghost:hover { background: var(--navy-800); color: var(--paper); }
.btn--brass {
  background: var(--brass);
  color: var(--navy-900);
  border-color: var(--brass);
}
.btn--brass:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: var(--paper); }
.btn--on-dark {
  background: var(--paper);
  color: var(--navy-900);
  border-color: var(--paper);
}
.btn--on-dark:hover { background: var(--brass); border-color: var(--brass); color: var(--navy-900); }
.btn--link {
  background: transparent;
  color: var(--navy-800);
  border: 0;
  padding: 6px 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.btn--link:hover { color: var(--brass); }
.btn--link::after { content: "→"; transition: transform var(--transition); }
.btn--link:hover::after { transform: translateX(4px); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row .secondary-link {
  font-size: 0.95rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline-cool);
  padding-bottom: 4px;
}
.cta-row .secondary-link:hover { color: var(--navy-800); border-color: var(--navy-800); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--paper);
  overflow: hidden;
  padding-top: clamp(45px, 5.5vw, 60px);
  padding-bottom: clamp(60px, 8vw, 90px);
  min-height: clamp(540px, 78vh, 760px);
  display: flex;
  align-items: flex-start;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}
.hero--image .hero__inner {
  text-shadow: 0 1px 16px rgba(6, 26, 46, 0.5);
}
/* Page-specific hero images. CSS url() resolves relative to this stylesheet. */
.hero--home {
  background: #ffffff url("../assets/img/Hero.jpg") center 55% / cover no-repeat;
  /* Push content below the horizon line of the photo */
  padding-top: clamp(96px, 17vh, 180px);
}
.hero--service-flagship {
  background:
    linear-gradient(180deg,
      rgba(6, 26, 46, 0.30) 0%,
      rgba(6, 26, 46, 0.20) 35%,
      rgba(6, 26, 46, 0.45) 70%,
      rgba(6, 26, 46, 0.82) 100%),
    #ffffff url("../assets/img/open-ocean.jpg") center 55% / cover no-repeat;
}
.hero--service-training {
  background:
    linear-gradient(180deg,
      rgba(6, 26, 46, 0.35) 0%,
      rgba(6, 26, 46, 0.25) 35%,
      rgba(6, 26, 46, 0.50) 70%,
      rgba(6, 26, 46, 0.85) 100%),
    #ffffff url("../assets/img/sv-elegance.jpg") center / cover no-repeat;
}
.hero--service-delivery {
  background:
    linear-gradient(180deg,
      rgba(6, 26, 46, 0.30) 0%,
      rgba(6, 26, 46, 0.25) 35%,
      rgba(6, 26, 46, 0.50) 70%,
      rgba(6, 26, 46, 0.85) 100%),
    #ffffff url("../assets/img/sunset-anchorage.jpg") center bottom / cover no-repeat;
}
.hero--home .hero__inner,
.hero--service-flagship .hero__inner,
.hero--service-training .hero__inner,
.hero--service-delivery .hero__inner {
  text-shadow: 0 1px 16px rgba(6, 26, 46, 0.5);
}
.hero__inner { position: relative; z-index: 2; max-width: 920px; width: 100%; }
.hero h1 { color: var(--paper); }
.hero--home h1 { color: var(--navy-900); }
.hero .lede { color: rgba(255, 255, 255, 0.86); margin-bottom: 2.4rem; max-width: 720px; }
.hero--home .lede { color: var(--navy-900); }
.hero .eyebrow { color: var(--brass); }
.hero .cta-row .secondary-link {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.hero .cta-row .secondary-link:hover {
  color: var(--brass);
  border-color: var(--brass);
}

.hero--service {
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

/* =========================================================
   Stakes
   ========================================================= */
.stakes {
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}
.stakes ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
  display: grid;
  gap: 14px;
}
.stakes ul li {
  position: relative;
  padding-left: 32px;
  font-size: 1.05rem;
  color: var(--ink);
}
.stakes ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 18px;
  height: 1px;
  background: var(--brass);
}
.stakes .pivot {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--navy-900);
  font-style: italic;
  border-left: 2px solid var(--brass);
  padding-left: 22px;
  max-width: 720px;
}

/* =========================================================
   Value cards
   ========================================================= */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1080px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--paper);
  border: 1px solid var(--hairline-cool);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.value-card__icon {
  width: 44px; height: 44px;
  color: var(--brass);
}
.value-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.25;
}
.value-card p { color: var(--ink-muted); font-size: 0.98rem; line-height: 1.55; }

/* =========================================================
   Guide section
   ========================================================= */
.guide { background: var(--paper); }
.guide__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 880px) { .guide__grid { grid-template-columns: 1fr; gap: 32px; align-items: start; } }
.guide__body {
  display: flex;
  flex-direction: column;
}
.guide__body > .prose-block { flex: 0 0 auto; }
.guide__body p { font-size: 1.08rem; }
.guide__image {
  margin-top: 32px;
  flex: 1 1 0;
  min-height: 240px;
  display: block;
  overflow: hidden;
}
.guide__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
  display: block;
}
@media (max-width: 880px) {
  .guide__image { flex: 0 0 auto; min-height: 0; margin-top: 24px; }
  .guide__image img { height: auto; }
}
/* Homepage guide — 2x2 matching-block matrix */
.guide__matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 32px;
  align-items: stretch;
}
.guide__panel {
  background: var(--ivory);
  border-top: 3px solid var(--brass);
  padding: 32px;
  margin: 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide__panel--img { padding: 16px; }
.guide__panel--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.guide__panel--text { justify-content: flex-start; }
.guide__panel--text .prose-block p { font-size: 1.02rem; line-height: 1.6; }
.guide__panel--text .prose-block p + p { margin-top: 0.85rem; }
@media (max-width: 880px) {
  .guide__matrix { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 18px; }
  .guide__panel--img img { height: auto; }
}
.credentials {
  background: var(--ivory);
  border-top: 3px solid var(--brass);
  padding: 32px;
}
.credentials h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.2rem;
}
.credentials ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.credentials li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.45;
}
.credentials li:last-child { border-bottom: 0; padding-bottom: 0; }

/* =========================================================
   Testimonial
   ========================================================= */
.testimonial {
  background: var(--navy-900);
  color: var(--paper);
  position: relative;
}
.testimonial__intro {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonial__intro .eyebrow { color: var(--brass); }
.testimonial__intro h2 { color: var(--paper); }
.testimonial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .testimonial__grid { grid-template-columns: 1fr; gap: 40px; }
}
.testimonial blockquote {
  margin: 0;
  padding: 0;
  position: relative;
  text-align: left;
}
.testimonial--single .testimonial__grid {
  grid-template-columns: 1fr;
  max-width: 780px;
}
.testimonial--single blockquote { text-align: center; }
.testimonial .quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--brass);
  margin-bottom: 28px;
  display: block;
}
.testimonial p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.95);
}
.testimonial--single p { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.testimonial cite {
  display: block;
  margin-top: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(184,151,90,0.4);
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
}
.testimonial cite span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: none;
}

/* =========================================================
   Atmospheric image break
   ========================================================= */
.image-break {
  width: 100%;
  height: clamp(280px, 40vh, 480px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.image-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,26,46,0.18) 0%, rgba(6,26,46,0.45) 100%);
}
.image-break__caption {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  text-align: center;
  width: 90%;
  max-width: 720px;
}

/* =========================================================
   Services tiles
   ========================================================= */
.services-tiles {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.services-tiles__col {
  display: grid;
  gap: 24px;
  grid-auto-rows: 1fr;
}
@media (max-width: 880px) {
  .services-tiles { grid-template-columns: 1fr; }
  .services-tiles__col { gap: 24px; }
}

.tile {
  background: var(--paper);
  border: 1px solid var(--hairline-cool);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.tile:hover { border-color: var(--navy-800); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0;
}
.tile .tile__hook {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
  font-size: 1.05rem;
  line-height: 1.4;
}
.tile p { color: var(--ink-muted); font-size: 0.96rem; }
.tile .btn--link { margin-top: auto; }

.tile--flagship {
  background: var(--navy-900);
  color: var(--paper);
  border: 0;
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.tile--flagship::before {
  content: "FLAGSHIP";
  position: absolute;
  top: 28px; right: 32px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--brass);
}
.tile--flagship h3 { color: var(--paper); font-size: 2rem; }
.tile--flagship .tile__hook { color: var(--brass); font-size: 1.25rem; }
.tile--flagship p { color: rgba(255,255,255,0.82); }
.tile--flagship .btn--link { color: var(--brass); }
.tile--flagship .btn--link:hover { color: var(--paper); }

/* =========================================================
   Lead magnet band
   ========================================================= */
.lead-magnet {
  background: var(--brass);
  color: var(--navy-900);
}
.lead-magnet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .lead-magnet__grid { grid-template-columns: 1fr; gap: 32px; } }
.lead-magnet h2 { color: var(--navy-900); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead-magnet p { color: var(--navy-900); }
.lead-magnet__form {
  display: grid;
  gap: 14px;
}
.lead-magnet__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .lead-magnet__form-row { grid-template-columns: 1fr; } }
.lead-magnet__form input {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 1rem;
  border: 1px solid var(--navy-900);
  background: rgba(255,255,255,0.95);
  color: var(--navy-900);
  border-radius: var(--radius);
}
.lead-magnet__form input:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--navy-800);
}
.lead-magnet__form button {
  background: var(--navy-900);
  color: var(--paper);
  border: 0;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.lead-magnet__form button:hover { background: var(--ink); }

/* =========================================================
   Personal section / footer area
   ========================================================= */
.personal {
  background: var(--parchment);
  border-top: 1px solid var(--hairline);
}

/* =========================================================
   Final CTA band
   ========================================================= */
.final-cta {
  background: var(--navy-900);
  color: var(--paper);
  text-align: center;
  padding: clamp(70px, 9vw, 110px) 0;
}
.final-cta h2 { color: var(--paper); margin-bottom: 1.5rem; }
.final-cta .cta-row { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 28px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  align-items: baseline;
}
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--brass); }
.site-footer .brand { color: var(--paper); margin-bottom: 14px; }
.site-footer .brand__name { color: var(--paper); }
.site-footer .brand__tag { color: rgba(255,255,255,0.5); }
.site-footer__about { font-size: 0.92rem; line-height: 1.6; max-width: 320px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.social { display: flex; gap: 14px; }
.social a {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all var(--transition);
}
.social a:hover { border-color: var(--brass); color: var(--brass); }
.social svg { width: 14px; height: 14px; }

/* =========================================================
   Service page specifics
   ========================================================= */
.prose {
  max-width: 760px;
}
.prose p { font-size: 1.08rem; line-height: 1.7; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.8rem; font-family: var(--serif); }
.prose ul { padding-left: 1.2rem; margin: 1.2rem 0 1.6rem; }
.prose li { margin-bottom: 8px; line-height: 1.6; }
.prose .pull {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--navy-900);
  border-left: 2px solid var(--brass);
  padding: 8px 0 8px 22px;
  margin: 2rem 0;
  font-weight: 500;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 16px;
}
.feature-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1.02rem;
  line-height: 1.55;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 18px; height: 1px;
  background: var(--brass);
}

/* =========================================================
   Services hub
   ========================================================= */
.services-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .services-hub-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Resources grid
   ========================================================= */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 2rem;
}
@media (max-width: 720px) { .resource-grid { grid-template-columns: 1fr; } }
.resource-card {
  background: var(--paper);
  border: 1px solid var(--hairline-cool);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resource-card .badge {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.resource-card.is-coming { opacity: 0.7; }
.resource-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

/* =========================================================
   Contact
   ========================================================= */
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--hairline-cool);
  border-top: 3px solid var(--brass);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
}

.contact-form { display: grid; gap: 10px; }
.contact-form .field { display: grid; gap: 5px; }
.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) { .contact-form .field-row { grid-template-columns: 1fr; } }
.contact-form label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid var(--hairline-cool);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--brass);
}
.contact-form textarea {
  min-height: 80px;
  resize: vertical;
  font-family: var(--sans);
}
.contact-form button {
  align-self: start;
  margin-top: 4px;
  padding: 13px 22px;
}
.contact-form .form-status {
  font-size: 0.9rem;
  margin: 0;
  min-height: 0;
}
.contact-form .form-status[data-state="ok"]    { color: var(--navy-800); }
.contact-form .form-status[data-state="error"] { color: #b1404f; }

.contact-meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-meta-row--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .contact-meta-row,
  .contact-meta-row--two { grid-template-columns: 1fr; }
}
.contact-meta {
  background: var(--paper);
  border-top: 3px solid var(--brass);
  padding: 28px;
}
.contact-meta h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.contact-meta a { color: var(--navy-800); border-bottom: 1px solid var(--hairline-cool); }
.contact-meta a:hover { color: var(--brass); border-color: var(--brass); }

/* =========================================================
   Page hero (lighter than homepage hero)
   ========================================================= */
.page-hero {
  background: var(--ivory);
  padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 { color: var(--navy-900); }
.page-hero .lede { max-width: 720px; color: var(--ink); margin-top: 1rem; }

/* Services hero — Sunset500 photo background with dark scrim for white text */
.page-hero--services {
  background:
    linear-gradient(180deg,
      rgba(6, 26, 46, 0.45) 0%,
      rgba(6, 26, 46, 0.35) 40%,
      rgba(6, 26, 46, 0.70) 100%),
    #061A2E url("../assets/img/Sunset500.jpeg") center / cover no-repeat;
  border-bottom: none;
  width: 100%;
  aspect-ratio: 1280 / 706;
  max-height: calc(100svh - 77px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero--services .eyebrow { color: var(--brass); }
.page-hero--services h1 {
  color: var(--paper);
  text-shadow: 0 1px 16px rgba(6, 26, 46, 0.5);
}

/* About hero — pexels sailboat photo, full image, white text at top over dark water */
.page-hero--about {
  background:
    linear-gradient(180deg,
      rgba(6, 26, 46, 0.55) 0%,
      rgba(6, 26, 46, 0.35) 45%,
      rgba(6, 26, 46, 0.25) 100%),
    #061A2E url("../assets/img/pexels-solce-35030759.jpg") center top / cover no-repeat;
  border-bottom: none;
  width: 100%;
  /* Crop the bottom fifth of the image: show top 80% (1772 * 0.8 = 1418) */
  aspect-ratio: 2893 / 1418;
  max-height: 824px;
}
.page-hero--about .eyebrow { color: var(--brass); }
.page-hero--about h1 {
  color: var(--paper);
  text-shadow: 0 1px 16px rgba(6, 26, 46, 0.5);
}

/* Compact variant — used on contact page so hero + form fit above the fold */
.page-hero--compact {
  padding: clamp(32px, 4vw, 56px) 0 clamp(28px, 4vw, 48px);
}
.page-hero--compact h1 {
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.5em;
}
.page-hero--compact .lede {
  font-size: 1rem;
  line-height: 1.55;
}

/* =========================================================
   Misc
   ========================================================= */
.divider {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--brass);
  margin: 2rem 0;
}

/* Animations on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* Selection */
::selection { background: var(--brass); color: var(--navy-900); }

/* =========================================================
   Mobile polish
   ========================================================= */
@media (max-width: 720px) {
  body { font-size: 16px; }

  /* Looser button tap targets, allow wrapping for long labels */
  .btn { white-space: normal; padding: 14px 22px; min-height: 48px; line-height: 1.2; }

  /* Hero on small screens, keep text comfortably readable */
  .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
  .hero .lede { font-size: 1rem; line-height: 1.55; }

  /* Section headers stay prominent on mobile but readable */
  h2 { font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.1; }

  /* Service tile padding tightened on narrow screens */
  .tile { padding: 28px 24px; }
  .tile--flagship { padding: 36px 28px; }
  .tile--flagship h3 { font-size: 1.6rem; }
  .tile--flagship .tile__hook { font-size: 1.05rem; }

  /* Testimonial typography scales down */
  .testimonial p { font-size: 1.05rem; }
  .testimonial .quote-mark { font-size: 4rem; margin-bottom: 18px; }

  /* Credentials list more compact */
  .credentials { padding: 26px 22px; }

  /* CTA rows wrap cleanly */
  .cta-row { gap: 12px; }
  .cta-row .secondary-link { font-size: 0.9rem; }

  /* Footer — slightly tighter */
  .site-footer { padding-top: 56px; }
  .site-footer__grid { gap: 32px; margin-bottom: 40px; }

  /* Contact page on mobile — ensure decent spacing */
  .page-hero--compact { padding: 24px 0 28px; }
  .contact-form-card { padding: 22px 20px; }
  .contact-meta { padding: 22px 20px; }
}

@media (max-width: 480px) {
  /* Buttons full-width on the tightest viewports for easier tapping */
  .cta-row .btn,
  .contact-form button { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .secondary-link { text-align: center; }
}
