/* ===== Connie Mariano — In Loving Memory ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

:root{
  --cream: #faf7f2;
  --cream-2: #f3ede3;
  --ink: #3a352f;
  --ink-soft: #665f56;
  --line: #ddd3c4;
  --accent: #a9825a;
  --accent-deep: #7d5c3b;
  --max-w: 1100px;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Jost', sans-serif;
  font-weight:300;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.serif{
  font-family:'Cormorant Garamond', serif;
  font-weight:500;
  letter-spacing:0.02em;
  color:var(--ink);
}

a{ color:var(--accent-deep); }

.wrap{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 28px;
}

/* ---- Nav ---- */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(250,247,242,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--max-w);
  margin:0 auto;
  padding:16px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.nav-name{
  font-family:'Cormorant Garamond', serif;
  font-size:1.3rem;
  letter-spacing:0.04em;
  white-space:nowrap;
}
.nav-links{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav-links a{
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.12em;
  text-decoration:none;
  color:var(--ink-soft);
  transition:color .2s ease;
}
.nav-links a:hover{ color:var(--accent-deep); }

/* ---- Hero ---- */
.hero{
  padding:64px 0 60px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:56px;
  align-items:center;
}
.hero-photo img{
  width:100%;
  display:block;
  border-radius:2px;
  box-shadow:0 20px 50px -20px rgba(60,45,25,0.35);
}
.hero-text .eyebrow{
  text-transform:uppercase;
  letter-spacing:0.22em;
  font-size:0.72rem;
  color:var(--accent-deep);
  margin-bottom:14px;
}
.hero-text h1{
  font-size:3.1rem;
  line-height:1.08;
  margin:0 0 6px;
}
.hero-dates{
  font-family:'Cormorant Garamond', serif;
  font-style:italic;
  font-size:1.15rem;
  color:var(--ink-soft);
  margin-bottom:28px;
}
.hero-text p{
  font-size:1.03rem;
  color:var(--ink-soft);
  margin:0 0 18px;
}
.hero-text p:last-child{ margin-bottom:0; }

/* ---- Section basics ---- */
section{ padding:70px 0; }
.divider{
  border:none;
  border-top:1px solid var(--line);
  margin:0;
}
.section-head{
  text-align:center;
  margin-bottom:48px;
}
.section-head .eyebrow{
  text-transform:uppercase;
  letter-spacing:0.22em;
  font-size:0.72rem;
  color:var(--accent-deep);
  display:block;
  margin-bottom:10px;
}
.section-head h2{
  font-size:2.3rem;
  margin:0;
}
.ornament{
  width:60px;
  height:1px;
  background:var(--accent);
  margin:20px auto 0;
}

/* ---- Tributes ---- */
.tribute{
  padding:64px 0;
}
.tribute:nth-child(even){
  background:var(--cream-2);
}
.tribute-inner{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:52px;
  align-items:start;
}
.tribute.reverse .tribute-inner{
  grid-template-columns:1.15fr 0.85fr;
}
.tribute.reverse .tribute-photos{ order:2; }
.tribute.reverse .tribute-text{ order:1; }

.tribute-text h3{
  font-size:2rem;
  margin:0 0 6px;
}
.tribute-text .who{
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.16em;
  color:var(--accent-deep);
  margin-bottom:22px;
  display:block;
}
.tribute-text p{
  margin:0 0 16px;
  color:var(--ink-soft);
  font-size:1rem;
}
.tribute-text p:last-child{ margin-bottom:0; }

.tribute-photos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.tribute-photos img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:2px;
  box-shadow:0 12px 30px -16px rgba(60,45,25,0.3);
}
.tribute-photos .tall{ grid-row:span 2; }
.tribute-photos .full{ grid-column:span 2; }

/* ---- Farewell ---- */
.farewell{
  text-align:center;
}
.farewell-photo{
  margin-bottom:36px;
}
.farewell-photo img{
  width:100%;
  border-radius:2px;
  box-shadow:0 25px 60px -25px rgba(60,45,25,0.4);
}
.farewell p{
  max-width:720px;
  margin:0 auto 18px;
  font-family:'Cormorant Garamond', serif;
  font-size:1.35rem;
  font-style:italic;
  color:var(--ink-soft);
  line-height:1.7;
}
.farewell p:last-child{ margin-bottom:0; }

/* ---- Gallery ---- */
.gallery-group{
  margin-bottom:52px;
}
.gallery-group:last-child{ margin-bottom:0; }
.gallery-group h3{
  font-size:1.5rem;
  text-align:center;
  margin:0 0 26px;
  color:var(--accent-deep);
  font-style:italic;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.gallery-grid img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  border-radius:2px;
  box-shadow:0 10px 26px -16px rgba(60,45,25,0.3);
  transition:transform .35s ease;
}
.gallery-grid img:hover{ transform:scale(1.02); }
.gallery-grid.wide img{ height:320px; }

/* ---- Wedding memories ---- */
.wedding-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:16px;
  align-items:start;
}
.wedding-strip img{
  width:100%;
  border-radius:2px;
  box-shadow:0 10px 26px -16px rgba(60,45,25,0.3);
}

/* ---- Contact / footer ---- */
.footer{
  background:var(--ink);
  color:#e9e2d6;
  text-align:center;
  padding:70px 0 50px;
}
.footer h2{
  color:#f5f0e6;
  font-size:1.9rem;
  margin:0 0 8px;
}
.footer .ornament{ background:var(--accent); }
.footer p{
  color:#cbc0ac;
  margin:6px 0;
}
.footer a{
  color:#f5f0e6;
  text-decoration:none;
  border-bottom:1px solid rgba(245,240,230,0.4);
}
.footer a:hover{ border-color:#f5f0e6; }
.footer .contacts{
  margin-top:22px;
  font-size:0.95rem;
}
.footer .signoff{
  margin-top:36px;
  font-family:'Cormorant Garamond', serif;
  font-style:italic;
  font-size:1.1rem;
  color:#e9e2d6;
}
.footer .fineprint{
  margin-top:34px;
  font-size:0.72rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#8d8471;
}

/* ---- Responsive ---- */
@media (max-width: 860px){
  .hero-grid{ grid-template-columns:1fr; gap:32px; }
  .hero-text h1{ font-size:2.4rem; }
  .tribute-inner, .tribute.reverse .tribute-inner{
    grid-template-columns:1fr;
  }
  .tribute.reverse .tribute-photos, .tribute.reverse .tribute-text{ order:initial; }
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); }
  .wedding-strip{ grid-template-columns:1fr; }
  .nav-inner{ flex-direction:column; align-items:flex-start; gap:10px; }
  .nav-links{ gap:16px; }
}

@media (max-width: 480px){
  .gallery-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid img{ height:200px; }
  .hero-text h1{ font-size:2rem; }
  section{ padding:50px 0; }
}
