
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --cream:   #faf8f4;
    --white:   #ffffff;
    --ink:     #1a1714;
    --ink2:    #3d3a36;
    --muted:   #8a8480;
    --sage:    #4d7b6f;
    --sage-lt: #e8f2ee;
    --rule:    #e8e4de;
    --radius:  6px;
  }
  html { scroll-behavior: smooth; font-size: 16px; }
  body { font-family: 'Inter', system-ui, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; height: 60px; background: rgba(250,248,244,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
  .nav-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; letter-spacing: .03em; color: var(--ink); text-decoration: none; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { background: var(--ink) !important; color: var(--cream) !important; padding: .45rem 1.2rem; border-radius: 2px; font-size: .75rem !important; letter-spacing: .1em !important; }
  .nav-cta:hover { background: var(--sage) !important; color: var(--white) !important; }

  /* HERO */
  #hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 6% 5rem; position: relative; }
  #hero::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--rule); }
  .hero-inner { max-width: 960px; width: 100%; }
  .hero-kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 2.5rem; }
  .hero-kicker-line { width: 32px; height: 1px; background: var(--sage); }
  .hero-kicker span { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
  .hero-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.8rem, 9vw, 7.5rem); font-weight: 600; line-height: .96; color: var(--ink); margin-bottom: 2rem; letter-spacing: -.01em; }
  .hero-name em { font-style: italic; color: var(--sage); }
  .hero-desc { font-size: 1.05rem; color: var(--ink2); max-width: 560px; font-weight: 300; line-height: 1.75; margin-bottom: 3rem; }
  .hero-meta { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--rule); margin-bottom: 3rem; }
  .meta-item { padding: 1.25rem 2.5rem 1.25rem 0; margin-right: 2.5rem; border-right: 1px solid var(--rule); }
  .meta-item:last-child { border-right: none; }
  .meta-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .2rem; }
  .meta-value { font-size: .92rem; font-weight: 500; color: var(--ink); }
  .hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; }
  .btn-dark { background: var(--ink); color: var(--cream); text-decoration: none; padding: .8rem 2rem; font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; transition: background .2s; }
  .btn-dark:hover { background: var(--sage); }
  .btn-ghost { border: 1px solid var(--ink); color: var(--ink); text-decoration: none; padding: .8rem 2rem; font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; transition: all .2s; }
  .btn-ghost:hover { background: var(--ink); color: var(--cream); }

  /* COMMON */
  .wrap { max-width: 1080px; margin: 0 auto; }
  section { padding: 6rem 6%; }
  .alt { background: var(--white); }
  .eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
  .eyebrow-line { width: 24px; height: 1px; background: var(--sage); flex-shrink: 0; }
  .eyebrow span { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
  .section-heading { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; line-height: 1.1; color: var(--ink); margin-bottom: 1rem; }
  .section-sub { font-size: .95rem; color: var(--muted); max-width: 520px; line-height: 1.7; }
  .divider { width: 100%; height: 1px; background: var(--rule); margin: 3rem 0; }

  /* ABOUT */
  .about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; margin-top: 4rem; }
  .about-photo { background: #ede9e3; border-radius: 2px; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
  .about-body p { font-size: .97rem; color: var(--ink2); line-height: 1.8; margin-bottom: 1.25rem; }
  .interest-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
  .pill { font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--rule); color: var(--ink2); padding: .35rem .9rem; border-radius: 2px; transition: all .2s; cursor: default; }
  .pill:hover { border-color: var(--sage); color: var(--sage); }

  /* TRAINING */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 4rem; }
  .col-label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: .75rem; margin-bottom: 2rem; }
  .tl { display: flex; flex-direction: column; }
  .tl-row { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
  .tl-row:last-child { border-bottom: none; }
  .tl-yr { font-size: .78rem; color: var(--muted); padding-top: .15rem; letter-spacing: .02em; }
  .tl-content h4 { font-size: .97rem; font-weight: 600; color: var(--ink); margin-bottom: .15rem; }
  .tl-content p { font-size: .85rem; color: var(--muted); margin-bottom: .1rem; }
  .tl-content em { font-size: .82rem; color: var(--sage); font-style: normal; }

  /* RESEARCH */
  .pub-list { margin-top: 3rem; display: flex; flex-direction: column; }
  .pub-row-item { display: grid; grid-template-columns: 28px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
  .pub-row-item:first-child { border-top: 1px solid var(--rule); }
  .pub-n { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--sage); font-style: italic; padding-top: .1rem; }
  .pub-title { font-size: .97rem; font-weight: 500; color: var(--ink); margin-bottom: .4rem; line-height: 1.45; }
  .pub-authors { font-size: .82rem; color: var(--muted); margin-bottom: .3rem; }
  .pub-authors strong { color: var(--ink2); }
  .pub-journal { font-size: .82rem; color: var(--sage); font-style: italic; }
  .pub-doi { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
  .pres-two { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
  .pres-head { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: .75rem; margin-bottom: .5rem; }
  .pres-entry { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
  .pres-entry:last-child { border-bottom: none; }
  .pres-entry p { font-size: .9rem; color: var(--ink2); line-height: 1.45; margin-bottom: .3rem; }
  .pres-meta { font-size: .78rem; color: var(--muted); }

  /* BLOG */
  .blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 4rem; }
  .blog-card { display: flex; flex-direction: column; }
  .blog-art { aspect-ratio: 16/9; border-radius: 2px; margin-bottom: 1.5rem; }
  .blog-art.s1 { background: linear-gradient(135deg,#e8f2ee,#c8ddd7); }
  .blog-art.s2 { background: linear-gradient(135deg,#e8e8f2,#c8c8dd); }
  .blog-art.s3 { background: linear-gradient(135deg,#f2ede8,#ddd0c4); }
  .blog-cat { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: .5rem; }
  .blog-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: .65rem; }
  .blog-card p { font-size: .85rem; color: var(--muted); flex: 1; line-height: 1.65; }
  .blog-footer-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
  .blog-date { font-size: .75rem; color: var(--muted); }
  .blog-link { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--sage); text-decoration: none; }
  .blog-link:hover { color: var(--ink); }
  .soon-bar { margin-top: 3rem; padding: 1.5rem 2rem; border: 1px dashed var(--rule); border-radius: 2px; display: flex; align-items: center; gap: 1rem; }
  .soon-bar p { font-size: .85rem; color: var(--muted); }

  /* LEARNING */
  .learn-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 4rem; }
  .learn-card { padding: 2rem 1.75rem; border: 1px solid var(--rule); border-radius: 2px; background: var(--cream); transition: border-color .2s; }
  .learn-card:hover { border-color: var(--sage); }
  .learn-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 400; color: var(--sage); line-height: 1; margin-bottom: 1rem; font-style: italic; }
  .learn-card h3 { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .75rem; letter-spacing: .01em; }
  .learn-card ul { list-style: none; }
  .learn-card ul li { font-size: .82rem; color: var(--muted); padding: .3rem 0; border-bottom: 1px solid var(--rule); line-height: 1.4; }
  .learn-card ul li:last-child { border-bottom: none; }
  .case-block { margin-top: 3rem; padding: 2.5rem; background: var(--white); border-radius: 2px; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; border: 1px solid var(--rule); }
  .case-aside h4 { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: .75rem; }
  .case-aside p { font-size: .85rem; color: var(--muted); line-height: 1.65; }
  .case-main h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ink); margin-bottom: .75rem; font-weight: 600; }
  .case-main p { font-size: .9rem; color: var(--ink2); line-height: 1.75; }

  /* CONTACT */
  #contact { background: var(--ink); }
  #contact .section-heading { color: var(--cream); }
  #contact .section-sub { color: rgba(250,248,244,.5); }
  #contact .eyebrow-line { background: var(--sage); }
  #contact .eyebrow span { color: var(--sage); }
  .contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; margin-top: 4rem; align-items: start; }
  .contact-items { display: flex; flex-direction: column; gap: 2rem; }
  .c-label { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,248,244,.35); margin-bottom: .3rem; }
  .c-val { font-size: .97rem; color: rgba(250,248,244,.85); }
  .c-val a { color: rgba(250,248,244,.85); text-decoration: none; }
  .c-val a:hover { color: var(--sage); }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-form input, .contact-form textarea { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(250,248,244,.9); padding: .9rem 1rem; border-radius: 2px; font-family: inherit; font-size: .88rem; transition: border-color .2s; }
  .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.25); }
  .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sage); }
  .contact-form textarea { min-height: 130px; resize: vertical; }
  .contact-form button { background: var(--sage); color: #fff; border: none; padding: .9rem 2rem; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: opacity .2s; align-self: flex-start; }
  .contact-form button:hover { opacity: .85; }

  /* FOOTER */
  footer { background: #111007; padding: 2rem 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .foot-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(250,248,244,.4); font-weight: 500; }
  .foot-copy { font-size: .75rem; color: rgba(250,248,244,.25); letter-spacing: .03em; }

  
  /* LINKS */
  .pub-doi a, .text-link { color: var(--sage); text-decoration: none; border-bottom: 1px solid rgba(77,123,111,.3); }
  .pub-doi a:hover, .text-link:hover { color: var(--ink); }
  .nav-links a.current { color: var(--ink); font-weight: 600; }

  /* MOBILE NAV */
  .nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; color: var(--ink); }
  .nav-toggle svg { width: 22px; height: 22px; }

  /* PAGE HEADER (inner pages) */
  .page-head { padding: 9rem 6% 3.5rem; border-bottom: 1px solid var(--rule); }
  .page-head .section-sub { max-width: 620px; }
  .fine { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: .75rem; }

  /* CASES */
  .case-grid { display: grid; gap: 3.5rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
  .case-card { margin: 0; }
  .ba { --pos: 50%; position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; background: #ede9e3; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
  .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
  .ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
  .ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none; }
  .ba .knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.28); display: grid; place-items: center; color: var(--ink); font-size: 14px; letter-spacing: 3px; }
  .ba .tag { position: absolute; top: 12px; padding: 3px 10px; border-radius: 2px; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(26,23,20,.55); pointer-events: none; transition: opacity .2s; }
  .ba .tag.b { left: 12px; } .ba .tag.a { right: 12px; }
  .ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
  .ba:focus-within .knob { outline: 3px solid var(--sage); outline-offset: 2px; }
  .case-card figcaption { margin-top: 1.1rem; }
  .case-dx { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
  .case-detail { font-size: .88rem; color: var(--ink2); margin-top: .3rem; }
  .case-meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-top: .5rem; }
  .case-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3.5rem; }

  /* CV */
  .cv-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
  .cv { max-width: 860px; }
  .cv-sec { padding: 2.5rem 0; border-bottom: 1px solid var(--rule); }
  .cv-sec:last-child { border-bottom: 0; }
  .cv-sec > h2 { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.25rem; }
  .cv-item { display: grid; grid-template-columns: 1fr auto; gap: .25rem 2rem; padding: .75rem 0; }
  .cv-item h3 { font-size: .97rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
  .cv-item .where { font-size: .88rem; color: var(--muted); grid-column: 1; }
  .cv-item .when { font-size: .82rem; color: var(--muted); white-space: nowrap; grid-row: 1; grid-column: 2; padding-top: .1rem; }
  .cv-item ul { grid-column: 1 / -1; margin: .35rem 0 0 1.1rem; }
  .cv-item li, .cv-item .desc { font-size: .88rem; color: var(--ink2); line-height: 1.6; }
  .cv-item .desc { grid-column: 1 / -1; }
  .cv-cite { font-size: .9rem; color: var(--ink2); line-height: 1.6; padding: .6rem 0 .6rem 2em; text-indent: -2em; }
  .cv-cite strong { color: var(--ink); }
  .cv-cite a { color: var(--sage); text-decoration: none; }
  .cv-plain { list-style: none; columns: 2; column-gap: 3rem; }
  .cv-plain li { font-size: .9rem; color: var(--ink2); padding: .3rem 0; break-inside: avoid; }

  @media print {
    nav, footer, .cv-actions, .no-print { display: none !important; }
    body { background: #fff; font-size: 10.5pt; line-height: 1.45; }
    .page-head { padding: 0 0 12pt; }
    .page-head .eyebrow { display: none; }
    section { padding: 0 !important; }
    .cv-sec { padding: 12pt 0; break-inside: auto; }
    .cv-item, .cv-cite { break-inside: avoid; padding: 4pt 0; }
    .cv-cite { padding-left: 2em; }
    .cv-plain { columns: 2; }
    a { color: inherit !important; border: 0 !important; }
    @page { margin: 0.6in; }
  }

/* RESPONSIVE */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .about-grid, .two-col, .pres-two, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .blog-grid, .learn-grid { grid-template-columns: 1fr 1fr; }
    .case-block { grid-template-columns: 1fr; gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .hero-meta { flex-direction: column; }
    .meta-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 1rem 0; margin-right: 0; }
  }
  @media (max-width: 580px) {
    .blog-grid, .learn-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 900px) {
    .nav-toggle { display: inline-grid; place-items: center; }
    nav.open .nav-links { display: flex; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--rule); padding: .5rem 6% 1.25rem; }
    nav.open .nav-links a { display: block; padding: .8rem 0; font-size: .85rem; }
    nav.open .nav-cta { display: inline-block !important; margin-top: .5rem; }
    .case-teaser { grid-template-columns: 1fr; gap: 2rem; }
    .page-head { padding-top: 7rem; }
  }
  @media (max-width: 580px) {
    .cv-item { grid-template-columns: 1fr; }
    .cv-item .when { grid-row: auto; grid-column: 1; }
    .cv-plain { columns: 1; }
    .hero-name { font-size: 3.4rem; }
  }
  .contact-btn { display: inline-block; background: var(--sage); color: #fff; text-decoration: none; padding: .9rem 2rem; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; margin-right: .75rem; transition: opacity .2s; }
  .contact-btn:hover { opacity: .85; }
  .contact-btn.ghost { background: transparent; border: 1px solid rgba(250,248,244,.35); color: rgba(250,248,244,.85); }
  @media (max-width: 900px) { nav.open .nav-links a.nav-cta { padding: .6rem 1.2rem; } }
  .contact-form .contact-btn { align-self: flex-start; }
  #contact .contact-form { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .75rem; }
  #contact .contact-form p { flex-basis: 100%; }
  .page-head + section { padding-top: 2.5rem; }

  /* HEADER PHOTOS (appear automatically when the image file exists) */
  .hero-inner.with-photo { max-width: 1180px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
  .hero-photo { aspect-ratio: 4 / 5; border-radius: 2px; overflow: hidden; background: #ede9e3; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .page-head.has-photo { position: relative; overflow: hidden; border-bottom: 0; padding-top: 11rem; padding-bottom: 4.5rem; }
  .page-head.has-photo .head-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .page-head.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(26,23,20,.82) 0%, rgba(26,23,20,.55) 55%, rgba(26,23,20,.25) 100%); }
  .page-head.has-photo .wrap { position: relative; z-index: 2; }
  .page-head.has-photo .section-heading { color: var(--cream); }
  .page-head.has-photo .section-sub, .page-head.has-photo .fine { color: rgba(250,248,244,.78); }
  .page-head.has-photo .eyebrow span { color: #a9cfc3; } .page-head.has-photo .eyebrow-line { background: #a9cfc3; }
  .page-head.has-photo .btn-dark { background: var(--cream); color: var(--ink); }
  .page-head.has-photo .btn-ghost { border-color: rgba(250,248,244,.7); color: var(--cream); }
  @media (max-width: 900px) {
    .hero-inner.with-photo { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-photo { order: -1; aspect-ratio: 4 / 3; }
  }
  @media print { .head-photo { display: none !important; } .page-head.has-photo::after { display: none; } .page-head.has-photo .section-heading { color: var(--ink); } .page-head.has-photo .section-sub { color: var(--muted); } }
  .photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; margin-top: 4rem; }
  .photo-row figure { margin: 0; }
  .photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; display: block; }
  .photo-row figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
  .page-head.has-photo .head-photo { object-position: center 35%; }
  .hero-photo img { object-position: right center; }
  .photo-row img[src*="acs-omega"] { object-fit: contain; background: #fff; border: 1px solid var(--rule); }
  .photo-row.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .page-head .head-photo[src*="header-cases"] { object-position: center 5%; }
  .foot-links { display: flex; gap: 1.5rem; }
  .foot-links a { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(250,248,244,.55); text-decoration: none; }
  .foot-links a:hover { color: #a9cfc3; }
  #contact .c-val a { border-bottom: 1px solid rgba(250,248,244,.25); }
  .tl-content p a.text-link { color: inherit; }
  .print-only { display: none; }
  @media print { .print-only { display: inline; } }

  /* LINK CHIPS (filled in by site.js) */
  .link-row { display: flex; flex-wrap: wrap; gap: .5rem; }
  .chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); border: 1px solid var(--rule); background: rgba(255,255,255,.6); padding: .45rem .85rem; border-radius: 999px; text-decoration: none; transition: all .2s; }
  .chip:hover, .chip:focus-visible { border-color: var(--sage); color: var(--sage); }
  .chip span { font-size: .8em; opacity: .7; }
  .page-head.has-photo .chip { color: var(--cream); border-color: rgba(250,248,244,.4); background: rgba(26,23,20,.25); }
  .page-head.has-photo .chip:hover { border-color: #a9cfc3; color: #a9cfc3; }
  .nav-links li.menu-links { display: none; }
  @media (max-width: 900px) {
    nav.open .nav-links li.menu-links { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; margin-top: .75rem; border-top: 1px solid var(--rule); }
    nav.open .nav-links li.menu-links a { display: inline-flex; padding: .45rem .85rem; font-size: .7rem; }
  }
  @media print { .link-row { display: none; } }
  .hero-photo img { object-position: center top; }
  @media (max-width: 900px) { .hero-photo { aspect-ratio: 4 / 5; max-width: 300px; width: 100%; } }

  /* ENTRY THUMBNAILS + VIEWER */
  .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; margin-top: .9rem; max-width: 420px; }
  .thumb { padding: 0; border: 1px solid var(--rule); background: #fff; border-radius: 2px; cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
  .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
  .thumb.contain img { object-fit: contain; }
  .thumb:hover img { transform: scale(1.04); }
  .thumb:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
  .entry-links { display: flex; flex-direction: column; gap: .3rem; margin-top: .6rem; font-size: .82rem; }
  .lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(17,16,7,.92); display: grid; place-items: center; padding: 3rem 16px; }
  .lightbox[hidden] { display: none; }
  .lightbox figure { margin: 0; max-width: min(1100px, 100%); }
  .lightbox img { max-width: 100%; max-height: 80vh; display: block; margin: 0 auto; border-radius: 2px; }
  .lightbox figcaption { color: rgba(250,248,244,.8); font-size: .9rem; text-align: center; margin-top: 1rem; }
  .lb-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
  .entry-links a { align-self: flex-start; }

  /* CLINICAL TRAINING */
  #clinical { background: var(--white); }
  .learn-grid.three { grid-template-columns: repeat(3, 1fr); }
  .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 3rem; }
  .gallery .thumb { aspect-ratio: 3 / 4; }
  .gallery .thumb img { object-position: center 30%; }
  @media (max-width: 900px) { .learn-grid.three { grid-template-columns: 1fr; } .gallery { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 580px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 1100px) { .nav-links { gap: 1.6rem; } }
  .two-col > div, .tl-content, .pres-two > div { min-width: 0; }
  .tl-row { grid-template-columns: 90px minmax(0, 1fr); }
  @media (max-width: 580px) { .tl-row { grid-template-columns: 1fr; gap: .4rem; } }
  .pub-row-item { grid-template-columns: 28px minmax(0, 1fr); } .pub-info { min-width: 0; } .thumbs { max-width: 100%; }
  .hero-cred { display: block; font-family: 'Inter', sans-serif; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 500; letter-spacing: .14em; color: var(--ink2); margin-top: 1.1rem; }
  @media (max-width: 580px) { .nav-brand { font-size: 1rem; } }
  a.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
  a.card-link ul { flex: 1; }
  a.card-link:hover, a.card-link:focus-visible { border-color: var(--sage); transform: translateY(-2px); }
  a.card-link { transition: border-color .2s, transform .2s; }
  .card-cta { margin-top: 1.25rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }
  #clinical-gallery, #research { scroll-margin-top: 80px; }
