/* Shared editorial system. The only large patterned surfaces are the two rails. */
:root {
  --paper: #f7f4ed;
  --ink: #383134;
  --burgundy: #472a37;
  --terracotta: #975443;
  --muted: #6b6861;
  --tile-blue: #65879b;
  --tile-deep-blue: #426b83;
  --tile-teal: #51877f;
  --tile-green: #718d77;
  --rule: #d0cabf;
  --rule-strong: #aaa399;
  --tile-rail-width: clamp(48px, 4.1vw, 58px);
  --tile-pattern-width: var(--tile-rail-width);
  --page-inset: clamp(28px, 6.4vw, 84px);
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }

/* Reserved space exists before paint. Both rails share one asset and repeat origin. */
.tile-frame { min-height: 100svh; padding-inline: var(--tile-rail-width); }
.tile-rail { position: fixed; inset-block: 0; width: var(--tile-rail-width); background: var(--tile-blue) url('/andalusian-tile.svg') repeat-y center top / var(--tile-pattern-width) auto; pointer-events: none; z-index: 2; }
.tile-rail--left { left: 0; }
.tile-rail--right { right: 0; transform: scaleX(-1); }
.page-surface { min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); }
main { flex: 1; min-width: 0; }
.wrap { width: min(1120px, calc(100% - 2 * var(--page-inset))); margin-inline: auto; }
::selection { background: #dec7b7; color: var(--burgundy); }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--terracotta); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 6px; }
main:focus { outline: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-feature-settings: "kern"; text-wrap: balance; color: var(--burgundy); }
h1 { font-size: clamp(3.4rem, 6.3vw, 5.7rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2.7rem, 4.5vw, 4rem); line-height: 1.04; letter-spacing: -.035em; }
h3 { font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: 1.12; letter-spacing: -.025em; }
p + p { margin-top: 1.15em; }
ol, ul { padding: 0; margin: 0; list-style: none; }
dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.eyebrow { font-size: .6875rem; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.accent { color: var(--terracotta); }
.context { font-size: .75rem; line-height: 1.7; color: var(--muted); }
.skip-link { position: fixed; top: -6rem; left: calc(var(--tile-rail-width) + 12px); padding: .8rem 1.2rem; background: var(--burgundy); color: var(--paper); z-index: 3; }
.skip-link:focus { top: 1rem; color: var(--paper); }

.masthead { position: relative; min-height: 96px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--rule-strong); }
.masthead::after { content: ""; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); width: 40px; height: 32px; background: var(--paper) url('/tile-ornament.svg') no-repeat center / 25px 25px; }
.wordmark { font-family: var(--serif); font-size: 2.2rem; line-height: 1; text-decoration: none; letter-spacing: -.12em; }
.wordmark-middle { font-size: .75em; position: relative; top: -.12em; }
.wordmark-dot { color: var(--terracotta); }
.masthead-note { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--muted); }
nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: .75rem; }
nav a { text-decoration: none; min-height: 44px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .5em; }
nav a[aria-current="page"] { color: var(--burgundy); }

.hero { padding-top: 52px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 7%; align-items: start; }
.roles { margin-bottom: 24px; }
.hero h1 { font-size: clamp(4.5rem, 8.45vw, 7.7rem); line-height: .9; letter-spacing: -.055em; text-wrap: initial; }
.credential { font-family: var(--sans); font-size: .135em; letter-spacing: .03em; display: inline-block; margin-left: 16px; vertical-align: middle; }
.hero-headline { font-family: var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.65rem); line-height: 1.12; letter-spacing: -.025em; margin-top: 30px; }
.hero-introduction { max-width: 540px; margin-top: 21px; font-size: .9rem; line-height: 1.65; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 44px; font-size: .8125rem; line-height: 1.5; padding: 12px 0 7px; border-bottom: 1px solid var(--rule-strong); text-decoration: none; margin-top: 21px; }
.text-link span { font-size: 1.15rem; }
.text-link:hover { border-color: currentColor; }
.inquiry { padding: 15px 0 0 35px; border-left: 1px solid var(--rule); }
.inquiry > .eyebrow { color: var(--terracotta); margin-bottom: 23px; }
.inquiry-steps li { position: relative; display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 15px; padding-bottom: 32px; align-items: baseline; }
.inquiry-steps li::before { content: ""; position: absolute; top: 24px; left: -44.5px; width: 18px; height: 18px; background: var(--paper) url('/tile-ornament.svg') no-repeat center / contain; }
.inquiry-steps li:last-child { padding-bottom: 0; }
.step-no { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--terracotta); }
.inquiry-word { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: -.035em; color: var(--burgundy); }
.inquiry-detail { display: block; font-size: .75rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.inquiry-arrow { position: absolute; bottom: 3px; left: 38px; color: var(--muted); font-size: 1.15rem; }
.inquiry-question { margin-top: 36px; max-width: 280px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.18; font-style: italic; letter-spacing: -.02em; color: var(--burgundy); }
figcaption { font-size: .6875rem; line-height: 1.5; margin-top: 16px; max-width: 290px; color: var(--muted); }
.focus-line { grid-column: 1 / -1; border-block: 1px solid var(--rule); margin-top: 56px; padding: 18px 0; display: flex; justify-content: space-between; gap: 18px; font-size: .75rem; color: var(--muted); }

/* Ruled contents and articles replace filled panels and card treatments. */
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: start; margin-bottom: 55px; }
.section-heading > .eyebrow { padding-top: 10px; color: var(--muted); display: flex; gap: 22px; }
.section-heading > .eyebrow span { font-family: var(--serif); font-size: 1.1rem; line-height: 1; color: var(--terracotta); }
.home-work { padding-top: 88px; }
.work-index { border-bottom: 1px solid var(--rule); }
.work-index li { border-top: 1px solid var(--rule); }
.work-index a { display: grid; grid-template-columns: 1fr 2fr 24px; align-items: baseline; gap: 28px; padding-block: 29px; text-decoration: none; }
.work-index h3 { font-size: clamp(1.75rem, 2.5vw, 2.35rem); }
.work-index a:hover h3, .home-directory a:hover { color: var(--terracotta); }
.work-index .context { margin-top: 10px; }
.work-index a > span:last-child { align-self: center; font-size: 1.4rem; }
.home-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; margin-top: 76px; padding-top: 34px; border-top: 1px solid var(--rule); }
.home-directory h2 { font-size: clamp(2rem, 3vw, 2.9rem); margin-block: 21px 18px; }
.home-directory a { text-decoration: none; }
.home-directory h2 span { font-family: var(--sans); font-size: .5em; vertical-align: middle; padding-left: .4em; }
.home-directory section > p:last-child { max-width: 460px; font-size: .9rem; color: var(--muted); }
.work, .writing, .background { padding-top: 70px; }
.teaching-feature, .research-feature, .curriculum-feature, .collaboration, .personal { display: grid; grid-template-columns: 1fr 1.1fr; gap: 9%; padding-block: 44px 54px; border-top: 1px solid var(--rule); }
.teaching-copy h2, .feature-heading h2, .collaboration h2 { font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: 1.12; letter-spacing: -.025em; margin-top: 22px; max-width: 430px; }
.teaching-copy > .context, .feature-heading .context { margin-block: 20px; }
.teaching-copy > p:not(.eyebrow):not(.context), .feature-body, .curriculum-introduction, .contribution-list dd, .community-copy, .collaboration > div + div, .personal-copy { font-size: .9375rem; line-height: 1.85; }
.practice-list { padding-top: 36px; }
.practice-list li { display: flex; gap: 22px; border-bottom: 1px solid var(--rule); padding: 22px 0; }
.practice-list li:first-child { padding-top: 0; }
.practice-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.practice-no { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 1rem; padding-top: 3px; }
.practice-list h3 { font-family: var(--serif); color: var(--burgundy); font-size: 1.75rem; line-height: 1.2; margin-bottom: 8px; }
.practice-list p { font-size: .875rem; line-height: 1.8; color: var(--muted); }
.feature-body { padding-top: 3px; }
.method-list { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .75rem; color: var(--muted); }
.curriculum-introduction { color: var(--muted); }
.contribution-list { margin: 0; padding-top: 3px; }
.contribution-list > div + div { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--rule); }
.contribution-list dt { font-family: var(--serif); color: var(--burgundy); font-size: 1.85rem; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 12px; }
.community-inner { padding-block: 45px 54px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1.1fr; gap: 9%; }
.community-inner .eyebrow { color: var(--terracotta); }
.community-inner h2 { font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: 1.12; margin-top: 22px; }
.community-inner .context { margin-top: 20px; }
.community-inner h2::first-line { font-style: italic; }
.collaboration { padding-bottom: 0; }
.experience-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 5px; font-size: .8rem; color: var(--terracotta); }

.writing .section-heading, .background .section-heading { margin-bottom: 25px; }
.section-intro { max-width: 660px; margin-left: calc((100% - 36px) / 3 + 36px); font-size: .9375rem; line-height: 1.8; color: var(--muted); margin-bottom: 45px; }
.books > li { display: grid; grid-template-columns: .62fr 2fr 1fr; gap: 32px; border-top: 1px solid var(--rule); padding-block: 32px 36px; scroll-margin-top: 32px; }
.book-date { display: flex; flex-direction: column; gap: 13px; padding-top: 5px; }
.book-date > span:first-child { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--terracotta); }
.book-role { font-size: .6875rem; line-height: 1.65; letter-spacing: .07em; text-transform: uppercase; max-width: 120px; }
.book-title h2 { font-size: 2.2rem; line-height: 1.1; }
.book-subtitle { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; margin-top: 9px; }
.book-credit { font-size: .75rem; color: var(--muted); margin-top: 15px; line-height: 1.7; }
.book-note { font-size: .8125rem; line-height: 1.8; color: var(--muted); padding-top: 5px; }
.publication-links { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 2px; margin-top: 13px; }
.publication-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; font-size: .8125rem; text-decoration-color: var(--rule-strong); }
.publication-links a:hover { text-decoration-color: currentColor; }
.publication-links a span { font-size: .75rem; }
.book-title .edition-note { max-width: 46ch; margin-top: 8px; font-size: .75rem; line-height: 1.65; color: var(--muted); }
.articles { border-block: 1px solid var(--rule-strong); margin-top: 8px; }
.articles summary { padding: 20px 0; min-height: 44px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: .875rem; gap: 25px; list-style: none; }
.articles summary::-webkit-details-marker { display: none; }
.details-mark::before { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; }
.articles[open] .details-mark::before { content: "−"; }
.articles ol { border-top: 1px solid var(--rule); padding-block: 3px 20px; }
.articles li { display: grid; grid-template-columns: .62fr 3fr; gap: 32px; padding-block: 26px; }
.articles li + li { border-top: 1px solid var(--rule); }
.article-year { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 1.3rem; }
.articles h2 { font-size: 1.6rem; line-height: 1.35; text-wrap: pretty; }
.articles li p { font-size: .8125rem; margin-top: 10px; }
.articles li .publication { color: var(--muted); margin-top: 4px; }
.experience { border-top: 1px solid var(--rule-strong); }
.experience article { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; padding-block: 27px; border-bottom: 1px solid var(--rule); }
.experience-place { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-right: 16px; }
.experience h2 { font-size: 1.6rem; line-height: 1.3; text-wrap: initial; }
.date { font-size: .75rem; color: var(--terracotta); white-space: nowrap; }
.experience h3 { font-family: var(--sans); font-size: .9rem; font-weight: 500; line-height: 1.5; letter-spacing: normal; text-wrap: initial; margin-bottom: 8px; }
.experience article > div + div > p { font-size: .875rem; line-height: 1.85; max-width: 670px; color: var(--muted); }
.education { margin-top: 50px; }
.education-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; margin-bottom: 27px; }
.education-heading h2 { font-size: 2rem; }
.education-heading p { font-size: .8125rem; color: var(--muted); }
.degrees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; border-top: 1px solid var(--rule); padding-top: 23px; }
.degrees > div + div { border-left: 1px solid var(--rule); padding-left: 27px; }
.degrees dt { display: flex; gap: 20px; align-items: baseline; justify-content: space-between; margin-bottom: 15px; }
.degrees dt span:first-child { font-family: var(--serif); font-size: 1.85rem; }
.degrees dt span + span { font-size: .75rem; color: var(--terracotta); }
.degrees dd { font-size: .875rem; line-height: 1.55; }
.degree-detail { font-size: .75rem; color: var(--muted); margin-top: 8px; }
.personal { margin-top: 65px; padding-bottom: 0; }
.personal h2 { font-size: clamp(2.3rem, 3.6vw, 3.35rem); margin-top: 20px; }
.personal.with-portrait { grid-template-columns: .8fr 1fr; gap: 30px 8%; align-items: start; }
.with-portrait .portrait { grid-row: span 2; max-width: 370px; }
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.with-portrait .personal-copy { grid-column: 2; }

.contact { margin-top: 88px; color: var(--burgundy); }
.contact > .wrap { border-top: 1px solid var(--rule-strong); padding-top: 42px; }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; padding-bottom: 43px; }
.contact-main .eyebrow { color: var(--terracotta); }
.contact h2 { font-size: clamp(2.3rem, 3.8vw, 3.6rem); margin-top: 20px; max-width: 490px; }
.contact-copy { font-size: .9rem; line-height: 1.8; align-self: end; }
.contact-copy > p { max-width: 430px; color: var(--muted); }
.email-link { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.85rem); display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); min-height: 44px; padding: 14px 0 10px; text-decoration: none; overflow-wrap: anywhere; letter-spacing: -.02em; }
.colophon { padding-block: 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 22px; border-top: 1px solid var(--rule); font-size: .75rem; color: var(--muted); }
.colophon a { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.contact-page, .not-found { padding-block: 76px 30px; }
.contact-page h1, .not-found h1 { margin-top: 27px; max-width: 780px; }
.contact-page-copy { margin-top: 36px; max-width: 520px; margin-left: calc((100% - 36px) / 3 + 36px); }
.contact-page-copy > p, .not-found > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; }
.contact-page-copy .email-link { font-size: clamp(1.4rem, 3vw, 2.4rem); margin-top: 20px; }
.page-contact .contact > .wrap { border-top: 0; padding-top: 0; }
.not-found > p:not(.eyebrow) { margin-top: 30px; max-width: 530px; }

/* Teaching philosophy is an essay with evidence links, followed by practice. */
.teaching-philosophy { padding-top: 78px; }
.teaching-philosophy .section-heading { margin-bottom: 28px; }
.education-themes { border-bottom: 1px solid var(--rule); }
.education-themes > li { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; padding-block: 29px; border-top: 1px solid var(--rule); }
.theme-heading { display: flex; align-items: baseline; gap: 22px; }
.theme-number, .guide-number { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 1rem; }
.theme-heading h3 { font-size: 2.7rem; line-height: 1.1; }
.theme-body { font-size: .9375rem; line-height: 1.85; }
.theme-body .experience-link { margin-top: 8px; }
.work-description { font-size: .9375rem; line-height: 1.8; color: var(--ink); margin-top: 16px; }
.work .section-heading { margin-bottom: 28px; }
.work-guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-bottom: 48px; padding-block: 23px; border-block: 1px solid var(--rule); }
.work-guide li { position: relative; min-width: 0; }
.work-guide a { display: flex; gap: 12px; align-items: baseline; text-decoration: none; min-height: 44px; }
.guide-word { display: block; font-family: var(--serif); font-size: 1.85rem; line-height: 1.1; letter-spacing: -.025em; color: var(--burgundy); }
.guide-detail { display: block; font-size: .75rem; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.guide-arrow { position: absolute; top: 3px; right: -22px; color: var(--muted); font-size: 1rem; }
.work-guide a:hover .guide-word { color: var(--terracotta); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.work > .research-feature { border-top: 0; padding-top: 0; }
.work .collaboration { padding-bottom: 54px; }
.work > .community-inner { padding-bottom: 0; }
.educator-story { border-top: 1px solid var(--rule); }
.educator-story > li { display: grid; grid-template-columns: 1fr 1.45fr; gap: 9%; padding-block: 35px; border-bottom: 1px solid var(--rule); }
.story-heading .eyebrow { font-size: .6875rem; letter-spacing: .08em; }
.story-heading h2 { font-size: 2.2rem; line-height: 1.12; margin-top: 16px; }
.story-body { font-size: .9375rem; line-height: 1.85; padding-top: 3px; }
.philosophy-return { margin-top: 18px; }
.appointments { margin-top: 50px; border-block: 1px solid var(--rule-strong); }
.appointments summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding-block: 18px; font-size: .875rem; cursor: pointer; list-style: none; }
.appointments summary::-webkit-details-marker { display: none; }
.appointments[open] .details-mark::before { content: "−"; }
.appointments .experience { border-top-color: var(--rule); }
.appointments .experience article:last-child { border-bottom: 0; }

@media (max-width: 1100px) {
  :root { --page-inset: 40px; }
  .masthead { gap: 24px; }
  nav { gap: 20px; }
  .masthead-note { font-size: .9rem; }
  .hero { column-gap: 5%; }
  .hero h1 { font-size: 8.4vw; }
  .inquiry { padding-left: 26px; }
  .inquiry-steps li::before { left: -35.5px; }
  .inquiry-word { font-size: 2.25rem; }
  .inquiry-detail { font-size: .6875rem; }
  .experience-place { display: block; }
  .experience-place .date { margin-top: 8px; }
  .books > li { gap: 24px; grid-template-columns: .55fr 2fr 1fr; }
}

@media (max-width: 900px) {
  :root { --tile-rail-width: clamp(26px, 4.4vw, 38px); --page-inset: 30px; }
  .masthead { flex-wrap: wrap; gap: 0; padding-block: 24px 10px; }
  .masthead-note { margin-left: auto; font-size: 1rem; }
  nav { flex-basis: 100%; justify-content: space-between; gap: 16px; margin-top: 13px; font-size: .8125rem; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero h1 { font-size: clamp(5rem, 12vw, 6.75rem); }
  .hero-headline { font-size: clamp(2rem, 4.5vw, 2.6rem); }
  .hero-introduction { font-size: .9375rem; max-width: 560px; }
  .inquiry { margin-top: 44px; padding: 25px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .inquiry-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 36px; }
  .inquiry-steps li { padding: 0; gap: 12px; }
  .inquiry-steps li::before, .inquiry-arrow { display: none; }
  .inquiry-word { font-size: 2.15rem; }
  .inquiry-detail { font-size: .75rem; max-width: 230px; }
  .inquiry-question { max-width: 400px; }
  .inquiry figcaption { max-width: 360px; }
  .focus-line { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .section-heading { display: block; margin-bottom: 34px; }
  .teaching-philosophy { padding-top: 56px; }
  .education-themes > li { grid-template-columns: 1fr 1.65fr; gap: 25px; }
  .theme-heading { gap: 14px; }
  .theme-heading h3 { font-size: 2.3rem; }
  .work-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 36px; margin-bottom: 35px; }
  .guide-arrow { display: none; }
  .educator-story > li { grid-template-columns: 1fr; gap: 20px; }
  .story-heading h2 { max-width: 520px; }
  .work .collaboration { padding-bottom: 40px; }
  .section-heading > .eyebrow { padding-top: 0; margin-bottom: 22px; }
  .section-intro { margin-left: 0; }
  .home-work { padding-top: 62px; }
  .work-index a { grid-template-columns: 1fr 24px; gap: 12px 20px; }
  .work-index .eyebrow { grid-column: 1 / -1; }
  .work-index h3 { font-size: 2rem; }
  .home-directory { margin-top: 58px; }
  .home-directory h2 { font-size: 2.2rem; }
  .work, .writing, .background { padding-top: 54px; }
  .teaching-feature, .research-feature, .curriculum-feature, .community-inner, .collaboration, .personal { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
  .practice-list { padding-top: 0; }
  .teaching-copy h2, .feature-heading h2, .collaboration h2 { max-width: 570px; }
  .books > li { grid-template-columns: 95px 1fr; gap: 16px 24px; }
  .book-note { grid-column: 2; padding-top: 0; }
  .book-title h2 { font-size: 2.1rem; }
  .articles li { grid-template-columns: 60px 1fr; gap: 24px; }
  .experience article { grid-template-columns: 1fr 1.8fr; gap: 24px; }
  .degrees { gap: 22px; }
  .degrees > div + div { padding-left: 20px; }
  .personal { margin-top: 45px; padding-bottom: 0; }
  .contact { margin-top: 58px; }
  .contact-main { gap: 7%; }
  .contact h2 { font-size: 2.5rem; }
  .contact-page, .not-found { padding-top: 54px; }
  .contact-page-copy { margin-left: 0; }
  .colophon { gap: 10px 24px; flex-wrap: wrap; }
  .colophon > span:nth-child(2) { display: none; }
}

@media (max-width: 600px) {
  /* Crop a legible 40px repeat instead of shrinking its geometry into noise. */
  :root { --tile-rail-width: clamp(12px, 3.8vw, 18px); --tile-pattern-width: 40px; --page-inset: clamp(16px, 5vw, 26px); }
  .masthead { padding-top: 25px; }
  .wordmark { font-size: 2rem; }
  .masthead-note { font-size: .875rem; }
  nav { font-size: .75rem; gap: 10px; }
  .hero { padding-top: 38px; }
  .roles { font-size: .625rem; letter-spacing: .12em; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(3.5rem, 15.6vw, 5.5rem); line-height: .94; letter-spacing: -.045em; }
  .credential { font-size: .17em; margin-left: 10px; }
  .hero-headline { font-size: clamp(1.65rem, 6.8vw, 2.4rem); margin-top: 27px; }
  .hero-introduction { font-size: .9375rem; line-height: 1.75; margin-top: 20px; }
  .hero-copy .text-link { margin-top: 17px; }
  .inquiry-steps { gap: 26px 18px; }
  .inquiry-steps li { display: block; }
  .step-no { display: block; margin-bottom: 8px; font-size: .9375rem; }
  .inquiry-word { font-size: clamp(1.7rem, 6.5vw, 2.1rem); }
  .inquiry-detail { font-size: .75rem; }
  .inquiry-question { font-size: 1.55rem; }
  .focus-line { font-size: .6875rem; gap: 12px 16px; }
  h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  h2 { font-size: 2.7rem; }
  h3 { font-size: 2.2rem; }
  .section-heading { margin-bottom: 30px; }
  .work-index h3 { font-size: 1.9rem; }
  .work-index .eyebrow { font-size: .625rem; }
  .home-directory { grid-template-columns: 1fr; gap: 35px; }
  .education-themes > li { grid-template-columns: 1fr; gap: 16px; padding-block: 26px; }
  .theme-heading { gap: 18px; }
  .theme-heading h3 { font-size: 2.5rem; }
  .work-guide { gap: 24px 18px; }
  .work-guide a { display: block; }
  .guide-number { display: block; margin-bottom: 9px; }
  .guide-word { font-size: 1.75rem; }
  .educator-story > li { padding-block: 28px; }
  .story-heading h2 { font-size: 2.2rem; }
  .appointments { margin-top: 38px; }
  .home-directory h2 { margin-top: 17px; }
  .home-directory section + section { border-top: 1px solid var(--rule); padding-top: 30px; }
  .home-directory section > p:last-child { font-size: .9375rem; }
  .practice-list li { gap: 17px; }
  .books > li { grid-template-columns: 1fr; gap: 14px; }
  .book-date { flex-direction: row; align-items: baseline; gap: 20px; padding-top: 0; }
  .book-role { max-width: none; }
  .book-note { grid-column: auto; font-size: .875rem; }
  .articles li { grid-template-columns: 1fr; gap: 12px; }
  .articles h2 { font-size: 1.5rem; }
  .experience article { grid-template-columns: 1fr; gap: 15px; }
  .experience-place { display: flex; padding-right: 0; }
  .experience-place .date { margin-top: 0; }
  .education-heading { display: block; }
  .education-heading p { margin-top: 10px; }
  .degrees { grid-template-columns: 1fr; gap: 23px; }
  .degrees > div { display: grid; grid-template-columns: 70px 1fr; gap: 20px; }
  .degrees > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 23px; }
  .degrees dt { display: block; margin: 0; }
  .degrees dt span { display: block; }
  .degrees dd { padding-top: 5px; }
  .personal.with-portrait { grid-template-columns: 1fr; gap: 28px; }
  .with-portrait .portrait { grid-row: auto; }
  .with-portrait .personal-copy { grid-column: auto; }
  .contact-main { grid-template-columns: 1fr; gap: 25px; padding-bottom: 34px; }
  .contact > .wrap { padding-top: 32px; }
  .contact h2 { max-width: 400px; }
  .contact-copy { font-size: .9375rem; }
  .email-link { font-size: 1.45rem; }
  .colophon { font-size: .6875rem; gap: 4px 12px; padding-block: 18px; }
  .colophon a { margin-left: auto; }
  .contact-page-copy .email-link { font-size: clamp(1.2rem, 5.4vw, 2rem); }
}

@media (max-width: 360px) {
  .guide-word { font-size: 1.6rem; }
  nav { font-size: .6875rem; gap: 8px; }
  nav a { gap: 4px; }
  .masthead-note { font-size: .75rem; }
  .email-link { font-size: 1.25rem; }
  .experience-place { gap: 10px; }
  .experience h2 { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  :root { --tile-rail-width: 0px; --page-inset: 0px; }
  body, .page-surface { background: white; color: black; font-size: 11pt; }
  .page-surface { min-height: 0; }
  .tile-rail, .masthead::after, .inquiry-steps li::before, nav, .skip-link, .colophon a { display: none; }
  .wrap { width: 100%; }
  .masthead { min-height: 55px; }
  .hero, .work, .writing, .background, .contact-page { padding-top: 25px; }
  .hero h1 { font-size: 55pt; }
  h1 { font-size: 40pt; }
  h2 { font-size: 30pt; }
  h3 { font-size: 24pt; }
  .hero-headline { font-size: 20pt; }
  .inquiry-word { font-size: 25pt; }
  .home-work, .home-directory, .contact, .personal { margin-top: 30px; padding-top: 25px; }
  article, .books > li, .education { break-inside: avoid; }
  .articles { display: none; }
  .teaching-philosophy { padding-top: 30px; }
  .theme-heading h3, .story-heading h2 { font-size: 24pt; }
  .work-guide { display: none; }
  .appointments::details-content { display: block; content-visibility: visible; }
  .appointments summary { cursor: auto; }
  .email-link { font-size: 15pt; }
}
