@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

:root {
  color-scheme: light;
  --ink: #142332;
  --ink-soft: #21384a;
  --text: #263542;
  --muted: #687782;
  --paper: #f6f5f0;
  --white: #fffefa;
  --line: #dce2de;
  --teal: #087f73;
  --mint: #a4ead9;
  --coral: #f0a17c;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; left: 1rem; top: -5rem; padding: .75rem 1rem; background: white; color: var(--ink); }
.skip-link:focus { top: 1rem; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-light { color: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 5.65rem); }
h2 { font-size: clamp(2.35rem, 4vw, 3.65rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; }
.small { color: var(--muted); font-size: .9rem; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(20,35,50,.08); background: rgba(246,245,240,.94); backdrop-filter: blur(16px); }
.nav-wrap { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px 13px 13px 4px; background: var(--ink); color: var(--mint); font-size: .9rem; font-weight: 700; letter-spacing: -.04em; }
.brand-name { display: block; font-size: .95rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.brand-sub { display: block; margin-top: .25rem; color: var(--muted); font-size: .68rem; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav-links a { color: #45545e; font-size: .88rem; font-weight: 600; text-decoration: none; transition: color .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); }
.nav-links .nav-cta { border: 1px solid #b9c7c2; border-radius: 999px; padding: .65rem 1rem; color: var(--ink); }
.nav-links .nav-cta:hover { border-color: var(--teal); background: var(--teal); color: white; }
.nav-course-menu { position: relative; display: flex; align-items: center; }
.nav-course-menu > a { color: #45545e; font-size: .88rem; font-weight: 600; text-decoration: none; }
.nav-course-menu > a:hover, .nav-course-menu > a[aria-current="page"] { color: var(--teal); }
.nav-submenu { position: absolute; top: 100%; left: -.65rem; z-index: 20; min-width: 220px; padding-top: .5rem; opacity: 0; pointer-events: none; transform: translateY(-.25rem); visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.nav-course-menu:hover .nav-submenu, .nav-course-menu:focus-within .nav-submenu { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
.nav-links .nav-submenu-link { display: block; border: 1px solid var(--line); border-radius: 10px; padding: .72rem .85rem; background: var(--white); box-shadow: 0 14px 34px rgba(20,35,50,.14); color: var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-links .nav-submenu-link:hover { background: #edf4f0; color: var(--teal); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: white; }
.hero::before { position: absolute; top: -24rem; right: -13rem; width: 56rem; height: 56rem; border: 1px solid rgba(164,234,217,.12); border-radius: 50%; content: ''; }
.hero::after { position: absolute; top: -15rem; right: -4rem; width: 39rem; height: 39rem; border: 1px solid rgba(164,234,217,.09); border-radius: 50%; content: ''; }
.hero-grid { position: relative; z-index: 1; display: grid; min-height: 670px; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; padding-block: 5.5rem 6rem; }
.hero h1 { max-width: 780px; margin-bottom: 1.5rem; color: white; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-copy .lead { max-width: 620px; margin-bottom: 2rem; color: #c0cbd0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: .6rem; border: 1px solid transparent; border-radius: 999px; padding: .78rem 1.25rem; background: var(--mint); color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #c2f4e9; }
.button-secondary { border-color: rgba(255,255,255,.28); background: transparent; color: white; }
.button-secondary:hover { background: rgba(255,255,255,.1); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--ink-soft); }
.hero-note { margin: 2rem 0 0; color: #a8b6bd; font-size: .86rem; }
.hero-note strong { color: white; font-weight: 600; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 430px); }
.signal-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 25px; padding: 1.5rem; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: 0 28px 90px rgba(0,0,0,.2); }
.signal-card-top { display: flex; align-items: center; justify-content: space-between; color: #c1d0d3; font-size: .73rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.signal-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(164,234,217,.13); }
.signal-graphic { position: relative; display: grid; min-height: 270px; place-items: center; margin-block: 1rem .7rem; }
.signal-graphic svg { width: 100%; max-width: 325px; }
.signal-caption { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1rem; color: #cad6d7; font-size: .8rem; }
.signal-caption span:last-child { color: var(--mint); }
.hero-index { position: absolute; right: -1.25rem; bottom: -1.25rem; display: grid; width: 74px; height: 74px; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); font-family: var(--serif); font-size: 1.7rem; transform: rotate(9deg); }

.section { padding-block: clamp(4.75rem, 9vw, 7.5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 650px; margin-bottom: 0; }
.section-heading p { max-width: 380px; margin-bottom: .2rem; color: var(--muted); }
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-card { min-height: 265px; border: 1px solid var(--line); border-radius: 17px; padding: 1.5rem; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,35,50,.08); }
.service-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 2rem; border-radius: 14px; background: #e3f3ee; color: var(--teal); }
.service-icon svg { width: 23px; height: 23px; }
.service-card h3 { margin-bottom: .65rem; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

.approach { background: #e9eee9; }
.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; align-items: start; }
.approach-intro h2 { margin-bottom: 1rem; }
.approach-intro p:last-child { color: var(--muted); }
.steps { border-top: 1px solid #cbd5cf; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; border-bottom: 1px solid #cbd5cf; padding: 1.45rem 0; }
.step-number { color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.step h3 { margin: -.2rem 0 .35rem; }
.step p { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.experience-preview { background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.proof-card { min-height: 245px; padding: 1.8rem; background: var(--white); }
.proof-kicker { margin-bottom: 2.2rem; color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.proof-card h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.proof-card p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.section-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.8rem; color: var(--teal); font-size: .9rem; font-weight: 700; text-decoration: none; }
.section-link:hover { text-decoration: underline; }

.book-section { overflow: hidden; background: var(--ink-soft); color: white; }
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 5rem; }
.book-art { position: relative; display: grid; min-height: 340px; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: radial-gradient(circle at 72% 22%, rgba(164,234,217,.22), transparent 35%), linear-gradient(155deg, #243f50, #142332 70%); }
.book-art::before, .book-art::after { position: absolute; width: 245px; height: 245px; border: 1px solid rgba(164,234,217,.32); border-radius: 50%; content: ''; }
.book-art::before { transform: translate(45px,-20px); }
.book-art::after { width: 175px; height: 175px; transform: translate(-15px,50px); }
.book-mark { position: relative; z-index: 1; max-width: 245px; text-align: center; }
.book-mark small { display: block; margin-bottom: .75rem; color: var(--mint); font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.book-mark strong { display: block; color: white; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.book-mark span { display: block; margin-top: 1.1rem; color: #d5e3e0; font-size: .78rem; letter-spacing: .12em; }
.book-copy .eyebrow { margin-bottom: .85rem; }
.book-copy h2 { max-width: 680px; margin-bottom: 1rem; color: white; font-size: clamp(2.15rem, 4vw, 3.2rem); }
.book-copy p { max-width: 650px; margin-bottom: 1.6rem; color: #c2cfd2; }

.about-band { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy p { color: var(--muted); }
.credential-list { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-top: 1.5rem; }
.credential { border-top: 2px solid var(--teal); padding-top: .8rem; }
.credential strong { display: block; color: var(--ink); font-size: .9rem; }
.credential span { color: var(--muted); font-size: .77rem; }
.about-note { border-left: 1px solid #cbd5cf; padding-left: 2rem; color: var(--muted); font-size: 1.06rem; }
.about-note p:last-child { margin-bottom: 0; }

.contact-section { background: #e9eee9; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.contact-intro h2 { margin-bottom: 1rem; }
.contact-intro p { color: var(--muted); }
.contact-details { margin-top: 2rem; }
.contact-details a { color: var(--teal); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-details small { display: block; margin-top: .5rem; color: var(--muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); box-shadow: 0 18px 48px rgba(20,35,50,.06); }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: .82rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #cbd5cf; border-radius: 9px; padding: .82rem .9rem; background: white; color: var(--ink); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #89959a; }
.form-note { grid-column: 1 / -1; margin: -.15rem 0 0; color: var(--muted); font-size: .75rem; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }

.page-hero { padding-block: clamp(4.25rem, 8vw, 7rem); background: var(--ink); color: white; }
.page-hero h1 { max-width: 920px; margin-bottom: 1.2rem; color: white; }
.page-hero .lead { max-width: 740px; margin-bottom: 0; color: #c4d0d3; }
.content-section { padding-block: 4rem 6rem; }
.timeline { border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 230px 1fr; gap: 2.5rem; border-bottom: 1px solid var(--line); padding: 2rem 0; }
.role-date { color: var(--teal); font-size: .85rem; font-weight: 700; }
.role h2 { margin-bottom: .25rem; font-family: var(--sans); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.role-org { margin-bottom: 1rem; color: var(--muted); font-size: .91rem; }
.role ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.role li + li { margin-top: .55rem; }
.resume-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 4rem; }
.resume-panel { border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; background: var(--white); }
.resume-panel h2 { margin-bottom: 1rem; font-size: 1.8rem; }
.resume-panel p, .resume-panel li { color: var(--muted); font-size: .92rem; }
.resume-panel ul { margin-bottom: 0; padding-left: 1.15rem; }
.resume-panel li + li { margin-top: .5rem; }
.education-item { border-top: 1px solid var(--line); padding: .9rem 0; }
.education-item strong { display: block; color: var(--ink); }
.education-item span { color: var(--muted); font-size: .83rem; }
.course-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.course-panel { border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; background: var(--white); }
.course-panel .degree-date { color: var(--teal); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.course-panel h2 { margin: .5rem 0 1rem; font-size: 1.7rem; }
.course-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.project-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.project-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; background: var(--white); }
.project-video { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--ink); }
.project-video iframe { width: 100%; height: 100%; border: 0; }
.project-copy { padding: 1rem; }
.project-copy h2 { margin-bottom: .6rem; font-size: 2rem; }
.project-copy p { margin-bottom: .75rem; color: var(--muted); }
.project-course { color: var(--teal) !important; font-size: .83rem; font-weight: 700; }
.thank-you { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.thank-you-card { max-width: 640px; padding-block: 4rem; }
.thank-you-card h1 { font-size: clamp(2.8rem,6vw,4rem); }

.site-footer { border-top: 1px solid rgba(255,255,255,.12); padding-block: 2rem; background: var(--ink); color: #bdc8ca; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-wrap p { margin: 0; font-size: .8rem; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { color: #dce5e3; font-size: .8rem; text-decoration: none; }
.footer-links a:hover { color: var(--mint); }

@media (max-width: 900px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 3rem; padding-block: 5rem; }
  .hero-visual { justify-self: start; width: min(100%, 520px); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .approach-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-grid { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
  .role { grid-template-columns: 180px 1fr; gap: 1.5rem; }
}
@media (min-width: 681px) and (max-width: 980px) {
  .nav-wrap { position: relative; min-height: 76px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; background: var(--paper); }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links a { padding: .75rem 1rem; }
  .nav-links .nav-cta { align-self: flex-start; margin: .4rem 1rem 0; }
  .nav-course-menu { align-items: stretch; flex-direction: column; gap: 0; padding-block: .25rem; }
  .nav-course-menu > a { padding: .75rem 1rem; }
  .nav-submenu { position: static; min-width: 0; padding: 0 0 .25rem 1.1rem; opacity: 1; pointer-events: auto; transform: none; visibility: visible; transition: none; }
  .nav-links .nav-submenu-link { border: 0; border-left: 1px solid #a9c8be; border-radius: 0; padding: .25rem .65rem; background: transparent; box-shadow: none; color: #647a78; font-size: .82rem; }
}
@media (max-width: 680px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; background: var(--paper); }
  .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links a { padding: .75rem 1rem; }
  .nav-links .nav-cta { align-self: flex-start; margin: .4rem 1rem 0; }
  .nav-course-menu { align-items: stretch; flex-direction: column; gap: 0; padding-block: .25rem; }
  .nav-course-menu > a { padding: .75rem 1rem; }
  .nav-submenu { position: static; min-width: 0; padding: 0 0 .25rem 1.1rem; opacity: 1; pointer-events: auto; transform: none; visibility: visible; transition: none; }
  .nav-links .nav-submenu-link { border: 0; border-left: 1px solid #a9c8be; border-radius: 0; padding: .25rem .65rem; background: transparent; box-shadow: none; color: #647a78; font-size: .82rem; }
  .hero-grid { padding-block: 4rem; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .service-grid, .proof-grid, .book-grid, .credential-list, .resume-grid, .course-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 1.2rem; }
  .book-art { min-height: 290px; }
  .about-note { padding-left: 1.2rem; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field.full, .form-note { grid-column: auto; }
  .role { grid-template-columns: 1fr; gap: .55rem; }
  .course-panel ul { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; gap: .5rem; }
  .project-copy { padding: .8rem; }
  .footer-wrap { align-items: flex-start; flex-direction: column; gap: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Fun projects: two alternating product stories with interface previews. */
.personal-projects-hero { position: relative; overflow: hidden; }
.personal-projects-hero::after { position: absolute; top: -17rem; right: -10rem; width: 42rem; height: 42rem; border: 1px solid rgba(164,234,217,.13); border-radius: 50%; content: ''; }
.personal-projects-hero .wrap { position: relative; z-index: 1; }
.personal-projects-hero h1 { max-width: 940px; }
.personal-projects-hero .lead { max-width: 710px; }
.personal-projects-content { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--white); }
.personal-project-list { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.personal-project-feature { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.project-feature-reversed { grid-template-columns: .88fr 1.12fr; }
.project-feature-reversed .project-visual { grid-column: 2; grid-row: 1; }
.project-feature-reversed .personal-project-copy { grid-column: 1; grid-row: 1; }
.project-visual { min-width: 0; margin: 0; border: 1px solid #d9e1dc; border-radius: 21px; padding: .75rem; background: #f3f5f0; box-shadow: 0 24px 60px rgba(20,35,50,.1); }
.project-visual-label { margin: 0 0 .55rem .25rem; color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-browser-frame { overflow: hidden; border: 1px solid rgba(20,35,50,.12); border-radius: 13px; background: white; box-shadow: 0 4px 12px rgba(20,35,50,.06); }
.project-browser-bar { display: flex; height: 38px; align-items: center; gap: .8rem; border-bottom: 1px solid #e5eae6; padding: 0 .8rem; background: #fbfcfa; }
.browser-dots { display: flex; flex: 0 0 auto; gap: 4px; }
.browser-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d5ddda; }
.browser-dots i:first-child { background: #efad97; }
.browser-dots i:nth-child(2) { background: #e9cf84; }
.browser-dots i:nth-child(3) { background: #a9cbb0; }
.browser-address { overflow: hidden; width: min(100%, 320px); border: 1px solid #e8ece9; border-radius: 5px; padding: .12rem .55rem; background: white; color: #84918b; font-size: .63rem; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.project-visual figcaption { margin: .6rem .25rem .05rem; color: var(--muted); font-size: .76rem; }

.fieldscout-screen { padding: 0 1rem 1rem; background: #f7f8f3; color: #293d33; font-family: var(--sans); }
.fieldscout-nav { display: flex; min-height: 48px; align-items: center; gap: 1.2rem; border-bottom: 1px solid #e5e9df; font-size: .68rem; }
.fieldscout-brand { display: inline-flex; align-items: center; gap: .35rem; color: #314b3b; font-size: .82rem; font-weight: 800; letter-spacing: -.04em; }
.fieldscout-ball { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #54765b; border-radius: 50%; color: #54765b; font-size: .7rem; }
.fieldscout-nav-item { color: #5e6d61; }
.fieldscout-nav-item:first-of-type { border-bottom: 2px solid #73936f; padding-block: .9rem .75rem; color: #334e3b; font-weight: 700; }
.fieldscout-banner { position: relative; display: flex; min-height: 137px; align-items: center; justify-content: space-between; overflow: hidden; border-radius: 9px; margin-top: .8rem; padding: 1rem 1.2rem; background: linear-gradient(105deg, #e4ead1, #f1f1dc 65%, #e2ead7); }
.fieldscout-banner::after { position: absolute; right: -1.5rem; bottom: -4.7rem; width: 20rem; height: 8rem; border-radius: 50%; background: rgba(80,121,81,.12); content: ''; }
.fieldscout-banner p { position: relative; z-index: 1; margin: 0 0 .25rem; color: #597159; font-size: .53rem; font-weight: 800; letter-spacing: .1em; }
.fieldscout-banner h2 { position: relative; z-index: 1; margin: 0 0 .25rem; color: #294735; font-family: var(--sans); font-size: clamp(1.05rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.03; }
.fieldscout-banner span { position: relative; z-index: 1; color: #687765; font-size: .64rem; }
.fieldscout-pitch { position: relative; z-index: 1; width: 44%; align-self: end; margin: 0 -.5rem -.55rem 0; }
.fieldscout-filter { display: grid; grid-template-columns: .72fr 1.5fr .55fr; align-items: center; gap: .5rem; border: 1px solid #e6e9e0; border-radius: 8px; margin-top: .65rem; padding: .52rem .7rem; background: white; }
.filter-label, .filter-count { color: #89948a; font-size: .52rem; font-weight: 700; letter-spacing: .06em; }
.filter-value { display: flex; justify-content: space-between; border: 1px solid #e6e9e0; border-radius: 5px; padding: .35rem .45rem; color: #4d5e50; font-size: .63rem; }
.filter-value b { font-weight: 500; }
.filter-count { text-align: right; }
.fieldscout-results-head { display: flex; justify-content: space-between; margin: .8rem .15rem .32rem; color: #758477; font-size: .51rem; font-weight: 800; letter-spacing: .07em; }
.fieldscout-result { display: flex; align-items: center; gap: .6rem; border-top: 1px solid #e8ebe4; padding: .52rem .25rem; }
.event-mark { color: #718d68; font-size: .7rem; }
.event-mark-alt { color: #d49b6c; }
.fieldscout-result strong, .fieldscout-result small { display: block; }
.fieldscout-result strong { color: #415344; font-size: .63rem; font-weight: 700; }
.fieldscout-result small { margin-top: .08rem; color: #869187; font-size: .54rem; }
.source-pill { margin-left: auto; border: 1px solid #dce6dd; border-radius: 99px; padding: .2rem .45rem; color: #5e8067; font-size: .52rem; }

.relayrunner-screen { padding: 0 1rem 1rem; background: #f7f8fa; color: #233143; font-family: var(--sans); }
.relayrunner-topline { display: flex; min-height: 48px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8ecf0; }
.relayrunner-brand { display: flex; align-items: center; gap: .42rem; color: #1c3042; font-size: .78rem; font-weight: 800; letter-spacing: -.025em; }
.relayrunner-mark { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; background: #dcebe8; color: #176e66; font-family: var(--serif); font-size: .8rem; }
.view-only-label { color: #758391; font-size: .51rem; font-weight: 800; letter-spacing: .1em; }
.relayrunner-heading { display: flex; align-items: center; justify-content: space-between; padding: .9rem .15rem .7rem; }
.relayrunner-heading p { margin: 0 0 .16rem; color: #668179; font-size: .5rem; font-weight: 800; letter-spacing: .1em; }
.relayrunner-heading h3 { margin: 0; color: #223546; font-size: clamp(.95rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -.035em; }
.relay-route-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dbe6e5; border-radius: 50%; color: #317c73; }
.relay-route-icon svg { width: 27px; height: 27px; }
.relay-metrics { display: grid; grid-template-columns: .7fr .7fr 1.5fr; border: 1px solid #e5eaed; border-radius: 8px; background: white; }
.relay-metrics div { min-width: 0; border-right: 1px solid #e9edef; padding: .55rem .65rem; }
.relay-metrics div:last-child { border-right: 0; }
.relay-metrics span, .relay-metrics strong { display: block; }
.relay-metrics span { margin-bottom: .14rem; color: #84909a; font-size: .48rem; font-weight: 800; letter-spacing: .08em; }
.relay-metrics strong { overflow: hidden; color: #26394a; font-size: .65rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.relay-progress { height: 5px; overflow: hidden; border-radius: 9px; margin: .7rem 0 .45rem; background: #e4e9ec; }
.relay-progress span { display: block; width: 8%; height: 100%; border-radius: inherit; background: #438b80; }
.relay-table-head, .relay-row { display: grid; grid-template-columns: .35fr 1.15fr 1.05fr .9fr; align-items: center; gap: .35rem; }
.relay-table-head { padding: .38rem .45rem; color: #84909a; font-size: .46rem; font-weight: 800; letter-spacing: .055em; }
.relay-row { min-height: 38px; border-top: 1px solid #e7ebee; padding: .4rem .45rem; font-size: .52rem; }
.relay-row-active { border: 1px solid #d6e7e4; border-radius: 6px; background: #f5faf8; }
.relay-leg { color: #57746f; font-size: .55rem; font-weight: 800; }
.relay-empty, .relay-wait { overflow: hidden; color: #75828d; text-overflow: ellipsis; white-space: nowrap; }
.relay-time { justify-self: end; border: 1px solid #dce4e8; border-radius: 5px; padding: .23rem .35rem; color: #586c7b; font-size: .49rem; white-space: nowrap; }
.relay-footnote { border-top: 1px solid #e7ebee; padding: .55rem .35rem 0; color: #7c8993; font-size: .55rem; }

.personal-project-copy { max-width: 490px; }
.project-category { margin-bottom: 1.15rem; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-category span { margin-inline: .25rem; color: #a2b3ac; }
.personal-project-copy h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.25vw, 3rem); }
.personal-project-copy > p:not(.project-category) { margin-bottom: 1.4rem; color: var(--muted); line-height: 1.8; }
.project-capabilities { display: grid; gap: .72rem; margin: 0 0 1.7rem; padding: 1.2rem 0 0; border-top: 1px solid var(--line); color: #52616a; font-size: .9rem; list-style: none; }
.project-capabilities li { position: relative; padding-left: 1.1rem; }
.project-capabilities li::before { position: absolute; top: .65em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #73b7a8; content: ''; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.project-text-link { color: var(--teal); font-size: .88rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.personal-projects-outro { padding-block: clamp(3rem, 6vw, 5rem); background: #e9eee9; }
.personal-projects-outro-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.personal-projects-outro .eyebrow { margin-bottom: .55rem; }
.personal-projects-outro h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.75rem); }

@media (max-width: 900px) {
  .personal-project-feature, .project-feature-reversed { grid-template-columns: 1fr; gap: 2rem; }
  .project-feature-reversed .project-visual, .project-feature-reversed .personal-project-copy { grid-column: auto; grid-row: auto; }
  .personal-project-copy { max-width: 680px; }
}
@media (max-width: 680px) {
  .project-visual { border-radius: 16px; padding: .55rem; }
  .fieldscout-screen, .relayrunner-screen { padding-inline: .65rem; }
  .fieldscout-nav { gap: .7rem; }
  .fieldscout-filter { grid-template-columns: 1fr 1.5fr; }
  .filter-count { display: none; }
  .fieldscout-pitch { width: 40%; }
  .relay-table-head, .relay-row { grid-template-columns: .32fr 1fr .95fr; }
  .relay-table-head span:nth-child(3), .relay-row > :nth-child(3) { display: none; }
  .personal-projects-outro-inner { align-items: flex-start; flex-direction: column; }
  .project-actions { align-items: flex-start; flex-direction: column; }
}


/* Experience page: a narrative view of the work and its context. */
.experience-hero { position: relative; overflow: hidden; }
.experience-hero::after { position: absolute; top: -18rem; right: -11rem; width: 42rem; height: 42rem; border: 1px solid rgba(164,234,217,.12); border-radius: 50%; content: ''; }
.experience-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 5rem; }
.experience-hero h1 { max-width: 840px; }
.experience-hero-copy .lead { max-width: 690px; }
.experience-hero-line { margin: 1.5rem 0 0; color: var(--mint); font-size: .77rem; font-weight: 700; letter-spacing: .055em; }
.experience-hero-line span { margin-inline: .45rem; color: rgba(255,255,255,.45); }
.experience-hero-aside { margin-bottom: .4rem; border-left: 1px solid rgba(255,255,255,.25); padding: .2rem 0 .2rem 1.5rem; }
.experience-aside-label { margin-bottom: .8rem; color: var(--mint); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.experience-hero-aside ul { display: grid; gap: .65rem; margin: 0; padding: 0; color: #e0e8e7; font-size: .91rem; list-style: none; }
.experience-content { padding-block: clamp(4.5rem, 8vw, 7rem); background: var(--white); }
.experience-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.experience-intro h2, .experience-context h2, .experience-next h2 { max-width: 730px; margin-bottom: 1rem; font-size: clamp(2.25rem, 4.4vw, 3.6rem); }
.experience-intro-copy, .experience-context-grid > div > p:last-child, .experience-next-grid > div > p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }
.experience-principle { border-radius: 16px; padding: 1.5rem; background: #e9eee9; }
.experience-principle .experience-aside-label { color: var(--teal); }
.experience-principle > p:last-child { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; }
.experience-principle span { color: var(--teal); }
.experience-stories { border-top: 1px solid var(--line); }
.experience-story { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 3.5rem; border-bottom: 1px solid var(--line); padding: clamp(2.3rem, 5vw, 3.5rem) 0; }
.experience-story-index { display: flex; align-items: baseline; gap: .8rem; padding-top: .45rem; color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.experience-story-index span:first-child { font-size: .8rem; }
.experience-story-body h2 { max-width: 700px; margin-bottom: .8rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.experience-story-body > p { max-width: 760px; margin-bottom: 1.25rem; color: var(--muted); }
.experience-takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.experience-takeaways li { border-top: 2px solid #b6d9cd; padding: .75rem .75rem 0 0; color: #52616a; font-size: .84rem; line-height: 1.55; }
.experience-context { padding-block: clamp(4rem, 7vw, 6rem); background: var(--paper); }
.experience-context-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5rem; }
.experience-context h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.experience-organizations { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.experience-organizations li { border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 700; }
.experience-practice { padding-block: clamp(4.5rem, 8vw, 7rem); background: var(--ink); color: white; }
.experience-practice-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1rem 4rem; margin-bottom: 2.5rem; }
.experience-practice-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.experience-practice-heading h2 { max-width: 620px; margin: 0; color: white; font-size: clamp(2.4rem, 4vw, 3.6rem); }
.experience-practice-heading > p:last-child { max-width: 460px; margin: 0 0 .25rem; color: #c4d0d3; }
.experience-practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.16); }
.experience-practice-grid article { min-height: 220px; padding: 1.5rem; background: var(--ink); }
.experience-practice-grid article > span { display: inline-block; margin-bottom: 2.2rem; color: var(--mint); font-size: .75rem; font-weight: 700; letter-spacing: .13em; }
.experience-practice-grid h3 { margin-bottom: .65rem; color: white; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.experience-practice-grid p { margin-bottom: 0; color: #c4d0d3; font-size: .9rem; }
.experience-next { padding-block: clamp(4rem, 7vw, 6rem); background: #e9eee9; }
.experience-next-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 4rem; }
.experience-next h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.experience-next-actions { display: flex; flex-direction: column; align-items: flex-start; }
.experience-next-actions .section-link { margin-top: 1.2rem; }
@media (max-width: 900px) {
  .experience-hero-grid, .experience-intro, .experience-context-grid, .experience-next-grid { gap: 2.5rem; }
  .experience-story { grid-template-columns: 170px minmax(0, 1fr); gap: 2rem; }
  .experience-takeaways { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 680px) {
  .experience-hero-grid, .experience-intro, .experience-context-grid, .experience-next-grid, .experience-practice-heading { grid-template-columns: 1fr; gap: 2rem; }
  .experience-hero-aside { margin-top: .5rem; }
  .experience-story { grid-template-columns: 1fr; gap: 1rem; }
  .experience-story-index { padding-top: 0; }
  .experience-practice-heading .eyebrow { grid-column: auto; }
  .experience-practice-grid { grid-template-columns: 1fr; }
  .experience-practice-grid article { min-height: 0; }
  .experience-practice-grid article > span { margin-bottom: 1rem; }
  .experience-next-actions { align-items: flex-start; }
}

.course-projects { margin-top: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-projects summary { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink); font-size: .92rem; font-weight: 700; cursor: pointer; list-style: none; }
.course-projects summary::-webkit-details-marker { display: none; }
.course-projects summary::after { width: 1.7rem; height: 1.7rem; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e3f3ee; color: var(--teal); content: '+'; font-size: 1.2rem; line-height: 1; transition: transform .18s ease; }
.course-projects[open] summary::after { transform: rotate(45deg); }
.course-project-count { margin-left: auto; color: var(--muted); font-size: .75rem; font-weight: 500; }
.course-project-content { padding: .15rem 0 1rem; }
.course-project-intro { margin: 0 0 1rem; color: var(--muted); font-size: .84rem; }
.course-project-list { display: grid; gap: .85rem; }
.course-project-list .project-card { grid-template-columns: 1fr; gap: .4rem; border-radius: 12px; padding: .65rem; }
.course-project-list .project-copy { padding: .6rem .4rem .25rem; }
.course-project-list .project-copy .eyebrow { margin-bottom: .4rem; }
.course-project-list .project-copy h3 { margin-bottom: .45rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.course-project-list .project-copy p { margin-bottom: .45rem; font-size: .84rem; }
.course-project-list .project-course { margin-bottom: 0 !important; font-size: .75rem !important; }
