/* ------------------------------------------------------------------
   Clear Environment — 2026
   Palette anchored on the brand green #336633
------------------------------------------------------------------ */

:root {
  --green:        #336633;
  --green-deep:   #24471f;
  --green-mid:    #4b7a4b;
  --green-pale:   #eef2ea;
  --green-wash:   #f7f9f5;

  --ink:          #1f262b;
  --ink-2:        #3d4750;
  --ink-3:        #6a747c;

  --paper:        #ffffff;
  --bone:         #faf9f6;
  --line:         #e3e7de;
  --line-soft:    #eef0ea;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --gut: clamp(1.25rem, 5vw, 3.5rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .705rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 1.15rem;
}
.eyebrow.on-dark { color: #c7d8c1; }

/* hero eyebrow reads as a strapline, so it carries more weight */
.hero__eyebrow {
  font-size: clamp(.86rem, 1.35vw, 1.06rem);
  letter-spacing: .155em;
  font-weight: 600;
  color: #d6e3d0;
  margin-bottom: 1.35rem;
  text-shadow: 0 1px 14px rgba(10,16,12,.5);
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.16;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.19rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 46ch;
}

section { padding-block: clamp(4rem, 8.5vw, 7.5rem); }
/* stop anchor jumps landing underneath the sticky header */
section[id], [id="top"] { scroll-margin-top: 88px; }
.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(31,38,43,.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 78px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.1rem); }
.nav a {
  font-size: .845rem;
  letter-spacing: .075em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  padding-block: .4rem;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav a:hover { color: var(--green); text-decoration: none; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--green); }
.nav a.btn { color: #fff; text-transform: uppercase; }
.nav a.btn::after { display: none; }
.nav a.btn:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-size: .845rem; font-weight: 600;
  letter-spacing: .055em; text-transform: uppercase;
  padding: .82rem 1.5rem;
  border-radius: 2px;
  border: 1px solid var(--green);
  background: var(--green); color: #fff;
  transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
  cursor: pointer;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(31,38,43,.28); }
.btn--ghost:hover { background: transparent; border-color: var(--green); color: var(--green); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: .62rem 1.15rem; font-size: .78rem; }
.header-cta { display: inline-flex; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
.nav-toggle span { display: block; width: 19px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 660px);
  display: flex; align-items: flex-end;
  padding: 0;
  background: #223028;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(16,24,19,.58) 0%, rgba(16,24,19,.36) 44%, rgba(16,24,19,.04) 78%, rgba(16,24,19,0) 100%),
    linear-gradient(180deg, rgba(20,28,24,.28) 0%, rgba(20,28,24,0) 34%, rgba(18,25,21,.32) 74%, rgba(16,23,19,.6) 100%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 4.9vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -.019em;
  max-width: 21ch;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(10,16,12,.55), 0 1px 3px rgba(10,16,12,.35);
}
.hero__sub {
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.58;
  max-width: 48ch;
  margin: 1.35rem 0 2.1rem;
  text-shadow: 0 1px 18px rgba(10,16,12,.6), 0 1px 3px rgba(10,16,12,.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* credential strip */
.creds { background: var(--ink); color: rgba(255,255,255,.82); padding-block: 0; }
.creds ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.6vw, 2.4rem);
  padding-block: clamp(2rem, 3.4vw, 2.85rem);
}
.creds li {
  padding-left: clamp(1rem, 2.6vw, 2.4rem);
  border-left: 1px solid rgba(255,255,255,.16);
}
.creds li:first-child { padding-left: 0; border-left: 0; }
.creds b {
  display: block;
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  margin-bottom: .42rem;
}
.creds span {
  display: block;
  font-size: .765rem;
  letter-spacing: .095em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  line-height: 1.42;
}

/* ---------- intro / practice ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.split__aside { position: sticky; top: 110px; }

.pillars { display: grid; gap: 0; margin-top: .5rem; }
.pillar { padding: 1.6rem 0; border-top: 1px solid var(--line-soft); }
.pillar:first-child { border-top: 0; padding-top: 0; }
.pillar h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--ink);
  margin-bottom: .42rem;
}
.pillar p { font-size: .975rem; color: var(--ink-2); margin: 0; }

/* ---------- quote band ---------- */
.band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.band__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .58;
}
.band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,33,26,.88) 0%, rgba(22,33,26,.56) 52%, rgba(22,33,26,.24) 100%);
}
.band .wrap { position: relative; }
.band blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.1vw, 2.25rem);
  line-height: 1.32;
  letter-spacing: -.012em;
  color: #fff;
  max-width: 24ch;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(12,20,15,.6), 0 1px 3px rgba(12,20,15,.4);
}
.band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
  text-shadow: 0 1px 16px rgba(12,20,15,.75), 0 1px 3px rgba(12,20,15,.5);
}

/* ---------- schemes ---------- */
#schemes { background: var(--bone); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head .lede { max-width: 60ch; margin-top: 1.1rem; }

.schemes { display: grid; gap: 1.15rem; }
@media (min-width: 900px) { .schemes { grid-template-columns: 1fr 1fr; } }

.scheme {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.6rem, 2.8vw, 2.15rem);
  display: flex; flex-direction: column;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.scheme:hover {
  border-color: #cfd9c8;
  box-shadow: 0 10px 34px -22px rgba(31,38,43,.4);
  transform: translateY(-2px);
}
.scheme--wide { grid-column: 1 / -1; }

.scheme__head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: .35rem; }
.scheme h3 {
  font-family: var(--sans);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.008em;
  line-height: 1.3;
}
.tag {
  display: inline-block;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  border-radius: 2px;
  padding: .26rem .55rem;
  white-space: nowrap;
}
.scheme__auth {
  font-size: .805rem;
  color: var(--ink-3);
  letter-spacing: .01em;
  margin-bottom: .95rem;
}
.scheme > p { font-size: .95rem; }
.scheme h4 {
  font-family: var(--sans);
  font-size: .69rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 1.3rem 0 .75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: auto; }
.chips li {
  font-size: .815rem;
  line-height: 1.35;
  color: var(--ink-2);
  background: var(--green-wash);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .38rem .68rem;
}
/* closing statement at the end of the schemes section */
.forward {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  border-radius: 0 3px 3px 0;
  padding: clamp(1.6rem, 3vw, 2.15rem) clamp(1.5rem, 3vw, 2.4rem);
}
.forward h3 {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: .7rem;
}
.forward p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 62ch;
}

.note {
  margin-top: 2.25rem;
  font-size: .875rem;
  color: var(--ink-3);
  max-width: 74ch;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

/* ---------- about ---------- */
.about { display: grid; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 880px) { .about { grid-template-columns: minmax(0,300px) minmax(0,1fr); } }
/* the headshot's backdrop is neutralised to pure #ffffff, so it sits on the page
   with no visible edge — no tile, no rectangle */
.portrait { background: none; }
.portrait picture { display: block; position: relative; }
.portrait img { width: 100%; height: auto; display: block; }
/* just enough of a fade to soften the cut edge of the shirt — kept short and
   shallow so the photo still ends, rather than dissolving away */
.portrait picture::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 10%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 55%, rgba(255,255,255,.92) 100%);
  pointer-events: none;
}
.portrait figcaption {
  padding: 1rem 0 0;
  font-size: .82rem;
  color: var(--ink-3);
  line-height: 1.5;
}
.portrait figcaption b { display: block; color: var(--ink); font-size: .95rem; font-weight: 700; margin-bottom: .1rem; }

/* certification mark beneath the portrait */
.portrait img.cert-mark {
  width: 82px; height: auto;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  box-sizing: content-box;
}

.creds-list { margin-top: 2rem; display: grid; gap: 0; }
.creds-list li {
  display: grid;
  grid-template-columns: 1.05rem 1fr;
  gap: .8rem;
  padding: .85rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: .95rem;
  color: var(--ink-2);
}
.creds-list li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: .62rem;
  background: var(--green);
  border-radius: 50%;
}

/* ---------- contact ---------- */
#contact {
  position: relative;
  background: var(--green-deep);
  color: rgba(255,255,255,.86);
  overflow: hidden;
}
.contact__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 44%;
}
.contact__scrim {
  position: absolute; inset: 0;
  /* soft pools of shade sit under each text column so the skyline between and
     above them can stay bright without the type dropping below AA contrast */
  background:
    radial-gradient(78% 78% at 74% 46%, rgba(17,38,21,.62) 0%, rgba(17,38,21,.36) 48%, rgba(17,38,21,0) 78%),
    radial-gradient(62% 88% at 22% 44%, rgba(17,38,21,.5) 0%, rgba(17,38,21,.24) 52%, rgba(17,38,21,0) 80%),
    linear-gradient(105deg, rgba(26,58,31,.72) 0%, rgba(26,58,31,.5) 48%, rgba(26,58,31,.3) 100%),
    linear-gradient(180deg, rgba(20,44,24,.3) 0%, rgba(20,44,24,.06) 44%, rgba(20,44,24,.46) 100%);
}
#contact .wrap { position: relative; }
#contact .section-title { color: #fff; text-shadow: 0 2px 22px rgba(10,26,14,.5); }
#contact .lede { color: rgba(255,255,255,.88); }
.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.05fr .95fr; } }
.contact-details { display: grid; gap: 0; }
.contact-details div {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.contact-details div:first-child { border-top: 0; padding-top: 0; }
.contact-details dt {
  font-size: .69rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.93);
  margin-bottom: .35rem;
  text-shadow: 0 1px 10px rgba(10,26,14,.6);
}
.contact-details dd {
  margin: 0; font-size: 1.06rem; color: #fff; line-height: 1.55;
  text-shadow: 0 1px 12px rgba(10,26,14,.5);
}
#contact .eyebrow.on-dark, #contact .lede { text-shadow: 0 1px 14px rgba(10,26,14,.5); }
.contact-details a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.contact-details a:hover { text-decoration-color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.55); padding-block: 3.25rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; justify-content: space-between; }
.site-footer img { height: 30px; width: auto; opacity: .95; }
.footer-meta { font-size: .82rem; line-height: 1.6; }
.footer-meta a { color: rgba(255,255,255,.8); }
.footer-tag {
  font-family: var(--serif);
  font-size: .96rem;
  color: rgba(255,255,255,.62);
  font-style: italic;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .creds ul { grid-template-columns: 1fr 1fr; row-gap: 1.8rem; }
  .creds li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px -26px rgba(31,38,43,.5);
    padding: .5rem var(--gut) 1.4rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .95rem 0; border-top: 1px solid var(--line-soft); font-size: .9rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; border-top: 0; }
  .hero { min-height: 74vh; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .creds ul { grid-template-columns: 1fr; gap: 0; }
  .creds li {
    padding: 1.1rem 0; border-left: 0;
    border-top: 1px solid rgba(255,255,255,.16);
  }
  .creds li:first-child { padding-top: 0; border-top: 0; }
  .creds b { font-size: 1.5rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media print {
  .site-header, .hero__actions, .nav-toggle { display: none; }
  body { font-size: 11pt; color: #000; }
  .band, .creds, #contact, .site-footer { background: #fff !important; color: #000 !important; }
  .band__img, .band__scrim, .hero__scrim { display: none; }
}
