@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #F6F7FB;
  --white: #FFFFFF;
  --ink: #000000;
  --blue: #0078BF;
  --pink: #FF48B0;
  --yellow: #FFE800;
  --green: #00A95C;
  --orange: #FF6C2F;
  --muted: #4E5463;
  --line: #CDD2DC;
  --error: #B3001B;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Atkinson", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--body); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* The misregistered print look. Used only on main headlines. */
.print-type { text-shadow: -0.055em 0.04em 0 var(--pink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: 700 1.05rem/1 var(--display);
  background: var(--ink); color: var(--white); text-decoration: none; border: 2px solid var(--ink); border-radius: 999px;
  padding: 1rem 1.6rem; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.btn:hover, .btn:focus-visible { transform: translate(2px, -2px); box-shadow: -5px 5px 0 var(--pink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-small { font-size: 0.9rem; padding: 0.7rem 1.1rem; }
.btn-quiet { background: var(--white); color: var(--ink); }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* Header */
.site-header { max-width: var(--wrap); margin: 0 auto; padding: 1.1rem var(--gutter); display: flex; align-items: center; gap: 2rem; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 700; font-size: 0.98rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.notice-bar { margin: 0; background: var(--yellow); text-align: center; font-weight: 700; padding: 0.55rem var(--gutter); font-size: 0.98rem; }

/* Hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(3rem, 7vw, 6rem);
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 11ch; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.price-note { color: var(--muted); font-size: 0.98rem; max-width: 18rem; line-height: 1.4; }

.press { margin: 0; }
.bed { position: relative; aspect-ratio: 3 / 4; width: min(100%, 470px); margin: 0 auto; background: var(--paper);
  border: 14px solid var(--ink); box-shadow: 0 34px 50px -34px rgba(0, 0, 0, 0.55); transform: rotate(1.4deg); overflow: hidden; }
.ink { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (scripting: enabled) { .bed .ink { clip-path: inset(0 100% 0 0); } }
.squeegee { position: absolute; top: -3%; bottom: -3%; left: 0; width: 10px; border-radius: 6px; background: var(--ink); opacity: 0; pointer-events: none; }
.press figcaption { display: flex; align-items: center; gap: 1rem; width: min(100%, 470px); margin: 1.6rem auto 0; }
.swatches { display: flex; gap: 0.6rem; flex: none; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); cursor: pointer; padding: 0; }
.swatch-pool { background: conic-gradient(var(--blue) 0 50%, var(--pink) 0); }
.swatch-sage { background: conic-gradient(#A9B8A0 0 50%, #C8714E 0); }
.swatch-sand { background: conic-gradient(#E2D2B6 0 50%, #2F4B6E 0); }
.swatch[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
.caption-text { font-size: 0.92rem; color: var(--muted); line-height: 1.4; }

/* How it works */
.how { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); display: grid;
  grid-template-columns: 1fr minmax(240px, 340px); gap: clamp(2rem, 6vw, 6rem); align-items: center; border-top: 2px solid var(--ink); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: step; display: grid; gap: 2rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1.2rem; }
.steps li::before { content: counter(step); grid-row: span 2; font: 800 3.4rem/1 var(--display); color: var(--blue); text-shadow: -3px 2px 0 var(--pink); }
.steps h3 { margin: 0.25rem 0 0.35rem; }
.steps p { margin: 0; color: var(--muted); max-width: 32rem; }
.phone { border: 12px solid var(--ink); border-radius: 38px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--ink); }
.phone-video { width: 100%; height: 100%; object-fit: cover; }

/* Gifts */
.gifts { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); border-top: 2px solid var(--ink); }
.gift-picker { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1.5rem; }
.gift-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.gift-option { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; background: var(--white);
  color: var(--ink); border: 2px solid var(--ink); border-radius: 18px; padding: 1.1rem 1.25rem; cursor: pointer; font: inherit; }
.gift-option:hover .gift-name { text-decoration: underline; }
.gift-option[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.gift-option[aria-pressed="true"] .gift-price { color: var(--yellow); }
.gift-name { font: 700 1.15rem/1.2 var(--display); }
.gift-price { font: 800 1.15rem/1.2 var(--display); }
.gift-desc { grid-column: 1 / -1; font-size: 1rem; line-height: 1.45; }
.gift-extras { color: var(--muted); font-size: 0.98rem; line-height: 1.5; padding: 0.4rem 0.2rem 0.6rem; }

/* Tips */
.tips { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); border-top: 2px solid var(--ink); }
.tip-list { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 3rem; max-width: 980px; }
.tip-list li { padding-left: 1.6rem; position: relative; }
.tip-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.8rem; background: var(--pink); box-shadow: 3px -3px 0 var(--blue); }
.tips-note { max-width: 40rem; font-weight: 700; }

/* FAQ */
.faq { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter); border-top: 2px solid var(--ink); }
.faq details { max-width: 52rem; border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font: 700 1.1rem/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.85rem; font-size: 1.6rem; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 44rem; color: var(--muted); }

/* Closing */
.closing { background: var(--ink); color: var(--white); text-align: center; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-shadow: -0.055em 0.04em 0 var(--pink); }
.closing .btn { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 2.5rem var(--gutter) 3rem; border-top: 1px solid #333; }
.footer-top { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.footer-top img { width: 130px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.95rem; }
.trader { max-width: var(--wrap); margin: 1.6rem auto 0; font-size: 0.88rem; color: #C9CDD6; }

/* Cookie consent: a slim bar along the bottom so it never sits on a button */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--white); border-top: 2px solid var(--ink);
  padding: 0.8rem var(--gutter); font-size: 0.95rem; line-height: 1.45; display: flex; align-items: center; gap: 1rem 2rem; justify-content: center; flex-wrap: wrap; }
.consent p { margin: 0; max-width: 46rem; }
.consent-title { font: 700 1rem/1.2 var(--display); }
.consent-actions { display: flex; gap: 0.6rem; flex: none; }
.consent-actions .btn { min-width: 7.5rem; }
@media (max-width: 620px) { .consent { justify-content: flex-start; } .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }

/* Generic content pages */
.page { max-width: 46rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--gutter) 5rem; }
.page h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.page p, .page li { color: #1c1f26; }
.page .updated { color: var(--muted); font-size: 0.95rem; }
.thanks { max-width: 40rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) 5rem; }

/* Order page */
.order-page { max-width: var(--wrap); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 5rem; }
.order-title { font-size: clamp(2rem, 4.2vw, 3.2rem); text-shadow: -0.055em 0.04em 0 var(--pink); }
.notice { background: var(--white); border-left: 6px solid var(--blue); padding: 0.8rem 1rem; max-width: 46rem; }
.notice-strong { border-left-color: var(--pink); font-weight: 700; }
.order-form { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1.5rem; }
.step { border: 0; padding: 0; margin: 0 0 2.6rem; min-width: 0; }
.step legend { font: 700 1.25rem/1.2 var(--display); display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; padding: 0; }
.step-n { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 0.95rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.tile, .ctile { position: relative; display: grid; gap: 0.25rem; background: var(--white); border: 2px solid var(--line); border-radius: 16px; padding: 0.7rem; cursor: pointer; }
.tile input, .ctile input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.tile-name { font: 700 1rem/1.25 var(--display); margin-top: 0.3rem; }
.tile-price { font-weight: 700; }
.tile-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
.tile:has(input:checked), .ctile:has(input:checked) { border-color: var(--ink); box-shadow: -5px 5px 0 var(--pink); }
.tile:has(input:focus-visible), .ctile:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.colour-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.ctile img { border-radius: 8px; aspect-ratio: 3 / 4; object-fit: cover; }
.ctile span { font-weight: 700; font-size: 0.98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; border: 2px solid var(--line); background: var(--white); border-radius: 999px; padding: 0.55rem 1rem 0.55rem 0.6rem; cursor: pointer; font-weight: 700; }
.chip:has(input:checked) { border-color: var(--ink); box-shadow: -4px 4px 0 var(--pink); }
.chip-swatch { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--ink); }
.frame-black.chip-swatch { background: #111; }
.frame-white.chip-swatch { background: #fff; }
.frame-natural.chip-swatch { background: #B08458; }
.pet { margin-bottom: 1rem; }
.drop { display: grid; place-items: center; min-height: 190px; border: 2px dashed var(--ink); border-radius: 16px; background: var(--white); cursor: pointer; padding: 1rem; text-align: center; }
.drop:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.drop-empty { display: grid; gap: 0.3rem; }
.drop-empty strong { font: 700 1.05rem/1.2 var(--display); }
.drop-empty span { color: var(--muted); font-size: 0.95rem; }
.drop-preview { max-height: 260px; width: auto; border-radius: 10px; }
.sr-file { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.98rem; margin-top: 0.9rem; }
.field input { font: 400 1.05rem/1.3 var(--body); padding: 0.8rem 0.9rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); width: 100%; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.9rem; }
.check { display: flex; gap: 0.65rem; align-items: flex-start; margin-top: 1rem; line-height: 1.45; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; accent-color: var(--ink); }
.hint { color: var(--muted); margin: -0.4rem 0 0.4rem; }
.field-msg { min-height: 0; margin: 0.35rem 0 0; color: var(--error); font-weight: 700; font-size: 0.95rem; }
.field-msg:empty { display: none; }
.field-msg[data-level="warn"] { color: #6B4E00; }
.field-invalid { border-color: var(--error) !important; }

.summary { position: sticky; top: 1.2rem; }
.summary-inner { background: var(--white); border: 2px solid var(--ink); border-radius: 22px; padding: 1.3rem; }
.summary-title { font-size: 1.3rem; }
.summary-preview { border: 12px solid #111; margin: 0 auto 1.1rem; width: 72%; background: var(--paper); transition: border-color 0.25s ease; }
.summary-preview.frame-white { border-color: #fff; box-shadow: 0 0 0 1px var(--line); }
.summary-preview.frame-natural { border-color: #B08458; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.summary-total { display: flex; justify-content: space-between; font: 800 1.3rem/1.2 var(--display); margin: 0.7rem 0 0.3rem; }
.summary-delivery { color: var(--muted); font-size: 0.95rem; }
.summary .btn-block { margin-top: 1.2rem; }
.form-error { color: var(--error); font-weight: 700; margin: 0.8rem 0 0; }
.form-error:empty { display: none; }
.stripe-note { color: var(--muted); font-size: 0.88rem; margin: 0.8rem 0 0; }

@media (max-width: 900px) {
  .hero, .how, .gift-picker, .order-form { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .bed { transform: none; width: min(100%, 420px); }
  .phone { max-width: 320px; margin: 0 auto; }
  .tip-list { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 620px) {
  .tiles, .colour-tiles { grid-template-columns: 1fr; }
  .tile { grid-template-columns: 96px 1fr; column-gap: 0.9rem; align-items: start; }
  .tile img { grid-row: span 3; }
  .ctile { grid-template-columns: 70px 1fr; column-gap: 0.9rem; align-items: center; }
  .field-row { grid-template-columns: 1fr; }
  .press figcaption { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bed .ink { clip-path: none !important; }
  .btn, .faq summary::after, .summary-preview { transition: none; }
}

/* Proof page */
.proof-page { max-width: var(--wrap); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 5rem; }
.proof-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.proof-art { margin: 0; }
.proof-art .summary-preview { width: 100%; max-width: 460px; }
.proof-art figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }
.proof-panel h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.proof-meta { color: var(--muted); }
.proof-form { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 1.2rem 1.3rem; margin-top: 1.2rem; }
.proof-form h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.proof-form .btn { margin-top: 1rem; }
.proof-form textarea, .field textarea { font: 400 1.05rem/1.4 var(--body); padding: 0.8rem 0.9rem; border: 2px solid var(--ink); border-radius: 12px; width: 100%; resize: vertical; }
.proof-cancel { margin-top: 1.6rem; }
.proof-cancel summary { cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 0.18em; }
@media (max-width: 900px) { .proof-layout { grid-template-columns: 1fr; } }

/* Admin */
.admin { max-width: 70rem; }
.admin-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.98rem; background: var(--white); }
.admin-table th, .admin-table td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); }
.admin-order { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.admin-order h2 { margin-top: 0; }
.admin-login { max-width: 24rem; }
.admin-proof { margin: 1rem 0; max-width: 36rem; }
