/* Nula Dyer shop. Values follow design-reference/*.dc.html. */

@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/dm-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/dm-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/caveat-700.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 200 800; font-style: normal; font-display: swap; src: url('/fonts/bricolage-grotesque.woff2') format('woff2-variations'); }

:root {
  --purple: #4A2C82;
  --purple-dark: #33195F;
  --ink: #1D1B26;
  --cream: #F6F3EC;
  --sun: #FFC93C;
  --sun-pale: #FFF1C7;
  --sun-ink: #6A4A00;
  --text: #4A4756;
  --muted: #5E5A6B;
  --line: #ECE9E2;
  --line-warm: #E2DDD2;
  --edge: #C9C4B8;
  --on-dark: #D9D7E3;
  --heading: 'Bricolage Grotesque', sans-serif;
  --hand: 'Caveat', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Christmas note */
.note { background: var(--cream); color: var(--text); text-align: center; padding: 10px 24px; font-size: 14px; }
.note a { font-weight: 500; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--hand); font-size: 40px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1; }
.wordmark:hover { color: var(--ink); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--purple); }
.site-nav .basket-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #FFFFFF; }
.site-nav .basket-link:hover { color: #FFFFFF; background: #2C2A38; }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font: 700 17px 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; }
.btn-purple { background: var(--purple); color: #FFFFFF; }
.btn-purple:hover { background: var(--purple-dark); color: #FFFFFF; }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: #2C2A38; color: #FFFFFF; }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-start { align-self: flex-start; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.pill { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--sun-pale); font-size: 14px; font-weight: 700; color: var(--sun-ink); }
.pill-lg { padding: 8px 14px; font-size: 15px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple); }
.h-display { font-family: var(--heading); font-weight: 800; font-size: 44px; line-height: 1.05; letter-spacing: -0.01em; }
.h-page { font-family: var(--heading); font-weight: 800; font-size: 48px; line-height: 1.02; letter-spacing: -0.01em; color: var(--ink); }
.lead { font-size: 17px; line-height: 1.55; color: var(--text); }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--heading); font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.02em; }
.hero h1 span { color: var(--purple); }
.hero-quote { font-family: var(--hand); font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--purple); }
.hero-quote span { font-size: 26px; color: var(--text); }
.hero-intro { max-width: 460px; font-size: 19px; line-height: 1.55; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 520px; min-width: 0; display: flex; justify-content: center; }
.hero-frame { width: 100%; max-width: 620px; padding: 22px; background: #2B2735; border-radius: 4px; box-shadow: 0 34px 60px -28px rgba(29,27,38,0.5); transform: rotate(-1.2deg); }
.hero-frame .mat { background: #FFFFFF; padding: 30px; }
.hero-frame figcaption { margin-top: 14px; font-size: 14px; color: var(--on-dark); text-align: center; }

/* Featured */
.featured { background: var(--cream); padding: 88px 0; }
.featured .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.featured-art { flex: 1 1 520px; min-width: 0; display: block; background: #FFFFFF; padding: 28px; box-shadow: 0 24px 50px -26px rgba(29,27,38,0.45); }
.featured-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.featured-copy h2 { font-family: var(--heading); font-weight: 800; font-size: 48px; line-height: 1.02; letter-spacing: -0.01em; }
.featured-copy .prices { font-size: 16px; }
.featured-copy .more { font-size: 16px; font-weight: 500; }

/* Collection */
.collection { padding-top: 96px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 40px; }
.collection-head { display: flex; flex-direction: column; gap: 10px; }
.collection-head p { font-size: 17px; color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 32px; }
.tile { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.tile:hover { color: var(--ink); }
.tile-art { background: #FFFFFF; padding: 16px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -18px rgba(29,27,38,0.4); transition: box-shadow 200ms ease; }
.tile:hover .tile-art { box-shadow: 0 18px 36px -18px rgba(29,27,38,0.55); }
.tile-art picture { display: contents; }
.tile-art img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.tile-title { font-weight: 700; font-size: 18px; }
.tile-sub { margin-top: 4px; font-size: 15px; color: var(--text); }

/* Cards */
.cards { padding-top: 96px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 56px; }
.cards-copy { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.cards-copy .price { font-size: 16px; }
.cards-group { display: flex; flex-direction: column; gap: 28px; }
.cards-group-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 1.5px solid var(--line-warm); }
.cards-group-head h3 { font-family: var(--heading); font-size: 26px; font-weight: 800; }
.cards-group-head p { font-size: 16px; color: var(--text); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 44px 32px; }
.card-mock { width: 100%; max-width: 440px; aspect-ratio: 7 / 5; background: #FFFFFF; padding: 18px; box-shadow: 0 24px 44px -24px rgba(29,27,38,0.45); transform: rotate(1.5deg); }
.card-mock img { width: 100%; height: 100%; object-fit: cover; }
.card-mock.fit img { object-fit: contain; }
.card-mock picture { display: contents; }
.card-design { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.card-design figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.card-design .card-title { font-family: var(--hand); font-size: 26px; font-weight: 700; line-height: 1.1; }
.card-mock.tilt-left { transform: rotate(-1.5deg); }
.upsell-link { font-weight: 700; color: inherit; white-space: nowrap; }
.card-mock .pending { width: 100%; height: 100%; border: 2px dashed var(--edge); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-family: var(--hand); font-size: 30px; font-weight: 700; color: var(--text); }

/* How it works */
.how { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 20px; }
.step .num { font-family: var(--heading); font-weight: 800; font-size: 40px; }
.step h3 { font-size: 22px; font-weight: 700; }
.step p { font-size: 16px; line-height: 1.55; color: var(--text); }
.step-1 { background: var(--sun-pale); } .step-1 .num { color: var(--sun-ink); }
.step-2 { background: #DDF2EE; } .step-2 .num { color: var(--purple); }
.step-3 { background: #FFE2D9; } .step-3 .num { color: #A33A1C; }

/* About */
.about { background: var(--ink); color: #FFFFFF; padding: 96px 0; }
.about .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.polaroid { flex: 1 1 320px; min-width: 0; max-width: 440px; padding: 14px 14px 18px; background: #FFFFFF; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6); transform: rotate(-2deg); }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid figcaption { margin-top: 10px; font-family: var(--hand); font-size: 26px; font-weight: 700; color: var(--ink); text-align: center; }
.about-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy .eyebrow { color: var(--sun); }
.about-copy h3 { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--sun); }
.about-copy p { font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.about-copy p.eyebrow { font-size: 15px; line-height: normal; color: var(--sun); }
.about-copy blockquote { margin-top: 8px; padding: 20px 24px; border-radius: 16px; background: #2C2A38; font-family: var(--hand); font-size: 38px; font-weight: 700; line-height: 1.2; color: #FFFFFF; }
.about-copy p.signature { font-family: var(--hand); font-size: 40px; font-weight: 700; line-height: normal; color: #FFFFFF; }

/* Footer */
.site-footer { margin-top: auto; }
.signup { padding-top: 72px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.signup-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.signup-copy h2 { font-family: var(--heading); font-weight: 800; font-size: 32px; }
.signup-copy p { font-size: 16px; color: var(--text); }
.signup-form { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.signup-form label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.signup-form input[type=email] { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--edge); font: 400 16px 'DM Sans', sans-serif; }
.signup-form button { min-height: 48px; padding: 0 24px; border-radius: 12px; border: 0; background: var(--purple); color: #FFFFFF; font: 700 16px 'DM Sans', sans-serif; cursor: pointer; }
.signup-form button:hover { background: var(--purple-dark); }
.signup-status { flex: 1 1 100%; font-size: 15px; color: var(--text); min-height: 1.4em; }
.footer-bar { border-top: 1px solid var(--line); }
.footer-bar .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.footer-bar .wordmark { font-size: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-links a { color: var(--muted); }

/* Text pages */
.prose { flex: 1 0 auto; max-width: 760px; width: 100%; margin: 0 auto; padding: 72px 32px 96px; display: flex; flex-direction: column; gap: 28px; font-size: 17px; line-height: 1.6; color: var(--text); }
.prose h2 { margin-top: 12px; font-size: 22px; font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose .thanks-hand { font-family: var(--hand); font-size: 44px; font-weight: 700; color: var(--purple); line-height: 1; }
.prose .panel { padding: 24px 28px; border-radius: 16px; background: var(--cream); display: flex; flex-direction: column; gap: 12px; }
.prose .panel-title { font-weight: 700; color: var(--ink); }

/* Print page */
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { padding-top: 32px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.wall-col { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.wall { background: #EFEBE3; border-radius: 20px; padding: 64px 48px; display: flex; align-items: center; justify-content: center; min-height: 520px; }
.wall-frame { width: 78%; transition: width 200ms ease, padding 200ms ease; box-shadow: 0 18px 30px -18px rgba(29,27,38,0.45); }
.wall-mount { background: #FFFFFF; transition: padding 200ms ease; }
.wall-mount img { width: 100%; }
.wall[data-size=A4] .wall-frame { width: 58%; }
.wall[data-size=A3] .wall-frame { width: 78%; }
.wall[data-size=A2] .wall-frame { width: 100%; }
.wall:not([data-frame=none]) .wall-frame { padding: 14px; box-shadow: 0 24px 40px -20px rgba(29,27,38,0.55), inset 0 0 0 1px rgba(0,0,0,0.08); }
.wall:not([data-frame=none]) .wall-mount { padding: 8%; }
.wall[data-frame=black] .wall-frame { background: #1D1B26; }
.wall[data-frame=white] .wall-frame { background: #FAFAF7; }
.wall[data-frame=natural] .wall-frame { background: #C49A6C; }
.wall-caption { font-size: 14px; color: var(--muted); text-align: center; }

.buy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.buy-head { display: flex; flex-direction: column; gap: 10px; }
.buy .price { margin-top: 6px; font-size: 28px; font-weight: 700; }
.buy .price-note { font-size: 15px; color: var(--muted); }
.buy fieldset { border: 0; margin: 0; padding: 0; }
.buy legend { padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 16px; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { min-height: 56px; padding: 8px 18px; border-radius: 14px; text-align: left; cursor: pointer; border: 1.5px solid var(--edge); background: #FFFFFF; color: var(--ink); font-size: 15px; font-weight: 500; }
.opt[aria-pressed=true] { border: 2px solid var(--purple); background: var(--purple); color: #FFFFFF; }
.opt .opt-label { display: block; font-weight: 700; font-size: 16px; }
.opt .opt-dims { display: block; font-size: 13px; opacity: 0.8; }
.opt-frame { display: inline-flex; align-items: center; gap: 10px; }
.swatch { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--edge); }
.swatch-none { background: #FFFFFF; }
.swatch-black { background: #1D1B26; border: 1px solid rgba(255,255,255,0.4); }
.swatch-white { background: #FAFAF7; }
.swatch-natural { background: #C49A6C; border: 1px solid rgba(255,255,255,0.4); }
.add-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--edge); border-radius: 999px; }
.qty button { width: 48px; height: 48px; border: 0; background: transparent; font: 700 20px 'DM Sans', sans-serif; color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; font-size: 17px; }
.add-row .btn { flex: 1 1 200px; }
.shop-soon { margin: 0; padding: 14px 18px; border-radius: 14px; background: #FFF4D1; font-weight: 600; }
.facts { margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--text); }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { flex: none; margin-top: 1px; }

.others { margin-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.others h2 { font-size: 20px; font-weight: 700; }
.others-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.other { flex: none; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--cream); border: 1.5px solid var(--edge); }
.other[aria-current=page] { border: 3px solid var(--purple); }
.other img { width: 100%; height: 100%; object-fit: cover; }

/* Basket */
.basket-section { margin-bottom: 96px; }
.basket-page { padding-top: 56px; }
.basket { border-radius: 24px; background: var(--cream); padding: 36px; display: flex; flex-wrap: wrap; gap: 40px; }
.basket-items { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.basket-items h1, .basket-items h2 { font-family: var(--heading); font-weight: 800; font-size: 32px; }
.basket-list { list-style: none; margin: 0; padding: 0; }
.basket-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-warm); font-size: 16px; align-items: center; }
.basket-row .right { display: flex; gap: 16px; align-items: center; }
.link-btn { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--muted); font: 500 14px 'DM Sans', sans-serif; text-decoration: underline; cursor: pointer; }
.upsell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #FFFFFF; border: 1.5px solid var(--line-warm); font-size: 15px; }
.upsell button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--purple); color: #FFFFFF; font: 700 15px 'DM Sans', sans-serif; cursor: pointer; }
.basket-summary { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gift { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.gift textarea { padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--edge); font: 400 16px 'DM Sans', sans-serif; resize: vertical; }
.gift .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.sum-row { display: flex; justify-content: space-between; font-size: 16px; }
.sum-total { font-size: 20px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line-warm); }
.basket-summary .btn { min-height: 56px; }
.pay-note { font-size: 13px; color: var(--muted); text-align: center; }
.basket-status { font-size: 15px; color: #A33A1C; }
.basket-empty { padding: 72px 0 96px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-nav { gap: 18px; font-size: 15px; }
  .hero { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero-quote { font-size: 34px; }
  .hero-frame { padding: 14px; } .hero-frame .mat { padding: 16px; }
  .featured, .about { padding: 64px 0; }
  .featured-art { padding: 16px; }
  .h-display { font-size: 36px; }
  .h-page, .featured-copy h2 { font-size: 38px; }
  .collection, .cards { padding-top: 64px; }
  .how { padding-top: 64px; padding-bottom: 64px; }
  .wall { padding: 36px 24px; min-height: 340px; }
  .basket { padding: 24px; }
  .prose { padding: 48px 20px 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
