:root {
  color-scheme: light;
  --bg: #fff;
  --ink: #1b1d1c;
  --muted: #626662;
  --surface: #f3f4f1;
  --surface-strong: #e8ebe5;
  --line: #dedfdc;
  --accent: #ac4700;
  --focus: #ac4700;
  --scrim: rgba(8, 10, 9, .94);
  --font: 'Albert Sans', Arial, sans-serif;
  --page-width: 1200px;
  --header-height: 80px;
  --gutter: 24px;
  --body: 17px;
  --lead: 22px;
  --heading: 32px;
  --caption: 14px;
  --section-space: 88px;
  --gap: 40px;
  --motion-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
html[data-theme='dark'] {
  color-scheme: dark;
  --bg: #161817;
  --ink: #eceee9;
  --muted: #b5bab3;
  --surface: #222624;
  --surface-strong: #30362f;
  --line: #3b423c;
  --accent: #f1a277;
  --focus: #f1a277;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--body)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open, body.case-lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--ink); color: var(--bg); }
figure, p, h1, h2, h3, h4, ul, ol { margin: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 500; text-wrap: balance; }
h2 { font-size: var(--heading); line-height: 1.2; letter-spacing: -.035em; }
h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
figcaption { margin-top: 12px; color: var(--muted); font-size: var(--caption); line-height: 1.5; }
.site-header, .home-hero, .section, .footer { width: 100%; max-width: var(--page-width); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-space); }
.site-header { height: var(--header-height); display: flex; align-items: center; gap: 32px; position: sticky; top: 0; z-index: 100; background: var(--bg); }
.wordmark { margin-right: auto; font-size: 16px; font-weight: 600; }
.wordmark span { color: var(--accent); }
.site-header nav, .nav-links { display: flex; align-items: center; }
.nav-links { gap: 32px; }
.nav-links a { font-size: var(--caption); padding-block: 12px; }
.menu-button { display: none; background: transparent; padding-block: 12px; }
.theme-toggle { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; background: var(--surface); border-radius: 50%; }
.theme-toggle svg { width: 18px; height: 18px; }
.skip-link { position: fixed; top: 12px; left: var(--gutter); z-index: 300; background: var(--ink); color: var(--bg); padding: 12px 18px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.home-hero { min-height: calc(100svh - var(--header-height)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: clamp(24px, 4svh, 48px); }
.greeting { color: var(--muted); font-size: var(--body); margin-bottom: 8px; }
.name-display { font: 500 56px/1.1 var(--font); letter-spacing: -.045em; }
.hero-positioning { max-width: 720px; margin: 24px auto 0; font-size: var(--lead); line-height: 1.5; }
.location { color: var(--muted); font-size: var(--caption); margin-top: 24px; }
.home-hero > * { animation: hero-enter 280ms var(--motion-ease-out) both; }
.home-hero > :nth-child(2) { animation-delay: 40ms; }
.home-hero > :nth-child(3) { animation-delay: 80ms; }
.home-hero > :nth-child(4) { animation-delay: 120ms; }
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 32px; }
.section-heading > p { color: var(--muted); font-size: var(--caption); max-width: 56ch; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 56px; }
.project-card { min-width: 0; }
.project-preview { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--surface); }
.project-preview > img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.project-preview video { width: 100%; height: 100%; object-fit: contain; }
.project-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px; }
.placeholder-title { display: block; max-width: 15ch; font-size: 36px; line-height: 1.16; font-weight: 500; letter-spacing: -.035em; }
.placeholder-note { color: var(--muted); font-size: var(--caption); }
.project-heading { display: flex; gap: 14px; align-items: baseline; margin-top: 20px; }
.project-number { flex: 0 0 auto; color: var(--muted); font-size: var(--caption); font-variant-numeric: tabular-nums; }
.project-heading h3 { min-height: 1.3em; flex: 1; }
.project-case-link { display: inline-block; font-size: var(--caption); white-space: nowrap; margin-top: 16px; }
.project-summary { color: var(--muted); font-size: var(--caption); margin-top: 4px; }
.project-description { font-size: 16px; line-height: 1.55; margin-top: 12px; max-width: 58ch; }
.project-metrics { display: flex; gap: 24px; margin: 16px 0 0; font-size: var(--caption); }
.project-metrics dt { color: var(--muted); }
.project-metrics dd { margin: 0; }
.about-section { padding-top: 64px; }
.about-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.about-copy > p { max-width: 64ch; }
.about-copy > p:first-child { font-size: 20px; line-height: 1.5; }
.about-copy > p + p { margin-top: 24px; }
.expertise { margin-top: 32px; }
.expertise h3 { font-size: 18px; margin-bottom: 20px; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.expertise-grid h4 { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.expertise-grid ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.expertise-grid li { font-size: var(--caption); color: var(--muted); }
.expertise-grid .expertise-ai { margin-top: 24px; }
.footer { padding-block: 40px 28px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.footer-top h2 { font-size: 22px; letter-spacing: -.025em; }
.back-top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--ink); }
.back-top svg { display: block; }
.footer-bottom { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: var(--caption); }
.contact-links { display: flex; gap: 28px; align-items: center; }
.contact-links > a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom p { color: var(--muted); }
.case-hero { padding-top: 40px; padding-bottom: 0; }
.back-link { color: var(--muted); font-size: var(--caption); }
.case-hero h1 { font: 500 48px/1.15 var(--font); letter-spacing: -.04em; margin: 32px 0; }
.case-opening { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.statement { font-size: var(--lead); line-height: 1.5; max-width: 35ch; }
.case-opening > div p { max-width: 58ch; }
.case-index { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; padding-bottom: 32px; }
.case-index a { font-size: var(--caption); color: var(--muted); }
.case-page .section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.case-page .section-heading > p { color: var(--ink); font-size: 18px; }
.content-opening { margin-left: calc(50% + var(--gap) / 2); margin-bottom: 40px; max-width: 58ch; }
.citation-spread { display: grid; grid-template-columns: .8fr 1.5fr; gap: var(--gap); align-items: center; }
.citation-description h3 { margin-bottom: 20px; }
.citation-description p { max-width: 39ch; }
.citation-figure { min-width: 0; }
.image-trigger { width: 100%; display: grid; place-items: center; background: transparent; cursor: zoom-in; }
.image-trigger img { width: 100%; }
.citation-figure .image-trigger { background: var(--surface); padding: 20px; border-radius: 4px; }
.linkedin-section { padding-top: 0; }
.linkedin-reader { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: 32px; background: var(--surface); border-radius: 4px; align-items: start; }
.linkedin-context { min-width: 0; }
.reader-controls { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; }
.round-button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); }
.case-position { font-size: var(--caption); min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; }
.linkedin-context h3 { margin-bottom: 20px; }
.linkedin-context > p { max-width: 43ch; }
.verification-note, .post-unavailable { color: var(--muted); font-size: var(--caption); }
.verification-note { margin-top: 24px; }
.post-unavailable { display: block; margin-top: 12px; }
.reader-cases { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.reader-cases button { font-size: var(--caption); padding: 10px 12px; background: var(--surface-strong); }
.reader-cases button[aria-current='true'] { background: var(--ink); color: var(--bg); }
.linkedin-figure { width: 100%; max-width: 440px; justify-self: end; min-width: 0; }
.linkedin-preview { aspect-ratio: 2 / 3; background: var(--surface-strong); overflow: hidden; }
.linkedin-preview img { width: 100%; height: 100%; object-fit: contain; }
.linkedin-preview:disabled { cursor: default; }
[data-linkedin-placeholder] { padding: 24px; text-align: center; color: var(--muted); }
.noscript-post { max-width: 420px; margin: 32px auto; }
.lead-section { padding-top: 0; }
.lead-pipeline { display: grid; grid-template-columns: 1.2fr auto 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 40px; }
.lead-sources { display: grid; gap: 20px; }
.lead-pipeline article { padding: 20px; background: var(--surface); border-radius: 4px; }
.lead-pipeline h3 { font-size: 17px; margin-bottom: 10px; }
.lead-pipeline p { font-size: var(--caption); }
.qualification { max-width: 9ch; display: grid; justify-items: center; gap: 12px; text-align: center; }
.strategy-sections { padding-top: 0; }
.strategy { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.strategy h2 { font-size: 28px; }
.strategy + .strategy { margin-top: 72px; }
.strategy-statement { margin-top: 24px; font-size: 20px; line-height: 1.5; max-width: 36ch; }
.strategy > div > p + p { margin-top: 20px; }
.process-flow { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 0; margin-top: 28px; }
.process-flow li { display: flex; align-items: center; font-size: var(--caption); }
.process-flow li:not(:last-child)::after { content: '→'; margin-inline: 12px; color: var(--muted); }
.case-lightbox { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 72px var(--gutter); background: var(--scrim); cursor: zoom-out; }
.case-lightbox[open] { display: grid; place-items: center; }
.case-lightbox::backdrop { background: transparent; }
.case-lightbox img { width: auto; max-height: calc(100dvh - 144px); max-width: 100%; object-fit: contain; cursor: default; }
.case-lightbox-close { position: absolute; right: var(--gutter); top: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 24px; }
@media (hover: hover) and (pointer: fine) {
  a.project-preview > img { transition: transform 180ms var(--motion-ease-out); }
  a.project-preview:hover > img { transform: scale(1.015); }
  .nav-links a:hover, .project-case-link:hover, .back-link:hover, .case-index a:hover, .contact-links > a:hover { color: var(--accent); }
}
@media (max-width: 900px) {
  :root { --section-space: 72px; --gap: 32px; }
  .about-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .project-heading { gap: 10px; }
  .project-heading h3 { font-size: 22px; }
  .project-placeholder { padding: 28px; }
  .placeholder-title { font-size: 30px; }
  .citation-spread { grid-template-columns: 1fr; }
  .citation-description { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .linkedin-reader { gap: 28px; padding: 24px; }
  .lead-pipeline { grid-template-columns: 1fr; }
  .lead-sources { grid-template-columns: 1fr 1fr; }
  .flow-arrow, .qualification span { transform: rotate(90deg); justify-self: center; }
  .qualification { max-width: none; }
}
@media (max-width: 640px) {
  :root { --header-height: 72px; --gutter: 20px; --body: 16px; --lead: 20px; --heading: 28px; --section-space: 56px; }
  .site-header { gap: 24px; }
  .js .menu-button { display: block; }
  .nav-links { gap: 16px; }
  .js .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 20px var(--gutter) 28px; background: var(--surface); flex-direction: column; align-items: stretch; }
  .js .nav-links a { font-size: 20px; }
  .js .nav-links.is-open { display: flex; }
  .name-display { font-size: 40px; }
  .hero-positioning { font-size: 20px; margin-top: 20px; }
  .location { margin-top: 20px; }
  .section-heading { display: grid; gap: 12px; margin-bottom: 24px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .project-preview > img { padding: 18px; }
  .project-placeholder { padding: 28px; }
  .placeholder-title { font-size: 32px; }
  .project-heading { flex-wrap: nowrap; gap: 10px; margin-top: 16px; }
  .project-heading h3 { font-size: 22px; min-width: 0; min-height: 0; }
  .project-case-link { margin-left: 0; font-size: 13px; }
  .project-summary { min-height: 0; margin-top: 10px; }
  .project-description { margin-top: 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-portrait { width: 65%; max-width: 260px; }
  .expertise-grid { gap: 20px; }
  .footer { padding-top: 28px; }
  .footer-top { grid-template-columns: 1fr auto; gap: 16px; }
  .footer-top .back-top { grid-column: 2; }
    .footer-bottom { flex-wrap: wrap; gap: 20px; }
  .case-hero { padding-top: 24px; }
  .case-hero h1 { font-size: 36px; margin-block: 28px; }
  .case-opening, .case-page .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .case-index { gap: 12px 20px; padding-bottom: 24px; }
  .content-opening { margin-left: 0; margin-bottom: 28px; }
  .citation-description { grid-template-columns: 1fr; gap: 0; }
  .citation-figure .image-trigger { padding: 12px; }
  .linkedin-reader { grid-template-columns: 1fr; padding: 20px; }
  .linkedin-figure { grid-row: 1; }
  .linkedin-context h3 { font-size: 22px; }
  .reader-controls { margin-bottom: 24px; }
  .lead-pipeline { margin-top: 28px; gap: 16px; }
  .lead-sources { gap: 12px; }
  .lead-pipeline article { padding: 16px; }
  .strategy { grid-template-columns: 1fr; gap: 24px; }
  .strategy + .strategy { margin-top: 56px; }
  .strategy-statement { font-size: 20px; margin-top: 20px; }
  .case-lightbox { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.about-page .section-heading h1 { font-size: 40px; line-height: 1.2; letter-spacing: -.035em; }
.email-reveal { position: relative; }
.email-reveal:not([open]) .email-panel { display: none; }
.email-reveal summary { display: flex; align-items: center; min-height: 44px; padding-block: 8px; list-style: none; cursor: pointer; }
.email-reveal summary::-webkit-details-marker { display: none; }
.email-reveal summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.email-panel { position: absolute; z-index: 110; bottom: calc(100% + 8px); left: 0; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); padding: 12px 16px; background: var(--surface); color: var(--ink); border-radius: 4px; font-size: var(--caption); line-height: 1.5; }
.email-panel::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 8px; }
.email-panel a { display: block; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .back-top:hover { background: var(--surface-strong); } }
@media (max-width: 640px) { .about-page .section-heading h1 { font-size: 32px; } }

html.pointer-input :is(.theme-toggle, .menu-button, .back-top, .gallery-more, .gallery-lightbox-close, .gallery-lightbox-step) {
  transition: transform 120ms var(--motion-ease-out);
}
html.pointer-input :is(.theme-toggle, .menu-button, .back-top, .gallery-more, .gallery-lightbox-close, .gallery-lightbox-step):active {
  transform: scale(0.97);
}
html:not(.pointer-input) :is(.theme-toggle, .menu-button, .back-top, .gallery-more, .gallery-lightbox-close, .gallery-lightbox-step) {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero > * { animation: none; }
  a.project-preview:hover > img { transform: none; }
  a.project-preview > img,
  html.pointer-input :is(.theme-toggle, .menu-button, .back-top, .gallery-more, .gallery-lightbox-close, .gallery-lightbox-step) { transition: none; }
  html.pointer-input :is(.theme-toggle, .menu-button, .back-top, .gallery-more, .gallery-lightbox-close, .gallery-lightbox-step):active { transform: none; }
}

.footer--subpage { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 24px; }
.footer--subpage .footer-top { display: block; grid-column: 2; grid-row: 1; }
.footer--subpage .footer-bottom { grid-column: 1; grid-row: 1; margin-top: 0; flex-wrap: wrap; gap: 16px 24px; }

.home-page .project-preview > img.project-thumbnail { padding: 0; object-fit: cover; }

.home-page #contact .footer-top h2 { font-size: 17.6px; position: relative; top: 12px; }
.home-page #contact .contact-links { gap: 12px; min-height: 44px; }
.home-page #contact .contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; min-height: 40px; flex-shrink: 0; padding: 0; background: none; border: 0; color: #7a7f7c; }
/* Tight SVG viewBoxes include the envelope stroke and the official logo artwork. */
.home-page #contact .contact-icon svg { display: block; width: 35.18px; height: 28px; }
.home-page #contact .contact-links > .contact-icon { transition: color 190ms var(--motion-ease-out); }
.home-page #contact .contact-links > .contact-icon svg { width: 28.25px; height: 28px; opacity: 0.6; transition: opacity 190ms var(--motion-ease-out); }
.home-page #contact .contact-links > .contact-icon:focus-visible { color: #0a66c2; transition: none; }
.home-page #contact .contact-links > .contact-icon:focus-visible svg { opacity: 1; transition: none; }
html[data-theme='dark'] .home-page #contact .contact-icon { color: #a1a8a3; }
html[data-theme='dark'] .home-page #contact .contact-links > .contact-icon:focus-visible { color: #0a66c2; }
.home-page #contact .email-reveal { display: flex; align-items: center; }
.home-page #contact .email-panel {
  display: block; left: 50%; bottom: calc(100% + 5px); width: max-content; max-width: calc(100vw - 24px);
  padding: 10px 14px; border: 1px solid rgba(35, 42, 37, .12); border-radius: 10px;
  background: rgba(255, 255, 255, .84); color: #373d39; font-size: 14px; line-height: 1.5; white-space: nowrap;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 16px rgba(12, 18, 14, .06);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 6px); transform-origin: bottom center;
  transition: opacity 190ms var(--motion-ease-out), transform 190ms var(--motion-ease-out), visibility 0s linear 190ms;
}
.home-page #contact .email-panel::after { height: 12px; }
.home-page #contact .email-panel a { color: inherit; }
.home-page #contact .email-reveal[open] .email-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.home-page #contact .email-reveal[data-instant] .email-panel { transition: none; }
html[data-theme='dark'] .home-page #contact .email-panel { background: rgba(29, 33, 30, .88); border-color: rgba(235, 241, 236, .16); color: #e3e8e3; box-shadow: 0 4px 16px rgba(0, 0, 0, .16); }
@media (hover: hover) and (pointer: fine) {
  .home-page #contact [data-email-trigger]:hover { color: #565c58; }
  html[data-theme='dark'] .home-page #contact [data-email-trigger]:hover { color: #c2c8c3; }
  .home-page #contact .contact-links > .contact-icon:hover { color: #0a66c2; }
  .home-page #contact .contact-links > .contact-icon:hover svg { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page #contact .contact-links > .contact-icon,
  .home-page #contact .contact-links > .contact-icon svg { transition: none; }
  .home-page #contact .email-panel { transform: translate(-50%, 0); transition: none; }
}
