/* ==========================================================================
   Esperanza Garrido — sistema visual (acuarela clara)
   Base crema, lavados lila/rosa, tinta índigo, píldoras redondas.
   ========================================================================== */

:root {
    --paper: #f8f2ec;
    --cream: #fbf6f1;
    --ivory: #f4ece5;
    --card: #fdfbf9;
    --white: #ffffff;

    --ink: #46415e;
    --ink-soft: #6c6683;
    --muted: #8b8599;

    --indigo: #4f4a80;
    --indigo-deep: #3c3763;
    --indigo-soft: #6f6a9c;
    --hair: rgb(79 74 128 / 0.16);
    --hair-strong: rgb(79 74 128 / 0.3);

    --lilac: #b7abd9;
    --lilac-soft: #d5cde9;
    --blush: #e6c3ce;
    --blush-soft: #f2dde2;

    --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --font-display: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;

    --text-display: clamp(1.85rem, 1.25rem + 2.1vw, 2.9rem);
    --text-title: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
    --text-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
    --text-body: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
    --text-ui: 0.78rem;

    --header-h: 4.5rem;
    --gutter: 1.25rem;
    --shell: 1240px;
    --shell-wide: 1400px;

    --radius: 8px;
    --shadow-card: 0 14px 34px rgb(79 74 128 / 0.09);
    --shadow-card-hover: 0 26px 60px rgb(79 74 128 / 0.18);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-display);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

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

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

::selection {
    background: var(--indigo);
    color: var(--cream);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 90;
    background: var(--indigo);
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: var(--text-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.skip-link:focus {
    top: 1rem;
}

.eg-wash {
    background-color: var(--paper);
}

.shell {
    width: min(var(--shell), 100%);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.shell--wide {
    width: min(var(--shell-wide), 100%);
}

.shell--narrow {
    width: min(880px, 100%);
}

/* --------------------------------------------------------------------------
   Lavados de acuarela decorativos
   -------------------------------------------------------------------------- */

.wash {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bloom {
    pointer-events: none;
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(28px);
    will-change: transform;
}

.bloom--lilac {
    background: radial-gradient(circle, rgb(183 171 217 / 0.55) 0%, rgb(183 171 217 / 0.16) 46%, transparent 70%);
}

.bloom--blush {
    background: radial-gradient(circle, rgb(230 195 206 / 0.55) 0%, rgb(230 195 206 / 0.16) 46%, transparent 70%);
}

/* Isotipo oficial reutilizado como capa decorativa muy tenue. */
.petal {
    pointer-events: none;
    position: absolute;
    z-index: 0;
    opacity: 0.16;
    filter: blur(3px) saturate(0.75);
    object-fit: contain;
    will-change: transform;
}

/* --------------------------------------------------------------------------
   Tipografía y componentes compartidos
   -------------------------------------------------------------------------- */

.eyebrow {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--indigo-soft);
}

.section {
    position: relative;
    padding-block: 3.5rem;
}

.section > .shell {
    position: relative;
    z-index: 1;
}

.section-head {
    position: relative;
    z-index: 1;
    text-align: center;
}

.section-head__title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--indigo);
    margin: 0;
}

.flourish {
    display: block;
    margin: 0.75rem auto 0;
    width: clamp(4rem, 8vw, 6.5rem);
    height: 12px;
    color: var(--hair-strong);
}

.flourish--inline {
    display: inline-block;
    margin: 0 0 0 0.9rem;
    vertical-align: middle;
    width: 3.75rem;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    color: var(--indigo-soft);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.section-kicker::before,
.section-kicker::after {
    content: "";
    width: 2.4rem;
    height: 1px;
    background: currentColor;
    opacity: 0.38;
    flex: none;
}

.section-kicker--center {
    justify-content: center;
}

.section-title {
    margin-top: 1.1rem;
    font-family: var(--font-display);
    font-size: var(--text-title);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.01em;
    color: var(--indigo);
    text-wrap: balance;
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
}

/* Botones -------------------------------------------------------------- */

.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 2.6rem;
    padding: 0.6rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
    transform: scaleX(1);
}

.btn > * {
    position: relative;
}

.btn svg {
    width: 0.9rem;
    height: 0.9rem;
    flex: none;
}

.btn--pill {
    background: var(--indigo);
    color: var(--white);
    box-shadow: 0 10px 24px rgb(79 74 128 / 0.22);
}

.btn--pill::before {
    background: linear-gradient(100deg, var(--indigo-deep), #5d57a0 60%, var(--indigo-deep));
}

.btn--pill:hover {
    box-shadow: 0 16px 34px rgb(79 74 128 / 0.32);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    border-color: var(--indigo);
    color: var(--indigo);
}

.btn--ghost::before {
    background: rgb(79 74 128 / 0.08);
}

.btn--ghost:hover {
    border-color: var(--indigo);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--indigo);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease);
}

.text-link__rule {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
    transition: width 0.45s var(--ease);
}

.text-link:hover {
    color: var(--indigo-deep);
}

.text-link:hover .text-link__rule {
    width: 3.5rem;
}

/* --------------------------------------------------------------------------
   Marca
   -------------------------------------------------------------------------- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    min-width: 0;
}

.brand__iso {
    width: 2.9rem;
    height: 2.9rem;
    object-fit: contain;
    flex: none;
}

.brand__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 0;
}

.brand__tag {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    text-transform: uppercase;
    color: var(--indigo-soft);
    white-space: nowrap;
}

/* Firma oficial: siempre object-contain, nunca deformada. */
.wordmark {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.wordmark--full {
    width: 9.5rem;
}

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
}

.site-header__bar {
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.site-header.is-solid .site-header__bar,
.site-header:not(.site-header--over-hero) .site-header__bar {
    background: rgb(248 242 236 / 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--hair);
    box-shadow: 0 10px 30px rgb(79 74 128 / 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: clamp(1rem, 2.1vw, 2.1rem);
}

.nav-link {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--indigo);
    padding-block: 0.35rem;
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.45s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-current::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.site-header__cta {
    display: none;
    padding: 0.55rem 1.35rem;
    min-height: 2.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: none;
    font-weight: 500;
}

.nav-toggle {
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--hair-strong);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.6);
    color: var(--indigo);
    cursor: pointer;
    flex: none;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 1.1rem;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle__bars {
    position: relative;
    margin: 0 auto;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-mobile {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 26rem);
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: max(1.25rem, env(safe-area-inset-top)) 1.5rem max(1.5rem, env(safe-area-inset-bottom));
    border: 0;
    border-left: 1px solid var(--hair);
    color: var(--ink);
    background: radial-gradient(ellipse at 100% 100%, var(--lilac-soft), transparent 65%), var(--cream);
    box-shadow: -20px 0 80px rgb(79 74 128 / 0.16);
    overscroll-behavior: contain;
}

.nav-mobile:not([open]) {
    display: none;
}

.nav-mobile::backdrop {
    background: rgb(28 25 45 / 0.38);
    backdrop-filter: blur(3px);
}

.nav-mobile__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hair);
}

.nav-mobile__close {
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid var(--hair-strong);
    border-radius: 50%;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.nav-mobile__signature {
    margin-top: 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
}

.nav-mobile nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0;
}

.nav-mobile a:not(.btn) {
    color: var(--indigo);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    padding-block: 0.65rem;
    border-bottom: 1px solid var(--hair);
    letter-spacing: 0.05em;
}

.nav-mobile .btn {
    align-self: flex-start;
    margin-top: 1.5rem;
}

.nav-mobile a[aria-current="page"] {
    color: var(--indigo-deep);
    text-decoration: underline;
    text-underline-offset: 0.3em;
    text-decoration-thickness: 1px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 3rem;
    background:
        radial-gradient(ellipse 60% 70% at 78% 40%, rgb(183 171 217 / 0.3), transparent 62%),
        radial-gradient(ellipse 46% 46% at 96% 88%, rgb(230 195 206 / 0.34), transparent 66%),
        radial-gradient(ellipse 40% 40% at 2% 96%, rgb(213 205 233 / 0.32), transparent 68%),
        var(--paper);
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
}

.hero__wordmark {
    display: flex;
    flex-direction: column;
    margin-top: 1.1rem;
    width: min(100%, 26rem);
}

.hero__wordmark .wordmark--first {
    width: 74%;
}

.hero__wordmark .wordmark--second {
    width: 56%;
    align-self: flex-end;
    margin-top: -6%;
    margin-right: 6%;
}

.hero__title {
    margin: 0.9rem 0 0;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.44em;
    text-indent: 0.44em;
    text-transform: uppercase;
    color: var(--indigo-soft);
    text-align: center;
    width: min(100%, 26rem);
}

.hero__title::before,
.hero__title::after {
    content: "·";
    margin-inline: 0.5em;
    opacity: 0.8;
}

.hero__lead {
    max-width: 27rem;
    margin-top: 1.6rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.9rem;
}

.hero__mark {
    position: relative;
    justify-self: center;
    width: min(100%, 30rem);
}

.hero__mark img {
    position: relative;
    z-index: 1;
    width: 100%;
    object-fit: contain;
    /* La marca mantiene los colores del archivo aprobado. */
}

.hero__halo {
    position: absolute;
    inset: -6% -4%;
    border-radius: 50%;
    background: radial-gradient(circle at 42% 40%, rgb(255 255 255 / 0.55) 0%, rgb(213 205 233 / 0.35) 44%, transparent 70%);
    filter: blur(18px);
}

.hero__ring {
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    border: 1px solid rgb(183 171 217 / 0.45);
}

.hero__sparkle {
    position: absolute;
    z-index: 2;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.95);
    box-shadow: 0 0 10px 4px rgb(183 171 217 / 0.65);
    animation: sparkle 3.6s ease-in-out infinite;
}

.hero__sparkle--a { top: 12%; right: 18%; animation-delay: 0s; }
.hero__sparkle--b { top: 28%; left: 8%; width: 0.32rem; height: 0.32rem; animation-delay: 0.8s; }
.hero__sparkle--c { bottom: 22%; right: 10%; animation-delay: 1.6s; }
.hero__sparkle--d { bottom: 34%; left: 16%; width: 0.28rem; height: 0.28rem; animation-delay: 2.2s; }

@keyframes sparkle {
    0%, 100% { opacity: 0.25; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* --------------------------------------------------------------------------
   Quién soy
   -------------------------------------------------------------------------- */

.section--bio {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgb(213 205 233 / 0.22) 0%, transparent 16%, transparent 84%, rgb(213 205 233 / 0.22) 100%),
        var(--cream);
}

.bio-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.bio-portrait {
    position: relative;
    width: min(100%, 30rem);
    margin-inline: auto;
}

.bio-portrait__frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    -webkit-mask-image: radial-gradient(ellipse 66% 74% at 50% 46%, #000 34%, transparent 94%);
    mask-image: radial-gradient(ellipse 66% 74% at 50% 46%, #000 34%, transparent 94%);
}

.bio-portrait__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--zoom, 1)) translate(var(--shift-x, 0), var(--shift-y, 0));
}

.bio-copy {
    max-width: 34rem;
}

.bio-copy p {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.85;
}

.bio-copy p + p {
    margin-top: 1.2rem;
}

.bio-copy .text-link {
    margin-top: 1.8rem;
}

.bio-flower {
    position: absolute;
    right: -2%;
    bottom: 4%;
    width: clamp(8rem, 14vw, 13rem);
    color: rgb(180 150 130 / 0.5);
    z-index: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Próximos eventos
   -------------------------------------------------------------------------- */

.section--events {
    overflow: hidden;
    background:
        radial-gradient(ellipse 34% 90% at 0% 50%, rgb(183 171 217 / 0.4), transparent 70%),
        radial-gradient(ellipse 34% 90% at 100% 50%, rgb(196 178 216 / 0.4), transparent 70%),
        radial-gradient(ellipse 30% 40% at 8% 96%, rgb(230 195 206 / 0.3), transparent 70%),
        var(--cream);
}

.event-grid {
    display: grid;
    gap: 1.1rem;
    margin-top: 2.25rem;
}

.event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 0.7rem 0.7rem 0.9rem;
    transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.event-card__top {
    position: relative;
}

.event-card__badge {
    position: absolute;
    left: 0.55rem;
    top: 0.55rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.35rem;
    padding: 0.4rem 0.5rem 0.5rem;
    background: var(--card);
    box-shadow: 0 8px 18px rgb(79 74 128 / 0.16);
    color: var(--indigo);
    text-align: center;
}

.event-card__day {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
}

.event-card__month {
    margin-top: 0.15rem;
    font-family: var(--font-display);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--indigo-soft);
}

.event-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    background: var(--lilac-soft);
}

.event-card__media img,
.event-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--zoom, 1));
    transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.event-card:hover .event-card__media img {
    transform: scale(calc(var(--zoom, 1) * 1.07));
}

.event-card__placeholder {
    display: block;
    background: linear-gradient(135deg, var(--lilac-soft), var(--blush-soft));
}

.event-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.4rem 0;
}

.event-card__city {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--indigo);
}

.event-card__meta {
    margin-top: 0.15rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.event-card__foot {
    width: 100%;
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--hair);
    display: flex;
    justify-content: center;
}

.event-card__foot .text-link {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    gap: 0.6rem;
}

.event-card__foot .text-link__rule {
    width: 1.6rem;
}

.event-card__foot .text-link:hover .text-link__rule {
    width: 2.4rem;
}

/* --------------------------------------------------------------------------
   Galería
   -------------------------------------------------------------------------- */

.section--gallery {
    overflow: hidden;
    background:
        radial-gradient(ellipse 26% 60% at 0% 55%, rgb(213 205 233 / 0.45), transparent 72%),
        radial-gradient(ellipse 22% 50% at 100% 45%, rgb(230 195 206 / 0.32), transparent 72%),
        var(--cream);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 2rem;
}

.gallery-strip__item,
.gallery-page__item {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: var(--lilac-soft);
    cursor: zoom-in;
    aspect-ratio: 21 / 34;
    box-shadow: 0 12px 30px rgb(79 74 128 / 0.1);
}

.gallery-strip__item img,
.gallery-page__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--zoom, 1)) translate(var(--shift-x, 0), var(--shift-y, 0));
    transition: transform 1.4s var(--ease), filter 0.7s var(--ease);
}

.gallery-strip__item:hover img,
.gallery-page__item:hover img {
    transform: scale(calc(var(--zoom, 1) * 1.09)) translate(var(--shift-x, 0), var(--shift-y, 0));
}

/* El velo de hover vive en `::before` porque `::after` lo usa el virado
   duotono de `.photo-duo`. */
.gallery-strip__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 55%, rgb(60 55 99 / 0.22));
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.gallery-strip__item:hover::before {
    opacity: 1;
}

/* Virado duotono por hueco.
   Las cuatro fotos reales son tomas muy oscuras, así que primero se levantan
   las sombras (fondo claro + imagen en escala de grises semitransparente) y
   después se tiñen las luces con una capa en `multiply`. Cada hueco lleva un
   viraje distinto para que la repetición no cante. La imagen nunca se deforma
   ni se retoca el rostro. */
.photo-duo {
    position: relative;
    isolation: isolate;
    background: var(--duo-lift);
}

.photo-duo img {
    filter: grayscale(1) brightness(var(--duo-brightness, 1.85)) contrast(var(--duo-contrast, 0.8));
    opacity: var(--duo-opacity, 0.86);
}

.photo-duo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: var(--duo-tint);
    mix-blend-mode: multiply;
}

.tone-violet {
    --duo-lift: #e9dff5;
    --duo-tint: #9b86d4;
}

.tone-warm {
    --duo-lift: #f2e3e3;
    --duo-tint: #d3a4b0;
    --duo-brightness: 1.95;
}

.tone-bw {
    --duo-lift: #eeecf1;
    --duo-tint: #c9c5d2;
    --duo-brightness: 1.7;
    --duo-contrast: 0.95;
}

.tone-soft {
    --duo-lift: #f4e7e6;
    --duo-tint: #dcb2b8;
    --duo-brightness: 2.05;
}

.tone-deep {
    --duo-lift: #e4d8f3;
    --duo-tint: #8271c2;
    --duo-brightness: 2;
}

.tone-bio {
    --duo-lift: #e7dcf2;
    --duo-tint: #b7a3dd;
    --duo-brightness: 2.15;
    --duo-contrast: 0.75;
    --duo-opacity: 0.8;
}

.gallery-foot {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--hair);
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Cita
   -------------------------------------------------------------------------- */

.section--quote {
    overflow: hidden;
    padding-block: 4rem 3rem;
    background:
        radial-gradient(ellipse 28% 100% at 2% 60%, rgb(150 138 196 / 0.32), transparent 68%),
        radial-gradient(ellipse 32% 100% at 100% 55%, rgb(216 186 205 / 0.4), transparent 68%),
        var(--cream);
}

.quote {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.quote__text {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1rem + 1.4vw, 2.05rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    color: var(--indigo);
    text-wrap: balance;
}

.quote__mark {
    font-style: normal;
    font-weight: 600;
    color: var(--lilac);
    font-size: 1.15em;
    line-height: 0;
    vertical-align: -0.15em;
}

.quote__mark--open {
    margin-right: 0.15em;
}

.quote__mark--close {
    margin-left: 0.15em;
}

.quote__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
    color: var(--indigo-soft);
}

.quote__author .wordmark--full {
    width: 7.5rem;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */

.section--contact {
    overflow: hidden;
    padding-block: 2.5rem 3.5rem;
    background:
        radial-gradient(ellipse 30% 100% at 0% 50%, rgb(150 138 196 / 0.3), transparent 66%),
        radial-gradient(ellipse 32% 100% at 100% 50%, rgb(216 186 205 / 0.36), transparent 66%),
        var(--ivory);
}

.section--contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: var(--hair);
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    width: min(880px, 100%);
    margin-inline: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding-top: 0.5rem;
}

.contact-row {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.contact-row svg {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    color: var(--indigo);
}

.contact-row__label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--indigo);
    line-height: 1.3;
}

.contact-row__value {
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-decoration: none;
    line-height: 1.5;
    word-break: break-word;
}

a.contact-row__value:hover {
    color: var(--indigo);
}

.social-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: var(--indigo);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}

.social-btn svg {
    width: 1rem;
    height: 1rem;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.06);
    background: var(--indigo-deep);
}

.social-btn--outline {
    background: transparent;
    color: var(--indigo);
    border: 1px solid var(--hair-strong);
}

.social-btn--outline:hover {
    background: rgb(79 74 128 / 0.08);
}

.contact-form__title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--indigo);
    text-align: center;
    margin-bottom: 0;
}

.contact-form .flourish {
    margin-bottom: 1.25rem;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.contact-form .field--full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--hair);
    border-radius: 4px;
    background: rgb(255 255 255 / 0.55);
    padding: 0.7rem 0.9rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--ink);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-form textarea {
    min-height: 6.5rem;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted);
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgb(79 74 128 / 0.45);
    background: rgb(255 255 255 / 0.85);
    box-shadow: 0 0 0 3px rgb(79 74 128 / 0.08);
}

.contact-form__actions {
    display: flex;
    justify-content: center;
    margin-top: 1.1rem;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.9rem;
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--muted);
}

.contact-consent input {
    width: auto;
    margin-top: 0.2rem;
    accent-color: var(--indigo);
}

.contact-consent a {
    color: var(--indigo);
}

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */

.site-footer {
    position: relative;
    border-top: 1px solid var(--hair);
    background: var(--cream);
}

.site-footer__top {
    display: grid;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
    padding-block: 2rem 1rem;
}

.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__bottom {
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    text-align: center;
    padding-block: 0.5rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--muted);
}

.site-footer__bottom a {
    text-decoration: none;
}

.site-footer__bottom a:hover {
    color: var(--indigo);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgb(28 25 45 / 0.94);
    cursor: zoom-out;
}

.lightbox__panel {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 1rem;
    width: min(68rem, 100%);
}

.lightbox__panel img {
    max-height: 76svh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox__caption,
.lightbox__actions button {
    color: rgb(248 242 236 / 0.8);
    background: none;
    border: 0;
    font-family: var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.lightbox__actions {
    display: flex;
    gap: 1.5rem;
}

.lightbox__actions button {
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Páginas internas
   -------------------------------------------------------------------------- */

.page-intro {
    position: relative;
    padding: calc(var(--header-h) + 3rem) 0 2rem;
    background:
        radial-gradient(ellipse 50% 80% at 90% 10%, rgb(183 171 217 / 0.28), transparent 66%),
        var(--paper);
}

.page-intro__title {
    margin-top: 0.9rem;
    font-family: var(--font-display);
    font-size: var(--text-display);
    font-weight: 500;
    line-height: 1.08;
    color: var(--indigo);
}

.page-intro__lead {
    max-width: 40rem;
    margin-top: 1.25rem;
    font-size: var(--text-lead);
    color: var(--ink);
}

.prose {
    max-width: 40rem;
    color: var(--ink);
}

.prose-wide .prose {
    max-width: 46rem;
}

.prose p + p,
.prose h2 {
    margin-top: 1.15rem;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: var(--text-title);
    font-weight: 500;
    color: var(--indigo);
    line-height: 1.15;
}

.bio-page,
.bio-split,
.booking-page {
    display: grid;
    gap: 2.5rem;
}

.bio-page__portrait,
.bio-page__side {
    margin: 0;
}

.bio-page__portrait img,
.bio-page__side img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center 15%;
    box-shadow: var(--shadow-card);
}

.gallery-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.booking-form,
.admin-form {
    display: grid;
    gap: 1rem;
    max-width: 36rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.booking-form label,
.admin-form label {
    display: grid;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo);
}

.booking-form input,
.booking-form textarea,
.admin-form input,
.admin-form textarea {
    width: 100%;
    border: 1px solid var(--hair);
    border-radius: 4px;
    background: rgb(255 255 255 / 0.7);
    color: var(--ink);
    padding: 0.75rem 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.form-check {
    display: flex !important;
    align-items: flex-start;
    gap: 0.7rem;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: var(--ink) !important;
}

.form-check input {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--indigo);
}

.form-banner {
    padding: 0.85rem 1rem;
    border-radius: 4px;
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.form-banner--ok {
    background: rgb(79 74 128 / 0.1);
    color: var(--indigo-deep);
}

.form-banner--err {
    background: rgb(230 195 206 / 0.4);
    color: var(--ink);
    list-style: none;
}

.form-banner--err li + li {
    margin-top: 0.25rem;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.booking-meta {
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 1.6rem;
    color: var(--ink-soft);
}

.booking-aside {
    display: grid;
    place-items: center;
}

.booking-mark {
    width: min(16rem, 70%);
    opacity: 0.32;
    object-fit: contain;
}

/* Admin ---------------------------------------------------------------- */

.admin-toolbar,
.admin-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-toolbar {
    justify-content: space-between;
    align-items: flex-end;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgb(255 255 255 / 0.7);
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.85rem 0.7rem;
    border-bottom: 1px solid var(--hair);
    font-size: 0.9rem;
}

.admin-table__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.admin-table__actions form,
.admin-table__actions button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--indigo);
    cursor: pointer;
}

.admin-preview {
    width: min(20rem, 100%);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.admin-form--wide {
    max-width: 40rem;
}

.muted {
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

/* Ritmo editorial compartido: mismas secciones y recursos de referencia. */
.page-intro {
    padding-bottom: clamp(2rem, 5vw, 4rem);
    border-bottom: 1px solid var(--hair);
}

.page-intro__title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.page-intro__lead,
.prose {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.8;
}

.prose-wide .prose {
    margin-inline: auto;
}

.bio-page__portrait img,
.bio-page__side img {
    max-height: 42rem;
    aspect-ratio: 3 / 4;
}

.event-card {
    border: 1px solid var(--hair);
    box-shadow: 0 5px 20px rgb(79 74 128 / 0.05);
}

.event-card:hover {
    transform: translateY(-4px);
}

.contact-form input,
.contact-form textarea,
.contact-consent,
.site-footer__bottom {
    color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--ink-soft);
}

.contact-row__value {
    font-size: 1rem;
}

.nav-toggle,
.social-btn,
.lightbox__actions button {
    min-width: 44px;
    min-height: 44px;
}

.hero__sparkle,
.hero__ring {
    display: none;
}

@media (max-width: 767px) {
    .hero {
        padding-top: calc(var(--header-h) + 1.5rem);
        padding-bottom: 0;
    }

    .hero__copy {
        text-align: center;
    }

    .hero__wordmark {
        max-width: 18rem;
        margin-inline: auto;
    }

    .hero__lead {
        margin-inline: auto;
        max-width: 21rem;
        margin-top: 1.25rem;
    }

    .hero__cta {
        justify-content: center;
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .hero__cta .btn {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
        padding-inline: 1.1rem;
        min-height: 44px;
    }

    .hero__mark {
        width: min(82%, 22rem);
        margin-bottom: -1.5rem;
    }

    .bio-portrait {
        max-width: 23rem;
    }

    .bio-copy p {
        font-size: 1.1rem;
    }

    .gallery-strip {
        gap: 0.5rem;
    }

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

@media (min-width: 600px) {
    .gallery-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (min-width: 768px) {
    :root {
        --gutter: 2rem;
        --header-h: 5rem;
    }

    .section {
        padding-block: 4.25rem;
    }

    .hero {
        padding-top: calc(var(--header-h) + 2.5rem);
        padding-bottom: 4rem;
    }

    .gallery-page {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bio-page,
    .bio-split,
    .booking-page {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .contact-grid {
        grid-template-columns: 5fr 8fr;
        gap: 2.5rem;
        align-items: start;
    }

    .site-footer__top {
        grid-template-columns: auto 1fr auto;
        justify-items: stretch;
        align-items: center;
        text-align: left;
        padding-block: 1.75rem 1rem;
    }

    .site-footer__bottom {
        grid-template-columns: 1fr auto;
        justify-items: start;
        align-items: center;
        text-align: left;
    }

    .site-footer__legal {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    :root {
        --gutter: 2.5rem;
        --header-h: 5.25rem;
    }

    .nav-desktop,
    .site-header__cta {
        display: inline-flex;
    }

    .nav-toggle,
    .nav-mobile {
        display: none;
    }

    .hero {
        min-height: 0;
        display: grid;
        align-items: center;
        padding-top: var(--header-h);
        padding-bottom: 2rem;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 40%) minmax(0, 60%);
        gap: 1rem;
        min-height: clamp(32rem, 43vw, 42rem);
    }

    .hero__wordmark {
        width: min(100%, 34rem);
        margin-top: 1.5rem;
    }

    .hero__wordmark .wordmark--first {
        width: 82%;
    }

    .hero__wordmark .wordmark--second {
        width: 60%;
        margin-top: -4%;
        margin-right: 4%;
    }

    .hero__title {
        width: min(100%, 34rem);
    }

    .hero__mark {
        width: min(110%, 44rem);
        justify-self: end;
        margin-right: calc(var(--gutter) * -0.7);
    }

    .bio-grid {
        grid-template-columns: minmax(0, 44%) minmax(0, 56%);
        gap: 3.5rem;
    }

    .event-grid {
        grid-template-columns: repeat(var(--event-cols, 4), minmax(0, 1fr));
        gap: 1.25rem;
        max-width: calc(var(--event-cols, 4) * 310px);
        margin-inline: auto;
    }

    .gallery-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .section--quote {
        padding-block: 5rem 3.5rem;
    }

    .section--contact {
        padding-block: 3rem 4rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 32rem;
        gap: 1rem;
    }

    .hero__mark {
        width: 110%;
    }

    .hero__cta .btn {
        min-height: 44px;
        padding-inline: 1.1rem;
        letter-spacing: 0.08em;
    }
}

@media (min-width: 1280px) {
    :root {
        --gutter: 3.5rem;
    }

    .section {
        padding-block: 5rem;
    }
}

@media (min-width: 1536px) {
    :root {
        --gutter: 4.5rem;
    }
}

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero__sparkle {
        animation: none !important;
        opacity: 0.55;
    }

    .event-card:hover,
    .social-btn:hover,
    .btn:hover {
        transform: none;
    }

    .gallery-strip__item:hover img,
    .gallery-page__item:hover img,
    .event-card:hover .event-card__media img {
        transform: none;
    }
}

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

/* Acuarelas independientes del logotipo; originales de marca intactos. */
.site-header .brand__iso { width: 4.5rem; height: 4.5rem; }
.hero--illustrated { background: var(--paper); padding-bottom: 0; }
.site-header--over-hero .site-header__bar { background: rgb(248 242 236 / 0.94); }
.hero__art { position: absolute; inset: var(--header-h) 0 0; pointer-events: none; }
.hero__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(248 242 236 / 0.9), rgb(248 242 236 / 0.35) 38%, transparent 58%);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero--illustrated .hero__grid {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    min-height: clamp(34rem, 45vw, 42rem);
    padding-block: 2rem;
}
.hero--illustrated .hero__wordmark,
.hero--illustrated .hero__title { width: min(100%, 24rem); }
.hero--illustrated .hero__lead { max-width: 22rem; }
.home-contact-art {
    background: var(--paper) url('../illustrations/contact-watercolor-1536.webp') center / cover no-repeat;
}
.home-contact-art > .section { background: transparent; }
.home-contact-art .quote { max-width: 38rem; }
.home-contact-art .contact-grid {
    max-width: 780px;
    padding: 1.25rem;
    background: rgb(248 242 236 / 0.78);
    border-radius: var(--radius);
}
.bio-chapters { display: flex; flex-wrap: wrap; gap: 0.7rem 1.75rem; margin-top: 1.5rem; }
.bio-chapters a { display: inline-flex; align-items: center; min-height: 44px; color: var(--indigo); text-underline-offset: 0.35em; }
.bio-story__grid,
.bio-more__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bio-story__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }
.bio-story__portrait figcaption { padding-top: 0.75rem; color: var(--ink-soft); font-size: 0.78rem; letter-spacing: 0.08em; }
.bio-story__copy h2,
.bio-journey h2,
.bio-more h2 {
    font-size: clamp(2rem, 3.5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--indigo);
    margin-block: 0.8rem 1.5rem;
    text-wrap: balance;
}
.bio-story__copy > p:not(.eyebrow),
.bio-detail p,
.bio-milestones p { font-size: 1.1rem; line-height: 1.75; }
.bio-story__copy > p + p { margin-top: 1rem; }
.bio-story__copy > .text-link,
.bio-more__link { margin-top: 1.75rem; }
.bio-journey { background: linear-gradient(115deg, var(--lilac-soft), var(--cream) 60%, var(--blush-soft)); }
.bio-journey__heading { max-width: 40rem; }
.bio-milestones { display: grid; gap: 2rem; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.bio-milestones li { padding-top: 1.25rem; border-top: 1px solid var(--hair-strong); }
.bio-milestones__label { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo); }
.bio-milestones h3 { font-size: 1.8rem; font-weight: 500; line-height: 1.15; margin-block: 0.8rem; }
.bio-more { background: var(--cream); }
.bio-detail { border-bottom: 1px solid var(--hair-strong); margin-top: 0.75rem; }
.bio-detail summary { cursor: pointer; padding-block: 1rem; font-size: 1.15rem; color: var(--indigo); }
.bio-detail > div { padding-bottom: 1.25rem; }
.booking-first { padding-top: 2rem; }
.booking-first .booking-page { align-items: start; }
.booking-first .booking-info p { max-width: 24rem; margin-top: 1rem; font-size: 1.15rem; }

@media (min-width: 768px) {
    .site-header .brand__iso { width: 5rem; height: 5rem; }
    .bio-story__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .bio-story__grid--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
    .bio-more__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
    .bio-milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bio-story__portrait img { max-height: 38rem; }
}
@media (max-width: 767px) {
    .hero--illustrated .hero__grid { display: block; min-height: 0; padding-top: 0; padding-bottom: 23rem; }
    .hero--illustrated .hero__wordmark { max-width: 18rem; }
    .hero--illustrated .hero__title { margin-inline: auto; }
    .hero__art { top: auto; height: 23rem; mask-image: linear-gradient(transparent, black 12%); }
    .hero__art img { object-position: right center; }
    .hero__art::after { display: none; }
    .home-contact-art { background-size: auto 100%; }
    .home-contact-art > .section { background: rgb(248 242 236 / 0.87); }
    .home-contact-art .contact-grid { padding: 0; background: transparent; }
    .bio-story__portrait { max-width: 28rem; width: 100%; margin-inline: auto; }
    .bio-story__grid--reverse .bio-story__portrait { grid-row: 1; }
    .booking-first .booking-page { gap: 1.5rem; }
}
