:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #293d35;
  --muted: #73766e;
  --line: #e3e3da;
  --accent: #a16b4a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { opacity: .3; cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { background: #e5e8db; color: var(--ink); }
[hidden] { display: none !important; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
em { font-weight: 400; }
.wrap { width: min(100% - 112px, 1312px); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 3px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 38px; letter-spacing: -.075em; line-height: 1; }
.brand > span { align-self: start; color: var(--accent); font-family: var(--sans); font-size: 17px; padding-top: 3px; padding-left: 2px; letter-spacing: 0; }
.site-header nav { display: flex; gap: 34px; margin-left: 48px; }
.site-header nav a { color: #5e655c; font-size: 12px; text-decoration: none; }
.site-header nav a:hover, .text-link:hover { color: var(--accent); }
.header-link { font-size: 12px; text-decoration: none; padding: 10px 17px; border: 1px solid #d3d7cb; border-radius: 3px; }
.header-link span { margin-left: 16px; }
.hero { position: relative; text-align: center; padding-top: 69px; padding-bottom: 66px; }
.eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .16em; font-weight: 600; color: #697363; }
.tiny-sun { display: inline-block; color: var(--accent); font-size: 16px; margin-right: 8px; vertical-align: -1px; }
h1 { position: relative; width: fit-content; margin: 23px auto 22px; font-size: clamp(48px, 5.6vw, 84px); line-height: 1.035; }
h1 em { color: #7c8a6c; }
.hero-spark { position: absolute; width: 43px; height: 50px; right: 35px; bottom: 0; color: #ad8063; transform: translateX(100%) rotate(8deg); }
.hero-copy { color: #747970; font-size: 14px; line-height: 1.8; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 26px; border-radius: 3px; background: var(--ink); color: #fff; padding: 13px 22px; margin-top: 27px; text-decoration: none; font-size: 12px; transition: background .2s, transform .2s; }
.button:hover { background: #445746; transform: translateY(-2px); }
.hero-note { color: #8b8b80; font-size: 10px; margin-top: 12px; letter-spacing: .01em; }
.margin-note { position: absolute; bottom: 37px; right: 36px; color: #9c7a61; font-family: var(--serif); font-size: 16px; font-style: italic; transform: rotate(-8deg); }
.margin-note svg { display: block; width: 69px; height: 40px; margin: 4px auto 0; transform: rotate(30deg); }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.gallery-heading h2 { margin-top: 8px; font-size: clamp(22px, 2.3vw, 31px); letter-spacing: -.035em; }
.gallery-heading h2 em { color: #7c866e; }
.gallery-navigation, .lightbox-controls { display: flex; gap: 8px; }
.arrow-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d9ddd1; background: transparent; border-radius: 50%; width: 38px; height: 38px; padding: 0; line-height: 1; font-size: 17px; transition: background .2s, border-color .2s; }
.arrow-button:hover:enabled { background: #eaece3; border-color: #a9b39d; }
.memory-strip { display: flex; align-items: start; gap: 21px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #d3d5c8 transparent; padding: 27px max(56px, calc((100vw - 1312px) / 2)) 15px; scroll-padding-inline: max(56px, calc((100vw - 1312px) / 2)); }
.memory { flex: 0 0 260px; scroll-snap-align: start; min-width: 0; }
.photo-link { display: block; position: relative; overflow: hidden; background: #e6e6dc; border-radius: 3px; height: 310px; }
.photo-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-link:hover img { transform: scale(1.035); }
.memory-wedding { flex-basis: 245px; }
.memory-wedding img { object-position: 40% 60%; }
.memory-friends { flex-basis: 350px; padding-top: 22px; }
.memory-friends .photo-link { height: 268px; }
.memory-birthday { flex-basis: 265px; }
.memory-birthday .photo-link { height: 310px; }
.memory-birthday img { object-position: 40%; }
.memory-roadtrip { flex-basis: 265px; padding-top: 22px; }
.memory-roadtrip .photo-link { height: 268px; }
.memory-roadtrip img { object-position: center 82%; }
.memory-beach { flex-basis: 245px; }
.memory-beach img { object-position: center 70%; }
.photo-tag { position: absolute; top: 14px; left: 14px; background: #fffef6eF; color: #3e473b; font-size: 9px; padding: 4px 9px; border-radius: 2px; letter-spacing: .02em; }
.photo-expand { position: absolute; bottom: 12px; right: 12px; border: 1px solid #ffffff80; border-radius: 50%; background: #273b3270; color: white; width: 28px; height: 28px; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.photo-link:hover .photo-expand, .photo-link:focus-visible .photo-expand { opacity: 1; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 11px 0 0; font-family: var(--serif); font-size: 15px; font-style: italic; color: #5e6457; }
.caption-number { font-family: var(--sans); font-style: normal; font-size: 8px; color: #939487; letter-spacing: .05em; white-space: nowrap; }
.gallery-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 11px; font-size: 10px; color: #898b7e; }
.gallery-foot p:first-child span { margin-right: 6px; color: #66735c; font-size: 16px; }
.gallery-foot p:last-child { font-size: 9px; }
.story { margin-top: 71px; padding-top: 63px; padding-bottom: 76px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.story h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.2; margin-top: 17px; }
.story h2 em, .keepsake h2 em { color: #7c866e; }
.story-intro > p:last-child { max-width: 345px; color: #7b7e73; font-size: 12px; line-height: 1.9; margin-top: 23px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 22px; padding-bottom: 23px; }
.steps li + li { padding-top: 22px; border-top: 1px solid var(--line); }
.steps li:last-child { padding-bottom: 0; }
.step-number { font-family: var(--serif); font-style: italic; color: #a09e89; font-size: 17px; padding-top: 1px; }
h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -.025em; }
.steps p { font-size: 11px; color: #7b7e73; margin-top: 5px; line-height: 1.9; max-width: 360px; }
.keepsake { background: #f0f0e8; border-block: 1px solid #e8e8df; }
.keepsake-inner { display: flex; align-items: center; justify-content: center; gap: 100px; padding-block: 58px; }
.quota-mark { color: #7c886f; font-family: var(--serif); font-size: 130px; line-height: .9; letter-spacing: -.08em; text-align: center; }
.quota-mark span { display: block; font-size: 13px; font-style: italic; letter-spacing: 0; line-height: 1.5; margin-top: 15px; }
.keepsake h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; margin-top: 14px; }
.keepsake p:not(.eyebrow) { color: #757d6b; font-size: 11px; margin-top: 18px; }
.text-link { display: inline-flex; gap: 36px; font-size: 11px; margin-top: 22px; text-decoration: none; border-bottom: 1px solid #aeb7a1; padding-bottom: 3px; }
.site-footer { display: flex; align-items: center; gap: 35px; padding-block: 33px; }
.site-footer .brand { font-size: 28px; }
.site-footer .brand span { font-size: 12px; }
.site-footer > p { font-family: var(--serif); font-size: 14px; font-style: italic; color: #7a8072; }
.credits-link, .site-footer > noscript { border: 0; padding: 4px 0; background: none; font-size: 10px; color: #7a8072; margin-left: auto; text-decoration: underline; text-underline-offset: 4px; }
dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 22px; width: min(92vw, 850px); max-height: 92dvh; }
dialog::backdrop { background: #1c2b25b8; backdrop-filter: blur(5px); }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.lightbox-top > span { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.close-button { background: none; border: 0; font-size: 26px; line-height: 1; width: 30px; height: 30px; padding: 0; flex-shrink: 0; }
.lightbox > img { display: block; width: 100%; height: min(61dvh, 600px); object-fit: contain; background: #eeeee5; }
.lightbox-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.lightbox h2 { font-size: 28px; }
.lightbox-bottom p { color: var(--muted); font-size: 10px; margin-top: 5px; }
.credits-dialog { width: min(92vw, 550px); padding: 28px; }
.credits-dialog h2 { font-size: 38px; margin-bottom: 14px; }
.credits-dialog > p, .credits-dialog li { color: #687360; font-size: 13px; }
.credits-dialog ul { padding-left: 18px; margin-block: 24px; }
.credits-dialog li { margin-block: 10px; }
.credits-note { padding-top: 15px; border-top: 1px solid var(--line); }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 5; background: var(--ink); color: white; padding: 10px; }
.skip-link:focus { top: 10px; }
.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; }
@media (min-width: 1600px) { .hero { padding-block: 85px; } .photo-link { height: 350px; } .memory-birthday .photo-link { height: 350px; } .memory-friends .photo-link, .memory-roadtrip .photo-link { height: 308px; } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .site-header { min-height: 87px; }
  .site-header nav { gap: 22px; margin-left: 0; }
  .margin-note { display: none; }
  .memory-strip { padding-inline: 32px; scroll-padding-inline: 32px; }
  .hero { padding-top: 52px; padding-bottom: 56px; }
  .story { gap: 45px; }
  .keepsake-inner { gap: 60px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 77px; gap: 12px; }
  .brand { font-size: 33px; }
  .site-header nav { display: none; }
  .header-link { border: none; padding: 8px 0; font-size: 10px; }
  .header-link span { margin-left: 9px; }
  .hero { padding-top: 44px; padding-bottom: 50px; }
  .eyebrow { font-size: 8px; letter-spacing: .13em; }
  h1 { font-size: clamp(39px, 9.7vw, 57px); margin-block: 23px 20px; line-height: 1.09; }
  .hero-spark { width: 28px; height: 32px; right: 24px; bottom: 1px; }
  .hero-copy { max-width: 310px; margin-inline: auto; font-size: 12px; line-height: 1.9; }
  .desktop-break { display: none; }
  .button { font-size: 11px; padding: 12px 18px; margin-top: 23px; }
  .hero-note { font-size: 9px; }
  .gallery-heading { gap: 12px; align-items: center; }
  .gallery-heading h2 { font-size: 24px; max-width: 250px; line-height: 1.25; margin-top: 7px; }
  .gallery-heading h2 em { display: block; }
  .gallery-navigation { gap: 5px; }
  .gallery-navigation .arrow-button { width: 30px; height: 30px; font-size: 14px; }
  .memory-strip { padding: 23px 20px 15px; scroll-padding-inline: 20px; gap: 15px; }
  .memory { flex-basis: min(73vw, 300px); padding-top: 0; }
  .memory .photo-link { height: 320px; }
  .memory-friends { flex-basis: min(83vw, 350px); }
  .memory-friends .photo-link { height: 290px; }
  .photo-expand { opacity: 1; }
  .gallery-foot { font-size: 9px; margin-top: 8px; }
  .gallery-foot p:last-child { display: none; }
  .story { grid-template-columns: 1fr; gap: 32px; margin-top: 43px; padding-top: 41px; padding-bottom: 43px; }
  .story h2 { font-size: 34px; margin-top: 13px; }
  .story-intro > p:last-child { font-size: 12px; margin-top: 18px; }
  .steps li { gap: 18px; }
  h3 { font-size: 22px; }
  .steps p { font-size: 12px; }
  .keepsake-inner { flex-direction: column; align-items: start; gap: 31px; padding-block: 42px; }
  .quota-mark { font-size: 86px; text-align: left; }
  .quota-mark span { font-size: 12px; margin-top: 8px; }
  .keepsake h2 { font-size: 31px; }
  .keepsake p:not(.eyebrow) { font-size: 12px; }
  .site-footer { flex-wrap: wrap; gap: 14px 24px; padding-block: 27px; }
  .site-footer .brand { font-size: 29px; }
  .site-footer > p { margin-left: auto; font-size: 13px; }
  .credits-link { margin-left: 0; flex-basis: 100%; text-align: left; font-size: 9px; }
  dialog { padding: 15px; }
  .lightbox h2 { font-size: 23px; }
  .lightbox-controls { gap: 6px; }
  .lightbox-controls .arrow-button { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
