@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-normal.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-normal-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-normal-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-normal-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
:root {
  --ink: #101011;
  --cream: #ece8dd;
  --brass: #b3bfd1;
  --muted: #c5bfb5;
  --rule: rgb(197 205 218 / 30%);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(1.4rem, 5.2vw, 7.5rem);
  --header-height: clamp(4.25rem, 6vw, 5.75rem);
  font-family: var(--sans);
  color: var(--cream);
  background: var(--ink);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, h4, p { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font: 400 1em/1.1 var(--display); }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid #c69c60; outline-offset: 4px; }
::selection { color: #141210; background: #d4b68f; }
html[lang="en"] .l-es, html[lang="es"] .l-en { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: middle; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1440px); margin-inline: auto; }
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  transform: translateY(-200%); padding: 12px; background: var(--cream); color: var(--ink);
}
.skip:focus { transform: none; }

/* The navigation sits within the photographic cover. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; }
.header-in {
  display: flex; align-items: center; gap: 28px; min-height: var(--header-height);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0;
  color: #ece5d9; white-space: nowrap;
  font: 500 clamp(1.25rem, 1.85vw, 1.85rem)/1 var(--display); letter-spacing: -.028em;
}
.brand-glyph { width: 37px; height: 37px; color: #d0d6df; }
.links { margin-left: auto; display: flex; align-items: center; gap: clamp(1.35rem, 2.9vw, 3.3rem); }
.links a {
  display: inline-flex; align-items: center; min-height: 44px;
  position: relative; font-size: .89rem; color: #e3dfd7;
}
.links a::after {
  position: absolute; bottom: 8px; left: 0; right: 0; content: "";
  height: 1px; background: #a0aec3; transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.links a:hover::after { transform: none; }
.header-tools { display: flex; gap: 14px; align-items: center; margin-left: clamp(.5rem, 2vw, 2.5rem); }
.language { display: flex; align-items: center; }
.language button {
  color: #bab4a9; background: transparent; border: 0;
  min-height: 44px; min-width: 35px; padding: 6px;
  letter-spacing: .06em; font-size: .813rem;
}
.language button[aria-pressed="true"] { color: #fff5e3; font-weight: 600; }
.language > span { width: 1px; height: .77rem; background: #786e5d; transform: rotate(24deg); }
.menu-toggle { display: none; }

/* Blend the portrait into the dark reading area without obscuring her expression. */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: #12161e;
}
.hero-scene {
  position: absolute; z-index: -3; inset: 0 0 0 27%;
  background: #12161e;
}
.hero-image {
  position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease-in-out;
  height: 100%; width: 100%; object-fit: cover;
  object-position: 57% 42%; filter: saturate(.52) contrast(1.035) brightness(.95);
}
.hero-image[data-frame="1"] { object-position: 54% 47%; }
.hero-image[data-frame="2"] { object-position: 48% 64%; }
.hero-image.is-current { opacity: 1; }
.hero-shade {
  position: absolute; z-index: -2; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, #12161e 0%, rgb(18 22 30 / 68%) 10%, transparent 31%),
    linear-gradient(180deg, rgb(13 16 24 / 89%) 0%, rgb(18 21 29 / 38%) 17%, transparent 37%),
    linear-gradient(90deg, #12161e 8%, rgb(18 22 30 / 100%) 27%, rgb(18 22 30 / 84%) 34%, rgb(18 22 30 / 40%) 47%, transparent 62%);
}
.hero-inner {
  position: relative;
  min-height: clamp(625px, 86svh, 860px);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--header-height);
}
.hero-copy {
  align-self: center; width: fit-content; max-width: 58%;
  padding: clamp(44px, 5.8vh, 86px) 0 clamp(36px, 6vh, 90px);
}
.eyebrow {
  display: flex; align-items: center; gap: 13px; text-transform: uppercase;
  color: #c9d3e1; font: 500 .78rem/1.4 var(--sans); letter-spacing: .2em;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: #93a0b4; }
.hero h1 {
  font-size: clamp(5.55rem, 8.9vw, 9.8rem); line-height: .82;
  letter-spacing: -.065em; margin: clamp(24px, 2.05vw, 37px) 0 27px;
  color: #f1ece2; font-weight: 500;
}
.title-line { display: block; margin-top: .03em; white-space: nowrap; }
.title-line i { font-weight: 400; color: #cbd3de; letter-spacing: -.066em; }
.intro {
  font-size: clamp(1rem, 1.17vw, 1.22rem);
  line-height: 1.58; max-width: 35ch; color: #d4d0c7; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 25px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 25px; border: 1px solid #c0c8d1; border-radius: 1px;
  color: #191711; background: #dce0e4; font: 500 .92rem/1.35 var(--sans);
  transition: background .2s, border-color .2s;
}
.btn:hover { background: #eef1f3; border-color: #dbe2e9; }
.underlink {
  display: inline-flex; align-items: center; min-height: 42px; color: #e8e2d7;
  font-size: .92rem; text-decoration: underline; text-decoration-color: #887761;
  text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.underlink:hover { text-decoration-color: #e6c99c; }
.hero-foot {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; border-top: 1px solid var(--rule);
}
.epithets { font: italic 400 clamp(1.03rem, 1.37vw, 1.35rem)/1.35 var(--display); color: #c6c9d0; }
.frame-controls { display: flex; align-items: center; gap: .1rem; color: #d2c9b9; }
#frame-label { font-size: .82rem; color: #ded6c9; margin-right: 1.1rem; }
#frame-count { font-size: .73rem; letter-spacing: .09em; font-variant-numeric: tabular-nums; }
.frame-controls button {
  min-height: 42px; min-width: 34px; display: grid; place-items: center;
  background: none; border: 0; color: #d5c7b2;
}
.frame-controls button:hover { color: #fff4db; background: #b6a08510; }
.frame-controls .icon { width: 15px; height: 15px; }
#hero-playback { margin-left: .25rem; position: relative; }
#hero-playback::before { content: ""; position: absolute; left: -.15rem; top: 32%; bottom: 32%; width: 1px; background: var(--rule); }
@media (max-width: 890px) {
  .hero-inner { min-height: clamp(590px, 79svh, 740px); }
  .hero-copy { max-width: 59%; }
  .hero h1 { font-size: clamp(5.3rem, 10.8vw, 6.3rem); }
  .intro { max-width: 29ch; }
  .links { gap: 1.05rem; }
  .header-in { gap: 16px; }
}
@media (max-width: 740px) {
  .header-tools { margin-left: auto; gap: 8px; }
  .menu-toggle {
    display: grid; place-items: center; width: 42px; height: 44px;
    border: 0; border-left: 1px solid #8b7c643b; padding: 0 0 0 6px;
    background: transparent; color: #f2e9da;
  }
  .menu-toggle .icon { width: 22px; height: 22px; }
  .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: #151412;
    padding: 8px var(--gutter) 14px; border-bottom: 1px solid var(--rule);
  }
  .links.open { display: flex; }
  .links a { font-size: 1rem; padding-block: .8rem; border-bottom: 1px solid #8474593b; }
  .links a::after { display: none; }
  .site-header:has(.links.open) { background: #151412; }
  .hero-foot { min-height: 58px; }
  .epithets { font-size: .95rem; }
  #frame-label { margin-right: .25rem; }
  .hero-actions { gap: 16px; }
}
@media (max-width: 620px) {
  :root { --gutter: clamp(1.125rem, 5.4vw, 2rem); --header-height: 64px; }
  .brand { gap: .42rem; font-size: 1.37rem; }
  .brand-glyph { width: 32px; height: 32px; }
  .header-tools { gap: 1px; }
  .language button { min-width: 32px; }
  .hero-inner { min-height: clamp(620px, 94svh, 840px); }
  .hero-scene { inset: 0 0 auto; height: 68%; }
  .hero-image { object-position: 49% 29%; }
  .hero-image[data-frame="1"] {
    top: 4%; height: 84%; object-position: 48% 45%;
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 83%, transparent);
  }
  .hero-image[data-frame="2"] { object-position: 49% 64%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgb(13 16 24 / 90%) 0%, rgb(18 22 30 / 41%) 10%, transparent 21%, rgb(18 22 30 / 15%) 34%, rgb(18 22 30 / 79%) 51%, #12161e 68%),
      linear-gradient(90deg, rgb(18 22 30 / 22%), transparent 55%);
  }
  .hero-copy { align-self: end; max-width: 100%; padding: clamp(230px, 35svh, 330px) 0 23px; }
  .hero h1 { font-size: clamp(4.85rem, 14.7vw, 6rem); margin: 18px 0 15px; line-height: .83; }
  .hero-copy .eyebrow { font-size: .72rem; gap: 10px; color: #dce3ee; }
  .eyebrow::before { width: 25px; }
  .intro { max-width: 34ch; line-height: 1.47; }
  .hero-actions { margin-top: 18px; gap: 21px; }
  .hero-foot { display: grid; grid-template-columns: 1fr; padding: 9px 0 12px; gap: 1px; }
  .epithets { font-size: clamp(.93rem, 3.6vw, 1.1rem); }
  .frame-controls { justify-self: end; }
  #frame-label { font-size: .775rem; }
  .frame-controls button { min-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
