:root {
  --ink: #142028;
  --ink-soft: #3a4650;
  --lake: #1a4558;
  --lake-deep: #0f2c38;
  --water: #2f6f86;
  --mist: #dce6eb;
  --paper: #f4f7f8;
  --white: #ffffff;
  --gold: #a88d2e;
  --gold-soft: #c4aa4a;
  --line: rgba(20, 32, 40, 0.12);
  --shadow: 0 18px 50px rgba(15, 44, 56, 0.18);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --nav-h: 4.25rem;
  --measure: 42rem;
  --wide: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 111, 134, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(168, 141, 46, 0.08), transparent 55%),
    linear-gradient(180deg, #eef3f5 0%, var(--paper) 35%, #e8f0f3 100%);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--lake);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--water);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(244, 247, 248, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-over-hero:not(.is-scrolled) {
  background: transparent;
  color: var(--white);
}

.nav-inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
}

.site-header.is-over-hero:not(.is-scrolled) .brand {
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 0.28rem auto;
  background: currentColor;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.86;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  opacity: 1;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.site-header.is-over-hero:not(.is-scrolled) .nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 0.35rem;
  background: var(--lake);
  color: var(--white) !important;
  opacity: 1 !important;
  text-decoration: none !important;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--lake-deep);
  transform: translateY(-1px);
}

.site-header.is-over-hero:not(.is-scrolled) .nav-cta {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 44, 56, 0.35) 0%, rgba(15, 44, 56, 0.18) 35%, rgba(10, 28, 36, 0.78) 100%),
    radial-gradient(800px 400px at 70% 20%, transparent 0%, rgba(10, 28, 36, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
}

.hero-name {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-lede {
  margin: 1.15rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-solid {
  background: var(--lake);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--lake-deep);
  color: var(--white);
}

.page-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-media img {
  object-position: center 40%;
}

/* Soft photo insets inside long-form prose */
.prose-with-insets {
  overflow: hidden;
}

.prose-inset {
  margin: 0.35rem 0 1.35rem 1.6rem;
  width: min(46%, 15.5rem);
  float: right;
  background: var(--lake-deep);
}

.prose-inset--left {
  float: left;
  margin: 0.35rem 1.6rem 1.35rem 0;
}

.prose-inset img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.prose-inset.story-photo--excavator img {
  object-position: 64% 40%;
}

.prose-inset.story-photo--golf img {
  object-position: center 16%;
}

.page-hero--speaking .hero-media img {
  object-position: 66% 34%;
}

.page-hero--sunset .hero-media img {
  object-position: center 58%;
}

.quote-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100% - 2rem, 44rem);
  margin: 0.5rem auto 0.75rem;
  min-height: clamp(18rem, 40svh, 26rem);
  padding: 3.25rem 1.5rem;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.quote-scene__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quote-scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  transform: scale(1.04);
}

.quote-scene__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 28, 36, 0.42) 0%, rgba(10, 28, 36, 0.55) 50%, rgba(10, 28, 36, 0.62) 100%);
}

.quote-scene__quote {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 28rem;
}

.quote-scene__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 560;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.quote-scene.is-visible .quote-scene__media img {
  animation: quote-scene-drift 18s var(--ease) forwards;
}

@keyframes quote-scene-drift {
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-scene.is-visible .quote-scene__media img {
    animation: none;
  }
}

@media (max-width: 640px) {
  .prose-inset,
  .prose-inset--left {
    float: none;
    width: min(100%, 18rem);
    margin: 1.5rem auto;
  }
}

.page-hero .hero-content {
  padding-bottom: 3.25rem;
}

.page-hero .hero-name {
  max-width: 18ch;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

/* ---------- Sections ---------- */

.section {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section-after-hero {
  padding-top: 1rem;
}

.photo-caption {
  margin: 0 auto 2.25rem;
  max-width: 38rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.section-narrow {
  width: min(100% - 2rem, 44rem);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-label {
  margin: 0 0 0.5rem;
  color: var(--water);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.prose {
  max-width: var(--measure);
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 650;
}

.quote {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 1.35rem;
  border-left: 3px solid var(--gold);
}

.quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
}

.pull-emphasis {
  margin: 2.75rem 0;
  text-align: center;
}

.pull-emphasis p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--lake-deep);
}

.media-block {
  margin: 2.5rem 0 3rem;
}

.media-block figure {
  margin: 0;
}

.media-block img {
  width: 100%;
  border-radius: 0.2rem;
  box-shadow: var(--shadow);
}

.media-block figcaption {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-reverse .split-copy {
  order: 2;
}

.split-reverse .split-media {
  order: 1;
}

.band {
  background: linear-gradient(135deg, var(--lake-deep), var(--lake) 55%, #25586b);
  color: var(--white);
}

.band .section {
  padding-block: 4rem;
}

.band .section-title,
.band .prose p,
.band .prose strong {
  color: var(--white);
}

.band .prose p {
  color: rgba(255, 255, 255, 0.88);
}

.band .prose strong {
  color: var(--white);
}

.connect-actions {
  margin-top: 1.75rem;
}

/* ---------- Contact form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form .field {
  display: grid;
  gap: 0.4rem;
}

.contact-form .field.full {
  grid-column: 1 / -1;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.16);
}

.contact-form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: 0.35rem;
}

.contact-form .btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.form-status.is-success {
  color: #d4f5de;
}

.form-status.is-error {
  color: #ffd0d0;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-meta {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--lake);
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  to {
    transform: scale(1);
  }
}

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

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

@media (max-width: 880px) {
  .contact-layout,
  .contact-form .field-row,
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .split-reverse .split-copy,
  .split-reverse .split-media {
    order: initial;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.85rem 1.15rem 1.35rem;
    background: rgba(247, 250, 251, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(15, 44, 56, 0.12);
    color: var(--ink);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    margin: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.95rem 0.45rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
    font-weight: 560;
    opacity: 1;
    color: var(--ink);
  }

  .nav-list a[aria-current="page"] {
    box-shadow: none;
    color: var(--lake-deep);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list .nav-cta,
  .site-header.is-over-hero:not(.is-scrolled) .nav-list .nav-cta,
  .site-header.is-menu-open .nav-list .nav-cta {
    display: flex;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.95rem 1rem;
    justify-content: center;
    border: none;
    border-radius: 0.4rem;
    background: var(--lake) !important;
    color: var(--white) !important;
    font-weight: 600;
    box-shadow: none;
  }

  .site-header.is-menu-open {
    background: rgba(247, 250, 251, 0.98);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
  }

  .site-header.is-menu-open .brand {
    color: var(--ink);
  }
}

@media (max-width: 560px) {
  .hero-content,
  .page-hero .hero-content {
    padding-bottom: 3rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-after-hero {
    padding-top: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
