/* weddingmchandbook.com
   Two families: Anton for display (the cover's face) and Source Serif 4 for everything you read.
   Colour comes straight off the cover: orange, black and white. */

@font-face { font-family: "Anton"; src: url("/fonts/anton-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #F09837;
  --orange-ink: #A9530A;   /* orange that passes contrast on white, for links */
  --black: #151413;
  --white: #FFFFFF;
  --text: #1f1f1f;
  --muted: #5a5a5a;
  --line: #e2e2e2;
  --fill: #FDE2C2;          /* the [fill-in] highlight from the scripts */
  --grey: #f2f2f0;
  --measure: 40rem;
  --wide: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: "Source Serif 4", Georgia, serif; font-size: 1.125rem; line-height: 1.62; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.read { width: min(100% - 2rem, var(--measure)); margin-inline: auto; }

h1, h2, .display { font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase; line-height: 0.98; letter-spacing: 0.002em; color: var(--black); margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.4rem; }
h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 0.5rem; color: var(--black); }
p { margin: 0 0 1.05em; }
strong { font-weight: 600; color: var(--black); }

/* Header */
.site-head { background: var(--orange); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.01em; color: var(--black); text-decoration: none; }
.brand:hover { color: var(--black); }
.site-head nav { display: flex; gap: 1.25rem; align-items: center; font-size: 1rem; }
.site-head nav a { color: var(--black); text-decoration: none; }
.site-head nav a:hover { text-decoration: underline; }
.site-head nav a.btn { color: var(--white); text-decoration: none; }
.site-head nav a.btn:hover { color: var(--black); }
@media (max-width: 420px) { .brand { font-size: 1.1rem; } }
@media (max-width: 640px) { .site-head nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-block; font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.02em; line-height: 1; padding: 1.05rem 1.6rem 1rem; background: var(--black); color: var(--white); text-decoration: none; border: 2px solid var(--black); border-radius: 3px; cursor: pointer; }
.btn:hover { background: var(--white); color: var(--black); }
.btn.small { font-size: 1rem; padding: 0.7rem 1rem 0.65rem; }
.btn.ghost { background: transparent; color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; margin-top: 1.6rem; }
.quiet-link { color: var(--black); font-size: 1.05rem; }
.on-orange .quiet-link:hover { color: var(--white); }
.fine { font-size: 0.95rem; color: var(--muted); }
.on-orange .fine { color: #2b2014; }

/* Hero: the page opens like the cover, with a real script card beside it */
.hero { background: var(--orange); padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.3vw, 5.4rem); line-height: 0.93; }
.hero .lede { font-size: 1.22rem; max-width: 34rem; margin-top: 1.6rem; color: var(--black); }
.kicker { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: var(--black); margin: 0 0 0.7rem; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.cue-card { position: relative; background: var(--white); color: var(--black); border-radius: 6px; padding: 1.4rem 1.5rem 1.3rem; box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 18px 40px -12px rgba(60,25,0,0.45); transform: rotate(2.2deg); max-width: 27rem; justify-self: center; font-size: 1.02rem; line-height: 1.5; }
.cue-card .card-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid var(--black); padding-bottom: 0.5rem; margin-bottom: 0.85rem; }
.cue-card .card-no { font-family: "Anton", Impact, sans-serif; font-size: 2.1rem; line-height: 1; }
.cue-card .card-title { font-size: 0.95rem; font-weight: 600; text-align: right; }
.cue-card .dir { font-style: italic; color: var(--muted); font-size: 0.92rem; }
.cue-card p { margin-bottom: 0.75em; }
.cue-card p:last-child { margin-bottom: 0; }
.blank { background: var(--fill); padding: 0 0.2em; border-radius: 2px; }
.cue-card .hole { position: absolute; top: 0.9rem; left: 50%; width: 0.7rem; height: 0.7rem; margin-left: -0.35rem; border-radius: 50%; background: var(--orange); box-shadow: inset 0 1px 2px rgba(0,0,0,0.35); }
@media (max-width: 860px) { .cue-card { transform: rotate(1.2deg); } }

/* The product, drawn as a stack: cover, run sheet, script card */
.kit { position: relative; width: min(100%, 29rem); aspect-ratio: 1 / 1.3; margin-inline: auto; }
.kit .kit-cover { position: absolute; z-index: 2; left: 2%; top: 1%; width: 62%; height: auto; transform: rotate(-3.5deg); border-radius: 2px 5px 5px 2px; box-shadow: 0 1px 0 rgba(0,0,0,0.12), 0 26px 50px -16px rgba(40,15,0,0.6); }
.kit .cue-card { position: absolute; z-index: 3; right: 0; bottom: 0; width: 64%; max-width: none; font-size: 0.9rem; padding: 1.1rem 1.15rem 1rem; transform: rotate(3deg); }
.kit .cue-card .card-no { font-size: 1.8rem; }
.kit .cue-card .card-title { font-size: 0.85rem; }
.kit .cue-card .dir { font-size: 0.82rem; }
.kit-sheet { position: absolute; z-index: 1; right: 0; top: 7%; width: 47%; background: var(--white); border-radius: 3px; padding: 0.9rem 0.9rem 1rem 1.6rem; transform: rotate(5deg); box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 14px 30px -14px rgba(0,0,0,0.35); font-family: "Source Serif 4", Georgia, serif; font-size: 0.72rem; line-height: 1.35; color: var(--black); }
.kit-sheet .ks-title { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 1rem; border-bottom: 1.5px solid var(--black); padding-bottom: 0.25rem; margin-bottom: 0.3rem; }
.kit-sheet .ks-row { display: grid; grid-template-columns: 2.4em 1fr; gap: 0.4em; padding: 0.22rem 0; border-bottom: 1px solid var(--line); }
.kit-sheet .ks-row b { font-family: "Anton", Impact, sans-serif; font-weight: 400; color: var(--orange-ink); }
.offer-kit { aspect-ratio: 1 / 1.22; }
.offer-kit .kit-cover { width: 58%; }
.offer-kit .cue-card { width: 58%; right: 3%; }
@media (max-width: 860px) {
  .hero-kit { width: min(100%, 22rem); margin-top: 0.5rem; }
  .kit .cue-card { font-size: 0.8rem; padding: 0.9rem 0.95rem 0.85rem; }
  .kit .cue-card .card-no { font-size: 1.45rem; }
  .kit .cue-card .hole { display: none; }
  .kit-sheet { font-size: 0.66rem; }
}

/* Sections */
section.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section.band.grey { background: var(--grey); }
section.band.black { background: var(--black); color: #e9e9e9; }
section.band.black h2, section.band.black h3, section.band.black strong { color: var(--white); }
section.band.black a { color: var(--orange); }
section.band.orange { background: var(--orange); color: var(--black); }
.intro-big { font-size: 1.32rem; line-height: 1.55; }

.compare-wrap { margin-top: 1.8rem; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.75rem 0.7rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.01em; border-bottom: 2px solid var(--black); color: var(--black); }
.compare tbody th { font-weight: 600; color: var(--black); width: 34%; }
.compare td { color: var(--muted); }
.compare .us { background: var(--fill); color: var(--black); }
.compare thead .us { background: var(--orange); }
@media (max-width: 560px) { .compare { font-size: 0.92rem; } .compare th, .compare td { padding: 0.6rem 0.45rem; } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.4rem; margin-top: 1.8rem; }
.quote { margin: 0; background: var(--white); border-top: 5px solid var(--orange); padding: 1.3rem 1.4rem; }
.quote blockquote { margin: 0 0 0.8rem; font-size: 1.12rem; line-height: 1.5; color: var(--black); }
.quote figcaption { font-size: 0.92rem; color: var(--muted); }
.ryan-photo { width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover; margin: 1.4rem 0 0.4rem; border: 3px solid var(--orange); }


/* The worries list: each worry is answered by the chapter that deals with it */
.worries { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1.5px solid var(--black); }
.worries li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.worries .ch { font-size: 0.95rem; color: var(--muted); white-space: nowrap; align-self: center; }
@media (max-width: 560px) { .worries li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* Contents: a real table of contents, so numbering is earned */
.contents { columns: 2; column-gap: 3.5rem; margin-top: 2rem; }
.contents .part { margin-bottom: 2rem; break-inside: avoid; display: inline-block; width: 100%; }
.contents .part-name { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 1.45rem; color: var(--black); border-bottom: 1.5px solid var(--black); padding-bottom: 0.3rem; margin-bottom: 0.4rem; }
.contents ol { list-style: none; margin: 0; padding: 0; }
.contents li { display: grid; grid-template-columns: 2.1rem 1fr; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.contents li .n { font-family: "Anton", Impact, sans-serif; color: var(--orange-ink); font-size: 1.05rem; }
.contents li span.d { display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin-top: 0.15rem; }
@media (max-width: 820px) { .contents { columns: 1; } }

/* Excerpt / the microphone page */
.mic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mic-grid figure { margin: 0; background: var(--white); border-radius: 6px; padding: 1.2rem; }
.mic-grid figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }
@media (max-width: 860px) { .mic-grid { grid-template-columns: 1fr; } }

/* Script sample */
.script { border-left: 4px solid var(--orange); background: var(--white); padding: 1.1rem 1.3rem; margin: 1.5rem 0; font-size: 1.05rem; }
section.band.grey .script { background: var(--white); }
.script p:last-child { margin-bottom: 0; }
.script .dir { font-style: italic; color: var(--muted); }

/* What you get */
.offer { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .offer-kit { width: min(100%, 24rem); } }
.price { font-family: "Anton", Impact, sans-serif; font-size: 3.6rem; line-height: 1; color: var(--black); margin: 0.2rem 0 0.3rem; }
.price small { font-family: "Source Serif 4", Georgia, serif; font-size: 1rem; color: var(--muted); text-transform: none; margin-left: 0.4rem; }
.includes { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; }
.includes li { padding: 0.55rem 0 0.55rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.includes li::before { content: ""; position: absolute; left: 0.2rem; top: 0.95rem; width: 0.95rem; height: 0.55rem; border-left: 3px solid var(--orange-ink); border-bottom: 3px solid var(--orange-ink); transform: rotate(-45deg); }
.also { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1.5px solid var(--black); }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; margin-top: 2.5rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.guarantee .badge { font-family: "Anton", Impact, sans-serif; font-size: 1.7rem; line-height: 0.95; text-transform: uppercase; color: var(--black); background: var(--orange); border-radius: 50%; width: 5.6rem; height: 5.6rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(-8deg); }
.guarantee .badge span { display: block; font-size: 1.7rem; color: var(--black); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 0.2rem 0; }
.faq details:first-of-type { border-top: 1.5px solid var(--black); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-weight: 600; color: var(--black); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.3rem; top: 1.35rem; width: 0.85rem; height: 0.85rem; background: linear-gradient(var(--orange-ink), var(--orange-ink)) center / 100% 2.5px no-repeat, linear-gradient(var(--orange-ink), var(--orange-ink)) center / 2.5px 100% no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--orange-ink), var(--orange-ink)) center / 100% 2.5px no-repeat; }
.faq details > div { padding: 0 0 1rem; }

/* Forms */
.signup { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; max-width: 34rem; }
.signup input[type=email], .signup input[type=text] { flex: 1 1 14rem; font: inherit; font-size: 1.05rem; padding: 0.85rem 0.9rem; border: 2px solid var(--black); border-radius: 3px; background: var(--white); color: var(--black); min-width: 0; }
.signup button { flex: 0 0 auto; }
.signup-date { align-items: end; max-width: 40rem; }
.signup .field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1 1 13rem; min-width: 0; }
.signup .field label { font-size: 0.95rem; font-weight: 600; color: var(--black); }
.signup .field .opt { font-weight: 400; color: var(--muted); }
.signup .field input { flex: none; width: 100%; box-sizing: border-box; }
.signup input[type=date] { font: inherit; font-size: 1.05rem; padding: 0.75rem 0.8rem; border: 2px solid var(--black); border-radius: 3px; background: var(--white); color: var(--black); min-height: 3.2rem; }
.form-note { font-size: 0.92rem; margin-top: 0.6rem; }
.form-msg { margin-top: 0.8rem; font-weight: 600; }
.form-msg[data-state=error] { color: #9b1c1c; }
.on-orange .form-msg[data-state=error] { color: #5a0b0b; }

/* Articles */
.article-head { background: var(--orange); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem); }
.article-head h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 0.95; }
.article-head .standfirst { font-size: 1.22rem; margin-top: 1.1rem; color: var(--black); }
.article { padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.article h2 { font-size: clamp(1.9rem, 4.2vw, 2.5rem); margin: 2.6rem 0 1rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: 0.45rem; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.98rem; margin: 1.2rem 0 1.8rem; }
.article th { text-align: left; border-bottom: 2px solid var(--black); padding: 0.5rem 0.6rem 0.5rem 0; }
.article td { border-bottom: 1px solid var(--line); padding: 0.55rem 0.6rem 0.55rem 0; vertical-align: top; }
.article figure { margin: 1.8rem 0; }
.article figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }
.table-scroll { overflow-x: auto; }
.inline-cta { background: var(--orange); color: var(--black); border-radius: 4px; padding: 1.4rem 1.5rem; margin: 2.4rem 0; }
.inline-cta p { margin-bottom: 0.6rem; }
.inline-cta .btn { margin-top: 0.4rem; }
.byline { font-size: 1rem; color: var(--black); margin-top: 1.2rem; }

/* Footer */
.site-foot { background: var(--black); color: #cfcfcf; padding: 3rem 0 2.5rem; font-size: 1rem; }
.site-foot a { color: var(--white); }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-foot .brand { color: var(--orange); }
.site-foot ul { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.site-foot li { margin-bottom: 0.4rem; }
.site-foot .legal { margin-top: 2.2rem; font-size: 0.9rem; color: #9a9a9a; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* Consent banner, shown only where the law asks for it */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; max-width: 40rem; margin-inline: auto; background: var(--white); color: var(--black); border: 2px solid var(--black); border-radius: 4px; padding: 1rem 1.1rem; font-size: 0.98rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4); }
.consent[hidden] { display: none; }
.consent .btn-row { margin-top: 0.7rem; }

/* Sticky buy bar on long pages, mobile only */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--black); color: var(--white); padding: 0.65rem 1rem; display: none; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.98rem; }
.buybar .btn { background: var(--orange); color: var(--black); border-color: var(--orange); font-size: 1rem; padding: 0.7rem 0.9rem 0.65rem; }
@media (max-width: 760px) { .buybar.show { display: flex; } body.has-buybar { padding-bottom: 4.2rem; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.visually-hidden:focus { position: fixed !important; left: 1rem; top: 1rem; width: auto; height: auto; clip: auto; z-index: 100; background: var(--white); color: var(--black); padding: 0.6rem 0.9rem; border: 2px solid var(--black); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.templates-shot { margin-top: 1.4rem; max-width: 22rem; border-radius: 4px; box-shadow: 0 10px 30px -12px rgba(0,0,0,0.35); }
@media (max-width: 860px) { .templates-shot { max-width: 100%; } }
