:root {
  --navy: #132238;
  --navy-2: #1b304d;
  --ink: #182331;
  --muted: #5e6874;
  --paper: #fbfaf7;
  --soft: #f1f3f2;
  --white: #ffffff;
  --sage: #7f9488;
  --sage-dark: #536d62;
  --gold: #b58a4a;
  --line: #dfe3e1;
  --shadow: 0 20px 55px rgba(16, 34, 54, .12);
  --radius: 24px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin: 0 auto; }
.section-pad { padding: 108px 0; }
.soft { background: var(--soft); }
.navy { background: var(--navy); color: var(--white); }

.skip-link {
  position: fixed; left: 16px; top: 10px; z-index: 999;
  transform: translateY(-160%); background: var(--navy); color: white;
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(19, 34, 56, .08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: white; font-weight: 800; letter-spacing: .06em; font-size: 14px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 15px; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 650; color: #354252; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--sage-dark); }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(19,34,56,.16); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

.hero { position: relative; overflow: hidden; padding-top: 92px; }
.hero::before {
  content: ""; position: absolute; width: 680px; height: 680px; border-radius: 50%;
  right: -240px; top: -240px; background: radial-gradient(circle, rgba(127,148,136,.23), rgba(127,148,136,0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 76px; align-items: center; }
.eyebrow {
  margin: 0 0 18px; color: var(--sage-dark); text-transform: uppercase;
  letter-spacing: .14em; font-weight: 800; font-size: 12px;
}
.hero h1 {
  margin: 0; max-width: 800px; font-family: Georgia, "Times New Roman", serif;
  font-weight: 500; font-size: clamp(48px, 6.3vw, 78px); line-height: 1.01; letter-spacing: -.035em;
}
.hero h1 span { color: var(--sage-dark); }
.hero-lede { max-width: 760px; margin: 28px 0 0; font-size: 19px; color: #465362; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 0 20px;
  border-radius: 12px; text-decoration: none; font-weight: 750; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--navy); color: white; box-shadow: 0 10px 24px rgba(19,34,56,.15); }
.button.primary:hover { background: var(--navy-2); }
.button.secondary { background: transparent; color: var(--navy); border: 1px solid #cfd5d2; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 13px; }
.hero-meta span { position: relative; }
.hero-meta span + span::before { content: "•"; position: absolute; left: -13px; color: var(--gold); }

.hero-panel {
  background: var(--navy); color: white; border-radius: 28px; padding: 38px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-panel::after { content: "NU"; position: absolute; right: -10px; bottom: -65px; font: 700 160px/1 Georgia, serif; color: rgba(255,255,255,.035); }
.panel-topline { width: 74px; height: 4px; border-radius: 999px; background: var(--gold); margin-bottom: 34px; }
.mini-label { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 11px; color: #bdc9c2; }
.hero-panel h2 { font: 500 31px/1.23 Georgia, serif; margin: 10px 0 30px; letter-spacing: -.02em; }
.focus-list { display: grid; gap: 22px; }
.focus-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.focus-list span { color: #d5bc91; font-weight: 800; font-size: 12px; padding-top: 3px; }
.focus-list p { margin: 0; color: #d9e1dd; font-size: 14px; line-height: 1.6; }
.focus-list strong { color: white; }

.proof-strip { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof-grid > div { padding: 27px 22px; border-right: 1px solid var(--line); text-align: center; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { display: block; font: 600 27px/1 Georgia, serif; color: var(--navy); }
.proof-grid span { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

.two-col { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.section-heading h2 { margin: 0; font: 500 clamp(38px, 4.4vw, 56px)/1.08 Georgia, serif; letter-spacing: -.03em; color: var(--navy); }
.section-heading.wide { max-width: 820px; margin-bottom: 44px; }
.section-heading.wide > p:last-child { max-width: 720px; color: var(--muted); font-size: 18px; }
.section-heading.light h2 { color: white; }
.section-heading.light > p:last-child { color: #cbd5d0; }
.navy .eyebrow { color: #d2ba90; }
.prose { font-size: 18px; color: #4b5765; }
.prose p { margin: 0 0 22px; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; min-height: 330px; display: flex; flex-direction: column; }
.case-kicker { margin: 0 0 16px; color: var(--sage-dark); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; }
.case-card h3 { margin: 0 0 16px; font: 500 29px/1.2 Georgia, serif; color: var(--navy); }
.case-card > p:not(.case-kicker) { color: var(--muted); margin: 0; }
.case-result { margin-top: auto; padding-top: 32px; display: flex; align-items: baseline; gap: 10px; }
.case-result strong { color: var(--navy); font: 600 30px/1 Georgia, serif; }
.case-result span { color: var(--muted); font-size: 13px; }

.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 170px 1fr; gap: 44px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.timeline-date { color: var(--sage-dark); text-transform: uppercase; letter-spacing: .11em; font-weight: 800; font-size: 12px; padding-top: 6px; }
.role-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; }
.timeline h3 { margin: 0; color: var(--navy); font: 500 30px/1.2 Georgia, serif; }
.company { margin: 6px 0 0; color: var(--sage-dark); font-weight: 750; }
.role-tag { white-space: nowrap; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.timeline-body > p { color: var(--muted); max-width: 830px; }
.timeline ul { margin: 18px 0 0; padding-left: 20px; color: #495563; }
.timeline li + li { margin-top: 8px; }

.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fit-card { border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 31px; background: rgba(255,255,255,.035); }
.fit-number { color: #d2ba90; font-size: 11px; letter-spacing: .14em; font-weight: 800; }
.fit-card h3 { margin: 18px 0 12px; font: 500 27px/1.18 Georgia, serif; }
.fit-card p { margin: 0; color: #cbd5d0; }

.skills-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 11px; }
.skill-cloud span { padding: 10px 13px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: 13px; color: #475463; box-shadow: 0 5px 16px rgba(19,34,56,.04); }

.credentials-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.credential-stack { display: grid; gap: 14px; }
.credential-stack article { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; }
.credential-type { margin: 0 0 7px; color: var(--sage-dark); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 10px; }
.credential-stack h3 { margin: 0; color: var(--navy); font: 500 24px/1.2 Georgia, serif; }
.credential-stack article > p:last-child { margin: 7px 0 0; color: var(--muted); }

.contact { background: linear-gradient(180deg, var(--paper), #f4f1eb); }
.contact-card { background: white; border: 1px solid var(--line); border-radius: 30px; padding: 48px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; box-shadow: var(--shadow); }
.contact-card h2 { margin: 0; max-width: 720px; font: 500 clamp(34px, 4.3vw, 51px)/1.08 Georgia, serif; letter-spacing: -.03em; color: var(--navy); }
.contact-card p:not(.eyebrow) { max-width: 690px; color: var(--muted); }
.contact-actions { display: grid; gap: 10px; }

.site-footer { background: #0e1a2b; color: #aeb9b3; font-size: 12px; }
.footer-row { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row a { color: white; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 940px) {
  .section-pad { padding: 82px 0; }
  .hero-grid, .two-col, .skills-layout, .credentials-grid, .contact-card { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 720px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid > div:nth-child(3) { border-right: 0; }
  .proof-grid > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .timeline-item { grid-template-columns: 110px 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .nav-wrap { min-height: 72px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 14px; right: 14px; top: 68px; background: white; border: 1px solid var(--line);
    border-radius: 18px; padding: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 10px; }
  .nav-cta { text-align: center; margin-top: 4px; }
  .hero { padding-top: 64px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .hero-lede { font-size: 17px; }
  .hero-panel { padding: 28px; border-radius: 22px; }
  .hero-panel h2 { font-size: 28px; }
  .hero-meta { display: grid; gap: 5px; }
  .hero-meta span + span::before { display: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { border-top: 1px solid var(--line); }
  .proof-grid > div:nth-child(1), .proof-grid > div:nth-child(2) { border-top: 0; }
  .proof-grid > div:nth-child(2n) { border-right: 0; }
  .proof-grid > div:nth-child(3) { border-right: 1px solid var(--line); }
  .case-grid, .fit-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
  .role-row { display: block; }
  .role-tag { display: inline-flex; margin-top: 14px; }
  .contact-card { padding: 30px 24px; }
  .footer-row { padding: 28px 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { border-right: 0 !important; }
  .proof-grid > div:nth-child(2) { border-top: 1px solid var(--line); }
  .hero-actions .button { width: 100%; }
  .case-card { padding: 27px; min-height: 0; }
  .case-card h3 { font-size: 26px; }
}

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

/* v2 portfolio additions */
.hero-sublede { max-width: 760px; margin: 14px 0 0; font-size: 15px; color: #5b6672; line-height: 1.75; }
.proof-grid-six { grid-template-columns: repeat(6, 1fr); }
.proof-grid-six strong { font-size: 23px; }
.project-stack { display: grid; gap: 22px; }
.project-card {
  display: grid; grid-template-columns: .72fr 1.28fr; gap: 0;
  background: white; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 10px 34px rgba(19,34,56,.04);
}
.project-side { padding: 36px; background: #f7f8f6; border-right: 1px solid var(--line); }
.project-side h3 { margin: 0 0 24px; color: var(--navy); font: 500 31px/1.16 Georgia, serif; letter-spacing: -.02em; }
.project-status { display: inline-flex; padding: 7px 10px; border-radius: 999px; border: 1px solid #d8ddda; color: var(--muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.project-body { padding: 34px 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-content: start; }
.project-block h4 { margin: 0 0 9px; color: var(--navy); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.project-block p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.highlight-block { padding-left: 18px; border-left: 3px solid var(--sage); }
.project-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 7px; }
.project-tags span { padding: 7px 9px; border-radius: 999px; background: var(--soft); color: #53606c; font-size: 10px; font-weight: 750; letter-spacing: .03em; }
.featured-project { border-color: #cdd7d1; box-shadow: 0 18px 46px rgba(19,34,56,.08); }
.featured-project .project-side { background: var(--navy); color: white; border-right-color: rgba(255,255,255,.08); }
.featured-project .project-side h3 { color: white; }
.featured-project .project-side .case-kicker { color: #d2ba90; }
.featured-project .project-status { color: #dfe7e3; border-color: rgba(255,255,255,.2); }
.big-result { margin: 28px 0 24px; display: grid; gap: 4px; }
.big-result strong { font: 600 31px/1.05 Georgia, serif; color: white; }
.big-result span { color: #bcc9c3; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.compact-role { padding-top: 28px; padding-bottom: 28px; }
.skill-groups { display: grid; gap: 28px; }
.skill-group h3 { margin: 0 0 12px; color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.recognition-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.section-note { color: var(--muted); max-width: 480px; }

@media (max-width: 1100px) {
  .proof-grid-six { grid-template-columns: repeat(3, 1fr); }
  .proof-grid-six > div:nth-child(3) { border-right: 0; }
  .proof-grid-six > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .project-body { grid-template-columns: 1fr; }
  .project-tags { grid-column: auto; }
}

@media (max-width: 940px) {
  .recognition-grid { grid-template-columns: 1fr; gap: 44px; }
  .project-card { grid-template-columns: 1fr; }
  .project-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-body { grid-template-columns: repeat(3, 1fr); }
  .project-tags { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .proof-grid-six { grid-template-columns: repeat(2, 1fr); }
  .proof-grid-six > div:nth-child(3) { border-right: 1px solid var(--line); }
  .proof-grid-six > div:nth-child(2n) { border-right: 0; }
  .project-side, .project-body { padding: 27px; }
  .project-side h3 { font-size: 28px; }
  .project-body { grid-template-columns: 1fr; gap: 20px; }
  .project-tags { grid-column: auto; }
}

@media (max-width: 430px) {
  .proof-grid-six { grid-template-columns: 1fr; }
  .proof-grid-six > div { border-right: 0 !important; }
}
