/* Portfolio de Mardochée Joseph : lecture claire, pages courtes et navigation accessible. */
:root {
  color-scheme: light;
  --background: #f7f7f2;
  --surface: #ffffff;
  --surface-soft: #eef3ed;
  --text: #203b34;
  --muted: #586861;
  --accent: #2f6554;
  --accent-soft: #e3ede4;
  --burgundy: #7c3e49;
  --line: #d8e1d8;
  --heading: 'Outfit', 'Segoe UI', sans-serif;
  --body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); font: 15px/1.8 var(--body); -webkit-font-smoothing: antialiased; }
::selection { color: var(--text); background: #d6e8db; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(60px, 6.7vw, 88px); letter-spacing: -.055em; }
h2 { font-size: clamp(34px, 3.6vw, 44px); letter-spacing: -.035em; }
h2 em { color: var(--accent); font-style: normal; }
h3 { font-size: 26px; letter-spacing: -.02em; }
strong { color: var(--text); font-weight: 600; }
main { display: block; }
.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: 76px; border-top: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; line-height: 1.7; }
.section-heading { max-width: 730px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading > p:last-child:not(.eyebrow) { max-width: 650px; margin-top: 18px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 600; line-height: 1.6; }
.text-link:hover { color: var(--burgundy); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background .2s, border-color .2s; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: #244e41; }
.button-secondary { color: var(--accent); border-color: var(--line); background: var(--surface); }
.button-secondary:hover { border-color: var(--accent); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; color: #fff; background: var(--accent); border-radius: 4px; }
.skip-link:focus { top: 12px; }
.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; }
/* Navigation partagée entre les cinq pages. */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247,247,242,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 46px; flex-shrink: 0; font-family: var(--heading); line-height: 1; }
.brand-portrait { display: block; width: 46px; height: 46px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: #eadbb5; }
.brand-portrait img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 16px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.brand-name > span { display: block; color: var(--accent); }
.site-nav, .site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav ul { padding: 0; margin: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"], .site-nav a.active { color: var(--accent); }
.site-nav a[aria-current="page"]::after { content: ''; align-self: end; width: 4px; height: 4px; margin: 0 0 10px 7px; background: var(--burgundy); border-radius: 50%; }
.site-nav .nav-contact { gap: 12px; padding-inline: 17px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); }
.site-nav .nav-contact:hover, .site-nav .nav-contact[aria-current="page"] { border-color: #9bb5a6; background: var(--accent-soft); }
.menu-toggle { display: none; }
/* Le portrait original est uniquement cadré en CSS. */
.home-hero, .hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 80px; align-items: center; padding-block: 62px 76px; }
.hero-copy { min-width: 0; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: .085em; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.home-hero h1, .hero h1 { margin-block: 23px 24px; line-height: 1; }
.home-hero h1 span, .hero h1 span { color: var(--accent); }
.hero-line { font-family: var(--heading); font-size: clamp(25px,2.8vw,34px); line-height: 1.25; letter-spacing: -.02em; }
.hero-intro { max-width: 480px; margin-top: 20px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 27px; }
.hero-topics { margin-top: 30px; color: var(--muted); font-size: 12px; letter-spacing: .085em; text-transform: uppercase; }
.hero-topics span { color: var(--burgundy); padding-inline: 10px; }
.portrait { position: relative; width: 100%; max-width: 400px; justify-self: end; }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 4/5; border-radius: 14px; background: #29383c; box-shadow: 0 14px 40px rgba(32,59,52,.08); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.12); transform-origin: 50% 27%; }
.portrait-illustrated .portrait-frame { aspect-ratio: 1; background: #eadbb5; }
.portrait-illustrated .portrait-frame img { object-fit: contain; object-position: center; transform: none; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.portrait figcaption span:first-child { color: var(--text); }
/* Portes d'entrée de l'accueil et introductions des pages. */
.destination-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.destination-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s; }
.destination-card:hover { border-color: #9db7a7; }
.destination-card > img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.destination-body { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 27px 28px 23px; }
.destination-body h3 { font-size: 28px; margin-bottom: 13px; }
.destination-body > p { max-width: 450px; margin-bottom: 20px; color: var(--muted); }
.destination-body .text-link { margin-top: auto; }
.home-note { display: flex; justify-content: space-between; align-items: center; gap: 56px; }
.home-note-copy { max-width: 710px; }
.home-note-copy .eyebrow { margin-bottom: 13px; }
.home-note-copy h2 { font-size: 35px; }
.home-note-copy > p:last-child:not(.eyebrow) { margin-top: 17px; color: var(--muted); }
.home-note > a { flex-shrink: 0; }
.page-hero { padding-block: 60px 60px; }
.page-hero .eyebrow { margin-bottom: 17px; }
.page-title { max-width: 850px; font-size: clamp(42px,5vw,62px); line-height: 1.08; letter-spacing: -.045em; }
.page-title em { font-style: normal; color: var(--accent); }
.page-intro { max-width: 730px; margin-top: 23px; color: var(--muted); font-size: 16px; }
.page-hero.with-visual { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 60px; align-items: center; padding-block: 60px 68px; }
.page-hero-copy { min-width: 0; }
.page-hero.with-visual .page-title { font-size: clamp(40px,4.5vw,58px); }
.feature-visual { min-width: 0; }
.feature-visual img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; }
.feature-visual figcaption, .visual-caption { color: var(--muted); font-size: 11px; line-height: 1.7; margin-top: 11px; }
.page-next { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 35px 55px; border-top: 1px solid var(--line); }
.page-next > p { max-width: 650px; font-family: var(--heading); font-size: 24px; line-height: 1.4; }
.page-next > a { flex-shrink: 0; }
/* Histoire et chronologie. */
.story-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.story-lead { max-width: 350px; padding-top: 2px; font-family: var(--heading); font-size: 27px; line-height: 1.5; letter-spacing: -.02em; }
.story-text { color: var(--muted); font-size: 15px; }
.story-text p + p { margin-top: 22px; }
.story-text .story-direction { margin-top: 29px; padding-left: 21px; border-left: 2px solid var(--burgundy); color: var(--text); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 225px 1fr; gap: 38px; padding-block: 28px; border-top: 1px solid var(--line); }
.timeline-date { color: var(--muted); font-size: 13px; padding-top: 3px; }
.timeline-body { position: relative; padding-left: 28px; border-left: 1px solid var(--line); }
.timeline-body::before { content: ''; position: absolute; top: 7px; left: -4px; width: 7px; height: 7px; background: #9ab0a1; border-radius: 50%; }
.timeline-label { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 9px; }
.timeline h3 { font-size: 26px; margin-bottom: 9px; }
.timeline-body > p:not(.timeline-label) { color: var(--muted); font-size: 14px; }
.timeline-body .timeline-detail { margin-top: 11px; max-width: 730px; }
.timeline-current .timeline-date { color: var(--accent); font-weight: 600; }
.timeline-current .timeline-body::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.parallel-note { margin-top: 25px; padding: 23px 27px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 7px; background: var(--surface-soft); color: var(--muted); }
.parallel-note .text-link { margin-top: 8px; }
/* Approche et contributions professionnelles. */
.approach-section { background: var(--surface-soft); border-block: 1px solid var(--line); }
.approach-section .section { border: 0; }
.approach-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; }
.approach-card { border-top: 1px solid #c5d5c7; padding-top: 24px; }
.card-number { font-family: var(--heading); color: var(--burgundy); font-size: 13px; }
.approach-card h3 { font-size: 31px; margin-block: 17px 15px; }
.approach-card > p { color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 24px 0 0; }
.tags li { border: 1px solid #cad7ca; border-radius: 5px; padding: 4px 9px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.contribution-list { border-top: 1px solid var(--line); }
.contribution-list details { border-bottom: 1px solid var(--line); }
.contribution-list summary { list-style: none; cursor: pointer; display: flex; gap: 26px; align-items: center; padding: 26px 4px; }
.contribution-list summary::-webkit-details-marker { display: none; }
.contribution-index { font-family: var(--heading); font-size: 13px; color: var(--burgundy); }
.contribution-title { flex: 1; font-family: var(--heading); font-size: 27px; line-height: 1.3; letter-spacing: -.02em; }
.contribution-type { display: block; margin-top: 7px; color: var(--muted); font-family: var(--body); font-size: 12px; line-height: 1.7; letter-spacing: 0; }
.details-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid #c5d5c7; border-radius: 50%; color: var(--accent); font-size: 23px; line-height: 1; transition: transform .2s; }
details[open] .details-icon { transform: rotate(45deg); }
summary:hover .contribution-title { color: var(--accent); }
.contribution-content { max-width: 820px; padding: 0 0 29px 48px; color: var(--muted); font-size: 14px; }
.contribution-content p + p { margin-top: 14px; }
.social-link { margin-top: 23px; }
/* Les enseignements dispensés sont distincts des formations suivies. */
.teaching-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.teaching-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.teaching-image { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.teaching-card-content { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.teaching-card-top { display: flex; flex-direction: column; align-items: start; gap: 10px; margin-bottom: 22px; }
.teaching-organization { color: var(--accent); font-size: 12px; font-weight: 700; }
.teaching-status { color: var(--muted); font-size: 11px; border: 1px solid var(--line); border-radius: 5px; padding: 3px 9px; line-height: 1.6; }
.teaching-card h3 { font-size: 27px; line-height: 1.25; margin-bottom: 16px; }
.teaching-card-content > p, .teaching-card > p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.teaching-card .teaching-focus { font-size: 12px; margin-top: auto; margin-bottom: 0; padding-top: 20px; color: var(--text); border-top: 1px solid var(--line); }
.teaching-current { border-color: #9cb5a7; }
.teaching-current .teaching-status { color: var(--accent); border-color: #bed1c2; background: var(--accent-soft); }
.teaching-method { display: grid; grid-template-columns: .65fr 1.35fr; gap: 44px; margin-top: 34px; padding-left: 22px; border-left: 2px solid var(--burgundy); }
.teaching-method > p:last-child { color: var(--muted); font-size: 14px; }
.organization-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; margin-top: 30px; }
.organization-logos img { width: auto; max-width: 200px; height: auto; max-height: 68px; object-fit: contain; }
.organization-logos img[src$="cfg-logo.png"] { max-width: 72px; max-height: 72px; }
/* Formation continue et certificats documentés. */
.learning-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.learning-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.learning-provider { color: var(--accent); font-size: 12px; margin-bottom: 19px; font-weight: 600; }
.learning-card h3 { font-size: 28px; line-height: 1.25; }
.learning-card > p:not(.learning-provider):not(.learning-kind) { margin-top: 17px; max-width: 420px; color: var(--muted); font-size: 14px; }
.learning-kind { align-self: start; margin-top: 18px; padding: 3px 9px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
.certificate-link { margin-top: auto; padding-top: 24px; font-size: 13px; }
.learning-complements { margin-top: 34px; }
.learning-complements summary { display: grid; grid-template-columns: minmax(0,1fr) 34px; }
.complement-content { padding-bottom: 25px; color: var(--muted); font-size: 14px; }
.complement-content ul { padding-left: 20px; list-style: disc; }
.complement-content li + li { margin-top: 10px; }
.complement-content p { margin-top: 18px; }
.learning-more { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 31px; }
.learning-more h3 { font-size: 24px; margin-bottom: 10px; }
.learning-more > div > p { max-width: 720px; color: var(--muted); font-size: 14px; }
.preparation { display: flex; gap: 9px; align-items: center; padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface); font-size: 13px; white-space: nowrap; }
.preparation > span:first-child { color: var(--accent); font-size: 24px; }
.preparation > span:last-child { color: var(--muted); font-size: 12px; }
/* Contact : liens réels et copie de l'adresse à la demande. */
.contact-page { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 80px; align-items: start; padding-block: 60px 85px; }
.contact-main { min-width: 0; }
.contact-main .eyebrow { margin-bottom: 17px; }
.contact-main h1, .contact-main h2 { font-size: clamp(44px,5vw,64px); line-height: 1.1; letter-spacing: -.04em; }
.contact-main h1 em, .contact-main h2 em { font-style: normal; color: var(--accent); }
.contact-main .page-intro { margin-top: 24px; margin-bottom: 28px; }
.contact-intro { max-width: 470px; color: var(--muted); font-size: 15px; }
.contact-details { display: flex; flex-direction: column; gap: 25px; min-width: 0; padding: 31px 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-label { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .085em; margin-bottom: 8px; }
.contact-details > div > a, .contact-details > div > p:not(.contact-label):not(.copy-status) { font-size: 16px; }
.email-link { display: inline-block; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--accent); }
.copy-button { display: flex; align-items: center; gap: 13px; min-height: 44px; padding: 0; color: var(--accent); background: transparent; border: 0; cursor: pointer; font-size: 13px; font-weight: 600; }
.copy-button:hover { color: var(--burgundy); }
.copy-status { color: var(--muted); font-size: 12px; min-height: 21px; max-width: 330px; }
.contact-section { padding-block: 76px; background: var(--surface-soft); border-block: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.contact-section h2 { margin-block: 22px; }
.contact-section .contact-intro { margin-bottom: 28px; }
/* Pied de page. */
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 32px; row-gap: 8px; padding-block: 25px; border-top: 1px solid var(--line); }
.site-footer > p:not(.footer-note) { color: var(--muted); font-size: 12px; }
.footer-email { color: var(--accent); font-size: 12px; min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.footer-email:hover { color: var(--burgundy); }
.footer-note { grid-column: 2/-1; color: var(--muted); font-size: 11px; line-height: 1.7; }
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .site-nav, .site-nav ul { gap: 20px; }
  .home-hero, .hero { gap: 44px; }
  .story-layout { gap: 48px; }
  .page-hero.with-visual { gap: 40px; }
  .timeline li { grid-template-columns: 190px 1fr; gap: 30px; }
  .contact-page { gap: 42px; }
  .contact-details { padding: 27px; }
  .teaching-card-content { padding: 22px; }
  .teaching-card h3 { font-size: 25px; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 92px; }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; color: var(--text); border: 1px solid #c9d6cb; background: var(--surface); border-radius: 6px; padding: 0 13px; cursor: pointer; font-size: 13px; }
  .menu-icon, .menu-icon::after { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-icon { transform: translateY(-3px); }
  .menu-icon::after { content: ''; transform: translateY(6px); }
  .menu-open .menu-icon { transform: rotate(45deg); }
  .menu-open .menu-icon::after { transform: rotate(-90deg); }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 32px 22px; background: var(--background); border-bottom: 1px solid var(--line); box-shadow: 0 14px 25px rgba(32,59,52,.08); }
  .menu-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: flex; min-height: 46px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]::after { align-self: center; margin: 0 0 0 8px; }
  .site-nav .nav-contact { align-self: start; margin-top: 13px; border-bottom: 1px solid var(--line); }
  .home-hero, .hero { gap: 30px; padding-block: 48px 58px; }
  .home-hero h1, .hero h1 { font-size: clamp(55px,8vw,70px); }
  .hero-line { font-size: 27px; }
  .hero-copy > .eyebrow { font-size: 11px; letter-spacing: .06em; }
  .hero-actions { gap: 15px; }
  .hero-topics { font-size: 11px; }
  .hero-topics span { padding-inline: 7px; }
  .portrait figcaption { flex-direction: column; gap: 0; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 32px; }
  .page-hero { padding-block: 46px 48px; }
  .page-hero.with-visual { gap: 30px; padding-block: 48px 54px; }
  .page-hero.with-visual .page-title { font-size: 44px; }
  .story-layout { grid-template-columns: 1fr; gap: 26px; }
  .story-lead { max-width: 610px; }
  .story-text { max-width: 760px; }
  .approach-grid { gap: 24px; }
  .approach-card h3 { font-size: 28px; }
  .teaching-grid { grid-template-columns: 1fr; gap: 22px; }
  .teaching-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: stretch; }
  .teaching-image { height: 100%; min-height: 250px; }
  .teaching-card-top { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .teaching-method { grid-template-columns: 1fr; gap: 14px; }
  .learning-grid { grid-template-columns: 1fr; }
  .learning-more { align-items: start; flex-direction: column; gap: 22px; }
  .home-note { gap: 30px; align-items: start; flex-direction: column; }
  .contact-page { grid-template-columns: 1fr; gap: 36px; padding-block: 46px 64px; }
  .contact-details { max-width: 680px; }
  .contact-layout { gap: 32px; }
  .site-footer { column-gap: 24px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .site-nav { padding-inline: 20px; }
  .home-hero, .hero { grid-template-columns: 1fr; gap: 33px; padding-block: 36px 50px; }
  .home-hero h1, .hero h1 { font-size: clamp(53px,15vw,80px); margin-block: 20px 22px; }
  .hero-line { font-size: 28px; }
  .hero-intro { font-size: 15px; max-width: 470px; }
  .hero-actions { column-gap: 18px; row-gap: 10px; margin-top: 24px; }
  .button { gap: 15px; padding-inline: 18px; }
  .hero-actions .text-link { gap: 9px; }
  .hero-topics { margin-top: 22px; }
  .portrait { justify-self: start; max-width: 390px; }
  .portrait-frame { aspect-ratio: 4/4.5; }
  .portrait-frame img { object-position: 50% 15%; transform: scale(1.08); }
  .portrait figcaption { flex-direction: row; justify-content: space-between; gap: 12px; font-size: 11px; }
  .section { padding-block: 54px; }
  h2 { font-size: 34px; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .section-heading > p:last-child:not(.eyebrow) { margin-top: 17px; font-size: 14px; }
  .destination-grid { grid-template-columns: 1fr; gap: 23px; }
  .destination-body { padding: 23px; }
  .destination-body h3 { font-size: 27px; }
  .destination-body > p { font-size: 14px; }
  .home-note-copy h2 { font-size: 32px; }
  .page-hero { padding-block: 38px 42px; }
  .page-title { font-size: clamp(38px,10vw,50px); }
  .page-intro { margin-top: 20px; font-size: 15px; }
  .page-hero.with-visual { grid-template-columns: 1fr; gap: 27px; padding-block: 38px 44px; }
  .page-hero.with-visual .page-title { font-size: clamp(38px,10vw,50px); }
  .page-next { align-items: start; flex-direction: column; gap: 18px; padding-block: 29px 43px; }
  .page-next > p { font-size: 22px; }
  .story-lead { font-size: 25px; }
  .story-text { font-size: 14px; line-height: 1.9; }
  .story-text .story-direction { padding-left: 17px; }
  .timeline li { grid-template-columns: 1fr; gap: 13px; padding-block: 25px; }
  .timeline-date { font-size: 13px; }
  .timeline-body { padding-left: 21px; }
  .timeline h3 { font-size: 24px; }
  .timeline-body > p:not(.timeline-label) { font-size: 14px; }
  .parallel-note { padding: 20px; font-size: 14px; }
  .approach-grid { grid-template-columns: 1fr; gap: 29px; }
  .approach-card { padding-top: 20px; }
  .approach-card h3 { margin-block: 12px; font-size: 30px; }
  .tags { margin-top: 18px; }
  .contribution-list summary { gap: 14px; padding-block: 23px; }
  .contribution-title { font-size: 23px; }
  .contribution-type { font-size: 11px; }
  .details-icon { width: 30px; height: 30px; }
  .contribution-content { padding-left: 0; font-size: 14px; }
  .teaching-card { display: flex; }
  .teaching-image { height: auto; min-height: 0; }
  .teaching-card-content { padding: 23px; }
  .teaching-card h3 { font-size: 27px; }
  .teaching-method { padding-left: 17px; }
  .learning-grid { grid-template-columns: 1fr; gap: 18px; }
  .learning-card { padding: 25px; }
  .learning-card h3 { font-size: 27px; }
  .learning-more { padding-top: 26px; }
  .contact-page { gap: 30px; padding-block: 38px 54px; }
  .contact-main h1, .contact-main h2 { font-size: 46px; }
  .contact-details { padding: 25px 22px; gap: 21px; }
  .contact-details > div > a, .contact-details > div > p:not(.contact-label):not(.copy-status) { font-size: 15px; }
  .contact-section { padding-block: 54px; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .site-footer { grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 4px; padding-block: 22px; }
  .footer-email { grid-column: 1/-1; min-height: 40px; }
  .footer-note { grid-column: 1/-1; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { padding-inline: 16px; }
  .hero-copy > .eyebrow { font-size: 11px; letter-spacing: .025em; }
  .hero-actions { align-items: start; flex-direction: column; gap: 8px; }
  .hero-topics span { padding-inline: 5px; }
  .portrait figcaption { flex-direction: column; gap: 0; }
  .contact-main h1, .contact-main h2 { font-size: 42px; }
  .teaching-card-content, .destination-body, .learning-card { padding-inline: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
