:root {
  --paper: #f3efe6;
  --paper-deep: #e6dfd2;
  --ink: #1c1916;
  --ink-soft: #3a342c;
  --muted: #4f4a43;
  --line: #d3cbc0;
  --accent: #9c3b1e;
  --accent-on-dark: #f0c2b0;
  --dark: #161311;
  --cream: #f4f0e8;
  --header: 4.25rem;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header) + 0.75rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: #efcfc2;
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
}

.skip:focus {
  top: 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(243, 239, 230, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 100%;
  width: min(1280px, calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  margin-bottom: 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.brand-role {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  background: var(--paper);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--ink);
}

.nav-links a[aria-current="true"] {
  box-shadow: inset 0 -1px 0 var(--accent);
}

.hero {
  display: flex;
  flex-direction: column;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.2rem, 4vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

.name-first {
  display: block;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 500;
  color: var(--ink-soft);
}

.name-last {
  display: block;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 600;
}

.role {
  margin-top: 1.15rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.hero-lead {
  margin-top: 0.85rem;
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-facts {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-facts dd {
  margin-top: 0.2rem;
  font-size: 1rem;
}

.hero-photo {
  position: relative;
  margin: 0;
  order: -1;
  background: #cfc8bb;
  min-height: 58vh;
}

.hero-photo img {
  width: 100%;
  height: 58vh;
  min-height: 340px;
  object-fit: cover;
  object-position: center 18%;
}

.hero-caption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(243, 239, 230, 0.92);
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.container,
.container-wide {
  width: min(1120px, calc(100% - 2.4rem));
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 2.4rem));
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.45rem);
  margin-bottom: 1.1rem;
}

.prose p {
  max-width: 64ch;
}

.prose p + p {
  margin-top: 1rem;
}

.drop::first-letter {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3.35rem;
  float: left;
  line-height: 0.8;
  padding: 0.12rem 0.45rem 0 0;
}

.section-intro {
  margin-bottom: 2.4rem;
}

.lede {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.bio-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.bio-photo img {
  width: 100%;
  height: auto;
}

.bio-photo figcaption,
.caption,
.shot-caption {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.roles {
  display: grid;
  gap: 1.5rem;
}

.role {
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.role-place {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.role-detail {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}

.malvinas {
  margin-top: 3.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
}

.malvinas h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.malvinas p {
  max-width: 68ch;
  color: var(--ink-soft);
}

.bleed {
  margin: 0;
}

.bleed img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: center 32%;
}

.gestion-panel {
  background: var(--dark);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}

.gestion-panel .caption {
  color: #cbbfb2;
  margin-bottom: 1.6rem;
}

.gestion-panel .eyebrow {
  color: var(--accent-on-dark);
}

.gestion-panel .prose p + p {
  margin-top: 1rem;
}

.gestion-panel .prose p {
  color: #ebe4da;
}

.statement {
  margin-top: 2.6rem;
  max-width: 22em;
  padding-left: 1.15rem;
  border-left: 2px solid var(--accent-on-dark);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.statement-lead {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}

.gallery {
  display: grid;
  gap: 1.35rem;
}

.shot {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shot-frame {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-wide img {
  aspect-ratio: 3 / 2;
  object-position: center 42%;
}

.shot:not(.shot-wide) img {
  aspect-ratio: 4 / 5;
  object-position: center 20%;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-card {
  font-style: normal;
}

.contact-place {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

.contact-links {
  display: grid;
  gap: 0.4rem;
  justify-items: start;
}

.contact-links a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}

.contact-links a:hover {
  border-bottom-color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.6rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  border: 0;
  background: rgba(16, 13, 11, 0.96);
  color: var(--cream);
}

.lightbox::backdrop {
  background: rgba(16, 13, 11, 0.88);
}

.lightbox-bar {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lightbox-bar button {
  color: var(--cream);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.lightbox-close {
  margin-left: auto;
}

.lightbox img {
  width: auto;
  max-width: min(1080px, 100%);
  height: auto;
  max-height: calc(100vh - 7.5rem);
  margin-inline: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: #e4dbd0;
}

@media (min-width: 720px) {
  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .roles {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .shot-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 880px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    min-height: calc(100svh - var(--header));
  }

  .hero-photo {
    order: 0;
    min-height: calc(100svh - var(--header));
  }

  .hero-photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: calc(100svh - var(--header));
  }

  .hero-copy {
    padding-block: 3rem;
  }

  .bio-grid,
  .malvinas,
  .contact-grid {
    /* grid-template-columns: 1.05fr 0.95fr; */
    gap: 3.5rem;
    align-items: start;
  }

  .malvinas {
    align-items: end;
  }
}

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

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 6rem 2rem;
    background: var(--paper);
    transform: translateX(100%);
    visibility: hidden;
  }

  .nav-links.is-open {
    transform: none;
    visibility: visible;
  }

  .nav-links a {
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: -0.03em;
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nav-links {
    transition: transform 0.35s ease;
  }

  .shot img {
    transition: transform 0.6s ease;
  }

  .shot:hover img {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links {
    transition: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .lightbox,
  .hero-caption {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .gestion-panel {
    background: white;
    color: black;
  }

  .gestion-panel .prose p,
  .statement,
  .statement-lead,
  .gestion-panel .eyebrow {
    color: black;
  }

  a {
    text-decoration: underline;
  }
}
