/* ============================================================
   Samantha Rodriguez — Professional Profile
   Design system: navy + ivory + brass. Serif display, sans body.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour */
  --navy-900: #0B2138;
  --navy-800: #122C48;
  --navy-700: #1B4470;
  --navy-tint: #E8EDF3;

  --brass:      #A87F52;
  --brass-soft: #C9A87C;
  --brass-tint: #F1E8DB;

  --ink:   #111E2C;
  --body:  #4C5768;
  --muted: #7C879A;

  --line:      #E4E1DA;
  --line-soft: #EFEDE8;

  --bg:      #FFFFFF;
  --bg-soft: #F8F6F2;

  /* Type */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --r-sm: 8px;    /* buttons, icon tiles, chips, brand mark */
  --r:    14px;   /* cards, panels, contact tiles */
  --r-lg: 20px;   /* hero portrait — the largest surface, so it carries more */

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11, 33, 56, .05);
  --shadow-md: 0 8px 24px -12px rgba(11, 33, 56, .16), 0 2px 6px rgba(11, 33, 56, .04);
  --shadow-lg: 0 28px 60px -30px rgba(11, 33, 56, .35), 0 4px 12px rgba(11, 33, 56, .05);

  /* Layout */
  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.014em;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--navy-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brass); }

strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy-900);
  color: #fff;
  font-size: .9rem;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 9vw, 118px);
  scroll-margin-top: var(--header-h);
}
.section--alt { background: var(--bg-soft); }

.section__head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 58px); }

.section__title {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  margin-bottom: .55rem;
}
.section__title--light { color: #fff; }

.section__sub {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 40rem;
  margin-top: .9rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: .715rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::after {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: var(--brass-soft);
}
.eyebrow--light { color: var(--brass-soft); }
.eyebrow--light::after { background: rgba(201, 168, 124, .45); }

.lead {
  font-size: 1.2rem;
  line-height: 1.62;
  color: var(--ink);
  font-weight: 400;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: .935rem;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { stroke: currentColor; }
.btn--sm { padding: 10px 17px; font-size: .875rem; }

.btn--primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--navy-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: #D6D2C9;
}
.btn--ghost:hover {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.btn--text {
  padding-inline: 6px;
  background: transparent;
  color: var(--body);
}
.btn--text:hover { color: var(--brass); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 242, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px -14px rgba(11, 33, 56, .5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--navy-900);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy-900);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.nav { display: flex; align-items: center; gap: 30px; }

.nav__list { display: flex; align-items: center; gap: 28px; }

.nav__link {
  position: relative;
  color: var(--body);
  font-size: .915rem;
  font-weight: 500;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { stroke: currentColor; }
.nav-toggle__close { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 72px);
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(27, 68, 112, .07), transparent 62%),
    var(--bg-soft);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-bottom: clamp(44px, 5vw, 68px);
}

.hero__name {
  font-size: clamp(2.9rem, 7vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  margin-bottom: 1.15rem;
}

.hero__role {
  font-size: clamp(.95rem, 1.5vw, 1.02rem);
  font-weight: 500;
  color: var(--navy-700);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
  max-width: 34rem;
}

.hero__lead {
  font-size: 1.07rem;
  color: var(--body);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.6rem;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .875rem;
  color: var(--muted);
}
.hero__location svg { stroke: var(--brass); }

/* Portrait */
.hero__media { margin: 0; display: flex; justify-content: center; }

.hero__frame {
  position: relative;
  width: min(100%, 400px);
}
/* Brass outline offset behind the card */
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 26px;
  border: 1px solid var(--brass-soft);
  border-radius: var(--r-lg);
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  /* The portrait is a transparent cut-out and the 4:5 crop cuts it off mid-body,
     so the bottom is masked away rather than left on a hard edge. A mask (not a
     white overlay) means the dissolve stays correct if the card colour changes. */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, rgba(0, 0, 0, .45) 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 78%, rgba(0, 0, 0, .45) 92%, transparent 100%);
}

/* Fact bar */
.factbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.factbar__item {
  padding: 28px 26px 4px 0;
  border-right: 1px solid var(--line);
}
.factbar__item:first-child { padding-left: 0; }
.factbar__item:last-child { border-right: 0; }
.factbar__item + .factbar__item { padding-left: 26px; }

.factbar__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-900);
  letter-spacing: -.02em;
}
.factbar__plus { color: var(--brass); }

.factbar__label {
  display: block;
  margin-top: 8px;
  font-size: .83rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 7. Profile ---------- */
.profile {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.profile__body p + p { margin-top: 1.05em; }
.profile__body .lead { margin-bottom: 1.3em; }

.profile__aside {
  padding: 30px 30px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy-900);
  border-radius: var(--r);
}
.profile__aside-title {
  font-family: var(--font-sans);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.tick-list { display: grid; gap: 14px; }
.tick-list li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink);
}
.tick-list svg { margin-top: 4px; stroke: var(--brass); }

/* ---------- 8. Card grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 30px 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #D8D3C8;
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  background: var(--brass-tint);
  border-radius: var(--r-sm);
  color: var(--brass);
}
.card__icon svg { stroke: currentColor; }

.card__title {
  font-size: 1.14rem;
  margin-bottom: .6rem;
}
.card__text {
  font-size: .945rem;
  line-height: 1.65;
  color: var(--body);
}

/* ---------- 9. Highlight ---------- */
.highlight {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 26px;
  padding: clamp(30px, 4vw, 46px);
  background: var(--navy-900);
  border-radius: var(--r);
  color: rgba(255, 255, 255, .8);
  background-image: radial-gradient(600px 240px at 88% 0%, rgba(201, 168, 124, .16), transparent 65%);
}
.highlight__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: start;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.highlight__label svg { stroke: currentColor; }

.highlight__title {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: .8rem;
}
.highlight__body p { color: rgba(255, 255, 255, .78); font-size: 1rem; }

/* ---------- 10. Achievements ---------- */
.achievements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(32px, 5vw, 64px);
}
.achievement {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.achievement:nth-child(1),
.achievement:nth-child(2) { border-top: 0; padding-top: 0; }

.achievement__num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1.2;
  letter-spacing: -.01em;
  padding-top: 2px;
  border-top: 2px solid var(--brass);
  display: inline-block;
  align-self: start;
  width: 100%;
}

.achievement__title {
  font-size: 1.13rem;
  margin-bottom: .45rem;
}
.achievement__body p {
  font-size: .95rem;
  line-height: 1.68;
}

/* ---------- 11. Timeline ---------- */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--brass-soft), var(--line) 22%, var(--line) 78%, transparent);
}

.tl-item {
  display: grid;
  grid-template-columns: 11px 1fr;
  gap: clamp(22px, 3.5vw, 42px);
  padding-bottom: clamp(34px, 4vw, 50px);
}
.tl-item:last-child { padding-bottom: 0; }

.tl-item__marker { position: relative; padding-top: 9px; }
.tl-item__dot {
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--brass);
  box-shadow: 0 0 0 4px var(--bg-soft);
}
.tl-item:not(:first-child) .tl-item__dot { border-color: var(--navy-700); }

.tl-item__date {
  font-size: .795rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.tl-item__role {
  font-size: 1.28rem;
  margin-bottom: .28rem;
}
.tl-item__org {
  font-size: .96rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: .85rem;
}
.tl-item__text {
  font-size: .955rem;
  line-height: 1.7;
  max-width: 54rem;
  margin-bottom: 1rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 5px 11px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .775rem;
  font-weight: 500;
  color: var(--body);
}

/* ---------- 12. Capabilities ---------- */
.capabilities { display: grid; gap: 0; }
.cap {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.cap:last-child { border-bottom: 1px solid var(--line); }

.cap__title {
  font-family: var(--font-sans);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  padding-top: 5px;
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips li {
  padding: 7px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  font-size: .845rem;
  color: var(--body);
  transition: border-color .2s ease, color .2s ease;
}
.chips li:hover { border-color: var(--brass-soft); color: var(--ink); }

/* ---------- 13. Education & certifications ---------- */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.panel {
  padding: 32px 30px 34px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.panel__title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.panel__title svg { stroke: var(--brass); }

.edu-list li + li { margin-top: 22px; }
.edu-list__degree {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .18rem;
}
.edu-list__school {
  font-size: .93rem;
  color: var(--muted);
  margin: 0;
}

.cert-list li {
  display: grid;
  gap: 3px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cert-list li:first-child { padding-top: 0; }
.cert-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cert-list__name {
  font-size: .965rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.cert-list__issuer {
  font-size: .82rem;
  color: var(--brass);
  letter-spacing: .02em;
}

/* ---------- 14. Contact ---------- */
.contact {
  background: var(--navy-900);
  background-image:
    radial-gradient(760px 380px at 12% 0%, rgba(27, 68, 112, .55), transparent 62%),
    radial-gradient(560px 300px at 92% 100%, rgba(168, 127, 82, .16), transparent 60%);
}
.contact__head { max-width: 42rem; margin-bottom: clamp(36px, 4.5vw, 52px); }
.contact__sub {
  margin-top: 1rem;
  font-size: 1.03rem;
  color: rgba(255, 255, 255, .72);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact__card {
  display: grid;
  gap: 4px;
  padding: 24px 22px 26px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  color: #fff;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}
a.contact__card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(201, 168, 124, .55);
  transform: translateY(-2px);
  color: #fff;
}
.contact__card--static { cursor: default; }

.contact__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border: 1px solid rgba(201, 168, 124, .4);
  border-radius: var(--r-sm);
  color: var(--brass-soft);
}
.contact__icon svg { stroke: currentColor; }

.contact__label {
  font-size: .715rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.contact__value {
  font-size: .96rem;
  font-weight: 500;
  color: #fff;
  word-break: break-word;
}

/* ---------- 15. Footer ---------- */
.site-footer {
  padding-block: 30px;
  background: #071829;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}
.site-footer__copy {
  margin: 0;
  font-size: .84rem;
  color: rgba(255, 255, 255, .45);
}

/* ---------- 16. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .highlight { grid-template-columns: 1fr; gap: 20px; }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__media { order: -1; justify-content: flex-start; }
  .hero__frame { width: min(100%, 320px); }
  .hero__frame::before { inset: 20px -16px -16px 20px; }

  .profile { grid-template-columns: 1fr; }
  .achievements { grid-template-columns: 1fr; }
  .achievement:nth-child(2) { border-top: 1px solid var(--line); padding-top: 30px; }
  .cap { grid-template-columns: 1fr; gap: 14px; }
  .cap__title { padding-top: 0; }
  .two-col { grid-template-columns: 1fr; }
  .factbar { grid-template-columns: repeat(2, 1fr); }
  .factbar__item:nth-child(2n) { border-right: 0; }
  .factbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav__link { display: block; padding: 15px 2px; font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 18px; justify-content: center; padding-block: 14px; }

  .nav-toggle.is-open .nav-toggle__open { display: none; }
  .nav-toggle.is-open .nav-toggle__close { display: block; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .factbar { grid-template-columns: 1fr; }
  .factbar__item {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .factbar__item + .factbar__item { padding-left: 0; }
  .factbar__item:last-child { border-bottom: 0; }
  .achievement { grid-template-columns: 1fr; gap: 12px; }
  .achievement__num { width: 46px; }
  .brand__name { display: none; }
  .hero__actions { gap: 10px; }
  .btn { padding: 12px 18px; }
}

/* ---------- 18. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 19. Print (clean one-file CV) ---------- */
@media print {
  .site-header, .nav-toggle, .hero__actions, .skip-link { display: none !important; }
  body { font-size: 10.5pt; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section, .hero { padding-block: 18pt; background: #fff !important; }
  .section--alt, .contact, .highlight { background: #fff !important; }
  .contact, .highlight, .section__title--light, .contact__value,
  .highlight__title, .highlight__body p, .contact__sub { color: #000 !important; }
  .contact__card { border: 1px solid #ccc; background: #fff !important; }
  .card, .panel, .tl-item { break-inside: avoid; page-break-inside: avoid; }
  .site-footer { background: #fff; border-top: 1px solid #ccc; }
  .site-footer__name, .site-footer__copy { color: #000; }
  a { color: #000; }
}
