:root {
  --paper: #fbf4ed;
  --paper-dark: #f3e4d5;
  --peach: #d69d76;
  --peach-dark: #b97a52;
  --gold: #d4a32a;
  --olive: #77815c;
  --text: #40352f;
  --muted: #6f6259;
  --line: #e7d5c5;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(83, 60, 43, .10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--paper);color:var(--text);font:16px/1.7 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
button{font:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--peach-dark);outline-offset:3px}
.skip-link{position:absolute;top:-60px;left:14px;background:#fff;color:#222;padding:11px 15px;border-radius:6px;z-index:999}.skip-link:focus{top:12px}
.content-shell{width:min(1120px,calc(100% - 48px));margin-inline:auto}

.site-header{position:sticky;top:0;z-index:100;background:rgba(251,244,237,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav-inner{width:min(1120px,calc(100% - 48px));margin:auto;min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.memorial-brand{font:600 1.2rem/1.2 Georgia,'Times New Roman',serif;color:#5b4537;letter-spacing:.02em}
.nav-links{display:flex;flex-wrap:wrap;gap:24px}
.nav-links a{font-size:.9rem;font-weight:600;color:#6a584d}
.nav-links a:hover{color:var(--peach-dark)}

.hero{padding:64px 0 70px;background:linear-gradient(180deg,#fff9f5 0%,#fbf4ed 56%,#f7ede4 100%)}
.hero-inner{width:min(1120px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:1.02fr .98fr;gap:46px;align-items:center}
.hero-kicker,.section-kicker{margin:0 0 10px;color:var(--peach-dark);text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;font-weight:700}
.hero h1,.section-heading h2,.album-copy h2{font-family:Georgia,'Times New Roman',serif;color:#4b392f;letter-spacing:-.02em}
.hero h1{font-size:clamp(2.9rem,5vw,4.7rem);line-height:1.05;margin:0 0 14px}
.hero-subtitle{font:400 1.18rem/1.65 Georgia,'Times New Roman',serif;color:#5c4a40;max-width:650px;margin:0 0 18px}
.hero-divider{width:92px;height:2px;background:linear-gradient(90deg,var(--peach),var(--gold));border-radius:999px;margin:0 0 22px}
.hero-text{margin:0 0 24px;max-width:650px;color:var(--muted)}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:999px;font-size:.92rem;font-weight:700;border:1px solid transparent;transition:transform .18s ease,background-color .18s ease}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--peach-dark);color:#fff}
.button-primary:hover{background:#a96843}
.button-secondary{background:transparent;border-color:#d8b69a;color:#6a503e}
.button-secondary:hover{background:#fff}
.hero-date{margin:0;color:#8a7667;font-size:.78rem;text-transform:uppercase;letter-spacing:.13em}

.hero-photo-wrap{position:relative}
.hero-photo-card{margin:0;background:#fff;padding:16px;border-radius:22px;box-shadow:var(--shadow);border:1px solid #eadacc}
.hero-photo{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;object-position:center;border-radius:14px}
.hero-photo-card figcaption{padding-top:12px;text-align:center;color:#7b6a5f;font-size:.88rem}
.sunflower-accent{position:absolute;width:66px;height:66px;filter:drop-shadow(0 7px 12px rgba(95,77,30,.16))}.sunflower-accent svg{display:block;width:100%;height:100%}
.sunflower-one{top:-24px;right:-21px}
.sunflower-two{bottom:-23px;left:-21px;width:52px;height:52px}
.hydrangea-accent{position:absolute;width:96px;height:96px;filter:drop-shadow(0 10px 18px rgba(71,92,132,.16))}.hydrangea-accent svg{display:block;width:100%;height:100%}
.hydrangea-one{top:22%;left:-42px}
.hydrangea-two{bottom:8%;right:-34px;width:84px;height:84px}
.floral-spray{position:absolute;display:flex;gap:8px;color:#d89db6;font-size:1.4rem;opacity:.88;text-shadow:0 4px 10px rgba(210,157,182,.22)}
.floral-left{left:-14px;top:10%}
.floral-right{right:-12px;bottom:18%}
.floral-spray span:nth-child(2){color:#b2c7ef;font-size:1.6rem}
.floral-spray span:nth-child(3){color:#efbf72}
.section-heading.centered::after,.tribute-content::after{content:'❀ ❁ ✿';display:block;margin:18px auto 0;color:#c79e6d;letter-spacing:.35em;font-size:1.1rem}
.tribute-content::after{margin-top:24px}

.memory-section{padding:76px 0 38px}
.section-heading{max-width:760px}.section-heading.centered{text-align:center;margin:0 auto}.section-heading.narrow{max-width:760px}
.section-heading h2{font-size:clamp(2rem,4vw,3rem);line-height:1.15;margin:0 0 16px}
.section-heading p:not(.section-kicker){margin:0;color:var(--muted)}

.album-section{padding:18px 0 16px}
.album-banner{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px 28px;box-shadow:0 8px 22px rgba(90,68,53,.05)}
.album-icon{flex:0 0 74px;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:#fff3de;color:#a6794b}.album-icon svg{display:block;width:40px;height:40px}
.album-copy{flex:1 1 auto}
.album-copy h2{font-size:1.8rem;line-height:1.2;margin:0 0 8px}
.album-copy p{margin:0;color:var(--muted)}
.album-banner-button{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:999px;background:#5e6b49;color:#fff;font-weight:700;white-space:nowrap}
.album-banner-button:hover{background:#4f5a3d}

.gallery-section{padding:46px 0 86px}
.gallery-hint,.photo-count{font-size:.88rem;color:#77695f;text-align:center}
.gallery-hint{margin:24px 0 16px}
.photo-count{margin:22px 0 0}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}
.photo-tile{margin:0;min-width:0}
.photo-button{position:relative;display:block;width:100%;padding:7px;border:0;border-radius:14px;background:#fff;box-shadow:0 9px 28px rgba(74,55,43,.13);cursor:pointer;overflow:hidden}
.photo-button img{display:block;width:100%;height:auto;aspect-ratio:4/4.5;object-fit:cover;border-radius:10px;transition:transform .28s ease}
.photo-button:hover img{transform:scale(1.03)}
.photo-button::after{content:'View photo';position:absolute;right:14px;bottom:14px;background:rgba(56,42,33,.82);color:#fff;padding:6px 10px;border-radius:999px;font-size:.76rem;opacity:0;transition:opacity .18s ease}
.photo-button:hover::after,.photo-button:focus-visible::after{opacity:1}
.photo-tile figcaption{text-align:center;color:#6d5d53;font-size:.95rem;padding-top:11px}
.gallery-empty{margin-top:30px;border:1px dashed #d4bca8;border-radius:20px;padding:40px 24px;text-align:center;background:rgba(255,255,255,.55)}
.gallery-empty-icon{font-family:Georgia,serif;font-size:2.6rem;color:#d4a32a;margin-bottom:10px}
.gallery-empty h3{margin:0 0 8px;font:400 1.65rem/1.2 Georgia,'Times New Roman',serif;color:#4b392f}
.gallery-empty p{margin:0 auto;max-width:650px;color:var(--muted)}
.gallery-more-wrap{margin-top:26px;text-align:center}.gallery-more-button{border:1px solid #d9bea7;background:#fff;padding:12px 18px;border-radius:999px;color:#5a473a;font-weight:700;cursor:pointer}
.gallery-more-button:hover{background:#fdf8f3}

.memorial-footer{padding:28px 0 34px;background:#f7ede4;border-top:1px solid var(--line)}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}
.footer-name-block{display:flex;flex-direction:column;gap:2px}.footer-name-block strong{font:600 1.2rem/1.2 Georgia,'Times New Roman',serif;color:#523d31}.footer-name-block span{font-size:.9rem;color:#75665d}.memorial-footer a{font-size:.88rem;color:#5f4d40}

.lightbox[hidden]{display:none}
.lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(18,14,13,.95);padding:64px 56px 40px;color:#fff}
.lightbox-figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:min(1000px,100%);max-height:100%}
.lightbox-figure img{display:block;max-width:100%;max-height:calc(100dvh - 180px);width:auto;height:auto;object-fit:contain;border-radius:6px}
.lightbox-figure figcaption{font-size:1rem;color:#f4e5da;text-align:center}.lightbox-count{font-size:.82rem;color:#d7cbc3;letter-spacing:.1em}
.lightbox-close,.lightbox-arrow{position:absolute;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.32);color:#fff;cursor:pointer}
.lightbox-close:hover,.lightbox-arrow:hover{background:rgba(255,255,255,.18)}
.lightbox-close{top:16px;right:16px;font-size:1.5rem}.lightbox-arrow{top:50%;transform:translateY(-50%);font-size:2rem}.lightbox-previous{left:10px}.lightbox-next{right:10px}
body.modal-open{overflow:hidden}
.gallery-empty[hidden],.gallery-hint[hidden],.photo-count[hidden],.gallery-more-wrap[hidden],.lightbox-arrow[hidden],.album-section[hidden],#album-nav-link[hidden]{display:none}

@media (max-width: 900px){
  .hero-inner{grid-template-columns:1fr;gap:30px}
  .hero-copy{text-align:center;max-width:720px;margin:0 auto}
  .hero-subtitle,.hero-text{margin-left:auto;margin-right:auto}
  .hero-divider{margin-left:auto;margin-right:auto}
  .hero-actions{justify-content:center}
  .hero-photo-wrap{max-width:540px;margin:0 auto;width:100%}
  .album-banner{flex-wrap:wrap}
}
@media (max-width: 760px){
  .hydrangea-accent{width:74px;height:74px}
  .hydrangea-one{left:-20px;top:18%}
  .hydrangea-two{right:-14px;bottom:12%;width:66px;height:66px}
  .floral-spray{font-size:1.1rem}
  html{scroll-padding-top:110px}
  .nav-inner{min-height:100px;flex-direction:column;justify-content:center;padding:14px 0;gap:10px}
  .nav-links{justify-content:center;gap:18px}
  .hero{padding:48px 0 54px}
  .memory-section{padding-top:62px}
  .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .album-icon{width:64px;height:64px;flex-basis:64px}
}
@media (max-width: 480px){
  .hydrangea-one,.hydrangea-two,.floral-spray{display:none}
  .content-shell,.hero-inner,.nav-inner{width:calc(100% - 32px)}
  .memorial-brand{font-size:1.12rem}
  .hero h1{font-size:clamp(2.5rem,12vw,3.6rem)}
  .hero-subtitle{font-size:1.04rem}
  .button{width:100%}
  .hero-actions{gap:10px}
  .photo-grid{grid-template-columns:1fr}
  .album-banner{padding:22px}
  .album-banner-button{width:100%}
  .footer-inner{align-items:flex-start;flex-direction:column}
  .lightbox{padding:60px 38px 36px}
  .lightbox-arrow{width:36px;height:36px}.lightbox-previous{left:2px}.lightbox-next{right:2px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}


/* A gentle memorial tribute, with Mayra's personal message at its heart. */
.tribute-section { padding: 72px 0 78px; background: linear-gradient(180deg,#fffaf5 0%,#f8ebdf 100%); border-block: 1px solid var(--line); }
.tribute-content { max-width: 780px; text-align: center; }
.tribute-content h2 { margin: 2px 0 17px; font: 400 clamp(2rem,4vw,3rem)/1.16 Georgia,'Times New Roman',serif; color:#4b392f; letter-spacing:-.02em; }
.tribute-divider { display:flex; align-items:center; justify-content:center; gap:15px; max-width:125px; margin:0 auto 26px; color:var(--peach-dark); font-size:.75rem; }
.tribute-divider::before,.tribute-divider::after {content:''; height:1px; background:#d2ac86; flex:1;}
.tribute-content p:not(.section-kicker) { margin: 0 auto 18px; max-width:700px; color:var(--muted); font-size:1.02rem; line-height:1.9; }
.tribute-content p:not(.section-kicker):last-child {margin-bottom:0;}
@media(max-width:480px) { .tribute-section {padding:58px 0 64px;} .tribute-content p:not(.section-kicker){font-size:.96rem;line-height:1.85;} }
