/*
Theme Name: Shahriar Biography
Description: A responsive biography website theme for Shahriar Al Mahmud.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: shahriar-biography
*/
:root {
      color-scheme: light;
      --ink: #10211d;
      --ink-soft: #243832;
      --muted: #67756e;
      --paper: #f5f4ee;
      --paper-white: #fcfbf7;
      --line: rgba(16, 33, 29, .13);
      --lime: #d4f17a;
      --lime-deep: #a9d448;
      --coral: #ff8060;
      --serif: Georgia, "Times New Roman", serif;
      --sans: "Aptos", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      --max: 1220px;
      --radius: 28px;
      --shadow: 0 28px 70px rgba(18, 36, 31, .13);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--paper); }
    body {
      margin: 0;
      color: var(--ink);
      background: transparent;
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    .ambient-field { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; opacity: .54; }
    .ambient-field::before, .ambient-field::after { position: absolute; width: 54vw; height: 54vw; border-radius: 50%; content: ""; filter: blur(26px); }
    .ambient-field::before { top: 3%; left: -20%; background: radial-gradient(circle, rgba(185, 219, 145, .23), rgba(185, 219, 145, .05) 50%, transparent 72%); animation: aurora-drift 28s ease-in-out infinite alternate; }
    .ambient-field::after { right: -19%; bottom: -8%; background: radial-gradient(circle, rgba(255, 128, 96, .13), rgba(255, 128, 96, .035) 48%, transparent 71%); animation: aurora-drift 34s ease-in-out -8s infinite alternate-reverse; }
    .ambient-ring { position: absolute; top: 38%; right: 2%; width: min(30vw, 390px); aspect-ratio: 1; border: 1px solid rgba(72, 104, 78, .12); border-radius: 50%; box-shadow: inset 0 0 50px rgba(122, 165, 105, .04), 0 0 0 24px rgba(72, 104, 78, .025), 0 0 0 50px rgba(72, 104, 78, .02); transform: perspective(700px) rotateX(67deg) rotateZ(-22deg); animation: ambient-orbit 52s linear infinite; }
    main, .site-footer { position: relative; z-index: 1; }
    a { color: inherit; }
    a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
    img { display: block; max-width: 100%; }
    .wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 16px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 750;
      letter-spacing: .16em;
      line-height: 1.3;
      text-transform: uppercase;
    }
    .eyebrow::before { width: 22px; height: 1px; content: ""; background: currentColor; }
    .display {
      margin: 0;
      font-size: clamp(42px, 5.5vw, 76px);
      font-weight: 560;
      letter-spacing: -.065em;
      line-height: .98;
    }

    /* Navigation */
    .site-header {
      position: relative;
      z-index: 10;
      background: var(--paper);
    }
    .header-inner {
      position: relative;
      display: flex;
      min-height: 88px;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: max-content;
      text-decoration: none;
    }
    .brand-logo { display: block; width: 66px; height: 46px; flex: 0 0 auto; object-fit: contain; mix-blend-mode: multiply; }
    .brand-text { display: grid; gap: 1px; }
    .brand-text strong { font-size: 13px; letter-spacing: .025em; }
    .brand-text span { color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
    .main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
    .mobile-only-link { display: none !important; }
    .main-nav a {
      color: #53625c;
      font-size: 13px;
      font-weight: 650;
      text-decoration: none;
      transition: color .2s ease;
    }
    .main-nav a:hover { color: var(--ink); }
    .nav-cta, .button {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 0 19px;
      border: 1px solid transparent;
      border-radius: 999px;
      background: var(--ink);
      color: white;
      font-size: 13px;
      font-weight: 750;
      text-decoration: none;
      transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }
    .nav-cta:hover, .button:hover { background: #25453a; box-shadow: 0 8px 20px rgba(16, 33, 29, .15); transform: translateY(-2px); }
    .nav-cta .arrow, .button .arrow { color: var(--lime); font-size: 18px; line-height: 0; }
    .menu-toggle {
      display: none;
      min-height: 42px;
      padding: 0 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: transparent;
      color: var(--ink);
      font: inherit;
      font-size: 13px;
      font-weight: 700;
    }

    /* Hero */
    .hero {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background: #10211d;
      color: #f8f8f2;
    }
    .hero::before {
      position: absolute;
      z-index: -1;
      inset: 0;
      background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-position: center center;
      background-size: 72px 72px;
      content: "";
      mask-image: linear-gradient(90deg, transparent, black 30%, black 78%, transparent);
      opacity: .45;
      animation: grid-drift 20s linear infinite;
    }
    .hero-glow {
      position: absolute;
      z-index: -1;
      top: -250px;
      right: -120px;
      width: 780px;
      height: 780px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(121, 177, 102, .24), rgba(121, 177, 102, .08) 38%, transparent 69%);
      filter: blur(10px);
      animation: hero-aura 18s ease-in-out infinite alternate;
    }
    .hero-inner {
      display: grid;
      min-height: 660px;
      grid-template-columns: 1.12fr .88fr;
      align-items: center;
      gap: 34px;
      padding-block: 76px 88px;
    }
    .hero-copy { position: relative; z-index: 1; padding-block: 20px; }
    .hero .eyebrow { color: var(--lime); }
    .hero-heading-icon { display: grid; width: 43px; height: 43px; margin: 0 0 19px; place-items: center; border: 1px solid rgba(212,241,122,.35); border-radius: 15px; background: linear-gradient(145deg,rgba(212,241,122,.2),rgba(212,241,122,.04)); color: var(--lime); box-shadow: 0 9px 25px rgba(0,0,0,.18),inset 1px 1px 0 rgba(255,255,255,.18); transform: perspective(600px) rotateY(-12deg) rotateX(6deg); }
    .hero-heading-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .hero h1 {
      max-width: 720px;
      margin: 0;
      font-size: clamp(51px, 6.8vw, 91px);
      font-weight: 560;
      letter-spacing: -.075em;
      line-height: .98;
    }
    .hero h1 em { color: var(--lime); font-family: var(--serif); font-size: .91em; font-weight: 400; letter-spacing: -.07em; }
    .hero-intro { max-width: 550px; margin: 24px 0 0; color: rgba(248, 248, 242, .73); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.75; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .button-primary { background: var(--lime); color: var(--ink); }
    .button-primary:hover { background: #e4ff9a; }
    .button-primary .arrow { color: var(--ink); }
    .button-quiet { border-color: rgba(255,255,255,.23); background: transparent; color: white; }
    .button-quiet:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); box-shadow: none; }
    .hero-kicker { display: flex; align-items: center; gap: 10px; margin-top: 32px; color: rgba(248,248,242,.56); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
    .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(212,241,122,.1), 0 0 20px var(--lime); }

    .portrait-scene {
      position: relative;
      display: grid;
      min-height: 500px;
      place-items: center;
      perspective: 1200px;
      transform-style: preserve-3d;
    }
    .portrait-orbit {
      position: absolute;
      top: 50%;
      left: 50%;
      width: min(40vw, 470px);
      aspect-ratio: 1;
      border: 1px solid rgba(212, 241, 122, .27);
      border-radius: 50%;
      box-shadow: inset 0 0 55px rgba(140, 191, 110, .06), 0 0 60px rgba(140, 191, 110, .06);
      transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-24deg);
      animation: orbit-turn 46s linear infinite;
    }
    .portrait-orbit::before, .portrait-orbit::after {
      position: absolute;
      border: 1px solid rgba(212, 241, 122, .22);
      border-radius: 50%;
      content: "";
    }
    .portrait-orbit::before { inset: 14%; transform: rotate(-35deg) scaleY(.8); }
    .portrait-orbit::after { inset: -13%; border-color: rgba(255,255,255,.09); transform: rotate(42deg) scaleY(.62); }
    .orbit-point {
      position: absolute;
      top: 18%;
      left: 11%;
      width: 15px;
      height: 15px;
      border: 3px solid #10211d;
      border-radius: 50%;
      background: var(--coral);
      box-shadow: 0 0 24px rgba(255,128,96,.75);
    }
    .portrait-card {
      position: relative;
      z-index: 1;
      width: min(78%, 374px);
      padding: 9px;
      border: 1px solid rgba(255,255,255,.5);
      border-radius: 30px;
      background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(219,225,213,.74));
      box-shadow: 24px 32px 70px rgba(0,0,0,.32), inset 1px 1px 0 white;
      transform: rotateY(-8deg) rotateX(3deg) rotateZ(2deg) translateZ(38px);
      transform-style: preserve-3d;
      transition: transform .45s cubic-bezier(.2,.8,.2,1);
      will-change: transform;
    }
    .portrait-card img { width: 100%; aspect-ratio: 1 / 1.08; border-radius: 22px; background: #d6d5d0; object-fit: cover; object-position: 50% 22%; }
    .portrait-caption {
      position: absolute;
      right: -57px;
      bottom: 28px;
      display: grid;
      min-width: 180px;
      gap: 1px;
      padding: 13px 17px;
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 16px;
      background: rgba(15, 34, 29, .82);
      box-shadow: 0 14px 32px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.16);
      backdrop-filter: blur(16px);
      transform: translateZ(56px) rotateZ(-2deg);
    }
    .portrait-caption span { color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
    .portrait-caption strong { color: #fbfbf5; font-size: 12px; }
    .portrait-note {
      position: absolute;
      top: 14%;
      right: 1%;
      max-width: 135px;
      color: rgba(248,248,242,.7);
      font-family: var(--serif);
      font-size: 14px;
      font-style: italic;
      line-height: 1.25;
      transform: rotate(6deg);
    }
    .portrait-note::after { display: block; width: 48px; height: 1px; margin-top: 12px; background: var(--lime); content: ""; }
    .hero-index { position: absolute; right: 0; bottom: 7px; color: rgba(248,248,242,.35); font-size: 10px; letter-spacing: .14em; }

    /* Quick profile facts */
    .facts { position: relative; z-index: 2; margin-top: -31px; }
    .facts-inner {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      overflow: hidden;
      border: 1px solid rgba(16,33,29,.08);
      border-radius: 20px;
      background: var(--paper-white);
      box-shadow: 0 18px 48px rgba(16,33,29,.08);
    }
    .fact { display: flex; min-height: 98px; align-items: center; gap: 14px; padding: 18px 24px; }
    .fact + .fact { border-left: 1px solid var(--line); }
    .fact-icon {
      display: grid;
      width: 41px;
      height: 41px;
      flex: 0 0 41px;
      place-items: center;
      border-radius: 13px;
      background: #edf4dc;
      color: #527030;
      font-size: 15px;
      font-weight: 800;
    }
    .fact div { display: grid; line-height: 1.35; }
    .fact strong { font-size: 13px; }
    .fact span:not(.fact-icon) { margin-top: 3px; color: var(--muted); font-size: 11px; }

    /* Shared section patterns */
    .section { padding-block: 112px; }
    .section-heading { display: grid; grid-template-columns: 72px 1fr .9fr; align-items: center; gap: clamp(20px, 3vw, 38px); margin-bottom: 48px; }
    .section-heading .heading-icon { grid-column: 1; grid-row: 1; }
    .section-heading .heading-copy { grid-column: 2; grid-row: 1; }
    .section-heading .display { max-width: 610px; }
    .section-heading .eyebrow { margin: 0 0 12px; }
    .section-heading .section-description { grid-column: 3; grid-row: 1; max-width: 510px; margin: 0 0 2px; color: var(--muted); font-size: 15px; line-height: 1.8; }
    .heading-icon { position: relative; display: grid; width: 66px; height: 66px; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 22px; color: #35552e; box-shadow: 0 15px 28px rgba(34,62,41,.13), inset 1px 1px 0 rgba(255,255,255,.9); transform: perspective(700px) rotateY(-10deg) rotateX(5deg); animation: icon-float 7s ease-in-out infinite; }
    .heading-icon::before { position: absolute; inset: 4px 4px auto; height: 48%; border-radius: 17px 17px 50% 50%; background: linear-gradient(rgba(255,255,255,.54), transparent); content: ""; }
    .heading-icon::after { position: absolute; right: -6px; top: 8px; width: 11px; height: 11px; border: 2px solid var(--paper); border-radius: 50%; background: var(--coral); box-shadow: 0 0 16px rgba(255,128,96,.55); content: ""; }
    .heading-icon svg { position: relative; z-index: 1; width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
    .icon-intro { background: linear-gradient(145deg, #e9f2d4, #badc8c); color: #34552e; }
    .icon-heritage { background: linear-gradient(145deg, #ffe9d2, #f2bd8e); color: #895023; }
    .icon-education { background: linear-gradient(145deg, #e3eff7, #a7c7df); color: #2d5870; }
    .icon-career { background: linear-gradient(145deg, #eee8fc, #c1b1ed); color: #584790; }
    .icon-certificate { background: linear-gradient(145deg, #fff2bd, #e9cf69); color: #755b17; }
    .icon-community { background: linear-gradient(145deg, #d4f4e9, #94d7bd); color: #256148; }
    .icon-aspiration { background: linear-gradient(145deg, #ffe0d8, #f4a38c); color: #8b4432; }
    .icon-gallery { background: linear-gradient(145deg, #d8edeb, #96ceca); color: #285b59; }
    .icon-thanks { background: linear-gradient(145deg, #e6efcf, #b4d36f); color: #405b26; }
    .heading-icon-sm { display: inline-grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(16,33,29,.07); border-radius: 15px; background: linear-gradient(145deg,#eff5df,#dcebb9); color: #536d34; box-shadow: inset 1px 1px 0 #fff; }
    .heading-icon-sm svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .minor-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
    .minor-heading h3 { margin: 0; font-size: clamp(25px,3vw,34px); font-weight: 580; letter-spacing: -.055em; line-height: 1.08; }
    .section-kicker { margin: 0 0 16px; color: var(--muted); font-size: 11px; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
    .small-arrow { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: 16px; text-decoration: none; transition: transform .2s ease, background .2s ease; }
    .small-arrow:hover { background: var(--lime); transform: rotate(45deg); }

    /* Story */
    .story { padding-top: 108px; }
    .story-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(48px, 9vw, 120px); }
    .story-photo-wrap { position: relative; max-width: 420px; padding: 0 24px 24px 0; perspective: 1000px; }
    .story-photo-wrap::before {
      position: absolute;
      top: -22px;
      left: -20px;
      width: 80px;
      height: 80px;
      border: 1px solid rgba(16, 33, 29, .14);
      border-radius: 50%;
      content: "";
    }
    .story-photo {
      position: relative;
      overflow: hidden;
      border: 7px solid var(--paper-white);
      border-radius: 25px;
      box-shadow: var(--shadow);
      transform: rotateY(5deg) rotateX(1deg) rotateZ(-2deg);
      transition: transform .45s ease;
    }
    .story-photo:hover { transform: rotateY(0) rotateX(0) rotateZ(0); }
    .story-photo img { width: 100%; aspect-ratio: .83; object-fit: cover; object-position: center 15%; }
    .story-photo-label { position: absolute; right: -1px; bottom: 1px; padding: 12px 15px; border-radius: 14px 0 18px 0; background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
    .story-copy .eyebrow { margin-bottom: 18px; }
    .story-copy h2 { max-width: 600px; margin: 0; font-size: clamp(39px, 5vw, 67px); font-weight: 560; letter-spacing: -.065em; line-height: 1.02; }
    .story-copy h2 em { color: #587246; font-family: var(--serif); font-weight: 400; }
    .story-copy p { max-width: 590px; margin: 21px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
    .story-copy .story-lead { margin-top: 0; color: var(--ink-soft); font-size: clamp(17px,1.7vw,21px); font-weight: 560; letter-spacing: -.02em; line-height: 1.6; }
    .story-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
    .story-facts span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.35); color: #475951; font-size: 11px; font-weight: 680; }

    /* Early life & photo collage */
    .heritage-section { padding-top: 62px; }
    .heritage-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(38px, 6vw, 78px); }
    .heritage-copy { padding: 8px 0; }
    .heritage-copy p { margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.82; }
    .heritage-copy p:last-child { margin-bottom: 0; }
    .heritage-highlight { display: flex; align-items: center; gap: 12px; margin-top: 25px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.42); }
    .heritage-highlight strong { display: block; font-size: 12px; }
    .heritage-highlight span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
    .photo-mosaic { display: grid; grid-template-columns: .95fr 1.05fr; grid-template-rows: repeat(3, minmax(118px, 1fr)); gap: 12px; perspective: 1100px; }
    .photo-mosaic figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 5px solid var(--paper-white); border-radius: 19px; background: #d9ddd1; box-shadow: 0 16px 34px rgba(20,39,31,.12); transform: rotateY(-2deg) rotateX(1deg); transition: transform .35s ease, box-shadow .35s ease; }
    .photo-mosaic figure:hover { z-index: 1; box-shadow: 0 23px 40px rgba(20,39,31,.2); transform: translateY(-4px) rotateY(0) rotateX(0) scale(1.015); }
    .photo-mosaic figure:first-child { grid-row: 1 / span 3; }
    .photo-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
    .photo-mosaic figure:first-child img { object-position: 56% center; }
    .photo-mosaic figure:nth-child(2) img { object-position: 76% center; }
    .photo-mosaic figcaption { position: absolute; right: 8px; bottom: 8px; left: 8px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.23); border-radius: 10px; background: rgba(14,31,26,.62); color: white; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(9px); }

    /* Education timeline */
    .education-grid { grid-template-columns: 1fr 1.06fr; align-items: stretch; }
    .education-path { position: relative; display: grid; align-content: start; gap: 12px; }
    .education-path::before { position: absolute; top: 32px; bottom: 32px; left: 27px; width: 1px; background: linear-gradient(var(--lime-deep),rgba(16,33,29,.1)); content: ""; }
    .education-step { position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(252,251,247,.84); box-shadow: 0 11px 25px rgba(16,33,29,.035); }
    .education-step .step-icon { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(16,33,29,.09); border-radius: 15px; background: linear-gradient(145deg,#edf5df,#d5e8b1); color: #506c31; box-shadow: inset 1px 1px 0 #fff; }
    .education-step .step-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .education-step time { display: block; margin: 1px 0 4px; color: #718174; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
    .education-step h3 { margin: 0; font-size: 17px; font-weight: 730; letter-spacing: -.025em; line-height: 1.25; }
    .education-step p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
    .education-panel { display: flex; flex-direction: column; justify-content: center; }
    .education-panel > p { position: relative; z-index: 1; }
    .education-panel .minor-heading { position: relative; z-index: 1; margin: 5px 0 12px; }
    .education-panel .minor-heading h3 { color: #f8f8f2; font-size: clamp(28px,3.2vw,40px); }
    .education-panel .heading-icon-sm { border-color: rgba(255,255,255,.16); background: linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.05)); color: var(--lime); }

    /* Professional development */
    .career-section { padding-block: 112px; }
    .career-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .career-card { min-height: 410px; }
    .career-symbol svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .career-card h3 { margin-top: 25px; }
    .career-card .career-copy { position: relative; z-index: 1; }
    .career-meta { position: relative; z-index: 1; }
    .career-employers { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
    .career-employers a { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #596860; font-size: 9px; font-weight: 720; text-decoration: none; }
    .career-employers a:hover { border-color: #91b64a; background: #f1f7e3; color: var(--ink); }

    /* Certifications */
    .certification-section { padding-block: 112px; background: rgba(236,238,230,.9); }
    .cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
    .cert-card { position: relative; min-height: 256px; padding: 22px; overflow: hidden; border: 1px solid rgba(16,33,29,.1); border-radius: 19px; background: var(--paper-white); box-shadow: 0 12px 28px rgba(16,33,29,.04); transition: transform .3s ease, box-shadow .3s ease; }
    .cert-card:hover { box-shadow: 0 21px 36px rgba(16,33,29,.11); transform: translateY(-5px) rotateX(1deg); }
    .cert-card::after { position: absolute; right: -36px; bottom: -46px; width: 120px; height: 120px; border: 1px solid rgba(16,33,29,.08); border-radius: 50%; box-shadow: 0 0 0 15px rgba(16,33,29,.025); content: ""; }
    .cert-icon { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(16,33,29,.08); border-radius: 14px; background: linear-gradient(145deg,#eff5df,#d8e8ba); color: #536d34; box-shadow: inset 1px 1px 0 white; }
    .cert-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .cert-card h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 740; letter-spacing: -.03em; line-height: 1.23; }
    .cert-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
    .cert-label { display: inline-block; margin-top: 13px; color: #698042; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

    /* Leadership and aspirations */
    .community-section { padding-block: 112px; background: rgba(230,235,221,.93); }
    .community-board { min-height: 430px; }
    .community-copy { min-height: 430px; }
    .community-copy h3 { display: flex; align-items: flex-start; gap: 14px; }
    .community-copy h3 .heading-icon-sm { margin-top: 3px; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.1); color: var(--lime); }
    .community-copy h3 .heading-icon-sm svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
    .aspiration-section { padding-block: 112px 65px; }
    .aspiration-card { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 35px; padding: clamp(32px,5vw,58px); overflow: hidden; border: 1px solid rgba(16,33,29,.1); border-radius: 26px; background: linear-gradient(135deg,#fbfaf4,#edf1e4); box-shadow: 0 23px 48px rgba(16,33,29,.07); }
    .aspiration-card::after { position: absolute; top: -165px; right: -80px; width: 380px; height: 380px; border: 1px solid rgba(79,110,66,.15); border-radius: 50%; box-shadow: 0 0 0 24px rgba(79,110,66,.025),0 0 0 50px rgba(79,110,66,.02); content: ""; }
    .aspiration-copy, .aspiration-emblem { position: relative; z-index: 1; }
    .aspiration-copy p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
    .aspiration-emblem { display: grid; min-height: 185px; place-items: center; perspective: 800px; }
    .aspiration-emblem::before { position: absolute; width: 175px; aspect-ratio: 1; border: 1px solid rgba(87,119,55,.24); border-radius: 50%; box-shadow: 0 0 0 18px rgba(87,119,55,.045),0 0 0 37px rgba(87,119,55,.03); content: ""; transform: rotateX(67deg) rotateZ(-18deg); animation: ambient-orbit 34s linear infinite reverse; }
    .aspiration-emblem svg { position: relative; width: 76px; height: 76px; padding: 19px; border: 1px solid rgba(16,33,29,.1); border-radius: 25px; background: linear-gradient(145deg,#e3f1ba,#a9d54d); color: #304d27; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; box-shadow: 10px 14px 25px rgba(76,104,39,.18),inset 1px 1px 0 rgba(255,255,255,.9); transform: rotateY(-14deg) rotateX(7deg); }

    /* Career */
    .career-section { background: rgba(236, 238, 230, .91); }
    .career-section .section-heading { margin-bottom: 42px; }
    .career-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .career-card { 
      position: relative;
      display: flex;
      min-height: 340px;
      flex-direction: column;
      padding: 27px;
      overflow: hidden;
      border: 1px solid rgba(16,33,29,.1);
      border-radius: 22px;
      background: var(--paper-white);
      box-shadow: 0 12px 30px rgba(16,33,29,.035);
      transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
    }
    .career-card:hover { box-shadow: 0 22px 42px rgba(16,33,29,.12); transform: translateY(-7px) rotateX(1deg); }
    .career-card::after { position: absolute; right: -37px; bottom: -70px; width: 170px; height: 170px; border: 1px solid rgba(16,33,29,.08); border-radius: 50%; box-shadow: 0 0 0 18px rgba(16,33,29,.025), 0 0 0 37px rgba(16,33,29,.018); content: ""; }
    .career-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
    .career-num { color: #819087; font-size: 11px; font-weight: 760; letter-spacing: .13em; }
    .career-symbol { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: #e9f2d5; color: #435b2c; font-size: 17px; }
    .career-card h3 { margin: 34px 0 7px; font-size: 24px; font-weight: 650; letter-spacing: -.045em; line-height: 1.12; }
    .career-card .career-role { margin: 0; color: #557146; font-size: 12px; font-weight: 760; }
    .career-card .career-copy { margin: 18px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.75; }
    .career-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: #68766f; font-size: 10px; font-weight: 730; letter-spacing: .045em; }
    .career-meta a { text-decoration-color: rgba(16,33,29,.3); text-underline-offset: 3px; }
    .career-meta a:hover { color: var(--ink); }

    /* Education & skills */
    .education-section { padding-bottom: 106px; }
    .education-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 19px; }
    .education-panel {
      position: relative;
      padding: clamp(28px, 4vw, 45px);
      overflow: hidden;
      border-radius: 26px;
      background: var(--ink);
      color: #f8f8f2;
    }
    .education-panel::after { position: absolute; right: -110px; top: -120px; width: 310px; height: 310px; border: 1px solid rgba(212,241,122,.2); border-radius: 50%; box-shadow: 0 0 0 26px rgba(212,241,122,.035), 0 0 0 54px rgba(212,241,122,.025); content: ""; }
    .education-panel .eyebrow { color: var(--lime); }
    .education-panel h2 { max-width: 450px; margin: 0; font-size: clamp(34px, 4vw, 49px); font-weight: 560; letter-spacing: -.06em; line-height: 1.04; }
    .education-panel > p { max-width: 430px; margin: 16px 0 30px; color: rgba(248,248,242,.65); font-size: 13px; }
    .degree-list { position: relative; z-index: 1; display: grid; gap: 11px; }
    .degree {
      display: grid;
      grid-template-columns: 56px 1fr;
      align-items: center;
      gap: 16px;
      padding: 14px;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 16px;
      background: rgba(255,255,255,.055);
      backdrop-filter: blur(10px);
    }
    .degree-logo-link { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; padding: 4px; overflow: hidden; border: 1px solid rgba(16,33,29,.1); border-radius: 14px; background: white; transition: transform .2s ease; }
    .degree-logo-link:hover { transform: translateY(-2px) scale(1.03); }
    .degree-logo { width: 100%; height: 100%; object-fit: contain; }
    .degree strong { display: block; font-size: 14px; }
    .degree-institution { display: inline-flex; align-items: baseline; gap: 5px; margin-top: 3px; color: rgba(248,248,242,.65); font-size: 11px; line-height: 1.45; text-decoration-color: rgba(248,248,242,.35); text-underline-offset: 3px; }
    .degree-institution:hover { color: var(--lime); }
    .degree-institution span { color: var(--lime); font-size: 12px; text-decoration: none; }
    .training-panel { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 45px); border: 1px solid var(--line); border-radius: 26px; background: var(--paper-white); }
    .training-panel h3 { margin: 0; font-size: clamp(28px, 3vw, 39px); font-weight: 580; letter-spacing: -.055em; line-height: 1.05; }
    .training-panel > p { margin: 13px 0 21px; color: var(--muted); font-size: 13px; }
    .skill-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
    .skill-list li { display: grid; grid-template-columns: 12px 1fr; align-items: start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
    .skill-list li::before { width: 8px; height: 8px; margin-top: 6px; border-radius: 3px; background: #9acb4b; content: ""; transform: rotate(45deg); }
    .skill-list strong { display: block; font-size: 12px; }
    .skill-list span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.55; }

    /* Community */
    .community-section { padding: 110px 0 120px; background: rgba(230,235,221,.93); }
    .community-section .section-heading { margin-bottom: 41px; }
    .community-board {
      position: relative;
      min-height: 390px;
      overflow: hidden;
      border-radius: 27px;
      background: #1b342c;
      box-shadow: var(--shadow);
    }
    .community-board img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; opacity: .75; }
    .community-board::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,21,.93) 0%, rgba(10,25,21,.79) 41%, rgba(10,25,21,.1) 100%), linear-gradient(0deg, rgba(10,25,21,.2), transparent 50%); content: ""; }
    .community-copy { position: relative; z-index: 1; display: flex; min-height: 390px; max-width: 590px; flex-direction: column; justify-content: center; padding: clamp(30px, 6vw, 70px); color: white; }
    .community-copy .eyebrow { color: var(--lime); }
    .community-copy h3 { max-width: 490px; margin: 0; font-size: clamp(35px, 5vw, 56px); font-weight: 560; letter-spacing: -.06em; line-height: 1.02; }
    .community-copy p { max-width: 460px; margin: 17px 0 0; color: rgba(255,255,255,.73); font-size: 14px; line-height: 1.75; }
    .community-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
    .community-tags span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(255,255,255,.08); color: white; font-size: 10px; font-weight: 730; backdrop-filter: blur(8px); }

    /* Closing / contact */
    .closing { padding-block: 116px; }
    .closing-card {
      position: relative;
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      align-items: center;
      gap: 38px;
      padding: clamp(34px, 6vw, 72px);
      overflow: hidden;
      border-radius: 29px;
      background: var(--lime);
      box-shadow: 0 26px 60px rgba(78,100,43,.13);
    }
    .closing-card::before, .closing-card::after { position: absolute; right: -24px; top: -190px; width: 420px; height: 420px; border: 1px solid rgba(16,33,29,.16); border-radius: 50%; content: ""; }
    .closing-card::after { right: 50px; top: -150px; width: 340px; height: 340px; box-shadow: 0 0 0 20px rgba(16,33,29,.035); }
    .closing-copy { position: relative; z-index: 1; }
    .closing-copy .eyebrow { color: #526b36; }
    .closing-copy h2 { max-width: 650px; margin: 0; font-size: clamp(41px, 5.3vw, 70px); font-weight: 570; letter-spacing: -.07em; line-height: .99; }
    .closing-title-row { display: flex; align-items: center; gap: 17px; }
    .closing-title-row .heading-icon { width: 61px; height: 61px; flex: 0 0 61px; border-color: rgba(255,255,255,.65); }
    .closing-title-row .heading-icon svg { width: 30px; height: 30px; }
    .closing-copy p { max-width: 470px; margin: 20px 0 0; color: #526144; font-size: 14px; line-height: 1.75; }
    .closing-action { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
    .closing-action .button { min-height: 54px; padding-inline: 23px; background: var(--ink); }
    .closing-action .button:hover { background: #284539; }
    .closing-action small { max-width: 220px; color: #536240; font-size: 11px; }
    .site-footer { padding-block: 27px 34px; border-top: 1px solid var(--line); }
    .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 19px; }
    .copyright { margin: 0; color: var(--muted); font-size: 11px; }
    .social-links { display: flex; flex-wrap: wrap; gap: 7px; }
    .social-links a { display: inline-flex; min-height: 33px; align-items: center; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: #53625b; font-size: 10px; font-weight: 700; text-decoration: none; transition: border-color .2s ease, color .2s ease, background .2s ease; }
    .social-links a:hover { border-color: var(--ink); background: white; color: var(--ink); }

    .reveal { opacity: 1; transform: translateY(0); }
    .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
    .js .reveal.is-visible { opacity: 1; transform: translateY(0); }
    .js .reveal[data-delay="1"] { transition-delay: .08s; }
    .js .reveal[data-delay="2"] { transition-delay: .16s; }
    .js .reveal[data-delay="3"] { transition-delay: .24s; }

    @keyframes aurora-drift { from { transform: translate3d(0,0,0) scale(.94); } to { transform: translate3d(7vw,5vh,0) scale(1.08); } }
    @keyframes ambient-orbit { from { rotate: 0deg; } to { rotate: 360deg; } }
    @keyframes hero-aura { from { transform: translate3d(-2%,0,0) scale(.96); } to { transform: translate3d(3%,5%,0) scale(1.08); } }
    @keyframes grid-drift { to { background-position: 72px 72px,72px 72px; } }
    @keyframes orbit-turn { from { transform: translate(-50%,-50%) rotateX(70deg) rotateZ(-24deg); } to { transform: translate(-50%,-50%) rotateX(70deg) rotateZ(336deg); } }
    @keyframes icon-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }

    @media (max-width: 1100px) {
      .hero-inner { min-height: 580px; grid-template-columns: 1.05fr .95fr; gap: 10px; padding-block: 61px 76px; }
      .hero h1 { font-size: clamp(51px, 7vw, 72px); }
      .portrait-scene { min-height: 440px; }
      .portrait-card { width: min(86%, 340px); }
      .portrait-caption { right: -30px; }
      .fact { padding-inline: 15px; }
      .story-grid { gap: 55px; }
      .career-card { padding: 22px; }
      .section { padding-block: 95px; }
      .header-inner { gap: 12px; }
      .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
      .main-nav { position: absolute; top: calc(100% - 2px); right: 0; z-index: 20; display: none; width: min(410px,calc(100vw - 48px)); align-items: stretch; gap: 2px; padding: 9px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper-white); box-shadow: 0 18px 40px rgba(16,33,29,.14); }
      .main-nav.is-open { display: grid; }
      .main-nav a { padding: 10px 12px; border-radius: 10px; }
      .main-nav a:hover { background: var(--paper); }
      .mobile-only-link { display: block !important; }
    }
    @media (max-width: 680px) {
      html { scroll-padding-top: 72px; }
      .wrap { width: min(var(--max), calc(100% - 36px)); }
      .header-inner { min-height: 72px; gap: 10px; }
      .brand-logo { width: 56px; height: 39px; }
      .brand-text strong { font-size: 12px; }
      .brand-text span { font-size: 9px; }
      .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
      .main-nav {
        position: absolute;
        top: calc(100% - 4px);
        right: 18px;
        left: 18px;
        width: auto;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 9px;
        border: 1px solid var(--line);
        border-radius: 17px;
        background: var(--paper-white);
        box-shadow: 0 18px 40px rgba(16,33,29,.14);
      }
      .main-nav.is-open { display: grid; }
      .main-nav a { padding: 12px; border-radius: 10px; }
      .main-nav a:hover { background: var(--paper); }
      .nav-cta { min-height: 42px; padding-inline: 14px; font-size: 12px; }
      .nav-cta { display: none; }
      .hero-inner { grid-template-columns: 1fr; gap: 15px; padding-block: 62px 55px; }
      .hero-copy { padding-block: 0; }
      .hero h1 { max-width: 560px; font-size: clamp(50px, 12vw, 75px); }
      .hero-intro { max-width: 540px; margin-top: 19px; font-size: 15px; }
      .hero-actions { margin-top: 24px; }
      .hero-kicker { margin-top: 23px; }
      .portrait-scene { min-height: 400px; margin-top: 9px; }
      .portrait-orbit { width: min(84vw, 380px); }
      .portrait-card { width: min(75%, 310px); }
      .portrait-caption { right: -28px; bottom: 22px; min-width: 160px; }
      .portrait-note { top: 7%; right: 2%; }
      .hero-index { right: 0; bottom: 0; }
      .facts { margin-top: -15px; }
      .facts-inner { grid-template-columns: 1fr 1fr; border-radius: 17px; }
      .fact { min-height: 78px; padding: 13px; gap: 10px; }
      .fact:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
      .fact:nth-child(4) { border-top: 1px solid var(--line); }
      .fact-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 11px; font-size: 13px; }
      .fact strong { font-size: 11px; }
      .fact span:not(.fact-icon) { font-size: 9px; }
      .section { padding-block: 78px; }
      .section-heading { grid-template-columns: 52px 1fr; align-items: start; gap: 13px; margin-bottom: 34px; }
      .section-heading .heading-icon { grid-column: 1; grid-row: 1 / span 2; width: 50px; height: 50px; border-radius: 17px; }
      .section-heading .heading-icon svg { width: 24px; height: 24px; }
      .section-heading .heading-copy { grid-column: 2; grid-row: 1; }
      .section-heading .eyebrow { margin: 0 0 8px; }
      .section-heading .section-description { grid-column: 2; grid-row: 2; margin: 10px 0 0; font-size: 13px; }
      .display { font-size: clamp(42px, 11vw, 59px); }
      .story { padding-top: 78px; }
      .story-grid { grid-template-columns: 1fr; gap: 43px; }
      .story-photo-wrap { width: min(82%, 350px); margin-left: 12px; }
      .story-copy h2 { font-size: clamp(42px, 11vw, 58px); }
      .story-copy p { font-size: 14px; }
      .heritage-section { padding-top: 28px; }
      .heritage-grid { grid-template-columns: 1fr; gap: 28px; }
      .photo-mosaic { grid-template-rows: repeat(3,minmax(105px,1fr)); gap: 9px; }
      .photo-mosaic figure { border-width: 4px; border-radius: 15px; }
      .photo-mosaic figcaption { right: 5px; bottom: 5px; left: 5px; padding: 6px; font-size: 8px; }
      .career-section { padding-top: 78px; }
      .career-grid { grid-template-columns: 1fr; gap: 12px; }
      .career-card { min-height: 300px; }
      .education-grid { grid-template-columns: 1fr; }
      .education-panel, .training-panel { border-radius: 22px; }
      .education-step { grid-template-columns: 46px 1fr; gap: 11px; padding: 14px; }
      .education-step .step-icon { width: 42px; height: 42px; border-radius: 13px; }
      .education-path::before { left: 20px; }
      .education-panel { padding: 24px 20px; }
      .degree { grid-template-columns: 48px 1fr; gap: 11px; padding: 11px; }
      .degree-logo-link { width: 48px; height: 48px; flex-basis: 48px; }
      .degree-institution { font-size: 10px; }
      .certification-section { padding-block: 78px; }
      .cert-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
      .cert-card { min-height: 225px; padding: 16px; }
      .cert-card h3 { font-size: 15px; }
      .community-section { padding-block: 78px; }
      .community-board, .community-copy { min-height: 440px; }
      .community-board img { object-position: 62% center; }
      .community-board::after { background: linear-gradient(90deg, rgba(10,25,21,.92) 0%, rgba(10,25,21,.72) 66%, rgba(10,25,21,.25) 100%); }
      .community-copy { justify-content: flex-end; padding: 27px; }
      .aspiration-section { padding-block: 78px 30px; }
      .aspiration-card { grid-template-columns: 1fr; gap: 15px; padding: 26px 23px; }
      .aspiration-emblem { min-height: 150px; }
      .closing { padding-block: 78px; }
      .closing-card { grid-template-columns: 1fr; gap: 27px; padding: 32px 25px; border-radius: 23px; }
      .closing-card::before { right: -190px; top: -180px; }
      .closing-card::after { right: -85px; top: -145px; }
      .closing-copy h2 { font-size: clamp(43px, 11vw, 61px); }
      .closing-title-row { align-items: flex-start; gap: 12px; }
      .closing-title-row .heading-icon { width: 49px; height: 49px; flex-basis: 49px; border-radius: 16px; }
      .footer-inner { align-items: flex-start; }
      .social-links { max-width: 100%; }
    }
    @media (max-width: 430px) {
      .cert-grid { grid-template-columns: 1fr; }
      .cert-card { min-height: 0; }
      .brand-text span { display: none; }
      .brand-logo { width: 49px; }
      .menu-toggle { width: 44px; justify-content: center; padding-inline: 0; font-size: 0; }
      .menu-toggle span { font-size: 18px; }
    }
    /* Keep biography and supporting copy comfortable to read at every viewport. */
    .photo-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.55fr) minmax(0, 1fr); height: clamp(440px, 35vw, 540px); }
    .photo-mosaic figure:first-child { grid-column: 1 / span 2; grid-row: 1; }
    .photo-mosaic figure:first-child img { object-fit: contain; object-position: center; }
    .photo-mosaic figure:nth-child(2) { grid-column: 3; grid-row: 1; }
    .photo-mosaic figure:nth-child(3) { grid-column: 1; grid-row: 2; }
    .photo-mosaic figure:nth-child(3) img { object-position: center 72%; }
    .photo-mosaic figure:nth-child(4) { grid-column: 2; grid-row: 2; }
    .photo-mosaic figure:nth-child(4) img { object-fit: contain; object-position: center; }
    .brand-text strong { font-size: 14px; }
    .brand-text span { font-size: 12px; }
    .main-nav a, .nav-cta, .button { font-size: 14px; }
    .hero-intro, .section-heading .section-description, .story-copy p,
    .heritage-copy p, .education-step p, .career-card .career-copy,
    .cert-card p, .aspiration-copy p, .community-copy p, .closing-copy p,
    .education-panel > p, .training-panel > p { font-size: 16px; }
    .story-copy .story-lead { font-size: clamp(18px, 1.7vw, 22px); }
    .fact strong, .portrait-caption strong, .career-card .career-role,
    .degree strong { font-size: 14px; }
    .fact span:not(.fact-icon), .degree-institution, .skill-list span { font-size: 13px; }
    .education-step time, .career-meta, .career-employers a, .cert-label,
    .photo-mosaic figcaption, .story-photo-label, .hero-kicker, .hero-index,
    .eyebrow, .section-kicker, .community-tags span, .copyright,
    .closing-action small, .social-links a { font-size: 12px; }
    .education-step h3, .cert-card h3 { font-size: 19px; }

    @media (max-width: 680px) {
      .photo-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: clamp(220px, 72vw, 290px) 165px 165px; height: auto; }
      .photo-mosaic figure:first-child { grid-column: 1 / -1; grid-row: 1; }
      .photo-mosaic figure:nth-child(2) { grid-column: 1; grid-row: 2; }
      .photo-mosaic figure:nth-child(3) { grid-column: 2; grid-row: 2; }
      .photo-mosaic figure:nth-child(4) { grid-column: 2; grid-row: 3; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
      .js .reveal { opacity: 1; transform: none; }
      .ambient-field { display: none; }
    }
