
@media screen {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-block-start: calc(var(--header-offset, var(--header)) + 1.5rem);
  }

  
  .profile,
  .approach,
  .contact,
  .legal-dialog .legal-notice {
    --content-text: #555;
  }

  .profile,
  .approach,
  .contact {
    color: var(--content-text);
  }

  a,
  button,
  input,
  textarea,
  summary,
  [tabindex] {
    scroll-margin-block-start: calc(var(--header-offset, var(--header)) + 1.5rem);
    scroll-margin-block-end: 1.5rem;
  }

  .hero-copy,
  .profile-copy,
  .profile-signoff > *,
  .approach-layout > *,
  .approach-steps li > *,
  .method-list article,
  .method-list article > *,
  .section-intro > *,
  .dimension-layout > *,
  .project-heading,
  .project-body > *,
  .metric,
  .credential,
  .mindset-row article,
  .mindset-row article > *,
  .education-feature > *,
  .contact-intro > *,
  .contact-form,
  .form-row > *,
  .night-contact-layout > *,
  .footer-inner > * {
    min-inline-size: 0;
  }

  .hero h1 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  h1,
  h2,
  h3,
  h4,
  h1 > span,
  h2 > span,
  h3 > span,
  h4 > span {
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .profile-copy h2,
  .profile-signoff > span:not(.signature),
  .form-aside h3 {
    max-inline-size: 100%;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow {
    flex-wrap: wrap;
    white-space: normal;
    font-size: .75rem;
    line-height: 1.65;
    gap: .65rem;
  }

  .hero-description,
  .profile-copy > p:not(.large-copy),
  .section-intro > p,
  .dimension-panel > p,
  .project-body > p,
  .approach-layout > div > p,
  .approach-steps p,
  .contact-intro > div,
  .form-aside > p,
  .night-page .lost-description,
  .night-page .night-bridge p,
  .night-page .night-contact-copy > p {
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .large-copy {
    line-height: 1.6;
    min-inline-size: 0;
    max-inline-size: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .js [data-reveal].reveal-ready:focus-within {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body:not(.js) .art-perspective,
  body:not(.js) .night-cloud {
    animation: none;
  }

  body:not(.js) .motion-toggle,
  body:not(.js) .project-controls,
  body:not(.js) .dimension-selector,
  body:not(.js) .copy-email {
    display: none;
  }

  .section-kicker,
  .section-note,
  .contact .section-note,
  .panel-kicker,
  .dimension-title small,
  .project-count,
  .project-number,
  .project-heading > small,
  .project-signal small,
  .project-body dt,
  .metric small,
  .qualification-group-title span,
  .credential > span,
  .profile-signoff > span:not(.signature),
  .mindset-row > p,
  .mindset-row article > span,
  .approach-steps li > span,
  .night-page .lost-status,
  .night-page .night-kicker,
  .night-page .night-contact-top > span:last-child {
    font-size: .75rem;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .section-topline,
  .night-contact-top {
    flex-wrap: wrap;
    row-gap: .75rem;
  }

  .section-kicker,
  .section-note,
  .contact .section-note,
  .qualification-group-title > span,
  .night-page .night-contact-top > span {
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .qualification-group-title {
    flex-wrap: wrap;
    gap: .5rem 1rem;
  }

  .portrait-label {
    flex-wrap: wrap;
    row-gap: .5rem;
  }

  .portrait-label > span {
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-heading,
  .project-heading > span,
  .project-signal,
  .project-signal > strong,
  .project-signal > small {
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-signal {
    flex-wrap: wrap;
  }

  .metric p,
  .portrait-caption,
  .capability-list li,
  .mindset-row article p,
  .project-body dd,
  .experience-bottom > p,
  .education-feature p,
  .credential p,
  .method-list p,
  .form-aside > p + p,
  .email-note,
  .contact-bottom p,
  .contact-bottom p span,
  .night-page .night-contact-copy > p.night-optional-note {
    font-size: .875rem;
    line-height: 1.75;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .credential p {
    min-height: 0;
    max-width: none;
  }

  .metrics,
  .credential-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .metric-number,
  .metric p,
  .metric small,
  .mindset-row h3,
  .mindset-row article p,
  .credential h4,
  .credential p,
  .credential > span,
  .project-heading > span,
  .project-signal strong,
  .education-feature h3,
  .education-coach h3,
  .method-list h4 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .project-signal strong {
    white-space: normal;
  }

  .method-list h4,
  .qualification-group-title {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-bottom {
    flex-wrap: wrap;
    font-size: .75rem;
    row-gap: .75rem;
  }

  .hero-bottom > span,
  .motion-toggle,
  .night-page .night-hero-bottom .motion-toggle,
  .night-page .night-scroll {
    font-size: .75rem;
    line-height: 1.6;
  }

  .hero-actions,
  .draft-actions,
  .experience-bottom,
  .contact-bottom {
    flex-wrap: wrap;
  }

  .button,
  .hero-actions .text-link,
  .text-link,
  .dimension-panel .text-link,
  .experience-bottom .text-link,
  .draft-actions .button,
  .draft-actions .text-link,
  .night-page .form-draft .button,
  .night-page .night-link,
  .night-page .night-back,
  .project-filters button,
  .copy-email,
  .back-to-top {
    font-size: .875rem;
    line-height: 1.5;
    min-block-size: 44px;
    max-inline-size: 100%;
    white-space: normal;
  }

  .button,
  .text-link {
    overflow-wrap: break-word;
  }

  .text-link {
    min-inline-size: 0;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }

  .text-link > span {
    flex-shrink: 0;
    max-inline-size: 100%;
  }

  .text-link .icon-arrow {
    max-inline-size: 100%;
  }

  .project-filters button span {
    font-size: .75rem;
    opacity: 1;
  }

  .motion-toggle,
  .menu-toggle,
  .copy-email,
  .captcha-refresh,
  .night-page .captcha-refresh,
  .dialog-close {
    min-inline-size: 44px;
    min-block-size: 44px;
  }

  .copy-email,
  .captcha-refresh,
  .night-page .captcha-refresh,
  .dialog-close {
    justify-content: center;
  }

  .section-rail a {
    width: 28px;
    height: 28px;
  }

  .section-rail a:focus-visible span {
    opacity: 1;
  }

  .section-rail a span {
    font-size: .75rem;
  }

  .section-rail a::after {
    background: #777;
  }

  .section-rail a.active::after {
    background: var(--content-accent);
  }

  
  .form-field input,.form-field select,
  .form-field textarea,
  .captcha-line input,
  .form-draft textarea {
    border-color: #6f6f6f;
    font-size: 1rem;
    line-height: 1.5;
    min-block-size: 48px;
  }

  .night-page .form-field input,.night-page .form-field select,
  .night-page .form-field textarea,
  .night-page .captcha-line input,
  .night-page .form-draft textarea {
    border-color: #999;
    font-size: 1rem;
    line-height: 1.5;
  }

  .form-field label,
  .captcha-field > label,
  .night-page .form-field label,
  .night-page .captcha-field > label,
  .additional-contact legend,
  .draft-label {
    font-size: .875rem;
    line-height: 1.6;
    overflow-wrap: break-word;
  }

  .form-required-note,
  .message-count,
  .optional-contact summary > span,
  .additional-contact legend span,
  .night-page .form-required-note,
  .night-page .message-count {
    font-size: .75rem;
    line-height: 1.65;
  }

  .optional-contact summary {
    min-block-size: 44px;
    flex-wrap: wrap;
    font-size: .875rem;
    line-height: 1.65;
  }

  .optional-contact > p,
  .additional-contact > p,
  .captcha-field > p,
  .form-preview-note,
  .form-status,
  .form-draft > p,
  .night-page .captcha-field > p,
  .night-page .form-preview-note,
  .night-page .form-draft > p,
  #draft-status {
    font-size: .875rem;
    line-height: 1.75;
    overflow-wrap: break-word;
  }

  .additional-contact legend {
    max-inline-size: 100%;
  }

  .captcha-line,
  .night-page .captcha-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4rem 2.75rem;
    align-items: center;
    gap: .75rem;
  }

  .captcha-line > span,
  .night-page .captcha-line > span {
    min-width: 0;
    font-size: .9375rem;
    line-height: 1.6;
  }

  .captcha-line input,
  .night-page .captcha-line input {
    width: 100%;
    min-width: 0;
  }

  .captcha-refresh,
  .night-page .captcha-refresh {
    width: 44px;
    height: 44px;
  }

  .form-field input:focus,.form-field select:focus,
  .form-field textarea:focus,
  .captcha-line input:focus,
  .form-draft textarea:focus {
    outline: 2px solid var(--content-focus);
    outline-offset: 3px;
  }

  .night-page .form-field input:focus,.night-page .form-field select:focus,
  .night-page .form-field textarea:focus,
  .night-page .captcha-line input:focus,
  .night-page .form-draft textarea:focus {
    outline: 2px solid var(--content-inverse-focus);
    outline-offset: 3px;
  }

  .legal-dialog {
    max-height: calc(100svh - 32px);
    max-block-size: calc(100dvh - 32px);
    overflow: auto;
  }

  .legal-dialog p,
  .legal-dialog .legal-notice {
    font-size: .9375rem;
    line-height: 1.8;
    overflow-wrap: break-word;
  }

  .legal-dialog a {
    overflow-wrap: anywhere;
  }

  .toast {
    font-size: .875rem;
    line-height: 1.6;
  }

  .footer-inner,
  .night-footer > .shell > div {
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .footer-identity {
    flex-shrink: 1;
    flex-wrap: wrap;
    min-inline-size: 0;
    max-inline-size: 100%;
  }

  .footer-identity > span {
    flex: 1 1 12ch;
    min-inline-size: 0;
    overflow-wrap: anywhere;
  }

  .footer-inner > p,
  .footer-inner > p:nth-child(2),
  .night-page .night-footer > .shell > div {
    font-size: .75rem;
    line-height: 1.7;
    overflow-wrap: break-word;
  }

  .site-footer nav,
  .night-footer nav {
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
  }

  .site-footer nav a,
  .site-footer nav button,
  .night-page .night-footer nav a,
  .night-page .night-footer nav button {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    font-size: .875rem;
    line-height: 1.5;
    padding-block: .5rem;
  }

  .night-page .lost-hero {
    height: auto;
    min-height: max(780px, calc(100svh - var(--header)));
    padding-bottom: 130px;
  }

  .night-page .lost-heading-group {
    min-inline-size: 0;
    max-inline-size: 100%;
    width: 100%;
  }

  .night-page .lost-hero h1,
  .night-page .lost-hero h1 em,
  .night-page .lost-description {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .night-page .night-scroll,
  .night-page .night-direct-email {
    min-inline-size: 0;
    max-inline-size: 100%;
    width: fit-content;
    overflow-wrap: anywhere;
  }

  .night-page .lost-status,
  .night-page .night-hero-bottom {
    flex-wrap: wrap;
  }

  .night-page .night-hero-bottom {
    row-gap: .75rem;
  }

  .night-page .night-hero-bottom > span {
    font-size: .75rem;
    line-height: 1.65;
  }

  .night-page .night-header-links {
    gap: 1.25rem;
    font-size: .875rem;
    min-inline-size: 0;
    max-inline-size: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .night-header-links > a,
  .night-header .night-home {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
  }

  .night-header .night-home {
    font-size: .8125rem;
    line-height: 1.5;
    padding-inline: .625rem;
    gap: .625rem;
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media screen and (min-width: 1101px) {
  .main-nav a,
  .header-contact {
    font-size: .875rem;
    line-height: 1.5;
    min-block-size: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media screen and (max-width: 1100px) {
  .site-header {
    --header: 72px;
    height: var(--header);
    gap: 20px;
  }

  :root {
    --header: 72px;
  }

  .header-contact,
  .section-rail {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    font-size: .875rem;
    line-height: 1.5;
    margin-inline-start: auto;
    max-inline-size: 100%;
    white-space: normal;
  }

  .menu-toggle > span {
    min-inline-size: 0;
    overflow-wrap: anywhere;
  }

  .menu-toggle i {
    width: 22px;
    height: 12px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    position: relative;
    transition: transform .25s;
    flex-shrink: 0;
  }

  .menu-toggle[aria-expanded=true] i {
    transform: rotate(45deg);
    height: 1px;
    border-bottom: 0;
  }

  .menu-toggle[aria-expanded=true] i::after {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--ink);
    position: absolute;
    left: 0;
    top: -1px;
    transform: rotate(90deg);
  }

  .main-nav {
    position: fixed;
    top: var(--header-offset, var(--header));
    left: 0;
    right: 0;
    height: calc(100svh - var(--header-offset, var(--header)));
    height: calc(100dvh - var(--header-offset, var(--header)));
    max-height: none;
    min-height: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px var(--pad) max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--content-line);
    background: var(--content-surface);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .main-nav a {
    flex: none;
    display: block;
    font-family: Barlow, 'Arial Narrow', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    min-block-size: 48px;
    padding: 16px 0;
    border-bottom: 1px solid var(--content-line);
    color: var(--content-accent);
    overflow-wrap: break-word;
  }

  .main-nav a::after {
    display: none;
  }

  .mobile-contact {
    display: block !important;
  }

  
  body:not(.js) .menu-toggle {
    display: none !important;
  }

  body:not(.js) .site-header {
    position: relative;
    height: auto;
    min-height: var(--header);
    flex-wrap: wrap;
    padding-block: 16px;
  }

  body:not(.js) .main-nav {
    position: static;
    flex-basis: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    height: auto;
    padding: 12px 0 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    overflow: visible;
  }

  body:not(.js) .main-nav a {
    font-family: var(--content-font);
    font-size: .875rem;
    line-height: 1.5;
    padding: .75rem 0;
    border: 0;
  }

  .night-page .night-contact-copy {
    position: static;
  }
}

@media screen and (max-width: 680px) {
  
  .metrics,
  .credential-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(8em, calc(50% - 1rem))), 1fr));
  }

  .mindset-row article {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(6em, calc(50% - .75rem))), 1fr));
  }

  .project summary {
    grid-template-columns: 19px minmax(0, 1fr) 25px;
  }

  .section-topline,
  .night-contact-top {
    align-items: flex-start;
  }

  .section-note,
  .contact .section-note {
    max-width: none;
    text-align: left;
  }

  .dimension-title {
    font-size: 1rem;
    min-height: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .dimension-title small {
    font-size: .75rem;
    letter-spacing: .06em;
  }

  .profile-signoff {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .night-page .lost-hero {
    min-height: max(700px, calc(100svh - var(--header)));
  }

  .night-page .night-header-links > a:first-child {
    display: none;
  }

  .site-header {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    row-gap: .5rem;
    padding-block: .5rem;
  }

  .night-page .night-hero-bottom > span {
    max-width: none;
  }
}

@media screen and (max-width: 480px) {
  .hero-actions {
    gap: .75rem 1.25rem;
  }

  .dimension-selector {
    grid-template-columns: minmax(0, 1fr);
  }

  .dimension-tab,
  .dimension-tab.active,
  .dimension-tab:first-child,
  .dimension-tab.active:first-child {
    display: grid;
    grid-template-columns: minmax(36px, max-content) minmax(0, 1fr) minmax(24px, max-content);
    align-items: center;
    gap: 18px;
    padding: 16px 12px;
    border-right: 0;
  }

  .dimension-initial {
    min-width: 0;
    font-size: 44px;
  }

  .dimension-title {
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .dimension-arrow {
    display: block;
    font-size: 24px;
    min-inline-size: 0;
  }

  .dimension-arrow .icon-arrow {
    max-inline-size: 100%;
    height: auto;
  }

  .form-row,
  .street-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .email-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .email-link {
    font-size: clamp(1.5rem, 7.3vw, 2.4rem);
    min-width: 0;
    gap: 10px;
    overflow-wrap: anywhere;
  }

  .copy-email {
    padding: 0;
  }

  .footer-inner > p:nth-child(2) {
    flex-basis: 100%;
  }
}

@media screen and (max-height: 540px) {
  .main-nav {
    justify-content: flex-start;
  }

  .night-page .night-contact-copy {
    position: static;
  }
}

@media screen and (forced-colors: active) {
  .button,
  .project-filters button,
  .form-field input,.form-field select,
  .form-field textarea,
  .captcha-line input,
  .form-draft textarea,
  .night-page .form-field input,.night-page .form-field select,
  .night-page .form-field textarea,
  .night-page .captcha-line input,
  .night-page .form-draft textarea {
    border: 1px solid ButtonText;
  }

  .dimension-tab.active,
  .project-filters button.active {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }

  .section-rail a.active::after {
    background: Highlight;
  }

  :focus-visible,
  .night-page :focus-visible,
  .experience :focus-visible {
    outline: 2px solid Highlight;
  }
}

@media screen{body:not(.js) .contact-form{display:none}.offline-legal{padding:48px 0;background:#fff;color:#555}.offline-legal h2{margin-bottom:24px}.offline-legal p{font-size:1rem;line-height:1.7;margin:0 0 20px}}
