:root {
  color-scheme: light;
  --navy: #142c39;
  --white: #fff;
  --gold: #d8bc7a;
  --text-secondary: #465963;
  --line: #cbd3d5;
  --paper: #f3f6f6;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --shell: 84rem;
  --display: Baskerville, Georgia, serif;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--white); }
h1, h2, h3, p { margin: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.site-header a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
section[id] { scroll-margin-top: 1.5rem; }

.shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  padding: .75rem 1rem;
  background: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid #ffffff30; }
.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
}
.header-inner { min-height: 5.4rem; }
.brand { flex: 0 1 21.5rem; display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: 100%; }
.header-inner nav { display: flex; gap: clamp(.75rem, 2.5vw, 2.4rem); align-items: center; }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(.95rem, 1.4vw, 1.2rem); font-weight: 600; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; text-underline-offset: .32em; }
.header-contact { padding: .05rem .95rem; border: 1px solid #a8b7be; }
.header-contact:hover { background: var(--white); color: var(--navy); text-decoration: none; }

.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 53% 76% at 50% 105%, rgb(216 188 122 / .24), rgb(216 188 122 / .10) 35%, transparent 78%),
    radial-gradient(ellipse 69% 95% at 50% 95%, rgb(73 113 130 / .32), transparent 79%);
  color: var(--white);
  text-align: center;
  padding-block: clamp(3.5rem, 7.4vw, 6.7rem) clamp(4rem, 8.2vw, 7.4rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/hero-grain.png") repeat;
  opacity: .12;
  pointer-events: none;
}
.eyebrow { text-transform: uppercase; font-size: .875rem; line-height: 1.45; letter-spacing: .13em; font-weight: 700; color: var(--navy); }
h1 {
  max-width: 20ch;
  margin: 0 auto .3em;
  font: 500 clamp(2.7rem, 7.7vw, 7.05rem)/1.02 var(--display);
  letter-spacing: -.055em;
}
.hero-summary { max-width: 43ch; margin-inline: auto; color: #edf2f3; font-size: clamp(1.12rem, 2.1vw, 1.55rem); line-height: 1.5; text-wrap: balance; }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .62rem 1.04rem;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  font-size: .96rem;
  line-height: 1.3;
  font-weight: 700;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.hero-project { min-height: 3.4rem; margin-top: 1.8rem; padding-inline: 1.65rem; color: var(--navy); background: var(--gold); font-size: 1.08rem; }
.hero-project:hover { background: #ebd39c; }
.hero-project:focus-visible { outline-color: var(--white); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: #274655; }

.section-space { padding-block: clamp(3rem, 6.3vw, 6rem); }
.section-intro { display: grid; gap: .54rem; }
h2 { font-size: clamp(2rem, 3.5vw, 3.55rem); letter-spacing: -.03em; line-height: 1.08; font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.18vw, 2rem); letter-spacing: -.022em; line-height: 1.2; font-weight: 700; }

.services { background: var(--white); border-top: 2px solid var(--gold); padding-top: clamp(3rem, 4.65vw, 4.25rem); }
.service-grid { --service-inset: clamp(1rem, 3.05vw, 2.8rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { display: flex; flex-direction: column; align-items: flex-start; padding-inline: var(--service-inset); }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service { border-left: 1px solid var(--gold); }
.service h3 { font: 500 clamp(1.8rem, 3.65vw, 3.15rem)/1.02 var(--display); letter-spacing: -.035em; }
.section-intro > p:not(.eyebrow), .combined p {
  font-size: 1.0625rem;
  line-height: 1.63;
  color: var(--text-secondary);
}
.service p { margin-top: .85rem; max-width: 31rem; color: var(--text-secondary); font-size: clamp(1.06rem, 1.66vw, 1.44rem); line-height: 1.35; }
.service ul { list-style: none; align-self: stretch; padding: 0; margin: 1.4rem 0 .6rem; }
.service li { border-top: 1px solid var(--line); padding: .63rem 0; line-height: 1.5; }
.service-link { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: .25em; }
.combined a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 650; text-underline-offset: .25em; }
.service-link:hover, .combined a:hover { color: #385767; }
.combined { display: grid; grid-template-columns: minmax(12rem, .43fr) 1fr; align-items: baseline; gap: .65rem 1.5rem; margin-top: 2.35rem; padding: 1.25rem 1.5rem; background: var(--paper); border-left: 3px solid var(--gold); }
.combined h3 { font-size: 1.3rem; }

.approach { border-top: 1px solid var(--line); }
.approach-heading { margin-bottom: clamp(1.75rem, 4vw, 3.5rem); }
.approach-heading h2, .founder h2 { font: 500 clamp(2.6rem, 5vw, 4.35rem)/1.08 var(--display); letter-spacing: -.025em; }
.journey { display: grid; grid-template-columns: clamp(9rem, 16vw, 15rem) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.75rem); }
.journey-nav { position: sticky; align-self: start; top: clamp(1.5rem, 12vh, 8rem); padding-top: clamp(1.25rem, 4.5vw, 3.45rem); z-index: 1; }
.journey-track { --rail-x: 10px; --rail-start: 28px; --rail-length: 168px; --marker-y: 0px; display: grid; position: relative; }
.journey-line, .journey-progress, .journey-marker { position: absolute; pointer-events: none; }
.journey-line, .journey-progress { inset: var(--rail-start) auto auto var(--rail-x); width: 2px; }
.journey-line { height: var(--rail-length); background: #dce3e5; }
.journey-progress { height: var(--marker-y); background: var(--gold); }
.journey-marker {
  inset: var(--rail-start) auto auto var(--rail-x);
  z-index: 1;
  width: 17px;
  aspect-ratio: 1;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-45%, calc(var(--marker-y) - 50%));
  opacity: 0;
}
.journey-track[data-ready] .journey-marker { opacity: 1; }
.journey-stop { display: flex; align-items: center; position: relative; min-height: 56px; padding-left: 2rem; color: var(--text-secondary); font-size: .96rem; font-weight: 600; text-decoration: none; }
.journey-stop::before { content: ""; position: absolute; top: 50%; left: 6px; transform: translateY(-50%); width: 10px; aspect-ratio: 1; border: 1px solid #879aa2; border-radius: 50%; background: var(--white); }
.journey-stop[aria-current] { color: var(--navy); font-weight: 750; }
.journey-stop:hover span, .journey-stop[aria-current] span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .28em; text-decoration-thickness: 2px; }
.journey-section { min-height: clamp(17rem, 42vh, 24rem); padding-block: clamp(1.8rem, 4vw, 3.8rem); border-top: 1px solid var(--line); }
.journey-section h3 { font: 500 clamp(2.65rem, 6vw, 5rem)/1.08 var(--display); letter-spacing: -.04em; text-wrap: initial; }
.journey-section p { max-width: 58ch; color: var(--text-secondary); font-size: clamp(1rem, 1.6vw, 1.32rem); line-height: 1.58; }
.journey-section .journey-lead { margin: .6em 0 .4em; color: var(--navy); font-weight: 650; }
.journey-end { min-height: auto; padding-bottom: .5rem; }
.journey-end h3 { font-style: italic; }

.work { border-top: 1px solid var(--line); }
.work h2 { font: 500 clamp(2.6rem, 5vw, 4.35rem)/1.08 var(--display); letter-spacing: -.025em; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(1.45rem, 3vw, 2.75rem); }
.work-grid article { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.work-grid dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .6rem .9rem; max-width: 57ch; margin: .85rem 0 0; font-size: 1.0625rem; line-height: 1.55; }
.work-grid dt { font-weight: 700; }
.work-grid dd { margin: 0; color: var(--text-secondary); }

.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: 1.35rem clamp(2rem, 5.5vw, 5.5rem); align-items: start; border-top: 1px solid var(--line); }
.founder .section-intro .founder-education { max-width: 35ch; font-size: .95rem; }
.founder-copy { display: grid; gap: .85rem; font-size: clamp(1.06rem, 1.5vw, 1.26rem); line-height: 1.65; color: var(--text-secondary); }
.founder-copy p { max-width: 58ch; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; border-top: 1px solid var(--line); }
.contact .section-intro > p:not(.eyebrow) { max-width: 36rem; margin-top: .35rem; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.contact-note { color: var(--text-secondary); font-size: .9rem; }
.contact-link { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-underline-offset: .23em; }
.contact-link:hover { color: #385767; }
.site-footer { background: var(--navy); color: var(--white); }
.footer-inner { padding-block: 1.4rem; }
.footer-inner .brand { flex-basis: 17.2rem; }
.footer-inner p { font-size: .82rem; letter-spacing: .05em; color: #deeaee; text-align: right; }

@media (max-width: 760px) {
  .journey { grid-template-columns: 2.75rem minmax(0, 1fr); gap: .7rem; }
  .journey-nav { top: 1rem; }
  .journey-track { --rail-x: 20px; --rail-start: 22px; --rail-length: 132px; }
  .journey-stop { width: 44px; min-height: 44px; padding: 0; }
  .journey-stop::before { left: 16px; }
  .journey-stop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .journey-section { min-height: 19rem; }
  .journey-end { min-height: auto; }
}

@media (max-width: 740px) {
  .service-grid { grid-template-columns: 1fr; --service-inset: 0; }
  .service { padding-block: 1.55rem; }
  .service:first-child { padding-top: 0; }
  .service + .service { border-left: 0; border-top: 1px solid var(--gold); }
}

@media (max-width: 650px) {
  .header-inner { min-height: 0; flex-wrap: wrap; gap: .2rem; padding: .8rem 0 .35rem; }
  .header-inner .brand { flex-basis: 17.5rem; width: min(100%, 17.5rem); }
  .header-inner nav { width: 100%; gap: 0 clamp(.4rem, 3vw, 1.25rem); flex-wrap: wrap; }
  .header-contact { border: 0; padding: 0; }
  .header-inner nav .header-contact:hover { color: var(--white); background: transparent; text-decoration: underline; }
  .hero {
    background-image:
      radial-gradient(ellipse 97% 65% at 50% 108%, rgb(216 188 122 / .24), rgb(216 188 122 / .10) 38%, transparent 79%),
      radial-gradient(ellipse 96% 91% at 50% 98%, rgb(73 113 130 / .29), transparent 79%);
  }
  h1 { max-width: 14ch; }
  .work-grid, .founder, .contact, .combined { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner .brand { flex-basis: auto; max-width: min(100%, 16rem); }
  .footer-inner p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
