:root{
  --paper:#f7f3eb;
  --ink:#352c25;
  --muted:#776a5d;
  --brown:#85573a;
  --line:#ded5c8;
  --cream:#ede5d8;
  --white:#fffdf9
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:28px
}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.7 Arial,sans-serif
}
a{
  color:inherit;
  text-decoration:none
}
button,input,textarea{
  font:inherit
}
button,a,input,textarea{
  touch-action:manipulation
}
button{
  cursor:pointer
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:3px solid #9c6339;
  outline-offset:5px
}
img{
  display:block;
  max-width:100%
}
.wrap{
  width:min(1180px,calc(100% - 96px));
  margin-inline:auto
}
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:26px 0;
  border-bottom:1px solid var(--line)
}
.wordmark{
  font:italic 35px/1 Georgia,serif
}
.wordmark span{
  display:block;
  font:10px/1.5 Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-top:8px
}
nav{
  display:flex;
  gap:32px;
  align-items:center;
  font-size:13px
}
.nav-memory{
  border-bottom:1px solid var(--brown);
  padding-bottom:5px
}
.nav-memory span{
  margin-left:12px
}
.hero{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:70px;
  align-items:center;
  padding-block:65px 75px
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:2.3px;
  font-size:10px;
  font-weight:700;
  color:var(--brown);
  margin:0 0 24px
}
h1,h2,h3,p{
  margin-top:0
}
h1{
  font:normal clamp(64px,7.7vw,106px)/1.03 Georgia,serif;
  letter-spacing:-4px;
  margin-bottom:28px
}
h1 em,h2 em{
  font-weight:normal;
  color:var(--brown)
}
.intro{
  font-size:16px;
  color:var(--muted);
  line-height:1.9
}
.hero-quote{
  font:italic 20px/1.65 Georgia,serif;
  margin:26px 0 28px
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  background:var(--brown);
  color:white;
  border:1px solid var(--brown);
  padding:13px 22px;
  font-size:13px;
  border-radius:3px
}
.button:hover{
  background:#68412b
}
.button:disabled{
  opacity:.6;
  cursor:wait
}
.hero-photo{
  margin:0;
  position:relative;
  padding:0 0 20px 18px
}
.hero-photo:before{
  content:"";
  position:absolute;
  inset:24px 18px 0 0;
  background:#dfd0bb;
  z-index:-1
}
.hero-photo img{
  width:100%;
  height:530px;
  object-fit:cover;
  object-position:50% 40%;
  border-radius:160px 160px 3px 3px
}
.hero-photo figcaption{
  font:italic 14px/1.5 Georgia,serif;
  text-align:center;
  padding:15px 0 0;
  color:var(--muted)
}
.section{
  padding-block:85px
}
.story{
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:90px
}
h2{
  font:normal 43px/1.16 Georgia,serif;
  letter-spacing:-1.3px;
  margin-bottom:24px
}
.story-copy p{
  color:var(--muted)
}
blockquote{
  margin:30px 0 0;
  padding-left:25px;
  border-left:2px solid #c8a98a;
  font:19px/1.8 Georgia,serif
}
cite{
  display:block;
  font:11px/1.5 Arial,sans-serif;
  color:var(--muted);
  margin-top:18px
}
.together{
  background:#3e4035;
  color:#f6f1e7;
  padding:48px 0
}
.together-inner{
  display:grid;
  grid-template-columns:1.25fr 1fr;
  align-items:center;
  gap:60px
}
.together img{
  width:100%;
  height:auto;
  border-radius:3px
}
.together h2{
  font-size:35px
}
.together .eyebrow{
  color:#ddc7a7
}
.together p:last-child{
  margin-bottom:0;
  color:#e3ded2
}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}
.section-heading h2{
  margin-bottom:12px
}
.section-intro{
  color:var(--muted);
  max-width:660px;
  margin-bottom:35px
}
.text-link{
  font-size:12px;
  border-bottom:1px solid #b6a28c;
  padding-bottom:5px;
  display:inline-block
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px
}
.gallery-item{
  padding:0;
  border:0;
  background:transparent;
  text-align:left;
  color:var(--muted);
  min-width:0
}
.gallery-item img{
  width:100%;
  height:245px;
  object-fit:cover;
  border-radius:3px;
  transition:filter .2s
}
.gallery-item:hover img{
  filter:brightness(1.06)
}
.gallery-item span{
  display:block;
  font-size:11px;
  padding:7px 0;
  overflow-wrap:anywhere
}
.secondary{
  background:transparent;
  color:var(--brown);
  margin:25px auto 0
}
.secondary:hover{
  color:white
}
.poem-section{
  background:var(--cream);
  padding:85px 0
}
.poem-layout{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:110px;
  align-items:start
}
.poem-aside{
  position:sticky;
  top:40px
}
.poem-aside h2{
  font-size:64px
}
.poem-aside>p:not(.eyebrow){
  color:var(--muted)
}
.poem-aside img{
  height:auto;
  margin:32px 0 20px;
  width:100%;
  max-width:350px;
  border-radius:3px
}
.pup-cups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-block: 55px;
  border-bottom: 1px solid var(--line);
}
.pup-cups p:not(.eyebrow) {
  color: var(--muted);
}
.pup-cups figure {
  margin: 0;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}
.pup-cups video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  background: #211e1a;
  border-radius: 4px;
}
.pup-cups figcaption {
  text-align: center;
  color: var(--muted);
  font: italic 13px/1.6 Georgia, serif;
  margin-top: 12px;
}
@media (max-width: 620px) {
  .pup-cups {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 40px;
  }
}
.poem-text{
  font:18px/1.85 Georgia,serif
}
.poem-text p{
  margin-bottom:29px
}
.poem-text p:last-child{
  font-style:italic;
  color:var(--brown);
  font-size:24px;
  margin-bottom:0
}
.memory-layout{
  display:grid;
  grid-template-columns:.9fr 1.2fr;
  gap:55px;
  align-items:start
}
.memory-form{
  padding:30px;
  background:var(--cream);
  border-radius:4px
}
h3{
  font:normal 27px/1.3 Georgia,serif;
  margin-bottom:23px
}
label{
  display:block;
  font-size:12px;
  font-weight:bold;
  margin:18px 0 6px
}
label span{
  font-weight:normal;
  color:var(--muted)
}
input:not([type=file]),textarea{
  width:100%;
  padding:10px 12px;
  background:var(--white);
  color:var(--ink);
  border:1px solid #c7bcad;
  border-radius:3px
}
textarea{
  resize:vertical
}
input[type=file]{
  width:100%;
  font-size:12px
}
input::file-selector-button{
  border:1px solid #b5a794;
  padding:8px 10px;
  background:var(--white);
  border-radius:3px;
  margin-right:10px;
  cursor:pointer
}
.help{
  font-size:11px;
  color:#6a5d50;
  margin-top:9px
}
.memory-form .button{
  width:100%;
  margin-top:8px
}
.honey{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden
}
.photo-previews{
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.photo-previews img{
  width:58px;
  height:58px;
  object-fit:cover;
  border-radius:3px
}
.memory-card{
  border-bottom:1px solid var(--line);
  padding:8px 0 27px;
  margin-bottom:26px
}
.memory-card h3{
  font:normal 21px Georgia,serif;
  margin:0
}
.memory-meta{
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:baseline;
  margin-bottom:15px
}
.memory-meta time{
  font-size:10px;
  color:var(--muted)
}
.memory-card p{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:17px/1.8 Georgia,serif
}
.memory-photos{
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.memory-photos button{
  border:0;
  padding:0;
  background:transparent
}
.memory-photos img{
  width:100px;
  height:100px;
  object-fit:cover;
  border-radius:3px
}
#memory-count,#board-status,#gallery-status,#form-status{
  font-size:13px;
  color:var(--muted)
}
#form-status[data-error=true]{
  color:#9c3027
}
#form-status:empty{
  margin:0
}
.closing{
  text-align:center;
  border-top:1px solid var(--line);
  padding-block:65px
}
.closing>span{
  font:40px Georgia,serif;
  color:var(--brown)
}
.closing p{
  font:italic 28px/1.6 Georgia,serif;
  margin:22px 0
}
.closing small{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--muted)
}
footer{
  display:flex;
  gap:25px;
  justify-content:space-between;
  padding:25px 0;
  border-top:1px solid var(--line);
  font-size:11px;
  color:var(--muted)
}
dialog{
  max-width:95vw;
  width:1000px;
  max-height:95vh;
  background:#211e1a;
  border:0;
  border-radius:5px;
  padding:50px 20px 15px;
  color:white
}
dialog::backdrop{
  background:#17120fe8
}
#large-photo{
  height:70vh;
  max-height:70vh;
  object-fit:contain;
  width:100%
}
#close-photo{
  position:absolute;
  right:15px;
  top:7px;
  font-size:30px;
  background:transparent;
  color:white;
  border:0
}
#photo-caption{
  text-align:center;
  font-size:13px;
  margin:12px 0 5px
}
.photo-controls{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:35px;
  font-size:12px
}
.photo-controls button{
  color:white;
  background:transparent;
  border:1px solid #766e63;
  border-radius:3px;
  padding:4px 20px
}
.skip{
  position:absolute;
  top:-60px;
  left:10px;
  background:white;
  padding:10px;
  z-index:20
}
.skip:focus{
  top:10px
}
[hidden]{
  display:none!important
}
@media(max-width:900px){
  .wrap{
  width:calc(100% - 48px)
}
nav{
  gap:18px
}
.hero{
  gap:35px
}
.hero-photo img{
  height:450px
}
.story{
  gap:40px
}
.gallery-grid{
  grid-template-columns:repeat(3,1fr)
}
.gallery-item img{
  height:225px
}
.poem-layout{
  gap:50px
}
.memory-layout{
  gap:30px
}
.together-inner{
  gap:30px
}
.together h2{
  font-size:29px
}

}
@media(max-width:620px){
  .wrap{
  width:calc(100% - 36px)
}
.header{
  padding-block:20px;
  align-items:flex-start
}
.wordmark{
  font-size:29px
}
.wordmark span{
  font-size:8px
}
nav{
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:230px;
  font-size:11px
}
.nav-memory{
  width:100%;
  text-align:right;
  border:0;
  padding:0
}
.hero{
  grid-template-columns:1fr;
  padding-top:40px;
  padding-bottom:45px;
  gap:32px
}
.hero-copy{
  padding-left:8px
}
h1{
  font-size:76px;
  letter-spacing:-3px
}
.hero-photo{
  max-width:440px;
  width:100%;
  margin:auto
}
.hero-photo img{
  height:440px
}
.eyebrow{
  margin-bottom:18px;
  font-size:9px
}
.section{
  padding-block:55px
}
h2{
  font-size:35px
}
.story,.together-inner,.poem-layout,.memory-layout{
  grid-template-columns:1fr;
  gap:22px
}
.story h2{
  margin-bottom:5px
}
.together{
  padding-block:30px
}
.together-inner img{
  order:2
}
.together h2{
  font-size:32px
}
.gallery-grid{
  grid-template-columns:repeat(2,1fr);
  gap:12px
}
.gallery-item img{
  height:210px
}
.section-heading{
  align-items:flex-start
}
.section-heading .text-link{
  min-width:87px;
  font-size:10px;
  margin-top:35px
}
.poem-section{
  padding-block:55px
}
.poem-aside{
  position:static
}
.poem-aside h2{
  font-size:48px
}
.poem-aside img{
  height:auto;
  max-width:100%;
  margin-top:24px
}
.poem-text{
  font-size:16px;
  margin-top:20px
}
.memory-form{
  padding:22px
}
.memory-layout{
  gap:35px
}
.closing p{
  font-size:24px
}
footer{
  flex-wrap:wrap;
  gap:12px
}
footer span{
  order:3;
  width:100%
}
#large-photo{
  height:65vh
}
.memory-meta{
  align-items:flex-start
}
.memory-meta h3{
  overflow-wrap:anywhere
}
.memory-meta time{
  flex-shrink:0
}

}
@media(prefers-reduced-motion:reduce){
  html{
  scroll-behavior:auto
}
.gallery-item img{
  transition:none
}

}




.pup-cups .ride-video {
  max-width: 315px;
}

