/* Site layout on top of the design system. Tokens only; no new colors. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { height: auto; }
::selection { background: var(--amber); color: var(--ink-strong); }
p { text-wrap: pretty; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: var(--space-md); top: -100px; z-index: 10; background: var(--ink); color: var(--amber); padding: var(--space-sm) var(--space-md); font-weight: 700; text-transform: uppercase; }
.skip-link:focus { top: var(--space-md); }
:focus-visible { outline: 3px solid var(--ink-strong); outline-offset: 3px; }

/* Shell: two columns now that the duplicate icon rail is gone. */
.rr-shell { grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.rr-shell > .rr-sidenav { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.rr-shell__main { padding-block: 0; gap: 0; }

/* Sidebar: a name lockup instead of a second copy of the hero photo. */
.sidemark { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: var(--space-xl); text-decoration: none; }
.sidemark__name { font-family: var(--font-sans); font-weight: 900; font-size: 40px; line-height: .95; letter-spacing: .02em; text-transform: uppercase; color: var(--amber); }
.sidemark__name + .sidemark__name { color: var(--paper); }
/* No typeface swap on hover: it changed link widths and made the nav jitter. */
.rr-sidenav__link:hover > span { font-family: inherit; font-weight: inherit; text-decoration-color: var(--ink); }

.section { padding-block: var(--space-3xl); display: grid; gap: var(--space-xl); scroll-margin-top: 0; }
.section + .section { border-top: 0; }

/* Section titles: still the boxed InDesign motif, but no longer louder than her name. */
.rr-section-title { padding: var(--space-lg) var(--space-lg); }
.rr-section-title__text.t-display { font-size: clamp(32px, 4.2vw, 48px); line-height: 1; letter-spacing: .08em; }

/* Body copy: heavier and larger than the template's 300/14px, with a capped measure. */
.t-body { font-weight: 400; }
.t-body-small { font-size: 16px; font-weight: 400; line-height: 1.55; }
.t-lead { font-size: clamp(24px, 2.6vw, 32px); }

/* Hero actions */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
.hero__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: underline 2px var(--amber); text-underline-offset: 5px; }
.hero__link:hover { text-decoration-color: var(--ink); }
.rr-hero__photo { position: relative; }
.rr-hero__photo img { position: absolute; inset: 0; }

/* About */
.about__lead { margin: 0; max-width: 34ch; }
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.about__copy { display: grid; gap: var(--space-md); }
.about__copy p { margin: 0; max-width: 62ch; }
.about__services { display: grid; gap: var(--space-lg); margin-top: var(--space-lg); }
.about__services h3 { margin: 0; text-transform: uppercase; color: var(--ink-strong); }
.about .rr-stats { align-self: stretch; }
.rr-stat__note { font-family: var(--font-sans); font-size: 13px; line-height: 1.35; color: var(--amber); }

/* Resume: one chronological list, current role first and readable left to right. */
.jobs { list-style: none; margin: 0; padding: 0; border-top: var(--line-width) solid var(--line); }
.job { display: grid; grid-template-columns: 8.5rem minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-sm) var(--space-xl); align-items: start; padding-block: var(--space-lg); border-bottom: var(--line-width) solid rgba(0, 0, 0, .18); }
.job__dates { justify-self: start; }
.job__who { min-width: 0; }
.job__title { margin: 0; color: var(--ink); text-wrap: balance; }
.job__org { margin: 4px 0 0; font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.job__place { font-weight: 400; letter-spacing: 0; text-transform: none; }
.job__text { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.55; max-width: 60ch; }
.jobs--edu .job { grid-template-columns: 8.5rem minmax(0, 1fr); }
.rr-resume { display: grid; gap: var(--space-2xl); }
.rr-resume__heading { margin: 0 0 var(--space-md); text-transform: uppercase; }

/* Selected work: outcome-led stories, not placeholder image tiles. */
.work__note { margin: 0; font-family: var(--font-sans); font-size: 15px; color: var(--ink); }
.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.case { background: var(--paper); padding: var(--space-xl); display: grid; gap: var(--space-sm); align-content: start; }
.case:first-child { grid-column: 1 / -1; background: var(--oxblood); color: var(--on-dark); }
.case__title { margin: 0; font-family: var(--font-sans); font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--ink-strong); text-wrap: balance; }
.case:first-child .case__title { font-size: clamp(26px, 3vw, 34px); color: var(--amber); max-width: 24ch; }
.case__meta { margin: 0; font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--oxblood); }
.case:first-child .case__meta { color: var(--on-dark); }
.case__text { margin: var(--space-xs) 0 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.55; max-width: 62ch; }

/* Contact: the page's goal, so the links are big and easy to hit. */
.contact__intro p { margin: 0; }
.contact__intro .t-body { margin-top: var(--space-sm); max-width: 62ch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: var(--line-width) solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 40px 7rem minmax(0, 1fr); align-items: center; gap: var(--space-md); padding-block: var(--space-md); border-bottom: var(--line-width) solid rgba(0, 0, 0, .18); }
.contact-list__icon { font-size: 28px; color: var(--ink); display: grid; place-items: center; }
.contact-list__icon .rr-icon { stroke-width: 1.5; }
.contact-list__label { font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; font-family: var(--font-sans); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: var(--ink-strong); text-decoration: underline 3px var(--amber); text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration-color: var(--ink-strong); }

.site-foot { padding-block: var(--space-2xl); text-align: center; border-top: var(--line-width) solid var(--line); }
.site-foot p { margin: 0; }

@media (max-width: 960px) {
  .rr-shell { grid-template-columns: minmax(0, 1fr); }
  .rr-shell > .rr-sidenav { height: auto; z-index: 5; overflow: visible; }
  .section { padding-block: var(--space-2xl); scroll-margin-top: 72px; }
  /* Mobile bar: name mark doubles as Home; the four section links fit without scrolling. */
  .sidemark { width: auto; padding: var(--space-sm) var(--space-md); justify-content: center; }
  .sidemark { padding: var(--space-sm) 12px; }
  .sidemark__name { font-size: 13px; }
  .nav-home { display: none; }
  .rr-sidenav__nav { padding: 0 var(--space-xs); gap: 0; justify-content: space-between; }
  .rr-sidenav__link { min-height: 48px; justify-content: center; }
  .rr-sidenav__link > span { padding: 2px 4px; font-size: 13px; letter-spacing: .03em; }
  .job { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .job__text { grid-column: 2; }
}
@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .cases { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .job, .jobs--edu .job { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .job__text { grid-column: auto; }
  .contact-list li { grid-template-columns: 32px minmax(0, 1fr); row-gap: 0; }
  .contact-list__label { grid-column: 2; }
  .contact-list a { grid-column: 2; font-size: 20px; }
  .contact-list__icon { grid-row: 1 / span 2; }
  .rr-section-title { padding: var(--space-md); }
}

/* The role tag can wrap on narrow hero columns. */
.rr-hero__role { line-height: 1.4; }

/* Round 2: leadership positioning, readable weights. */
.rr-hero__title { flex-direction: column; row-gap: 0; }
.hero__title { margin: 0; font-family: var(--font-sans); font-size: clamp(20px, 2vw, 24px); line-height: 1.3; font-weight: 700; color: var(--ink); }
.hero__email { margin: 0; font-family: var(--font-sans); font-size: 15px; color: var(--ink); }
.hero__link { gap: var(--space-sm); }
.hero__link .rr-icon { font-size: 20px; }
.nav-home { display: none; }
.job__text, .case__text, .case__meta, .work__note, .contact__intro .t-body { font-weight: 400; }
.rr-stat__note { font-size: 14px; font-weight: 400; }
.about__copy p + p { margin-top: 0; }
@media (max-width: 760px) {
  .rr-hero__photo { aspect-ratio: 3 / 2; }
  .rr-hero__photo img { object-position: 50% 20% !important; }
}

/* Round 3: hierarchy and sharing. */
.hero__seeking { margin: 0; font-family: var(--font-sans); font-size: 15px; line-height: 1.4; color: var(--ink); }
.hero__email { font-weight: 400; }
.hero__email a { color: var(--ink); text-decoration: underline 1px var(--amber); text-underline-offset: 3px; }
.rr-section-title__text.t-display { font-size: clamp(28px, 3vw, 36px); }
.rr-section-title { padding: var(--space-md) var(--space-lg); }
.case--feature { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-2xl); }
.case--feature > :not(.case__metric) { grid-column: 1; }
.case__metric { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-family: var(--font-sans); font-size: clamp(44px, 6vw, 72px); font-weight: 900; line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; }
.work__note { font-size: 14px; color: var(--ink); }
.job { grid-template-columns: 6.5rem minmax(0, 17rem) minmax(0, 1fr); }
.jobs--edu .job { grid-template-columns: 6.5rem minmax(0, 1fr); }
.job__lead { margin: 6px 0 0; font-family: var(--font-sans); font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--oxblood); }
.job--early { padding-block: var(--space-md); }
.job--early .job__text { font-size: 15px; }
.rr-stat__label { font-size: 13px; }
.rr-service__title { font-size: 13px; }
@media (max-width: 960px) { .job { grid-template-columns: 6.5rem minmax(0, 1fr); } }
@media (max-width: 560px) {
  .case--feature { grid-template-columns: minmax(0, 1fr); }
  .case__metric { grid-column: 1; grid-row: auto; font-size: 48px; }
  .sidemark__name { font-size: 14px; }
}

/* Print: a clean resume on paper, no screen chrome. */
@media print {
  .rr-sidenav, .skip-link, .rr-hero__photo, .hero__actions .rr-button { display: none !important; }
  .rr-shell { display: block; background: #fff; }
  body { background: #fff; }
  .rr-hero, .case, .case:first-child, .rr-stats { background: #fff !important; color: #000 !important; }
  .rr-hero { display: block; min-height: 0; }
  .rr-hero__copy { padding: 0; }
  .case:first-child .case__title, .case__metric, .rr-stat__value, .rr-stat__note { color: #000 !important; }
  .section { padding-block: 16px; break-inside: auto; }
  .case, .job { break-inside: avoid; }
  .rr-section-title { border: 0; padding: 0; text-align: left; }
  a[href^="http"]::after, a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 11px; font-weight: 400; }
  .contact-list a::after, .hero__email a::after { content: none; }
}

/* Round 4 fixes. Keep these last so they win the cascade. */
.hero__seeking { font-size: 17px; font-weight: 500; }
.contact-list { background: var(--paper); padding: 0 var(--space-lg); border-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
@media (max-width: 760px) { .rr-hero__photo { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) {
  .job, .jobs--edu .job { grid-template-columns: minmax(0, 1fr); }
  .job__text { grid-column: auto; }
  .contact-list { padding: 0 var(--space-md); }
}
@media print {
  .hero__actions { display: none !important; }
  .rr-stat__label, .case__meta, .case:first-child .case__meta { color: #000 !important; }
  .contact-list { padding: 0; }
}

/* Round 5: hero fits every width; persistent desktop CTA. */
@media (min-width: 1101px) { .rr-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.rr-hero__title.t-hero-name { font-size: clamp(44px, 4.6vw, 72px); }
@media (min-width: 761px) and (max-width: 1600px) { .rr-hero__copy { padding: var(--space-3xl) var(--space-xl); } }
@media (min-width: 761px) and (max-width: 1100px) { .rr-hero { grid-template-columns: minmax(0, 1fr); } .rr-hero__photo { aspect-ratio: 16 / 9; order: 1; } }
.hero__email { line-height: 1.2; }
.hero__email a { display: inline-flex; align-items: center; min-height: 44px; }
.hero__seeking { font-weight: 400; }
.side-cta { display: grid; justify-items: center; gap: var(--space-xs); padding: 0 var(--space-lg) var(--space-xl); }
.side-cta .rr-button { width: 100%; }
.side-cta__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: underline 2px var(--ink); text-underline-offset: 4px; }
@media (max-width: 960px) { .side-cta { display: none; } }
.jobs--edu { border-top: 0; }
@media print {
  .rr-hero__name { color: #000 !important; -webkit-text-stroke: 0 !important; }
  .contact-list li:last-child, .side-cta { display: none !important; }
  .rr-section-title__text.t-display { font-size: 18pt !important; }
}

/* Round 6: mid widths (761-1180px) are too narrow for About in two columns */
@media (min-width: 761px) and (max-width: 1360px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about .rr-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: var(--space-lg); }
  .about .rr-stat { padding: var(--space-md) var(--space-sm); }
  .about .rr-stat::before { display: none; }
  .about .rr-stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 12%; bottom: 12%; width: var(--line-width); background: var(--line-inverse); }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .job { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .job__text { grid-column: 2; }
}
/* Sidebar CTA appears once the hero CTA has scrolled away */
html.js .side-cta { opacity: 0; visibility: hidden; transition: opacity .35s cubic-bezier(.16,1,.3,1), visibility 0s linear .35s; }
html.js.hero-out .side-cta { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { html.js .side-cta { transition: none; transform: none; } }
/* Mobile photo: keep her whole head in frame */
@media (max-width: 760px) {
  .rr-hero__photo { aspect-ratio: 4 / 3; }
  .rr-hero__photo img { object-position: 50% 12% !important; }
}
@page { margin: 0.6in; }
/* Stat values scale to their cell so a wider figure like $1M+ never overflows */
.rr-stat { container-type: inline-size; }
.rr-stat__value { font-size: min(56px, 33cqi); white-space: nowrap; }

/* Round 7 */
.hero__creds { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--oxblood); }
.skip-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 961px) {
  /* keep the sidebar within the viewport so no scrollbar shows in the amber column */
  .rr-sidenav__nav { padding: var(--space-lg) var(--space-md); }
  /* the name shows once, in the hero; the sidebar mark takes over after the hero scrolls away */
  html.js .sidemark .sidemark__name { opacity: 0; transition: opacity .35s cubic-bezier(.16,1,.3,1); }
  html.js.hero-out .sidemark .sidemark__name { opacity: 1; }
}
/* Mobile: persistent contact action after the hero, hidden over Contact */
.mobile-cta { display: none; }
@media (max-width: 960px) {
  .mobile-cta { display: inline-flex; position: fixed; right: var(--space-md); bottom: calc(var(--space-md) + env(safe-area-inset-bottom)); z-index: 6; min-height: 48px; box-shadow: 0 6px 18px rgba(29,28,31,.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1), visibility 0s linear .35s; }
  html.js.hero-out:not(.contact-in) .mobile-cta { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  html:not(.js) .mobile-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta, html.js .sidemark .sidemark__name { transition: none !important; transform: none !important; } }
@media (max-width: 560px) {
  .rr-section-title__text { letter-spacing: .03em; }
  .hero__email { display: none; }
}
@media print {
  .about__services, .mobile-cta { display: none !important; }
  .hero__creds { color: #000 !important; }
}
/* Hero keeps the photo beside the copy at 901-1100px instead of dropping it below the fold */
@media (min-width: 761px) and (max-width: 1100px) {
  .rr-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .rr-hero__photo { aspect-ratio: auto; order: 0; }
}
/* Phones: primary CTA above the fold */
@media (max-width: 560px) {
  .rr-hero__copy { display: flex; flex-direction: column; padding-top: var(--space-lg); }
  .rr-hero__photo { aspect-ratio: 16 / 10; }
  .rr-hero__copy .hero__actions { order: 1; }
  .rr-hero__copy .rr-hero__intro { order: 2; }
}
/* Desktop: a monogram holds the sidebar mark until the hero name scrolls away */
@media (min-width: 961px) {
  .sidemark { position: relative; }
  html.js .sidemark::after { content: "RB"; position: absolute; left: var(--space-xl); bottom: var(--space-xl); font-family: var(--font-sans); font-weight: 900; font-size: 40px; line-height: .95; letter-spacing: .02em; color: var(--amber); transition: opacity .35s cubic-bezier(.16,1,.3,1); }
  html.js.hero-out .sidemark::after { opacity: 0; }
}

/* Round 8 */
.mobile-cta { width: auto; max-width: none; left: auto; }
.hero__seeking, .hero__creds { text-wrap: balance; }
.mobile-cta { box-shadow: inset 0 0 0 2px var(--ink), 0 6px 18px rgba(29,28,31,.28) !important; }

/* Round 9 */
.case--feature { display: block; }
.rr-stat { justify-content: flex-start; }
.about .rr-stats { align-self: start; }
.hero__seeking, .hero__creds { text-wrap: pretty; }
/* name mark crossfade: RB leaves before the name arrives */
@media (min-width: 961px) {
  html.js .sidemark .sidemark__name { transition: opacity .25s cubic-bezier(.16,1,.3,1) 0s; }
  html.js.hero-out .sidemark .sidemark__name { transition-delay: .2s; }
  html.js .sidemark::after { transition: opacity .2s cubic-bezier(.16,1,.3,1) .25s; }
  html.js.hero-out .sidemark::after { transition-delay: 0s; }
}
@media (min-width: 761px) and (max-width: 960px) {
  .rr-sidenav__nav { justify-content: space-evenly; }
}
@media (max-width: 960px) {
  .rr-shell__main { padding-bottom: 88px; }
  /* mobile bar shows the monogram until the hero scrolls away */
  .sidemark { position: relative; }
  html.js .sidemark .sidemark__name { transition: opacity .25s cubic-bezier(.16,1,.3,1); }
  html.js:not(.hero-out) .sidemark .sidemark__name { opacity: 0; }
  html.js .sidemark::after { content: "RB"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 900; font-size: 18px; letter-spacing: .02em; color: var(--amber); transition: opacity .25s cubic-bezier(.16,1,.3,1); }
  html.js.hero-out .sidemark::after { opacity: 0; }
}
@media (max-width: 560px) {
  .hero__email { display: block; font-size: 15px; }
  .rr-shell__main > .section:first-child, #home { padding-top: var(--space-md); }
  .rr-stats { grid-template-columns: minmax(0, 1fr); }
  .rr-stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; text-align: left; column-gap: var(--space-md); padding: var(--space-md) 0; }
  .rr-stat::after, .rr-stat::before { display: none !important; }
  .rr-stat + .rr-stat { border-top: var(--line-width) solid var(--line-inverse); }
  .rr-stat__value { min-width: 4.2ch; font-size: 40px; }
  .rr-stat__label { flex: 1; }
  .rr-stat__note { flex-basis: 100%; }
}
@media print { .rr-shell__main { padding: 0 !important; } }
@media (max-width: 560px) {
  .rr-hero__copy .hero__email { order: 2; }
  .rr-hero__copy .rr-hero__intro { order: 3; }
}

/* Post-target polish */
.sidemark:focus-visible { outline-color: var(--amber); }
@media (max-width: 560px) { .rr-stat__value { min-width: 5ch; } }
@media print { .contact-list a[href*="linkedin"]::after { content: " (linkedin.com/in/renée-brandon-6485591)"; font-weight: 400; font-size: 10pt; } }

/* Cobalt scheme: gray on the cobalt field, light cobalt for accent text on dark */
::selection { background: var(--amber); color: var(--on-amber); }
.rr-sidenav__cap, .rr-sidenav__sep, .rr-sidenav__link::before { background: var(--on-amber); }
.rr-sidenav__link[aria-current="page"] > span, .rr-sidenav__link:hover > span { text-decoration-color: var(--on-amber); }
.side-cta__link { color: var(--on-amber); text-decoration-color: var(--on-amber); }
.rr-sidenav :focus-visible { outline-color: var(--on-amber); }
.rr-button:hover { background: var(--ink); color: var(--amber-on-dark); }
.rr-button--dark { color: var(--amber-on-dark); }
.rr-button--dark:hover { background: var(--on-amber); color: var(--ink); }
.skip-link { color: var(--amber-on-dark); }
.rr-stat__value, .rr-stat__note, .case:first-child .case__title, .case__metric { color: var(--amber-on-dark); }
.sidemark__name { color: var(--amber-on-dark); }
.sidemark__name + .sidemark__name { color: var(--paper); }
html.js .sidemark::after { color: var(--amber-on-dark); }
.sidemark:focus-visible, .rr-dark :where(a, button, [tabindex]):focus-visible { outline-color: var(--amber-on-dark); }
/* Navy instead of black for the dark panels */
.rr-stats { background: var(--oxblood); }
.rr-button--dark { background: var(--oxblood); }
.about__tools { margin: 0; color: var(--ink); }
/* Longer figures ($2.25M+) and the teaching entry */
.rr-stat__value--long { font-size: min(56px, 21cqi); letter-spacing: .02em; }
@media (max-width: 560px) { .rr-stat__value, .rr-stat__value--long { font-size: 40px; } .rr-stat__value--long { font-size: 34px; } }
.jobs--edu .job__text { grid-column: 2; }
@media (max-width: 560px) { .jobs--edu .job__text { grid-column: auto; } }
.job__dates--none { min-height: 0; }
@media (max-width: 560px) { .job__dates--none { display: none; } }
/* Hero LinkedIn logo replaces the visible email address */
.hero__email a.hero__linkedin { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: -8px; text-decoration: none; border-radius: 4px; }
.hero__email a.hero__linkedin svg { display: block; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.hero__email a.hero__linkedin:hover svg { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .hero__email a.hero__linkedin svg { transition: none; } }
@media print { .hero__email { display: none !important; } }

/* Contact pop-up */
.contact-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(11,31,58,.35); overflow: auto; }
.contact-dialog::backdrop { background: rgba(11,31,58,.6); }
.contact-dialog[open] { animation: contact-in .32s cubic-bezier(.16,1,.3,1); }
@keyframes contact-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .contact-dialog[open] { animation: none; } }
.contact-form, .contact-done { display: grid; gap: var(--space-md); padding: var(--space-xl); border-top: 6px solid var(--amber); }
.contact-form__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.contact-form__title { margin: 0; font-family: var(--font-sans); font-size: 26px; font-weight: 900; line-height: 1.1; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-strong); }
.contact-form__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.contact-form__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.contact-form__intro { margin: 0; font-size: 16px; line-height: 1.5; }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
@media (max-width: 480px) { .contact-form__row { grid-template-columns: minmax(0, 1fr); } .contact-form, .contact-done { padding: var(--space-lg); } }
.contact-form__field { display: grid; gap: 6px; }
.contact-form__field > span { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.contact-form__field input, .contact-form__field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #77767a; border-radius: 0; background: var(--paper); color: var(--ink-strong); font: 400 16px/1.4 var(--font-sans); caret-color: var(--amber); }
.contact-form__field textarea { min-height: 140px; resize: vertical; }
.contact-form__field input:focus-visible, .contact-form__field textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--amber); }
.contact-form__field [aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.contact-form__error { font-size: 14px; color: #b3261e; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__status { margin: 0; min-height: 1.4em; font-size: 15px; }
.contact-form__status.is-error { color: #b3261e; }
.contact-form__status a { color: inherit; font-weight: 700; }
.contact-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.contact-form__cancel { min-height: 44px; padding: 0 var(--space-sm); border: 0; background: none; color: var(--ink); font: 700 15px var(--font-sans); text-decoration: underline 2px var(--amber); text-underline-offset: 4px; cursor: pointer; }
.contact-form [type="submit"][disabled] { opacity: .6; cursor: progress; }
.contact-done .contact-form__title:focus { outline: none; }
@media print { .contact-dialog { display: none !important; } }
.contact-dialog [hidden] { display: none !important; }
.contact-form__field > span.contact-form__error { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #b3261e; }
