@font-face {
  font-family: Cormorant;
  src: url("./assets/CormorantGaramond.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("./assets/CormorantGaramond-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("./assets/Manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Caveat;
  src: url("./assets/Caveat.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f3ed;
  --ink: #32262b;
  --wine: #743c50;
  --wine-deep: #2e1e27;
  --wine-mid: #482b38;
  --muted: #655259;
  --blush: #efd6d3;
  --rose: #e9aab6;
  --line: #ddc7ca;
  --light-line: #876570;
  --light-ink: #f0dfe1;
  --cream: #fff9f2;
  --progress-height: 4px;
  --serif: Cormorant, Georgia, serif;
  --hand: Caveat, Cormorant, cursive;
  font-family: Manrope, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.3rem; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 4.5rem, 74rem); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8.3vw, 8rem); }
.kicker {
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .105em;
  line-height: 1.45;
  text-transform: uppercase;
}
.kicker span { margin-right: .25em; }
.spark, .ticker-items li::before {
  display: inline-block;
  width: .72em;
  height: .72em;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.arrow {
  position: relative;
  display: inline-block;
  flex: none;
  width: .64em;
  height: .64em;
  border-top: .1em solid;
  border-right: .1em solid;
}
.arrow::after {
  position: absolute;
  top: .19em;
  left: -.2em;
  width: .87em;
  border-top: .1em solid;
  transform: rotate(-45deg);
  content: "";
}
h1, h2, h3, .wordmark span {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.038em;
}
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(3.15rem, 6vw, 5.75rem); line-height: .95; }
h2 em, h1 em { color: var(--wine); font-weight: 600; }
p, address { line-height: 1.72; }

.reading-progress {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: var(--progress-height);
  background: var(--wine-mid);
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
}
.editorial-note {
  width: fit-content;
  font: 600 clamp(1.65rem, 3.4vw, 2.75rem)/1 var(--hand);
  letter-spacing: -.025em;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.margin-note { color: var(--wine); margin-top: .45rem; }

.skip-link {
  position: absolute;
  z-index: 30;
  top: .5rem;
  left: .5rem;
  padding: .65rem 1rem;
  background: var(--cream);
  transform: translateY(-170%);
}
.skip-link:focus { transform: none; }

.header { background: var(--wine-deep); color: var(--cream); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.35rem;
  border-bottom: 1px solid #f5d7da33;
}
.wordmark { display: grid; width: fit-content; gap: .14rem; text-decoration: none; }
.wordmark span { font-size: 2.04rem; white-space: nowrap; line-height: .9; }
.wordmark small { font-size: .63rem; font-weight: 750; letter-spacing: .078em; text-transform: uppercase; }
.nav-links { display: flex; gap: clamp(1.4rem, 4vw, 3.75rem); }
.nav-links a, .header-contact { text-decoration: none; font-size: .81rem; font-weight: 750; }
.nav-links a:hover, .header-contact:hover { text-decoration: underline; text-underline-offset: .24em; }
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .55rem 1.05rem;
  color: var(--cream);
  border-radius: 999px;
  border: 1px solid #f5d7da70;
  white-space: nowrap;
}
.header-contact span { margin-left: .25rem; }

.hero {
  background:
    radial-gradient(ellipse at 83% 22%, #65394e 0%, transparent 50%),
    var(--wine-deep);
  color: var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 6.4vw, 6.25rem);
  padding-block: clamp(2.75rem, 6vw, 6rem);
}
.hero-copy { padding-block: .75rem; }
.hero-copy .kicker { color: var(--rose); margin-bottom: clamp(.9rem, 2.1vw, 1.45rem); }
.hero h1 {
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(3.15rem, 5.2vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -.077em;
  line-height: .99;
  text-wrap: initial;
}
.hero h1 em { display: block; color: var(--rose); font-style: normal; font-weight: inherit; }
.hero-note { margin-top: clamp(.9rem, 2vw, 1.55rem); color: var(--cream); }
.hero-lead { max-width: 30rem; margin-block: 1.35rem 1.45rem; color: var(--light-ink); }
.hero-meta { margin-top: .75rem; color: var(--light-ink); font-size: .78rem; }
.hero-photo {
  position: relative;
  width: min(100%, 33rem);
  margin-inline: auto;
}
.hero-frame {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  max-height: 39rem;
  overflow: hidden;
  border-radius: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 7vw, 6.5rem) 1.2rem 1.2rem;
  background: var(--blush);
}
.hero-photo img { height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-photo figcaption {
  position: absolute;
  bottom: -.65rem;
  left: -.75rem;
  display: grid;
  gap: .18rem;
  max-width: calc(100% - 1.5rem);
  padding: .66rem 1.1rem .77rem;
  color: var(--wine-deep);
  background: var(--rose);
  font-size: .76rem;
  font-weight: 750;
  border-radius: .7rem;
  box-shadow: 0 .65rem 1.8rem #170e1655;
  transform: rotate(-4deg);
}
.hero-photo figcaption .editorial-note { font-size: clamp(1.55rem, 3.3vw, 2.45rem); transform: none; }
.photo-spark {
  position: absolute;
  top: 3.7%;
  right: 1%;
  width: clamp(3.25rem, 7vw, 6.3rem);
  aspect-ratio: 1;
  background: var(--rose);
  clip-path: polygon(47% 0, 53% 0, 53% 43%, 83% 13%, 87% 17%, 57% 47%, 100% 47%, 100% 53%, 57% 53%, 87% 83%, 83% 87%, 53% 57%, 53% 100%, 47% 100%, 47% 57%, 17% 87%, 13% 83%, 43% 53%, 0 53%, 0 47%, 43% 47%, 13% 17%, 17% 13%, 47% 43%);
  transform: rotate(12deg);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  min-height: 3.25rem;
  padding: .85rem 1.25rem;
  color: var(--cream);
  background: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 999px;
  text-decoration: none;
  font-size: .87rem;
  font-weight: 800;
  line-height: 1.3;
}
.button:hover { background: var(--wine-deep); }
.button span { font-size: 1.1rem; }
.hero .button { color: var(--wine-deep); background: var(--rose); border-color: var(--rose); }
.hero .button:hover { background: var(--blush); border-color: var(--blush); }
.hero .button:focus-visible { outline-color: var(--cream); }
.button-light { color: var(--wine-deep); background: var(--cream); border-color: var(--cream); }
.button-light:hover { color: var(--wine-deep); background: var(--light-ink); }
.button-light:focus-visible { outline-color: var(--cream); }
.text-link {
  display: inline-block;
  width: fit-content;
  color: var(--wine);
  font-size: .84rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.ticker {
  position: sticky;
  z-index: 10;
  top: var(--progress-height);
  display: flex;
  align-items: stretch;
  gap: 0;
  border-block: 1px solid #b8838a;
  color: var(--wine-deep);
  background: var(--rose);
}
.ticker-window { min-width: 0; flex: 1; }
.ticker-track { display: flex; }
.ticker-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1rem;
  row-gap: .4rem;
  width: 100%;
  padding: .85rem 1rem;
  list-style: none;
}
.ticker-items li { flex: none; font-size: .86rem; font-weight: 800; }
.ticker-items li::before { content: ""; margin-right: 1rem; color: var(--wine); }
.ticker-copy { display: none; }
.ticker-toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 3rem;
  min-height: 2.75rem;
  background: var(--rose);
  color: var(--wine-deep);
  border: 0;
  border-left: 1px solid #743c5055;
  cursor: pointer;
}
.ticker-toggle:hover { background: var(--blush); }
.ticker-toggle:focus-visible { outline-offset: -4px; }
.ticker-icon { width: .65rem; height: .8rem; border-inline: 2px solid currentColor; }
.is-paused .ticker-icon {
  border: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.is-animated .ticker-window { overflow: hidden; }
.is-animated .ticker-track { width: max-content; animation: ticker-scroll 32s linear infinite; }
.is-animated .ticker-items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  min-width: max(100vw, 56rem);
  width: auto;
  padding-inline: 2.1rem;
}
.is-paused .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

.recognition {
  display: grid;
  grid-template-columns: 1.05fr .9fr;
  gap: clamp(1.5rem, 6.5vw, 7rem);
  align-items: end;
}
.recognition-heading .kicker, .about-copy .kicker { margin-bottom: 1.1rem; color: var(--wine); }
.recognition-copy {
  display: grid;
  gap: 1rem;
  border-left: 1px solid var(--line);
  padding-left: 2rem;
  color: var(--muted);
}
.recognition h2 em {
  background: linear-gradient(transparent 75%, var(--blush) 75%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.method { background: var(--wine-mid); color: var(--cream); }
.method-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.method h2, .closing h2 { color: var(--cream); }
.method h2 em, .closing h2 em { color: #efc2bd; }
.method-intro .kicker { margin-bottom: 1rem; color: #efc2bd; }
.method-intro p:not(.kicker) { max-width: 26rem; margin-block: 1.2rem 1.45rem; color: var(--light-ink); }
.method-steps .kicker { padding-bottom: .8rem; color: #efc2bd; }
.method-steps ol { padding: 0; list-style: none; counter-reset: etapas; }
.method-steps li {
  position: relative;
  border-top: 1px solid var(--light-line);
  padding: 1.2rem 0 1.2rem 3.2rem;
  counter-increment: etapas;
}
.method-steps li:last-child { border-bottom: 1px solid var(--light-line); }
.method-steps li::before {
  position: absolute;
  top: 1.28rem;
  left: 0;
  content: counter(etapas, decimal-leading-zero);
  color: #efc2bd;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.method-steps h3 { font-size: clamp(1.78rem, 3.1vw, 2.54rem); line-height: 1; }
.method-steps li p { margin-top: .42rem; color: var(--light-ink); font-size: .9rem; }

.practice { background: #f1e0df; }
.practice-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 6.2vw, 5.75rem);
  align-items: center;
}
.practice .kicker { color: var(--wine); margin-bottom: 1rem; }
.practice-copy p:not(.kicker, .editorial-note) {
  margin-block: 1.1rem;
  max-width: 31rem;
  color: var(--muted);
}
.practice-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(.7rem, 2.2vw, 1.75rem);
}
.practice-gallery figure {
  aspect-ratio: .77;
  overflow: hidden;
  border-radius: 2.3rem 2.3rem .8rem .8rem;
  background: var(--blush);
}
.practice-gallery figure:nth-child(2) { margin-top: 2.8rem; aspect-ratio: .8; }
.practice-gallery img { height: 100%; object-fit: cover; object-position: 50% 49%; }

.about {
  display: grid;
  grid-template-columns: 1fr .92fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}
.portraits {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(10, minmax(0, 1fr));
  width: min(100%, 34rem);
  aspect-ratio: 1 / 1.12;
}
.portraits figure { overflow: hidden; background: var(--blush); }
.portraits img { width: 100%; height: 100%; object-fit: cover; }
.portrait-main { grid-area: 1 / 1 / 11 / 10; border-radius: 4.6rem 4.6rem 1rem 1rem; }
.portrait-main img { object-position: 49% 44%; }
.portrait-inset { grid-area: 6 / 6 / 10 / 13; z-index: 1; border: .5rem solid var(--paper); border-radius: 1.25rem; transform: rotate(4deg); }
.portrait-inset img { object-position: 46% 54%; }
.about-copy .credential { margin-block: .55rem .95rem; font-size: .74rem; font-weight: 800; color: var(--wine); }
.about-copy p:not(.kicker, .credential) { margin-bottom: .75rem; max-width: 32rem; color: var(--muted); }
.about-copy p.margin-note { margin-block: 1rem; color: var(--wine); }
.about-copy .text-link { margin-top: .45rem; }

.location { padding-block: clamp(3rem, 6.8vw, 6rem); background: var(--blush); }
.location-inner { display: grid; grid-template-columns: 1fr .77fr; align-items: center; gap: clamp(1.6rem, 7vw, 7rem); }
.location .kicker { margin-bottom: .84rem; color: var(--wine); }
.location p:not(.kicker) { margin-top: .95rem; color: var(--muted); }
.address-card { padding: clamp(1.4rem, 3.4vw, 2.7rem); border: 1px solid #bc9399; border-radius: 1.5rem; background: var(--cream); }
.address-card h3 { margin-bottom: .5rem; font-size: clamp(1.84rem, 3vw, 2.55rem); line-height: 1; }
.address-card address { color: var(--muted); font-style: normal; }
.address-card .text-link { margin-top: 1rem; }

.faq { display: grid; grid-template-columns: .8fr 1fr; align-items: start; gap: clamp(1.6rem, 6.5vw, 6.7rem); }
.faq-items details { border-top: 1px solid var(--line); }
.faq-items details:last-child { border-bottom: 1px solid var(--line); }
.faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
  font-size: .91rem;
  font-weight: 800;
}
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: "+"; flex: none; color: var(--wine); font-size: 1.35rem; font-weight: 600; }
.faq-items details[open] summary::after { content: "−"; }
.faq-items details p { max-width: 34rem; padding-bottom: 1rem; color: var(--muted); font-size: .9rem; }

.closing { color: var(--wine-deep); background: var(--rose); text-align: center; }
.closing-inner { display: grid; justify-items: center; gap: 1.15rem; }
.closing-inner h2 { max-width: 14ch; }
.closing h2, .closing h2 em { color: var(--wine-deep); }
.closing h2 .editorial-note { display: block; width: auto; font-size: 1.13em; font-weight: 600; transform-origin: center; }
.closing-inner p { max-width: 39ch; color: var(--wine-deep); }
.closing .button { background: var(--wine-deep); border-color: var(--wine-deep); color: var(--cream); }
.closing .button:hover { background: var(--wine); border-color: var(--wine); }
.closing .button:focus-visible { outline-color: var(--wine-deep); }
.footer { padding-block: 1.8rem; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 1.5rem;
}
.footer .wordmark span { font-size: 1.8rem; }
.footer .wordmark small { color: var(--muted); }
.footer p { text-align: center; color: var(--muted); font-size: .75rem; }

@media (max-width: 970px) {
  .nav-links { gap: 1.25rem; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.25rem); }
  .section { padding-block: 3.7rem; }
  .header-inner { min-height: 4.2rem; }
  .wordmark span { font-size: 1.75rem; }
  .nav-links { display: none; }
  .hero-inner, .recognition, .method-grid, .practice-inner, .about, .location-inner, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 1.6rem; padding-block: 1.9rem 2.8rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.8rem, 10.5vw, 4.75rem); }
  .hero-lead { margin-block: 1.15rem 1.12rem; font-size: .94rem; }
  .hero-frame { aspect-ratio: 1 / 1.13; }
  .hero-photo figcaption { left: .3rem; }
  .recognition-copy { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .method-grid { gap: 2.2rem; }
  .method-steps li { padding-left: 2.45rem; }
  .portraits { width: min(100%, 27rem); margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr auto; justify-items: start; gap: .9rem 1rem; }
  .footer p { grid-area: 2 / 1 / 3 / 3; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker { position: static; }
  .ticker-toggle { display: none; }
  .ticker-track { animation: none !important; }
}
