/* My Family in Color: public website. Modern storybook, warm and calm; the artwork does the talking. */
:root {
  --cream: #FAF5EB;
  --cream-deep: #F3EBDB;
  --white: #FFFFFF;
  --forest: #294D43;
  --forest-deep: #1F3C34;
  --coral: #DF8C77;
  --coral-text: #B5604B;
  --honey: #E6B74F;
  --sage: #81A997;
  --ink: #2E3B36;
  --muted: #5B6B65;
  --line: #E6DCCB;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(41, 77, 67, .06), 0 8px 24px rgba(41, 77, 67, .08);
  --shadow-lg: 0 2px 4px rgba(41, 77, 67, .06), 0 18px 40px rgba(41, 77, 67, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--forest); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 840px; }
.center { text-align: center; }
.fine { font-size: .9rem; color: var(--muted); }
.eyebrow { font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 14px; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--sans); padding: 16px 28px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: #fff; color: var(--forest-deep); }
.btn-sm { padding: 11px 20px; font-size: .95rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--forest); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 235, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 1.25rem/1 var(--serif); color: var(--forest); }
.logo { width: 46px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { text-decoration: none; font-weight: 600; color: var(--ink); font-size: .98rem; }
.site-nav ul a:hover { color: var(--forest); text-decoration: underline; }
.menu-btn { display: none; background: none; border: 0; color: var(--forest); padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn .icon { width: 28px; height: 28px; }
.menu-btn .shut { display: none; }

@media (max-width: 899px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 18px; padding: 12px 24px 28px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(41, 77, 67, .08);
    display: none;
  }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .js .menu-btn[aria-expanded="true"] .open { display: none; }
  .js .menu-btn[aria-expanded="true"] .shut { display: block; }
  html:not(.js) .site-nav ul { display: none; }
  .brand span { font-size: 1.1rem; }
}

/* Bands */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head h2 + p { margin-top: -.1em; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--coral-text); font-weight: 600; }
.hero .lede { font-size: 1.28rem; line-height: 1.5; color: var(--ink); margin-top: 22px; }
.hero-copy > p:not(.lede) { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--forest); font-weight: 600; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--coral); }

.hero-art { position: relative; aspect-ratio: 1 / 1.12; width: 100%; }
.sheet { position: absolute; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.sheet img { width: 100%; }
.sheet-back { width: 62%; right: 0; top: 8px; transform: rotate(5deg); padding: 10px; }
.sheet-back img { border-radius: 8px; }
.sheet-front { width: 70%; left: 4%; top: 40px; transform: rotate(-3deg); }
.hero-note { position: absolute; left: 6%; bottom: -6px; margin: 0; font-size: .85rem; color: var(--muted); }
.hero-art::before {
  content: ""; position: absolute; inset: 12% -10% -4% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 183, 79, .22), rgba(230, 183, 79, 0));
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
}

/* Grids */
.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .grid-3 { grid-template-columns: 1fr; } }

/* Product cards */
.card { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-img { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--cream-deep); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 1rem; flex: 1; }
.card-link:hover .text-link { text-decoration: underline; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--cream); color: var(--forest); font: 700 .78rem/1 var(--sans); padding: 8px 12px; border-radius: 999px; letter-spacing: .04em; }

/* Artwork: photo to page */
.transform { margin: 0 0 clamp(40px, 6vw, 72px); background: #fff; border-radius: var(--radius); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.transform figcaption { text-align: center; max-width: 620px; margin: 0 auto 26px; }
.transform figcaption p { color: var(--muted); margin: 0; }
.transform-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 860px; margin: 0 auto; }
.transform-row li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.t-frame { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); }
.t-frame img { width: 100%; height: 100%; object-fit: cover; }
.t-1 img { object-position: 50% 30%; }
.t-2 { background: #fff; outline: 1px solid var(--line); }
.t-2 img { object-fit: contain; padding: 6px; }
.t-label { font-weight: 700; color: var(--forest); font-size: .95rem; }
.t-arrow { position: absolute; left: calc(-1 * clamp(28px, 4vw, 56px) / 2); top: 42%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--honey); color: var(--forest-deep); display: grid; place-items: center; z-index: 1; }
.t-arrow .icon { width: 20px; height: 20px; }
@media (max-width: 639px) {
  .transform-row { gap: 14px; }
  .t-arrow { width: 26px; height: 26px; left: -7px; }
  .t-arrow .icon { width: 15px; height: 15px; }
  .t-label { font-size: .78rem; text-align: center; line-height: 1.3; }
}

.together { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.together h3 { font-size: 1.6rem; }
.together p { color: var(--muted); }
.photo-strip { display: flex; gap: 10px; margin-top: 18px; }
.photo-strip li { width: 23%; max-width: 96px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 3px solid #fff; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.together-note { margin-top: 22px; font-size: .98rem; }
.together-art { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 2.4vw, 28px); align-items: center; }
.together-art figure { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.together-art figcaption { font-weight: 700; color: var(--forest); font-size: .95rem; }
.cover-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.pages-fig { width: 100%; }
.scene-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
.scene-strip li { aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.scene-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .together { grid-template-columns: 1fr; }
}
@media (max-width: 539px) {
  .together-art { grid-template-columns: 1fr; }
  .cover-fig { max-width: 340px; margin: 0 auto; }
  .scene-strip { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

.occasions h3 { text-align: center; font-size: 1.6rem; margin-bottom: 24px; }
.occasion-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.occasion-row li { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.occasion-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.occasion-row span { font-weight: 600; color: var(--forest); font-size: .95rem; }
@media (max-width: 899px) {
  .occasion-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 12px; margin: 0 -24px; gap: 14px; }
  .occasion-row li { flex: 0 0 58%; scroll-snap-align: center; }
}
.band .fine:last-child { margin: 32px 0 0; }
#artwork .fine { text-align: center; }

/* Styles */
.style { text-align: center; }
.style-img { aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--cream); }
.style-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.style p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* Editions */
.edition { text-align: center; }
.paper { background: #fff; padding: 14px; border-radius: 6px; box-shadow: var(--shadow); margin: 0 auto 24px; max-width: 300px; transition: transform .3s; }
.edition:nth-child(1) .paper { transform: rotate(-1.5deg); }
.edition:nth-child(3) .paper { transform: rotate(1.5deg); }
.edition:hover .paper { transform: rotate(0) translateY(-4px); }
.edition h3 { display: inline-flex; align-items: center; gap: 10px; }
.edition h3 .icon { color: var(--coral); }
.edition p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 44px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: #fff; font: 600 1.4rem/1 var(--serif); margin-bottom: 18px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 26px); border-top: 2px dashed var(--sage); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .step::after { display: none; }
}
@media (max-width: 539px) {
  .steps { grid-template-columns: 1fr; text-align: left; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin-bottom: 4px; }
}

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-copy h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 899px) { .about { grid-template-columns: 1fr; } .about-img { max-width: 520px; } }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); margin-bottom: 36px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--forest); }
.faq-item .chev { width: 22px; height: 22px; color: var(--forest); transition: transform .25s; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); max-width: 720px; }
.faq-answer p:last-child { margin-bottom: 0; }
.photo-counts { margin: 0 0 14px; max-width: 420px; }
.photo-counts li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.photo-counts li span:last-child { font-weight: 700; color: var(--forest); white-space: nowrap; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 16px; }
.faq-group .faq-list { margin-bottom: 0; }
.faq-cats ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faq-cats a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; border: 1px solid var(--line); }
.faq-cats a:hover { border-color: var(--forest); }

/* Final CTA */
.final-cta { background: var(--forest); color: #E8EFEB; padding: clamp(64px, 9vw, 104px) 0; }
.final-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.final-cta p { font-size: 1.15rem; margin-bottom: 30px; }
.final-cta .fine { color: #B9CCC4; font-size: .9rem; margin: 26px 0 0; }

/* Footer */
.site-footer { background: var(--cream); padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-tag { font-family: var(--serif); color: var(--forest); font-size: 1.1rem; margin: 16px 0 6px; }
.footer-small { color: var(--muted); font-size: .92rem; max-width: 380px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.footer-links a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-legal p { font-size: .85rem; color: var(--muted); margin: 0; }

/* Inner pages */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.page-head .lede { font-size: 1.15rem; color: var(--muted); }
.center-row { justify-content: center; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .5em; }

/* Fade-in: content is visible without JS; with JS it rises in once. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card-img img, .paper, .btn { transition: none; }
}

/* Keepsake pages under the three editions */
.extras-head { text-align: center; font-size: 1.6rem; margin: clamp(56px, 7vw, 80px) 0 28px; }
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); max-width: 1000px; margin: 0 auto 36px; }
.extra { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 24px; align-items: center; }
.extra .paper { margin: 0; padding: 10px; max-width: none; }
.extra:nth-child(1) .paper { transform: rotate(-2deg); }
.extra:nth-child(2) .paper { transform: rotate(2deg); }
.extra:hover .paper { transform: rotate(0) translateY(-4px); }
.extra h4 { display: flex; align-items: center; gap: 10px; font: 600 1.3rem/1.2 var(--serif); color: var(--forest); margin: 0 0 8px; }
.extra h4 .icon { color: var(--coral); }
.extra p { color: var(--muted); margin: 0; }
@media (max-width: 899px) { .extras { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 479px) { .extra { grid-template-columns: 120px 1fr; gap: 16px; } .extra h4 { font-size: 1.12rem; } }
#included .fine { margin: 0 auto 8px; max-width: 720px; }

/* Red heart standing in for "love" */
.love { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.17em; }
.love svg { width: 100%; height: 100%; fill: #E0475B; }
.nowrap { white-space: nowrap; }
.section-head p, .section-head h2, .transform figcaption p { text-wrap: balance; }
