/* Album Overdue — albumoverdue.com */
:root {
  --paper: #f3eee4;
  --paper-2: #faf7f1;
  --card: #e9dcbc;
  --ink: #1a1714;
  --ink-2: #5b544c;
  --grey: #6e665d;        /* small text: 4.8:1 on paper */
  --red: #d23b2a;         /* the stamp */
  --red-text: #b8321e;    /* red small text: 5:1 on paper */
  --btn: #c4351f;         /* button fill: 5:1 with the cream label */
  --btn-hover: #a92b18;
  --line: #ddd4c4;
  --max: 1160px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --stamp: "Anton", Impact, sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
  --worn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.38' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -11 0 0 0 7.3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
section[id] { scroll-margin-top: 84px; }  /* anchor jumps land below the sticky header */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.6vw, 72px); margin-bottom: 18px; }
h1 i, h2 i { font-style: italic; }
.label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 58ch; }

/* ---------- the rubber stamp ---------- */
/* The worn ink is a noise mask (an SVG image), not an SVG filter: masks work in Safari and
   Instagram's in-app browser, and the browser rasterizes the tile once instead of every frame. */
.stamp { display: inline-block; font-family: var(--stamp); font-weight: 400; color: var(--red); text-transform: uppercase; letter-spacing: .06em;
         line-height: 1; border: .11em solid var(--red); border-radius: .16em; padding: .12em .26em .1em .3em;
         transform: rotate(var(--tilt, -7deg));
         -webkit-mask-image: var(--worn); mask-image: var(--worn); -webkit-mask-size: 160px; mask-size: 160px; }
.stamp.thunk { animation: thunk .42s cubic-bezier(.5, 0, .75, 0) .5s both; }
@keyframes thunk {
  from { opacity: 0; transform: rotate(var(--tilt, -7deg)) scale(2.2); }
  90%  { opacity: 1; }
  to   { opacity: 1; transform: rotate(var(--tilt, -7deg)) scale(1); }
}
/* stamps that land when you scroll to them (only once JS is running, so nothing hides without it) */
.js .stamp[data-in]:not(.in) { opacity: 0; }
.stamp[data-in].in { animation: thunk .38s cubic-bezier(.5, 0, .75, 0) .15s both; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: flex-end; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo .word { font-family: var(--serif); font-size: 34px; line-height: .8; letter-spacing: -.02em; }
.logo .stamp { font-size: 12.5px; margin-left: -3px; margin-bottom: 1px; -webkit-mask-image: none; mask-image: none; }  /* the worn texture smears this small */

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--sans); text-decoration: none;
       padding: 17px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn.red { background: var(--btn); color: #fbf6ee; }
.btn.red:hover { background: var(--btn-hover); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.small { padding: 11px 20px; font-size: 14.5px; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
header.top nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
header.top nav a.link { text-decoration: none; }
header.top nav a.link:hover { color: var(--red-text); }
@media (max-width: 760px) { header.top nav a.link { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 70px 0 40px; }
.hero h1 { font-size: clamp(54px, 8.4vw, 118px); max-width: 11ch; }
.hero h1 .stamp { font-size: .5em; --tilt: -6deg; vertical-align: .1em; margin-left: .06em; }
.hero .lede { margin: 26px 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .shot { margin-top: 30px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14.5px; color: var(--ink-2); }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.byline strong { color: var(--ink); }
@media (min-width: 980px) {
  .hero .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
  .hero .shot { margin-top: 0; }
}

/* ---------- sound familiar (dark) ---------- */
.familiar { background: var(--ink); color: var(--paper); padding: 96px 0; }
.familiar .label { color: rgba(243, 238, 228, .6); }
.familiar .big { font-family: var(--serif); font-size: clamp(64px, 11vw, 150px); line-height: .9; letter-spacing: -.03em; margin: 10px 0 46px; }
.familiar .big em { color: #ff6b57; }
.familiar .big .stamp { font-size: .2em; --tilt: -9deg; letter-spacing: .06em; vertical-align: .9em; margin-left: .3em; color: #ff6b57; border-color: #ff6b57; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cards .c { border: 1px solid rgba(243, 238, 228, .16); border-radius: 14px; padding: 24px 22px 26px; }
.cards .c .n { font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; color: #ff6b57; }
.cards .c p { font-family: var(--serif); font-size: 27px; line-height: 1.12; margin-top: 14px; }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .familiar .big .stamp { display: none; } }

/* ---------- sections ---------- */
section.band { padding: 96px 0; }
section.band.alt { background: var(--paper-2); }
@media (max-width: 600px) { section.band, .familiar { padding: 72px 0; } }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step .n { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--red-text); }
.step h3 { font-size: 34px; margin: 10px 0; }
.step p { color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* inside the album */
.spreads { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; margin-top: 40px; }
.spreads img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 3px; background: #ebe4d8;
               box-shadow: 0 1px 2px rgba(40, 26, 14, .12), 0 14px 34px -14px rgba(40, 26, 14, .35); }
.spreads figcaption { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 12px; }
@media (max-width: 760px) { .spreads { grid-template-columns: 1fr; } }

/* pricing */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.price { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px 30px; }
.price h3 { font-size: 40px; }
.price .amt { font-family: var(--serif); font-size: 64px; line-height: 1; margin: 8px 0 18px; }
.price ul { list-style: none; border-top: 1px solid var(--line); }
.price li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.addon { margin-top: 22px; color: var(--ink-2); max-width: 70ch; }
.addon b { color: var(--ink); }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* christmas library card */
.duecard { background: var(--card); border-radius: 6px; padding: 34px 36px; max-width: 760px; position: relative;
           background-image: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(140, 90, 40, .22) 47px 48px);
           box-shadow: 0 18px 40px -20px rgba(60, 40, 10, .45); }
.duecard h2 { font-size: clamp(36px, 4.6vw, 54px); }
.duecard p { max-width: 54ch; color: #3b342c; margin-top: 12px; }
.duecard .date { position: absolute; right: 30px; top: 26px; font-size: 22px; --tilt: 8deg; }
@media (max-width: 600px) { .duecard { padding: 28px 22px; } .duecard .date { position: static; margin-bottom: 14px; } }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about img { border-radius: 6px; }
.about p { margin-top: 14px; color: var(--ink-2); max-width: 56ch; }
.awards { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-top: 22px; line-height: 2; }
@media (max-width: 820px) { .about { grid-template-columns: minmax(0, 1fr); gap: 28px; } .about img { width: 100%; max-width: 420px; } }

/* order form */
.order { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .order { grid-template-columns: minmax(0, 1fr); } }
form.f { display: grid; gap: 18px; margin-top: 30px; }
form.f label, form.f legend { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
form.f input, form.f select, form.f textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; }
form.f input::placeholder, form.f textarea::placeholder { color: #8f877e; }
form.f input:focus, form.f select:focus, form.f textarea:focus { border-color: var(--ink); outline: none; }
form.f fieldset { border: 0; min-width: 0; }
form.f .choices { display: flex; flex-wrap: wrap; gap: 10px; }
form.f .choices label { flex: 1 1 200px; display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; background: #fff;
                        border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 16px; cursor: pointer; }
form.f .choices input { width: auto; accent-color: var(--red); }
form.f .choices label:has(input:checked) { border-color: var(--ink); }
form.f label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0; cursor: pointer; }
form.f label.check input { width: auto; margin-top: 5px; accent-color: var(--red); flex-shrink: 0; }
form.f button { justify-self: start; }
.next { font-size: 14.5px; color: var(--ink-2); margin-top: 24px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 26px; line-height: .8; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 20px; color: var(--ink-2); max-width: 60ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; font-size: 14.5px; color: var(--ink-2); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
footer nav a:hover { color: var(--red-text); }
footer .fine { flex-basis: 100%; font-size: 13px; color: var(--grey); }

/* sticky mobile CTA: hidden while the hero buttons or the form are on screen */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { display: inline-flex; position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 30;
          box-shadow: 0 8px 26px rgba(120, 30, 20, .3); transition: opacity .2s ease, transform .2s ease; }
  .js .mcta:not(.show) { opacity: 0; pointer-events: none; transform: translate(-50%, 16px); }
  body { padding-bottom: 76px; }
}
