/* The public front page. Same paper, ink and type as the album itself. */
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/serif.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; src: url('/fonts/serif-italic.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/sans.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; src: url('/fonts/sans-600.woff2') format('woff2'); font-display: swap; }

:root {
  --paper: #f4efe6; --linen: #ebe4d7; --print: #fdfbf7; --ink: #2a2622; --ink-soft: #5e554c; --faded: #6b6259;
  --line: #e2d9ca; --line-strong: #d8cdbc; --rust: #a4471c; --stamp: #f2873a; --sage: #93a77c;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-print: 0 1px 2px rgba(60, 40, 20, 0.08), 0 14px 30px rgba(60, 40, 20, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -0.3px; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 78px); }
h1 em { color: var(--rust); }
h2 { font-size: clamp(34px, 4.2vw, 50px); }
h3 { font-size: 26px; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.kicker { font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--faded); margin-bottom: 14px; }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 34em; margin-top: 18px; }
.note { font-size: 14px; color: var(--faded); margin-top: 16px; max-width: 34em; }
.wordmark { font-family: var(--serif); font-style: italic; font-size: 34px; letter-spacing: -0.5px; text-decoration: none; color: var(--ink); line-height: 1; }
.wordmark.small { font-size: 26px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 26px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: var(--paper); }
.btn-line { border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { color: var(--ink); text-decoration: underline; padding: 0 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions.centre { justify-content: center; }

.top { padding: 22px 0; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

.hero { padding: 48px 0 96px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

/* Drawn "prints": pictures made of colour only, so no real family's photos are used here. */
.prints { position: relative; height: 540px; }
.print { position: absolute; margin: 0; padding: 10px 10px 0; background: var(--print); box-shadow: var(--shadow-print); border-radius: 3px; }
.print .pic { border-radius: 2px; }
.print figcaption { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-soft); padding: 8px 2px 10px; line-height: 1.2; }
.p1 { left: 0; top: 30px; width: 58%; transform: rotate(-4deg); }
.p1 .pic { aspect-ratio: 4 / 3; }
.p2 { right: 0; top: 0; width: 42%; transform: rotate(5deg); }
.p2 .pic { aspect-ratio: 1; }
.p3 { right: 6%; bottom: 0; width: 46%; transform: rotate(-2deg); }
.p3 .pic { aspect-ratio: 4 / 3; }
.p4 { left: 10%; bottom: 12px; width: 34%; transform: rotate(6deg); }
.p4 .pic { aspect-ratio: 1; }
.sea .pic { background: radial-gradient(circle at 76% 26%, #fff3c9 0 7%, rgba(255, 243, 201, 0) 8%), linear-gradient(#f3c9a0 0 34%, #e9a57a 34% 46%, #5f93a3 46% 49%, #6fa3b0 49% 70%, #e8d5ad 70% 100%); }
.hill .pic { background: radial-gradient(120% 70% at 20% 100%, #6f8a5c 0 55%, rgba(111, 138, 92, 0) 56%), radial-gradient(110% 80% at 90% 105%, #93a77c 0 60%, rgba(147, 167, 124, 0) 61%), linear-gradient(#cfe0e6, #eef0e2); }
.cake .pic { background: radial-gradient(circle at 50% 30%, #ffd98a 0 3%, rgba(255, 217, 138, 0) 4%), linear-gradient(90deg, rgba(0, 0, 0, 0) 0 49.4%, #f7efe2 49.4% 50.6%, rgba(0, 0, 0, 0) 50.6%) 0 34% / 100% 16% no-repeat, radial-gradient(60% 34% at 50% 78%, #f6ead9 0 99%, rgba(246, 234, 217, 0) 100%), linear-gradient(#b5573a, #8e3f2a); }
.snow .pic { background: radial-gradient(circle at 30% 30%, #fff 0 2%, rgba(255, 255, 255, 0) 3%), radial-gradient(circle at 70% 18%, #fff 0 1.6%, rgba(255, 255, 255, 0) 2.6%), radial-gradient(circle at 55% 46%, #fff 0 1.8%, rgba(255, 255, 255, 0) 2.8%), radial-gradient(130% 60% at 50% 110%, #fbfaf6 0 70%, rgba(251, 250, 246, 0) 71%), linear-gradient(#8fa3b5, #c9d3da); }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--print); }
.strip-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 30px; padding-bottom: 30px; font-size: 16px; color: var(--ink-soft); }
.strip strong { color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; margin-bottom: 2px; }

.block { padding: 96px 0; }
.block.soft { background: var(--linen); }
.block.dark { background: var(--ink); color: var(--paper); }
.block.dark .kicker { color: #b9ad9d; }
.block.dark .lede { color: #d9cfc1; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cards article { background: var(--print); border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px 28px; }
.cards h3 { margin-bottom: 10px; }
.cards p { color: var(--ink-soft); font-size: 16px; }

.ticks, .plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ticks li { position: relative; padding-left: 30px; color: #d9cfc1; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--stamp); }
.ticks strong { color: var(--paper); font-weight: 600; }
.plain { margin-top: 28px; gap: 14px; }
.plain li { padding-left: 18px; border-left: 2px solid var(--line-strong); color: var(--ink-soft); font-size: 16px; }

.price { background: var(--print); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-print); padding: 40px 36px; text-align: center; }
.amount { font-size: 20px; color: var(--ink-soft); }
.amount span { font-family: var(--serif); font-size: 92px; line-height: 1; color: var(--ink); letter-spacing: -2px; margin-right: 6px; }
.includes { font-size: 19px; margin-top: 10px; }
.more { color: var(--faded); font-size: 15px; margin: 4px 0 28px; }
.price .btn { width: 100%; }
.small-print { font-size: 13px; color: var(--faded); margin-top: 14px; }

.pill { display: inline-block; margin-top: 26px; padding: 8px 16px; border-radius: 999px; background: var(--print); border: 1px solid var(--line-strong); font-size: 14px; color: var(--ink-soft); }
.q-head { margin-bottom: 8px; }
details { border-bottom: 1px solid var(--line-strong); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; list-style-position: outside; margin-left: 18px; }
details p { margin: 10px 0 2px 18px; color: var(--ink-soft); font-size: 16px; }

.closing { padding: 110px 0; text-align: center; }
.closing .lede, .closing .note { margin-left: auto; margin-right: auto; }

.foot { border-top: 1px solid var(--line); padding: 30px 0 44px; font-size: 14px; color: var(--faded); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot p { flex-basis: 100%; }

@media (max-width: 900px) {
  .hero { padding: 24px 0 72px; }
  .hero-in, .two { grid-template-columns: 1fr; gap: 44px; }
  .prints { height: 470px; max-width: 520px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .strip-in { grid-template-columns: 1fr; gap: 18px; }
  .block { padding: 72px 0; }
  .closing { padding: 84px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top nav a:not(.btn) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .prints { height: 370px; }
  .print figcaption { font-size: 15px; }
  .price { padding: 32px 22px; }
  .amount span { font-size: 76px; }
  .actions .btn-ink { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
