:root {
  --white: #fff;
  --paper: #f8efe3;
  --paper-soft: #fff8ef;
  --mist: #f2dfc7;
  --sage: #6c6b54;
  --sage-dark: #42472f;
  --wine: #8e3850;
  --wine-dark: #54202f;
  --rose: #b96b77;
  --gold: #c8944f;
  --copper: #9f6241;
  --ink: #2a2119;
  --muted: #79685a;
  --line: rgba(91, 60, 38, 0.16);
  --shadow: 0 26px 70px rgba(87, 50, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 46%, var(--white) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgba(189, 139, 77, 0.8);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid rgba(91, 60, 38, 0.12);
  background: rgba(255, 248, 239, 0.88);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.site-nav,
.section,
.intro-strip,
.archive-window,
.visual-pair,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a,
.nav-cta,
.button-primary,
.button-secondary,
.program-card a,
.text-link {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--wine);
}

.nav-cta,
.button-primary,
.button-secondary,
.program-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.button-secondary {
  color: var(--wine-dark);
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(84, 32, 47, 0.36);
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover,
.program-card a:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 54px;
  color: var(--ink);
}

.hero-media {
  margin: 0;
  width: 100%;
  justify-self: center;
}

.hero-image {
  width: 100%;
  height: min(720px, calc(100svh - 166px));
  min-height: 520px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.hero-content {
  width: min(660px, 100%);
  padding: clamp(10px, 2vw, 24px) 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(4.8rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.88;
  color: var(--wine-dark);
}

.hero p {
  max-width: 660px;
  margin: 26px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.intro-strip {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(26px, 6vw, 74px);
  align-items: center;
  padding: 42px 0 48px;
  border-bottom: 1px solid var(--line);
}

.intro-copy p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 3.3rem);
  font-weight: 600;
  line-height: 1.05;
}

.intro-path {
  display: grid;
  gap: 10px;
}

.intro-path a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--wine-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-path a:hover {
  color: var(--copper);
}

.section {
  scroll-margin-top: 96px;
  padding: clamp(82px, 10vw, 140px) 0;
}

.split-section,
.origin-section,
.method-section,
.audience-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.section-copy {
  max-width: 760px;
}

.section-copy p,
.archive-window p,
.method-list p,
.principles-grid p,
.audience-list p,
.program-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.section-marker {
  margin: 0 0 16px;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section h2,
.principles-heading h2,
.archive-window h2,
.closing-cta h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
  font-weight: 600;
  line-height: 0.96;
}

.section h3,
.archive-window h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1.05;
}

.standout {
  margin-top: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
  color: var(--wine-dark) !important;
  font-size: 1.15rem !important;
}

.portrait-frame {
  margin: 0;
  justify-self: center;
  width: min(440px, 100%);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.portrait-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.origin-section {
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.origin-media {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  width: min(980px, 100%);
  margin: 0 auto;
}

.origin-media figure {
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(87, 50, 31, 0.14);
}

.origin-media figure:first-child {
  margin-top: clamp(28px, 5vw, 62px);
}

.origin-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.origin-section .section-copy {
  width: min(900px, 100%);
  max-width: none;
  margin: 0 auto;
}

.principles-band {
  scroll-margin-top: 96px;
  padding: clamp(76px, 9vw, 122px) max(20px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(84, 32, 47, 0.96), rgba(66, 71, 47, 0.96));
  color: var(--white);
}

.principles-heading {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 48px;
}

.principles-heading .section-marker {
  color: #e4bd79;
}

.principles-heading h2 {
  color: var(--white);
}

.principles-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.principles-grid article {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.principles-grid span {
  display: block;
  margin-bottom: 42px;
  color: #e4bd79;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.principles-grid h3 {
  color: var(--white);
}

.principles-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.method-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.narrow-copy {
  max-width: 620px;
}

.method-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.method-list div {
  padding: clamp(26px, 4vw, 42px);
  background: linear-gradient(135deg, var(--white), var(--paper));
}

.method-list h3 {
  color: var(--wine-dark);
}

.visual-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: stretch;
  padding-bottom: clamp(26px, 5vw, 56px);
}

.visual-pair figure {
  margin: 0;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(87, 50, 31, 0.12);
}

.visual-pair img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.section-heading {
  width: min(850px, 100%);
  margin-bottom: 44px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.program-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.program-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.program-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

.program-card h3 {
  color: var(--wine-dark);
}

.program-card p {
  margin: 0;
}

.program-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--wine-dark);
  border-color: var(--wine-dark);
}

.program-card-featured {
  border-color: rgba(142, 56, 80, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-18px);
}

.program-card-featured a {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.dark-program {
  background: var(--wine-dark);
}

.dark-program h3,
.dark-program a {
  color: var(--white);
}

.dark-program p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-program a {
  border-color: rgba(255, 255, 255, 0.62);
}

.audience-section {
  align-items: start;
  border-top: 1px solid var(--line);
}

.audience-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.audience-list p {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--wine-dark);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
}

.archive-window {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(82px, 10vw, 138px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(142, 56, 80, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8ef, #fff);
}

.archive-window figure {
  margin: 0;
  border-radius: 8px;
}

.archive-window img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--wine);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing-cta {
  scroll-margin-top: 96px;
  padding: clamp(88px, 11vw, 150px) 20px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(84, 32, 47, 0.92), rgba(42, 33, 25, 0.86)),
    url("img/daniela-escobar-playa.webp") center 42% / cover;
}

.closing-cta h2 {
  color: var(--white);
}

.closing-cta p {
  width: min(680px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

.closing-cta .hero-actions {
  justify-content: center;
}

.closing-cta .button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.66);
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  font-size: 0.8rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-inner a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-nav {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 170px;
  }

  .hero-media {
    width: min(560px, 100%);
  }

  .hero-content {
    width: min(720px, 100%);
  }

  .intro-strip,
  .split-section,
  .origin-section,
  .method-section,
  .audience-section,
  .archive-window,
  .visual-pair,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .origin-media {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  }

  .program-card-featured {
    transform: none;
  }

  .origin-media figure:first-child {
    margin-top: clamp(18px, 4vw, 36px);
  }

  .principles-grid,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-nav,
  .section,
  .intro-strip,
  .archive-window,
  .visual-pair,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .nav-cta,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    padding: 168px 0 58px;
    gap: 28px;
  }

  .hero-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .hero h1 {
    font-size: clamp(4.25rem, 21vw, 7rem);
  }

  .hero-actions,
  .footer-inner nav {
    flex-direction: column;
    align-items: stretch;
  }

  .intro-strip {
    padding-top: 28px;
  }

  .section {
    padding: 74px 0;
  }

  .section h2,
  .principles-heading h2,
  .archive-window h2,
  .closing-cta h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .origin-media,
  .principles-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .visual-pair img {
    aspect-ratio: auto;
  }

  .origin-media figure:first-child {
    margin-top: 0;
  }

  .principles-grid article {
    min-height: auto;
  }

  .archive-window {
    padding: 22px;
  }
}
