/* EG · Identidad visual v1.0 */
:root {
  color-scheme: dark;
  --bg: #0F1113;
  --fg: #EDE7DA;
  --accent: #8FA88E;
  --graphite: #15181B;
  --surface: #1A1D20;
  --line: #24272B;
  --green-deep: #5B6B5A;
  --muted: #9C978C;
  --quiet: #605C54;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { font-family: var(--font); background: var(--bg); color: var(--fg); }
body { margin: 0; font-size: 1rem; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { background: var(--green-deep); color: var(--fg); }
.page { max-width: 1360px; min-height: 100svh; padding: 24px 56px 28px; margin: auto; display: flex; flex-direction: column; }
.header { display: flex; align-items: center; min-height: 72px; gap: 30px; }
/* Original 200 × 120 geometry. The box preserves the logo's clear space. */
.monogram { width: 112px; height: 72px; display: inline-flex; align-items: center; justify-content: center; margin-left: -8px; flex-shrink: 0; }
.brand-logo { display: block; width: 96px; height: auto; }
.location { margin-left: auto; font-size: .875rem; color: var(--muted); }
.header-link { display: grid; place-items: center; width: 44px; height: 44px; color: var(--fg); transition: color .2s; }
.header-link svg { width: 23px; height: 23px; }
.header-link:hover { color: var(--accent); }
.hero { width: 100%; max-width: 1040px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 288px; align-items: center; gap: 80px; padding: 48px 0 56px; }
.eyebrow { font-size: .75rem; font-weight: 400; line-height: 1.7; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0 0 24px; }
h1 { font-size: 4.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.04; margin: 0 0 24px -3px; }
.period { color: var(--accent); }
.statement { font-size: 1.25rem; font-weight: 400; line-height: 1.5; letter-spacing: -.01em; color: var(--muted); margin: 0; }
.actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; gap: 18px; padding: 0 22px; border: 1px solid var(--line); border-radius: 100px; font-size: .875rem; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.button svg { width: 19px; height: 19px; flex-shrink: 0; }
.button-secondary { background: transparent; color: var(--fg); }
.button-secondary:hover { border-color: var(--green-deep); background: var(--surface); }
.portrait { margin: 0; }
.portrait-image { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--graphite); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.footer { display: flex; align-items: center; gap: 48px; border-top: 1px solid var(--line); padding-top: 22px; font-size: .875rem; line-height: 1.5; }
.current-role, .board-role { display: flex; flex-direction: column; gap: 5px; }
.current-role > span:last-child { color: var(--muted); font-size: 1.0625rem; }
.role-detail { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.employer { display: inline-flex; align-items: center; gap: 10px; }
.employer .role-divider { padding: 0; }
.microsoft-logo { display: block; width: 90px; height: auto; flex-shrink: 0; }
.footer-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.role-divider { padding: 0 8px; color: var(--quiet); }
.whatsapp { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; color: var(--accent); transition: color .2s; }
.whatsapp svg { width: 24px; height: 24px; }
.whatsapp:hover { color: var(--fg); }
dialog { width: min(580px, calc(100% - 32px)); max-height: calc(100svh - 40px); padding: 32px; overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--fg); }
dialog::backdrop { background: #0F1113E6; backdrop-filter: blur(10px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-header .eyebrow { margin-bottom: 10px; font-size: .75rem; letter-spacing: .2em; }
h2 { font-size: 2.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.close-button { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--fg); }
.close-button svg { width: 22px; height: 22px; }
.close-button:hover { border-color: var(--green-deep); color: var(--accent); }
.career-list { list-style: none; padding: 0; margin: 28px 0 24px; }
.career-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 17px 0; border-top: 1px solid var(--line); }
.career-date { font-size: .8125rem; color: var(--muted); padding-top: 4px; }
.career-list li:first-child .career-date { color: var(--accent); }
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; }
.career-list p { font-size: .9375rem; line-height: 1.65; color: var(--muted); margin: 0; }
.career-extra { border-top: 1px solid var(--line); padding-top: 8px; }
.career-extra p { font-size: .9375rem; line-height: 1.65; margin: 16px 0; }
.career-extra span { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 3px; }
.dialog-link { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 8px; color: var(--accent); }
.dialog-link svg { width: 23px; height: 23px; }
body:has(dialog[open]) { overflow: hidden; }
@media (min-width: 1000px) and (max-height: 720px) {
  .page { padding-top: 12px; padding-bottom: 20px; }
  .hero { padding: 30px 0; grid-template-columns: minmax(0, 1fr) 260px; }
  .footer { padding-top: 16px; }
}
@media (max-width: 1000px) {
  .page { padding: 20px 36px 24px; }
  .hero { grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; }
  .footer { gap: 30px; }
}
@media (max-width: 760px) {
  .page { padding: 12px 24px 24px; }
  .header { gap: 22px; }
  .hero { grid-template-columns: minmax(0, 1fr) 136px; align-items: start; gap: 18px; padding: 32px 0 36px; }
  .introduction { display: contents; }
  .eyebrow { grid-column: 1 / -1; margin-bottom: 6px; }
  h1 { grid-column: 1 / -1; font-size: 4rem; line-height: 1.04; margin: 0 0 12px -2px; }
  .statement { grid-column: 1; align-self: center; font-size: 1.125rem; line-height: 1.55; }
  .statement br { display: none; }
  .portrait { grid-column: 2; grid-row: 3 / 5; margin: 0; }
  .actions { grid-column: 1 / -1; grid-row: 5; margin-top: 8px; gap: 10px; }
  .button { min-height: 50px; padding: 0 18px; gap: 13px; }
  .footer { align-items: flex-start; flex-wrap: wrap; gap: 20px 32px; padding-top: 18px; }
  .current-role { flex-basis: 100%; }
  .current-role > span:last-child { font-size: 1.0625rem; }
  .role-divider { padding: 0 5px; }
  .whatsapp { align-self: flex-end; padding-bottom: 0; }
  dialog { padding: 26px; }
  .career-list li { grid-template-columns: 92px 1fr; gap: 12px; }
}
@media (max-width: 370px) {
  .page { padding: 8px 20px 20px; }
  .header { gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; padding-top: 24px; }
  .eyebrow { letter-spacing: .24em; }
  h1 { font-size: 3.5rem; }
  .statement { font-size: 1rem; }
  .microsoft-logo { width: 80px; }
  .actions { gap: 8px; }
  .button { font-size: .875rem; padding: 0 8px; gap: 8px; }
  .button svg { width: 17px; }
  .current-role > span:last-child { font-size: .9375rem; }
  .location, .header-link { font-size: .8125rem; }
}
/* The sole entrance motion is the original EG mark, drawn in sequence. */
@media (prefers-reduced-motion: no-preference) {
  .brand-e, .brand-g, .brand-tongue { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .brand-e { animation: draw-mark .6s ease-out both; }
  .brand-dot { animation: show-point .2s .6s both; }
  .brand-g { animation: draw-mark .8s .8s ease-out both; }
  .brand-tongue { animation: draw-mark .35s 1.6s ease-out both; }
  @keyframes draw-mark { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes show-point { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
