:root {
  --ink: #102a32;
  --ink-soft: #183941;
  --paper: #f7f2e9;
  --paper-bright: #fffdf8;
  --gold: #d9a441;
  --gold-pale: #f0d59b;
  --sage: #507d73;
  --sage-pale: #dce4dd;
  --clay: #b96850;
  --charcoal: #17252b;
  --line: rgba(23, 37, 43, 0.18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 8% 18%, rgba(217, 164, 65, .12), transparent 25rem),
    radial-gradient(circle at 92% 48%, rgba(80, 125, 115, .13), transparent 28rem),
    var(--paper-bright);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 50; background: white; padding: .7rem 1rem; }
.skip-link:focus { left: 10px; }

.site-header {
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--ink);
  color: white;
}
.wordmark { display: flex; align-items: center; gap: .85rem; text-decoration: none; letter-spacing: .01em; }
.wordmark > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold); color: var(--gold); font-family: Georgia, serif; }
.wordmark strong { font-size: .94rem; }
.wordmark small { color: var(--gold-pale); font-size: .72rem; margin-left: .2rem; }
nav { display: flex; align-items: center; gap: 1.7rem; }
nav a { text-decoration: none; font-size: .84rem; font-weight: 650; }
nav a:not(.nav-cta):hover { color: var(--gold-pale); }
.nav-linkedin { display: inline-flex; align-items: center; gap: .45rem; }
.nav-cta { border: 1px solid var(--gold); border-radius: 999px; padding: .55rem 1rem; color: var(--gold-pale); transition: background .3s ease, color .3s ease, transform .3s ease; }
.nav-cta:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); }
.menu-button { display: none; border: 1px solid #ffffff55; border-radius: 999px; background: rgba(255,255,255,.06); color: white; padding: .5rem .9rem; font: inherit; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.hero {
  min-height: min(780px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(320px, .87fr);
  background: var(--ink);
  color: white;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .42;
  pointer-events: none;
  animation: ambient-float 14s ease-in-out infinite alternate;
}
.hero::before { left: -13rem; top: -15rem; background: #507d73; }
.hero::after { right: 22%; bottom: -24rem; background: #b96850; animation-delay: -7s; }
.hero-copy { padding: clamp(70px, 9vw, 132px) max(32px, calc((100vw - var(--max)) / 2)); padding-right: clamp(40px, 7vw, 100px); }
.eyebrow, .section-label { margin: 0 0 1.2rem; color: #9fc8b9; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, blockquote p { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(3rem, 5.4vw, 5.7rem); line-height: 1.03; }
.intro { max-width: 720px; margin: 2rem 0; color: #d9e2e5; font-size: clamp(1.05rem, 1.4vw, 1.28rem); }
.hero-actions, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.hero-actions .button { width: 178px; }
.linkedin-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 5px; background: #0a66c2; color: white; font: 800 13px/1 Arial, sans-serif; letter-spacing: -.04em; }
.button .linkedin-icon { margin-right: .5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.3rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 800; transition: transform .3s ease, box-shadow .3s ease, background .3s ease; }
.button-primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 28px rgba(217,164,65,.22); }
.button-secondary { border-color: #ffffff65; background: rgba(255,255,255,.06); color: white; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16,42,50,.2); }
.availability { margin: 1.5rem 0 0; color: #9eb0ba; font-size: .79rem; letter-spacing: .06em; }
.hero-portrait { position: relative; min-height: 620px; margin: clamp(34px, 5vw, 70px) clamp(28px, 5vw, 72px) clamp(34px, 5vw, 70px) 0; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 30px; box-shadow: 0 32px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.25); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: portrait-float 8s ease-in-out infinite; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 27%), linear-gradient(0deg, rgba(13,27,38,.8), transparent 45%); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; filter: saturate(.75) contrast(1.03); }
.hero-portrait figcaption { position: absolute; z-index: 1; left: 2rem; right: 2rem; bottom: 1.8rem; color: #eef2ed; font-family: Georgia, serif; font-size: 1.02rem; font-style: italic; }

.section { max-width: var(--max); margin: clamp(26px, 4vw, 58px) auto; padding: clamp(70px, 9vw, 120px) clamp(24px, 4vw, 54px); border: 1px solid rgba(255,255,255,.72); border-radius: 34px; background: rgba(255,253,248,.62); box-shadow: 0 24px 70px rgba(16,42,50,.08), inset 0 1px 0 white; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 130px); }
h2 { margin: 0; max-width: 780px; font-size: clamp(2.4rem, 4.5vw, 4.5rem); line-height: 1.08; }
.prose p { margin: 0 0 1.4rem; font-size: 1.08rem; }
.prose p:first-child::first-letter { float: left; margin: .08em .11em 0 0; color: var(--gold); font: 4.2rem/.75 Georgia, serif; }

.impact { background: linear-gradient(145deg, rgba(247,242,233,.78), rgba(220,228,221,.65)); }
.section-heading { display: grid; grid-template-columns: .52fr 1.48fr; align-items: start; margin-bottom: 4rem; }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.impact-card { min-height: 310px; padding: clamp(28px, 4vw, 52px); overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 26px; background: rgba(255,255,255,.48); box-shadow: 0 18px 45px rgba(16,42,50,.09), inset 0 1px 0 white; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease; }
.impact-card:hover { transform: translateY(-8px); border-color: rgba(217,164,65,.55); box-shadow: 0 30px 60px rgba(16,42,50,.15), inset 0 1px 0 white; }
.impact-card.feature { background: linear-gradient(145deg, rgba(16,42,50,.96), rgba(35,66,63,.9)); border-color: rgba(255,255,255,.18); color: white; }
.card-number { margin: 0 0 3rem; color: var(--clay); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.impact-card.feature .card-number { color: var(--gold); }
.impact-card h3 { max-width: 470px; margin: 0 0 1rem; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 400; line-height: 1.15; }
.impact-card p:last-child { max-width: 520px; margin-bottom: 0; }
.impact-card.feature p:last-child { color: #d6e0e3; }

.philosophy { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(35,66,63,.97), rgba(16,42,50,.96)); border-color: rgba(255,255,255,.12); color: white; box-shadow: 0 30px 80px rgba(16,42,50,.22); }
.philosophy::after { content: ""; position: absolute; width: 25rem; height: 25rem; right: -10rem; top: -12rem; border-radius: 50%; background: rgba(217,164,65,.13); filter: blur(5px); }
.quote-mark { height: 55px; color: var(--gold); font: 7rem/.8 Georgia, serif; }
.quote-close { width: 100%; margin: -6.5rem 0 2.5rem; padding-right: .1rem; text-align: right; }
blockquote { max-width: 1050px; margin: 1rem 0 5rem; }
blockquote p { margin: 0; font-size: clamp(2.1rem, 4.2vw, 4.2rem); line-height: 1.14; }
blockquote footer { max-width: 760px; margin-top: 2rem; color: #b8cac8; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ffffff30; }
.principles article { margin: 1rem .8rem 0 0; padding: 1.5rem; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .35s ease, border-color .35s ease; }
.principles article:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.42); }
.principles article:nth-child(1) { background: linear-gradient(145deg, rgba(80,125,115,.5), rgba(80,125,115,.22)); }
.principles article:nth-child(2) { background: linear-gradient(145deg, rgba(51,93,143,.5), rgba(51,93,143,.2)); }
.principles article:nth-child(3) { background: linear-gradient(145deg, rgba(185,104,80,.48), rgba(185,104,80,.2)); }
.principles article:nth-child(4) { background: linear-gradient(145deg, rgba(217,164,65,.42), rgba(217,164,65,.16)); }
.principles span { color: var(--gold); font-size: .68rem; font-weight: 800; }
.principles h3 { margin: .7rem 0 .5rem; font-size: 1.02rem; }
.principles p { margin: 0; color: #b8cac8; font-size: .9rem; }

.timeline { margin-top: 2rem; border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: .52fr 1.48fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.timeline p { margin: 0; }
.date { color: #5c6b73; font-size: .85rem; font-weight: 750; }
.timeline h3 { margin: 0 0 .35rem; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.timeline h3 span { display: block; color: #68777e; font-family: Inter, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.credentials { margin-top: 3.5rem; padding: 2rem; background: rgba(220,228,221,.68); border: 1px solid rgba(255,255,255,.9); border-left: 4px solid var(--gold); border-radius: 0 22px 22px 0; box-shadow: 0 18px 45px rgba(16,42,50,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.credentials .section-label { margin-bottom: .7rem; color: #64786e; }
.credentials h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 400; }

.human { display: grid; grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: center; border-top: 1px solid var(--line); }
.human-copy > p:last-child { max-width: 690px; margin-top: 1.8rem; }
.human aside { padding: 3.5rem 2.5rem; background: rgba(220,228,221,.66); border: 1px solid rgba(255,255,255,.9); border-top: 6px solid var(--clay); border-radius: 24px; box-shadow: 0 22px 55px rgba(16,42,50,.11); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: rotate(1.2deg); transition: transform .45s ease; }
.human aside:hover { transform: rotate(0deg) translateY(-5px); }
.human aside p { margin: 0; color: #24413e; font: italic clamp(1.6rem, 3vw, 2.5rem)/1.25 Georgia, serif; }

.contact { padding: clamp(75px, 9vw, 120px) max(24px, calc((100vw - var(--max)) / 2)); background: var(--gold); }
.contact .section-label { color: #40534b; }
.contact h2 { max-width: 980px; }
.contact-actions { margin-top: 2.5rem; }
.button-light { background: var(--ink); color: white; }
.text-link { padding: .7rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .3rem; }
.site-footer { min-height: 90px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--ink); color: #aab8bd; font-size: .78rem; }
.site-footer a { color: white; text-decoration: none; }
.back-to-top { position: fixed; z-index: 30; right: clamp(18px, 3vw, 42px); bottom: clamp(18px, 3vw, 38px); display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: rgba(16,42,50,.82); color: white; box-shadow: 0 14px 38px rgba(16,42,50,.28), inset 0 1px 0 rgba(255,255,255,.24); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-decoration: none; font-size: .78rem; font-weight: 800; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .3s ease; }
.back-to-top span:first-child { color: var(--gold); font-size: 1.05rem; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); transform: translateY(-3px); }
.back-to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.impact-card.reveal:nth-child(2) { transition-delay: .08s; }
.impact-card.reveal:nth-child(3) { transition-delay: .16s; }
.impact-card.reveal:nth-child(4) { transition-delay: .24s; }

@keyframes ambient-float {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(45px,32px,0) scale(1.1); }
}
@keyframes portrait-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { display: none; position: absolute; z-index: 20; top: 82px; left: 0; right: 0; padding: 1.5rem 24px 2rem; flex-direction: column; align-items: flex-start; background: var(--ink); border-top: 1px solid #ffffff22; }
  nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 76px 24px 56px; }
  .hero-portrait { min-height: 560px; margin: 0 24px 42px; }
  .hero-portrait::after { background: linear-gradient(0deg, rgba(13,27,38,.8), transparent 45%); }
  .about, .human { grid-template-columns: 1fr; gap: 3rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wordmark strong { display: none; }
  .hero-portrait { min-height: 500px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section { margin-left: 12px; margin-right: 12px; border-radius: 24px; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-card { min-height: 0; }
  .principles { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 1fr; gap: .7rem; }
  .human { gap: 2.5rem; }
  .site-footer { padding-top: 1.5rem; padding-bottom: 1.5rem; flex-direction: column; align-items: flex-start; }
  .back-to-top { width: 48px; padding: 0; justify-content: center; }
  .back-to-top span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

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