:root {
  color-scheme: dark;
  --paper: #111a28;
  --paper-deep: #1a293c;
  --ink: #eef3f9;
  --muted: #a7b5c7;
  --navy: #1d3552;
  --blue-light: #bfd8f2;
  --blue: #83add9;
  --line: rgba(225, 235, 247, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; padding: .8rem 1rem; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 1rem; }
.site-header { max-width: 1440px; margin: auto; height: 90px; padding: 0 7.1%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; color: var(--ink); font-size: 1.5rem; font-weight: 700; letter-spacing: -.08em; }
.wordmark span { color: var(--blue); }
nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); }
nav a, .site-footer > a:last-child { font-size: .81rem; font-weight: 600; text-decoration: none; color: #c4d0df; transition: color .2s ease; }
nav a:hover, .site-footer a:hover { color: var(--blue); }
.nav-contact { border: 1px solid var(--line); border-radius: 99px; padding: .7rem 1rem; }
.nav-contact span, .text-link span { color: var(--blue); margin-left: .25rem; }
.hero { position: relative; max-width: 1440px; min-height: 680px; margin: auto; padding: 105px 11% 90px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 6%; align-items: center; }
.hero-copy { max-width: 650px; }
.eyebrow, .section-label, .note-topline, .curriculum-label { font-family: var(--mono); letter-spacing: .09em; font-size: .66rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--muted); margin: 0 0 1.75rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #83add9; display: inline-block; box-shadow: 0 0 0 4px rgba(131,173,217,.19); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(4rem, 7vw, 6.6rem); line-height: .99; margin-bottom: 1.65rem; }
h1 em, h2 em, .closing h2 em { color: var(--blue-light); font-weight: 500; }
.hero-intro { max-width: 530px; font-size: clamp(1rem, 1.35vw, 1.13rem); line-height: 1.75; color: #c0cbd9; }
.hero-actions { display: flex; align-items: center; gap: 1.65rem; margin-top: 2rem; }
.button { min-height: 50px; padding: 0 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; border-radius: 3px; font-size: .82rem; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: #29486d; }
.button-primary:hover { background: #142b49; }
.button-primary span { color: var(--blue-light); }
.text-link { font-size: .81rem; font-weight: 600; text-underline-offset: 4px; }
.role-line { margin: 4rem 0 0; font-size: .75rem; color: #c1ccda; }
.role-line span { font-family: var(--mono); font-size: .65rem; color: var(--muted); margin-right: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.role-line b { color: var(--blue); font-weight: 500; padding: 0 .38rem; }
.hero-note { position: relative; justify-self: center; width: min(100%, 315px); padding: 20px 24px 23px; transform: rotate(2deg); background: #dce8f5; color: #1b2c43; box-shadow: 0 18px 35px rgba(0,0,0,.22); }
.hero-note::before { content: ""; position: absolute; width: 68px; height: 17px; top: -8px; left: 39%; background: rgba(127,163,203,.44); transform: rotate(-3deg); }
.note-topline { display: flex; align-items: center; justify-content: space-between; color: #51647e; font-size: .59rem; }
.sun-mark { color: var(--blue); font-size: 1.2rem; }
.dog-photo { display: block; width: 100%; height: 228px; margin: 10px auto 12px; object-fit: cover; object-position: center 43%; }
.hero-note p { margin: .4rem 0 .5rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.note-caption { color: #51647e; font-family: var(--mono); text-transform: uppercase; letter-spacing: .035em; font-size: .55rem; }
.hero-index { position: absolute; right: 7.1%; bottom: 42px; color: #8e9fb4; font-family: var(--mono); font-size: .62rem; }
.section { padding: 112px 11%; border-top: 1px solid var(--line); }
.section-label { display: flex; gap: 1.1rem; align-items: center; color: #b2bfd0; }
.section-label span:first-child { color: var(--blue); }
.about-section { background: #162337; }
.about-content { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 10%; padding: 52px 0 5px 9%; }
h2 { font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1.03; margin-bottom: 0; }
.about-copy { max-width: 500px; padding-bottom: .3rem; }
.about-copy p, .experience-summary > p:not(.experience-role) { color: #c0ccda; font-size: .97rem; line-height: 1.8; }
.about-copy p:last-child { margin-bottom: 0; }
.experience-section { padding-bottom: 125px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; padding: 50px 0 42px 9%; }
.section-heading-row > p { margin: 0 3% 7px 0; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.experience-card { margin-left: 9%; padding: 35px 38px 25px; background: #1a293c; }
.experience-summary { display: grid; grid-template-columns: .7fr 1fr; gap: 2rem; align-items: baseline; padding: 24px 0 22px; }
.experience-summary h3 { margin: 0; font-size: .95rem; }
.experience-summary > p { margin: 0; color: #c0ccda; font-size: .87rem; line-height: 1.8; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-grid > div { padding: 21px 14px 22px 0; }
.capability-grid > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.capability-number { color: var(--blue); font-family: var(--mono); font-size: .6rem; }
.capability-grid h4 { margin: 12px 0 6px; font-size: .8rem; }
.capability-grid p { max-width: 165px; margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.learning-section { background: #1b3553; color: #f8f8f6; padding-bottom: 125px; }
.learning-section .section-label { color: #c5d3e4; }
.learning-section .section-label span:first-child { color: #a9c9ec; }
.learning-layout { padding: 51px 0 0 9%; display: grid; grid-template-columns: 1fr .8fr; gap: 11%; align-items: center; }
.learning-kicker { color: #b9d5f0; font-family: var(--mono); font-size: .67rem; letter-spacing: .06em; text-transform: uppercase; }
.learning-layout h2 { font-size: clamp(2.8rem, 4.7vw, 4.3rem); }
.learning-layout h2 em { color: #b9d5f0; }
.learning-copy { max-width: 475px; margin: 24px 0 21px; color: #d4deeb; font-size: .9rem; line-height: 1.8; }
.learning-status { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--mono); font-size: .63rem; letter-spacing: .04em; color: #d8e4f1; }
.learning-status .status-dot { background: #a9c9ec; }
.curriculum-card { padding: 27px 29px 24px; background: #23364d; color: var(--ink); }
.curriculum-label { color: #becbd9; margin-bottom: 18px; font-size: .6rem; }
.topic-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 18px; }
.topic-list li { padding-top: 10px; border-top: 1px solid var(--line); font-size: .75rem; line-height: 1.45; }
.curriculum-footnote { margin: 20px 0 0; color: #bbc8d8; font-size: .62rem; line-height: 1.6; }
.closing { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 83px 11%; background: #1a2c43; color: var(--ink); }
.closing .eyebrow { color: #b2c1d2; margin-bottom: 1.3rem; }
.closing h2 { font-size: clamp(2.75rem, 4.6vw, 4.2rem); }
.closing h2 em { color: var(--blue-light); }
.button-light { background: var(--blue-light); color: #18263b; margin-bottom: 8px; }
.button-light:hover { background: white; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.site-footer { max-width: 1440px; min-height: 92px; padding: 20px 7.1%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer p { color: var(--muted); margin: 0; font-size: .7rem; }
.site-footer p span { color: var(--blue); padding: 0 .35rem; }
.footer-location { font-size: .62rem !important; color: #91a1b6 !important; white-space: nowrap; }
.site-footer > a:last-child { font-size: .72rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { padding-inline: 6%; }
  .hero { min-height: 610px; padding: 85px 8% 80px; gap: 4%; }
  .hero-note { width: min(100%, 270px); }
  .section { padding-inline: 8%; }
  .about-content, .section-heading-row, .experience-card, .learning-layout { margin-left: 0; padding-left: 5%; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .capability-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .learning-layout { gap: 6%; }
  .closing { padding-inline: 8%; }
}
@media (max-width: 640px) {
  .site-header { height: 72px; padding-inline: 6%; }
  nav { gap: .85rem; }
  nav a { font-size: .68rem; }
  nav a[href="#experience"] { display: none; }
  .nav-contact { padding: .55rem .7rem; }
  .hero { min-height: initial; grid-template-columns: 1fr; padding: 75px 7% 76px; gap: 48px; }
  h1 { font-size: clamp(3.8rem, 16vw, 5.2rem); }
  .hero-intro { font-size: .97rem; }
  .hero-actions { flex-wrap: wrap; gap: 1.15rem; }
  .role-line { margin-top: 2.4rem; line-height: 1.9; }
  .role-line span { display: block; }
  .hero-note { justify-self: end; width: min(86%, 300px); margin-right: 4%; }
  .hero-index { right: 7%; bottom: 26px; }
  .section { padding: 75px 7%; }
  .about-content, .section-heading-row, .learning-layout { display: block; padding: 39px 0 0; }
  h2 { font-size: clamp(2.9rem, 12vw, 4rem); }
  .about-copy { margin-top: 28px; }
  .about-copy p { font-size: .9rem; }
  .section-heading-row > p { margin: 22px 0 0; }
  .experience-card { margin: 0; padding: 25px 20px 21px; }
  .experience-summary { display: block; padding: 21px 0 17px; }
  .experience-summary h3 { margin-bottom: .5rem; }
  .capability-grid h4 { font-size: .75rem; }
  .capability-grid p { font-size: .68rem; }
  .learning-layout h2 { font-size: clamp(2.65rem, 11vw, 3.6rem); }
  .learning-copy { font-size: .85rem; }
  .curriculum-card { margin-top: 38px; padding: 23px 20px; }
  .topic-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .topic-list li { font-size: .69rem; }
  .closing { display: block; padding: 66px 7%; }
  .contact-links { margin-top: 32px; }
  .site-footer { min-height: initial; padding: 25px 7%; flex-wrap: wrap; }
  .site-footer p { order: 3; flex-basis: 100%; line-height: 1.6; }
  .footer-location { order: 4 !important; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.social-icon { display: inline-block; width: 14px; height: 14px; margin-right: .35rem; fill: currentColor; vertical-align: -2px; }
.contact-links { display: grid; min-width: min(100%, 350px); gap: 0; }
.contact-links a { display: grid; grid-template-columns: 88px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(220,231,243,.2); color: #e3edf8; font-size: .9rem; font-weight: 500; text-decoration: none; }
.contact-links a:first-child { border-top: 1px solid rgba(220,231,243,.2); }
.contact-links a:hover { color: var(--blue-light); }
.contact-label { color: #aebfd2; font-size: .72rem; }
.contact-arrow { color: var(--blue-light); text-align: right; transition: transform .2s ease; }
.contact-links a:hover .contact-arrow { transform: translate(2px, -2px); }
.footer-location { display: inline-flex; align-items: center; gap: 7px; font-size: .62rem !important; color: #91a1b6 !important; white-space: nowrap; }
.bolivia-flag { display: inline-block; width: 17px; height: 12px; border-radius: 1px; flex: 0 0 auto; }
.dog-link { display: inline-flex; align-items: center; gap: .4rem; color: #1b3553; font-size: .72rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(27,53,83,.35); text-underline-offset: 4px; }
.dog-link span { color: #527ba8; }
.dog-link:hover { color: #527ba8; }
.dog-page-body { min-height: 100vh; }
.dog-page { max-width: 1320px; margin: 0 auto; padding: 82px 11% 115px; }
.dog-intro { max-width: 650px; }
.dog-intro .eyebrow { margin-bottom: 1.5rem; }
.dog-page h1 { font-size: clamp(4rem, 7vw, 6rem); margin: 0 0 1.2rem; }
.dog-intro-copy { max-width: 510px; color: #c0cbd9; font-size: 1.05rem; line-height: 1.75; }
.back-link { display: inline-block; margin-top: .35rem; color: var(--blue-light); font-size: .82rem; font-weight: 600; text-underline-offset: 4px; }
.dog-gallery { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 54px; align-items: start; }
.dog-gallery figure { min-width: 0; margin: 0; padding: 12px; background: #1a293c; }
.dog-gallery figure:first-child { grid-row: span 2; }
.dog-gallery img { display: block; width: 100%; height: 330px; object-fit: cover; }
.dog-gallery figure:first-child img { height: 690px; }
.dog-gallery figcaption { display: flex; gap: 13px; align-items: baseline; padding: 13px 4px 3px; color: #d4deeb; font-family: var(--serif); font-size: 1rem; }
.dog-gallery figcaption span { color: var(--blue); font-family: var(--mono); font-size: .61rem; }
.dog-page-footer { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .dog-page { padding-inline: 8%; }
  .dog-gallery { gap: 16px; }
}
@media (max-width: 640px) {
  .dog-page { padding: 68px 7% 78px; }
  .dog-gallery { grid-template-columns: 1fr; margin-top: 40px; }
  .dog-gallery figure:first-child { grid-row: auto; }
  .dog-gallery img, .dog-gallery figure:first-child img { height: auto; max-height: 560px; aspect-ratio: 4 / 5; }
}


.language-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language-switch button { min-width: 30px; padding: .35rem .42rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 .65rem var(--mono); cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: #29486d; color: #fff; }
.language-switch button:hover { color: var(--ink); }
.language-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 640px) {
  nav { gap: .55rem; }
  nav a[href="#experience"] { display: none; }
  .language-switch button { min-width: 27px; padding: .32rem .34rem; }
}
