@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');
:root{--ink:#171816;--paper:#f2efe8;--muted:#746f68;--rust:#a9653b;--line:#d7d0c6;--frame:18px;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:#d8d5ce;color:var(--ink);font:16px/1.8 var(--sans)}a{color:inherit}button,input,select,textarea{font:inherit}img{display:block;max-width:100%}.page{margin:var(--frame);background:var(--paper);overflow:hidden}.wrap{width:min(1180px,calc(100% - 88px));margin:auto}.eyebrow{margin:0 0 24px;color:var(--rust);font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1,h2,h3{font:500 1rem/1.15 var(--serif)}h2{font-size:clamp(2.5rem,4vw,4.2rem);letter-spacing:-.04em}p{margin-bottom:22px}figure{margin:0}.section{padding:105px 0}.text-link{display:inline-flex;align-items:center;gap:28px;padding:8px 0 12px;border-bottom:1px solid var(--rust);font-size:.7rem;font-weight:700;line-height:1.6;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}.text-link:hover{color:var(--rust)}.light{color:#fff;border-color:#ffffff60}.skip-link{position:absolute;top:-80px;z-index:99;padding:12px 24px;background:#fff}.skip-link:focus{top:0}:focus-visible{outline:2px solid var(--rust);outline-offset:5px}
.presentation-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:800px;background:#191a18;color:#fff}.presentation-portrait-frame{position:absolute;z-index:-2;inset:0 auto 0 0;width:57%;height:100%;overflow:hidden;mask-image:linear-gradient(90deg,#000 82%,transparent 100%)}.presentation-portrait{position:absolute;inset:0 auto auto 0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:35% 50%;filter:brightness(.75)}.presentation-hero:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#191a1800 23%,#191a1820 38%,#191a18dc 54%,#191a18 67%)}.hero-copy{width:46%;max-width:640px;margin:135px 4.8% 75px auto}.hero-copy h1{font-size:clamp(3rem,5vw,5.6rem);line-height:1.05;letter-spacing:-.05em;margin-bottom:30px}.hero-copy .eyebrow{color:#d99166}.hero-copy>p:not(.eyebrow){max-width:490px;color:#ddd8d0;font-size:1rem;line-height:1.9}.hero-copy .text-link{margin-top:8px}.hero-memory-link{display:block;width:fit-content;margin-top:24px;font-size:.78rem;color:#c9c3b8;text-decoration:none}.hero-memory-link:hover{color:#fff}
.letter-section{background:#fff}.letter-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.letter-grid h2{max-width:490px;margin:0}.letter-copy{padding-top:20px;font-size:1.02rem;color:var(--muted)}.letter-copy p:last-child{margin-bottom:0}.special-memory{background:#e9e2d6;padding:85px 0}.memory-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.archive-photo{max-width:510px;transform:rotate(-2deg)}.archive-photo>div{padding:20px;background:#fff;box-shadow:0 16px 45px #2e261b16}.archive-photo img{width:100%;height:auto;image-rendering:auto}.archive-photo figcaption{padding:15px 12px;color:#71675b;font-size:.72rem;line-height:1.6}.memory-copy h2{font-size:clamp(2.5rem,4.5vw,4.7rem);margin-bottom:26px}.memory-copy p:not(.eyebrow){color:#71675b;font-size:.95rem}.memory-copy .text-link{font-size:.65rem}
.shared-section{background:var(--paper)}.shared-intro{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:start}.shared-intro h2{max-width:530px;margin-bottom:0}.shared-intro>div:last-child{padding-top:20px;color:var(--muted);font-size:.97rem}.memory-gallery{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:22px;margin-top:55px;align-items:start}.memory-gallery img{width:100%;height:370px;object-fit:cover}.memory-gallery figure:first-child img{object-position:66% 50%}.memory-gallery figure:nth-child(2){margin-top:45px}.memory-gallery figure:nth-child(2) img{object-position:50% 45%}.memory-gallery figure:last-child{margin-top:15px}.memory-gallery figure:last-child img{object-position:50% 30%}.memory-gallery figcaption{font-size:.73rem;line-height:1.7;color:var(--muted);margin-top:15px;max-width:330px}
.ai-memory-section{background:#191a18;color:#fff}.ai-memory-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:100px}.ai-memory-grid .eyebrow{color:#d99166}.ai-memory-grid h2{margin:0;max-width:550px}.ai-memory-grid>div:last-child{padding-top:12px;color:#ccc6bd;font-size:.97rem}.ai-memory-grid .text-link{font-size:.65rem;margin-top:12px}
.invitation-section{background:var(--paper)}.invitation-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:95px;align-items:start}.invitation-copy{padding-top:18px}.invitation-copy h2{font-size:clamp(2.3rem,3.5vw,3.6rem);line-height:1.08;margin-bottom:35px;max-width:480px}.invitation-copy>p:not(.eyebrow){font-size:1rem;color:var(--muted)}.invitation-thanks{margin-top:40px;color:var(--ink)!important}.personal-signature{display:block;margin-top:12px;font:3rem/1 Allura,cursive;color:var(--rust)}.memory-form-panel{padding:42px;background:#fff;border:1px solid var(--line)}.memory-form-panel h3{font-size:2rem;letter-spacing:-.02em;margin-bottom:18px}.form-intro{font-size:.83rem;color:var(--muted);line-height:1.7;margin-bottom:28px}.form-field{margin-bottom:21px}.form-field label{display:block;font-size:.77rem;font-weight:600;line-height:1.6;margin-bottom:8px}.optional{font-size:.68rem;font-weight:400;color:var(--muted);padding-left:5px}.form-field input,.form-field select,.form-field textarea{width:100%;max-width:100%;min-width:0;border:1px solid var(--line);border-radius:0;background:#fcfbf8;padding:11px 12px;font-size:.9rem;color:var(--ink)}.form-field textarea{resize:vertical;min-height:155px;line-height:1.7}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:2px solid #a9653b70;outline-offset:1px;background:#fff}.form-field input::placeholder,.form-field textarea::placeholder{color:#9a9489;font-size:.8rem}.field-help{font-size:.71rem;color:var(--muted);margin:6px 0 0}.memory-privacy{border-top:1px solid var(--line);padding-top:19px;font-size:.75rem;line-height:1.7;color:var(--muted);margin-bottom:20px}.checkbox-label{display:flex;align-items:flex-start;gap:11px;margin-bottom:17px;font-size:.75rem;line-height:1.65;cursor:pointer}.checkbox-label input{width:17px;height:17px;flex:0 0 auto;margin:4px 0 0;accent-color:var(--rust)}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);pointer-events:none}.memory-submit{display:flex;justify-content:space-between;align-items:center;gap:25px;width:100%;padding:14px 18px;margin-top:28px;background:var(--ink);color:#fff;border:1px solid var(--ink);font-size:.75rem;font-weight:600;letter-spacing:.03em;cursor:pointer}.memory-submit:hover{background:var(--rust);border-color:var(--rust)}.memory-submit:disabled{opacity:.65;cursor:wait}.form-status{margin:18px 0 0;font-size:.8rem;line-height:1.7;color:#3e6550}.form-status:empty{display:none}.form-status.is-error{color:#9b352a}
@media(max-width:1100px){.hero-copy{width:48%;margin-right:4%}.hero-copy h1{font-size:4.4rem}.letter-grid,.memory-grid,.shared-intro,.ai-memory-grid,.invitation-grid{gap:60px}.memory-form-panel{padding:32px}.memory-gallery img{height:320px}}
@media(max-width:900px){.wrap{width:calc(100% - 56px)}.presentation-hero{min-height:950px;align-items:flex-end}.presentation-portrait-frame{width:100%;height:65%;mask-image:linear-gradient(180deg,#000 72%,transparent 100%)}.presentation-hero:after{background:linear-gradient(0deg,#191a18 7%,#191a18 27%,#191a18cf 51%,#191a1800 78%,#191a1820)}.hero-copy{width:calc(100% - 64px);max-width:650px;margin:400px 32px 75px}.hero-copy h1{font-size:clamp(3.3rem,7vw,4.8rem)}.section{padding:75px 0}.letter-grid,.shared-intro,.ai-memory-grid{grid-template-columns:1fr;gap:30px}.letter-grid h2,.shared-intro h2,.ai-memory-grid h2{max-width:650px}.letter-copy,.shared-intro>div:last-child,.ai-memory-grid>div:last-child{padding-top:0}.memory-grid{gap:40px}.special-memory{padding:65px 0}.memory-copy .text-link{gap:12px}.memory-gallery{gap:16px;margin-top:35px}.memory-gallery img{height:260px}.memory-gallery figcaption{font-size:.68rem}.invitation-grid{grid-template-columns:1fr;gap:45px}.invitation-copy h2{max-width:650px}.invitation-copy>p:not(.eyebrow){max-width:650px}.invitation-thanks{margin-top:25px}.memory-form-panel{max-width:720px;width:100%;justify-self:center}.invitation-copy{padding-top:0}.invitation-copy .personal-signature{margin-bottom:15px}}
@media(max-width:600px){:root{--frame:10px}.wrap{width:calc(100% - 44px)}.presentation-hero{min-height:1030px}.presentation-portrait-frame{height:59%}.presentation-hero:after{background:linear-gradient(0deg,#191a18 8%,#191a18 33%,#191a18b0 51%,#191a1800 79%,#191a1810)}.hero-copy{width:calc(100% - 48px);margin:430px 24px 60px}.hero-copy h1{font-size:clamp(2.6rem,10.4vw,3.5rem);line-height:1.09}.hero-copy>p:not(.eyebrow){font-size:.93rem;line-height:1.85}.hero-copy .eyebrow{font-size:.61rem}.hero-copy .text-link{font-size:.64rem}.hero-memory-link{font-size:.72rem;line-height:1.6;max-width:230px}.eyebrow{font-size:.61rem}h2{font-size:2.6rem}.section{padding:65px 0}.letter-copy,.shared-intro>div:last-child,.ai-memory-grid>div:last-child{font-size:.92rem}.memory-grid{grid-template-columns:1fr;gap:30px}.archive-photo{max-width:440px;margin:0 4px}.archive-photo>div{padding:14px}.archive-photo figcaption{font-size:.68rem;padding:13px 5px}.memory-copy h2{font-size:3rem}.memory-copy p:not(.eyebrow){font-size:.9rem}.memory-gallery{grid-template-columns:1fr;gap:30px}.memory-gallery figure:nth-child(n){margin-top:0}.memory-gallery img{height:auto;max-height:390px;object-fit:cover}.memory-gallery figure:first-child img{height:260px}.memory-gallery figure:nth-child(2) img,.memory-gallery figure:last-child img{height:380px;object-position:50% 25%}.memory-gallery figcaption{max-width:none;font-size:.73rem}.ai-memory-grid .text-link{font-size:.62rem;gap:12px}.invitation-copy h2{font-size:2.5rem}.invitation-copy>p:not(.eyebrow){font-size:.95rem}.memory-form-panel{padding:27px 20px}.memory-form-panel h3{font-size:1.8rem}.form-field input,.form-field select,.form-field textarea{font-size:16px}.form-field label{font-size:.74rem}.memory-submit{font-size:.72rem}.checkbox-label{font-size:.73rem}.personal-signature{font-size:2.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.presentation-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#191a1866,transparent 22%)}

.memory-carousel{position:relative;margin-top:55px}
.memory-carousel .memory-gallery{margin-top:0;transition:opacity .15s ease}
.memory-carousel.is-changing .memory-gallery{opacity:.12}
.memory-carousel[data-auto-motion] .memory-carousel-viewport{overflow:hidden}
.memory-carousel[data-auto-motion] .memory-gallery{position:relative;display:flex;gap:22px;align-items:flex-start;will-change:transform}
.memory-carousel[data-auto-motion] .memory-gallery figure{flex:none;min-width:0}
.memory-carousel .memory-carousel-pause{left:50%;top:22px;transform:translateX(-50%);width:36px;height:36px;font-size:1rem}
.memory-carousel-viewport{touch-action:pan-y}
.memory-carousel-button{position:absolute;z-index:2;top:185px;display:grid;place-items:center;width:48px;height:48px;padding:0;transform:translateY(-50%);border:1px solid #ffffff8c;border-radius:50%;background:#191a1826;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);color:#fff;font-size:1.6rem;line-height:1;text-shadow:0 1px 4px #0008;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s ease,background .2s ease}
.memory-carousel-button[hidden]{display:none}
.memory-carousel-prev{left:14px}.memory-carousel-next{right:14px}
.memory-carousel:hover .memory-carousel-button,.memory-carousel:focus-within .memory-carousel-button{opacity:1;pointer-events:auto}
.memory-carousel-button:hover{background:#191a184d}
.memory-carousel-pause[aria-pressed=true]{opacity:1;pointer-events:auto}
@media(max-width:1100px){.memory-carousel-button{top:160px}}
@media(max-width:900px){.memory-carousel{margin-top:35px}.memory-carousel .memory-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-carousel-button{top:130px}}
@media(max-width:600px){.memory-carousel .memory-gallery{grid-template-columns:minmax(0,1fr)}.memory-carousel .memory-gallery figure{margin-top:0}.memory-carousel .memory-gallery figure img{height:320px;object-fit:cover}.memory-carousel-button{top:160px}}
@media(hover:none),(pointer:coarse){.memory-carousel-button{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.memory-carousel .memory-gallery,.memory-carousel-button{transition:none}}
@media(prefers-reduced-motion:reduce){.memory-carousel .memory-carousel-pause{display:none}}

/* Routes from shared photographs to teaching and consulting memories. */
.shared-section{padding-bottom:60px}
.memory-paths-section{background:#fff;padding:60px 0}
.memory-paths{display:grid;gap:24px}
.memory-path-card{display:block;padding:36px 42px;background:#e9e2d6;border:1px solid var(--line);text-decoration:none;transition:border-color .2s ease,color .2s ease}
.memory-path-card .eyebrow{display:block;margin-bottom:16px}
.memory-path-card h2{font-size:clamp(1.9rem,3.1vw,3.1rem);line-height:1.15;letter-spacing:-.03em;margin-bottom:14px;transition:color .2s ease}
.memory-path-label{font-size:.9rem;color:var(--muted)}
.memory-path-card:hover,.memory-path-card:focus-visible{border-color:var(--rust)}
.memory-path-card:hover h2,.memory-path-card:focus-visible h2{color:var(--rust)}
@media(max-width:600px){.shared-section{padding-bottom:38px}.memory-paths-section{padding:38px 0}.memory-paths{gap:18px}.memory-path-card{padding:26px 24px}.memory-path-card .eyebrow{margin-bottom:13px}.memory-path-card h2{font-size:1.9rem}.memory-path-label{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.memory-path-card,.memory-path-card h2{transition:none}}

/* Optional private photograph, using photo-specific wording throughout. */
.photo-picker{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;padding:10px;border:1px solid var(--line);background:#fcfbf8;min-width:0}
.photo-picker input[type=file]{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.photo-picker .photo-picker-label{display:inline-block;margin:0;padding:7px 10px;border:1px solid var(--line);background:#e9e2d6;color:var(--ink);font-size:.8rem;font-weight:400;cursor:pointer}
.photo-picker:focus-within .photo-picker-label{outline:2px solid var(--rust);outline-offset:2px}
.photo-picker-name{min-width:0;overflow-wrap:anywhere;font-size:.75rem;color:var(--muted)}

/* Private form submission confirmation; Contacto imports these shared styles. */
.form-success-overlay{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:20px;background:#17181699;backdrop-filter:blur(2px)}
.form-success-overlay[hidden]{display:none}
.form-success-dialog{box-sizing:border-box;width:min(520px,100%);max-height:calc(100dvh - 40px);margin:auto;padding:38px;border:1px solid var(--line);background:#fff;color:var(--ink);box-shadow:0 20px 70px #17181630;overflow:auto}
.form-success-dialog h2{font:500 clamp(1.7rem,4vw,2.25rem)/1.2 var(--serif);letter-spacing:-.03em;margin:0 0 20px}
.form-success-dialog p{font:400 .95rem/1.8 var(--sans);color:var(--muted);margin:0 0 28px}
.form-success-close{display:block;margin-left:auto;padding:11px 26px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:500 .85rem/1.5 var(--sans);cursor:pointer}
.form-success-close:hover{background:var(--rust);border-color:var(--rust)}
@media(max-width:600px){.form-success-dialog{padding:28px 24px}}

.form-success-close:focus-visible{outline:3px solid var(--rust);outline-offset:4px}

/* Avisos breves de privacidad en los dos formularios. */
.memory-form-panel p.memory-privacy,.contact-form-panel #contact-privacy{font-size:.73rem;line-height:1.7;font-weight:400;color:#6b6b6b}
.memory-form-panel p.memory-privacy a,.contact-form-panel #contact-privacy a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.invitation-section{background:#fff}.invitation-section .memory-form-panel{background:var(--paper)}.memory-paths-section{background:var(--paper)}.memory-path-card{background:#fff}
