/* DragnaroK – design system (see docs/design-system.md) */
:root {
  --parchment: #F3F0E8; --surface: #FBF8F2; --tile: #E4DFD2; --tile-light: #ECE8DD;
  --line: #DDD8CC; --line-strong: #CFCAB9;
  --ink: #1B2033; --ink-soft: #3A4466; --muted: #555A6B; --placeholder: #4E5262; --gold-text: #76602A;
  --night: #18203A; --night-surface: #222B4A; --night-line: #3A4466; --night-gold-line: #7A6A3E;
  --night-text: #EFEAE0; --night-muted: #B5B8C6; --night-soft: #D4D6E0; --gold-light: #D8B65E;
  --accent: #B08A3A; --gules: #8C2B2B; --seal-text: #F2E3C0;
  --arch: polygon(0% 100%, 0% 36%, 1% 30%, 2% 27.7%, 5% 23%, 10% 17.8%, 20% 11%, 30% 6.3%, 40% 2.7%, 45% 1.3%, 50% 0%, 55% 1.3%, 60% 2.7%, 70% 6.3%, 80% 11%, 90% 17.8%, 95% 23%, 98% 27.7%, 99% 30%, 100% 36%, 100% 100%);
  --ribbon: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%);
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-label: 'Cinzel', Georgia, serif;
  --f-logo: 'Cinzel Decorative', Georgia, serif;
  --f-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--parchment); color: var(--ink); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: var(--gold-text); }
a:hover { color: #5A3D16; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--parchment); padding: 10px 18px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tight { padding: 88px 0; }
.section--white { background: #fff; }
.stack { display: flex; flex-direction: column; }

/* ---- dark sections with diaper pattern ---- */
.night {
  background-color: var(--night); color: var(--night-text);
  background-image:
    repeating-linear-gradient(45deg, rgba(216,182,94,.06) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, rgba(216,182,94,.06) 0 1px, transparent 1px 30px);
}

/* ---- type ---- */
.eyebrow { font: 600 13px/1.4 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.night .eyebrow { color: var(--gold-light); }
.label { font: 500 11px/1.4 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(54px, 6.6vw, 96px); line-height: .98; letter-spacing: -.015em; }
.h1--page { font-size: clamp(46px, 5.6vw, 76px); line-height: 1; }
.h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.02; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.night h2 em, .night h1 em { color: var(--gold-light); }
.lead { font-size: 19px; color: var(--muted); max-width: 500px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.section-head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; text-align: left; gap: 20px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 12px; }

/* ---- ornament (four-leaf) ---- */
.orn { display: flex; align-items: center; gap: 12px; color: var(--accent); }
.orn::before, .orn::after { content: ""; height: 1px; background: var(--line); flex: 0 0 56px; }
.orn--fill::before, .orn--fill::after { flex: 1; }
.night .orn { color: var(--gold-light); }
.night .orn::before, .night .orn::after { background: var(--night-gold-line); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 500 16px var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--parchment); }
.btn--primary:hover { color: var(--parchment); background: #2A3150; }
.btn--ghost { border-color: var(--accent); color: var(--ink); background: transparent; padding: 0 26px; }
.btn--ghost:hover { color: var(--ink); background: rgba(176,138,58,.1); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); min-height: 46px; padding: 0 22px; font-size: 15px; background: transparent; }
.btn--outline:hover { color: var(--ink); border-color: var(--accent); }
.btn--gold { background: var(--gold-light); color: var(--night); font-weight: 600; }
.btn--gold:hover { color: var(--night); background: #E4C676; }
.btn--lg { min-height: 58px; font-size: 17px; width: 100%; }
.btn[disabled] { background: var(--night-line); color: #8A8FA3; cursor: not-allowed; transform: none; }
.btn svg { flex: none; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(252,250,245,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo span { font: 700 23px var(--f-logo); letter-spacing: .01em; }
.logo img { display: block; height: 52px; width: auto; }
.logo { flex-direction: column; gap: 6px; }
.logo .logo__mark { height: 46px; }
.logo .logo__word { display: flex; align-items: center; gap: 9px; font: 600 14px/1 'Cormorant Garamond', Georgia, serif; letter-spacing: .34em; text-transform: uppercase; color: var(--ink); margin-right: -.34em; }
.logo .logo__word::before, .logo .logo__word::after { content: ""; width: 14px; height: 1px; background: #B08A3A; }

.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; font: 500 13px var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.nav__links a { text-decoration: none; color: var(--muted); padding: 10px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 20px; background: var(--ink); color: var(--parchment); border-radius: 999px; text-decoration: none; font: 500 15px var(--f-body); }
.cart-link:hover { color: var(--parchment); background: #2A3150; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold-light); color: var(--night); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.cart-count[hidden] { display: none; }
.cart-link:not(:has(.cart-count:not([hidden]))) { padding-right: 20px; }

/* ---- arch frames & photo placeholders ---- */
.arch-frame { padding: 2px; background: var(--accent); clip-path: var(--arch); }
.arch { clip-path: var(--arch); }
.ph { background: var(--tile); color: var(--placeholder); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; font-size: 14px; }
.ph--arch { clip-path: var(--arch); padding: 96px 40px 40px; }
.night .ph, .ph--night { background: var(--night-surface); color: var(--night-muted); }
.ph svg { opacity: .8; }

/* ---- hero ---- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 72px; padding-bottom: 88px; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero__art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__frame { position: relative; width: 100%; max-width: 460px; }
.hero__frame .ph { aspect-ratio: 4/5; }
/* hero with the photo as a background: it fades into the page colour towards the text, and at the bottom into the next section */
.hero--photo { position: relative; display: block; padding: 0; overflow: hidden; background: var(--parchment); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg img { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--parchment) 0%, var(--parchment) 40%, rgba(243,240,232,.84) 52%, rgba(243,240,232,0) 80%),
              linear-gradient(180deg, rgba(243,240,232,0) 74%, var(--parchment) 100%); }
.hero__in { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 120px; }
.hero--photo .hero__copy { flex: none; max-width: 560px; }
@media (max-width: 820px) {
  .hero__bg img { width: 100%; opacity: .5; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(243,240,232,.9) 0%, rgba(243,240,232,.7) 55%, var(--parchment) 100%); }
  .hero__in { padding-top: 56px; padding-bottom: 150px; }
}
.seal { position: absolute; left: -34px; bottom: 44px; width: 136px; height: 136px; border-radius: 50%; background: var(--gules); color: var(--seal-text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; transform: rotate(-8deg);
  box-shadow: inset 0 0 0 5px rgba(0,0,0,.18), inset 0 0 0 7px rgba(242,227,192,.28), 0 12px 28px rgba(27,32,51,.28); }
.seal .t { font: 600 10px var(--f-label); letter-spacing: .16em; text-transform: uppercase; }
.seal .n { font: 700 42px/1 var(--f-display); }
.seal .stars { display: flex; gap: 1px; }
.seal .s { font-size: 11px; }
@media (max-width: 560px) { .seal { left: -8px; width: 112px; height: 112px; } .seal .n { font-size: 34px; } }

.stats-wrap { padding-bottom: 96px; }
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font: 600 40px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.stat span { font: 500 11px var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---- collections ---- */
/* collections: a row of tall photo panels; the one you point at grows, its photo zooms in and the call to action slides up */
.collections { display: flex; gap: 14px; height: clamp(420px, 46vw, 560px); }
.collection { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--night-gold-line); background: var(--night-surface); color: var(--night-text); text-decoration: none; text-align: left; isolation: isolate;
  transition: flex-grow .7s cubic-bezier(.2,.75,.2,1), border-color .4s, box-shadow .5s; }
.collection:hover, .collection:focus-visible { flex-grow: 2.15; color: var(--night-text); border-color: var(--gold-light); box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(216,182,94,.35); outline: none; }
.collection__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.75,.2,1), filter .6s; }
.collection:hover .collection__img, .collection:focus-visible .collection__img { transform: scale(1.08); }
.collections:hover .collection:not(:hover) .collection__img { filter: brightness(.62) saturate(.8); }
.collection__ph { position: absolute; inset: 0; z-index: -2; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 13px; color: var(--night-muted); }
.collection__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,19,38,0) 38%, rgba(14,19,38,.55) 66%, rgba(14,19,38,.92) 100%); transition: opacity .5s; }
.collection__text { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
.collection__text::after { content: ''; order: 1; width: 30px; height: 2px; margin: 4px 0 2px; background: var(--gold-light); transition: width .6s cubic-bezier(.2,.75,.2,1); }
.collection:hover .collection__text::after, .collection:focus-visible .collection__text::after { width: 72px; }
.collection__cta { order: 2; }
.collection__text b { font: 600 clamp(22px, 2.3vw, 30px)/1.12 var(--f-display); display: block; }
.collection__cta { display: inline-flex; gap: 8px; align-items: center; font: 600 14px var(--f-body); color: var(--gold-light); max-height: 0; opacity: 0; transform: translateY(10px); overflow: hidden; transition: max-height .5s ease, opacity .45s ease .08s, transform .5s ease .08s; }
.collection:hover .collection__cta, .collection:focus-visible .collection__cta { max-height: 28px; opacity: 1; transform: none; }
@media (hover: none) { .collection__cta { max-height: 28px; opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .collections { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .collection { aspect-ratio: 4/5; }
  .collection:hover, .collection:focus-visible { flex-grow: 1; }
}
@media (prefers-reduced-motion: reduce) { .collection, .collection__img, .collection__cta, .collection__text::after { transition: none; } .collection:hover .collection__img { transform: none; } }

/* ---- product cards ---- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; }
.grid-products--sm { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 22px; }
.card { position: relative; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card__img { position: relative; aspect-ratio: 4/5; clip-path: var(--arch); background: var(--tile); display: flex; align-items: center; justify-content: center; color: var(--placeholder); font-size: 13px; transition: filter .2s; }
.card:hover .card__img { filter: brightness(.96); }
.card__img img, .ph img, .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { position: relative; overflow: hidden; }
.photo-fill { position: relative; overflow: hidden; background: var(--tile); }
.photo-fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.logo-mark { width: 78%; max-width: 280px; height: auto; opacity: .95; }
.card__meta { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.card__name { font: 600 23px/1.2 var(--f-display); }
.card__price { font-weight: 500; font-size: 16px; color: var(--gold-text); margin-top: 2px; }
/* label shaped like a flag (swallow-tail) in the top-left corner of the card, on a thin gold pole */
.ribbon { position: absolute; z-index: 2; top: 16px; left: 0; padding: 8px 22px 8px 16px; background: var(--gules); box-shadow: inset 3px 0 0 var(--accent); color: var(--seal-text); font: 600 11px var(--f-label); letter-spacing: .1em; text-transform: uppercase; clip-path: var(--ribbon); white-space: nowrap; }
.night .card { color: var(--night-text); }
.night .card__img { background: var(--night-surface); color: var(--night-muted); }
.night .card .label { color: var(--night-muted); }
.night .card__price { color: var(--gold-light); }
.night .card__name { font-size: 22px; }

/* ---- personalization teaser ---- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split > * { min-width: 0; }
.split__media { flex: 1 1 400px; display: flex; justify-content: center; }
.split__media .arch-frame { width: 100%; max-width: 440px; }
.split__media .ph { aspect-ratio: 4/5; padding: 48px 36px; }
.split__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.steps li { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.steps .no { font: italic 600 26px var(--f-display); color: var(--accent); min-width: 28px; }
.steps strong { font-weight: 600; font-size: 17px; display: block; }
.steps span.t { color: var(--muted); font-size: 15px; }
.night .steps li { border-top-color: var(--night-line); }
.night .steps .no { color: var(--gold-light); }
.night .steps span.t { color: var(--night-muted); }
.custom p.soft { color: var(--muted); font-size: 17px; max-width: 480px; }
.night p.soft { color: var(--night-soft); font-size: 17px; max-width: 480px; }

/* ---- reviews ---- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review { margin: 0; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.review .stars { display: flex; gap: 3px; }
.review blockquote { margin: 0; font: italic 400 22px/1.35 var(--f-display); }
.review figcaption { margin-top: auto; font: 400 11px var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.night .review { background: rgba(255,255,255,.04); border-color: var(--night-line); }
.night .review figcaption { color: var(--night-muted); }
.night .pill-note { border-color: var(--night-line); color: var(--night-muted); }
.night .pill-note a, .night .section-head a { color: var(--gold-light); }
.pill-note { align-self: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--muted); text-align: center; }
.pill-note a { font-weight: 600; }
.todo { background: rgba(176,138,58,.14); border-radius: 4px; padding: 0 4px; }
.night .todo { background: rgba(216,182,94,.16); }

/* ---- about: map of Europe, Poland in gold, Warsaw marked (light background) ---- */
.euro-map { display: block; }
.euro-map__land path { fill: rgba(27,32,51,.085); stroke: rgba(27,32,51,.22); stroke-width: .7; stroke-linejoin: round; }
.euro-map__pl { fill: var(--accent); stroke: #8A6B28; stroke-width: 1; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(176,138,58,.45)); }
.euro-map__dot { fill: var(--night); stroke: #fff; stroke-width: 2; }
.euro-map__pulse { fill: none; stroke: #fff; stroke-width: 1.8; opacity: .85; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.4s ease-out infinite; }
@keyframes map-pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .euro-map__pulse { animation: none; } }
/* ---- about ---- */
/* about: light section, map of Europe as a background that fades out towards the text */
.about { --about-bg: #EFE9DA; position: relative; background: var(--about-bg); border-top: 1px solid var(--line); overflow: hidden; }
.about__map { position: absolute; inset: 0; pointer-events: none; }
.about__map .euro-map { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(1000px, 82%); height: auto; }
/* the map itself fades out towards its edges (no hard border), Poland / Warsaw stay at full strength */
.about__map .euro-map { -webkit-mask-image: radial-gradient(ellipse 60% 58% at 58% 54%, #000 42%, rgba(0,0,0,0) 100%); mask-image: radial-gradient(ellipse 60% 58% at 58% 54%, #000 42%, rgba(0,0,0,0) 100%); }
.about__map::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--about-bg) 0%, var(--about-bg) 24%, rgba(239,233,218,.82) 38%, rgba(239,233,218,0) 68%),
              linear-gradient(180deg, var(--about-bg) 0%, rgba(239,233,218,0) 16%, rgba(239,233,218,0) 84%, var(--about-bg) 100%); }
.about__in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; max-width: 1240px; }
.about__in > * { max-width: 520px; }
.about__in > .about__photo { max-width: 780px; }
.about__photo { margin: 12px 0 0; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px rgba(27,32,51,.14); }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line-strong); }
.about__photos img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
/* felt colours */
.felt-row { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 10px; }
.felt-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 58px; text-align: center; font: 600 10.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.felt-chip .sw { width: 52px; height: 52px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.22), 0 4px 10px rgba(27,32,51,.15); transition: transform .55s cubic-bezier(.2,.9,.25,1.15), box-shadow .55s, background-size .6s; }
/* hover / focus: the swatch lifts and grows (the felt texture zooms in), the section is washed with that colour */
.felt-chip:hover, .felt-chip:focus-visible { color: var(--ink); outline: none; }
.felt-chip:hover .sw, .felt-chip:focus-visible .sw { transform: translateY(-7px) scale(1.25); background-size: 190%; box-shadow: 0 0 0 3px var(--felt-bg), 0 0 0 5px var(--c), 0 16px 24px rgba(27,32,51,.3); }
.felt__wash { position: absolute; inset: 0; pointer-events: none; opacity: 0; transform: translateX(-14%); transition: opacity 1s ease, transform 1.2s cubic-bezier(.22,.8,.3,1); background: linear-gradient(90deg, var(--felt-c, transparent) 0%, transparent 68%); }
.felt.is-on .felt__wash { opacity: .4; transform: none; }
/* the colour itself also glides from one felt to the next (where the browser supports animating a custom property) */
@property --felt-c { syntax: '<color>'; inherits: true; initial-value: #B08A3A; }
.felt { transition: --felt-c .9s ease; }
.felt h2 em { transition: color .22s ease; }   /* the word changes quickly, the wash glides slowly */
.felt.is-on h2 em { color: var(--felt-word); }
@media (prefers-reduced-motion: reduce) { .felt-chip .sw, .felt__wash, .felt h2 em { transition: none; } .felt-chip:hover .sw, .felt-chip:focus-visible .sw { transform: none; } }
/* "Pick your felt": the photo is the background and fades into the band colour towards the text */
.felt { --felt-bg: #E8DEC6; position: relative; overflow: hidden; background: var(--felt-bg); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.felt__bg { position: absolute; inset: 0; pointer-events: none; }
.felt__bg img { position: absolute; right: 0; top: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.felt__bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--felt-bg) 0%, var(--felt-bg) 36%, rgba(232,222,198,.85) 49%, rgba(232,222,198,0) 78%),
              linear-gradient(180deg, var(--felt-bg) 0%, rgba(232,222,198,0) 16%, rgba(232,222,198,0) 84%, var(--felt-bg) 100%); }
.felt__in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; padding-bottom: 24px; }
.felt__in > * { max-width: 520px; }
@media (max-width: 820px) {
  .felt__bg img { width: 100%; opacity: .45; }
  .felt__bg::after { background: linear-gradient(180deg, rgba(232,222,198,.9) 0%, rgba(232,222,198,.72) 60%, var(--felt-bg) 100%); }
  .felt__in > * { max-width: none; }
}

.about__photo figcaption { padding: 12px 18px 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
  .about__map .euro-map { right: -40%; width: 150%; opacity: .6; }
  .about__map::after { background: linear-gradient(180deg, var(--about-bg) 0%, rgba(239,233,218,.55) 45%, rgba(239,233,218,.8) 100%); }
  .about__in > * { max-width: none; }
}
.rosette { width: 100%; max-width: 400px; padding: 12px; border: 1px solid var(--night-gold-line); border-radius: 50%; }
.rosette .ph { aspect-ratio: 1/1; border-radius: 50%; padding: 56px; }

/* ---- footer ---- */
.footer { padding: 72px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.footer__brand .logo { align-self: flex-start; }
.footer__brand .logo img { height: 60px; }
.footer__brand > span { color: var(--muted); font-size: 15px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { font: 600 12px var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.footer__col a { color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-top: 28px; }
.footer--slim { border-top: 1px solid var(--line); padding: 28px 0; }
.footer--slim .footer__base { margin: 0; }

/* ---- page layouts (shop, product, personalize, cart) ---- */
.page { padding-top: 48px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 40px; }
.page-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { min-height: 44px; padding: 0 20px; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font: 500 15px var(--f-body); }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.chip small { opacity: .65; margin-left: 4px; }

.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.pdp { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.pdp__gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pdp__gallery .arch-frame { width: 100%; max-width: 540px; }
.pdp__gallery .ph { aspect-ratio: 4/5; clip-path: var(--arch); padding: 96px 40px 40px; }
.thumbs { width: 100%; max-width: 540px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.thumb { aspect-ratio: 1/1; background: var(--tile-light); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--placeholder); font: 500 12px var(--f-body); padding: 0; }
.thumb[aria-pressed="true"] { border: 2px solid var(--accent); }
.line__img { position: relative; overflow: hidden; }
.line__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb { position: relative; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pdp__title { font-size: clamp(44px, 4.6vw, 64px); line-height: 1; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.price { font: 600 40px/1 var(--f-display); }
.price small { font: 400 14px var(--f-body); color: var(--muted); }
.desc { color: var(--ink-soft); font-size: 17px; }
.opt { display: flex; flex-direction: column; gap: 10px; }
.opt__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { min-height: 46px; padding: 0 20px; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font: 500 15px var(--f-body); }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); text-align: center; margin-top: -10px; }
.specs { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; text-align: right; }

/* personalize */
.studio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.stage { min-width: 0; background: #E4E4E6; border-radius: 20px; padding: 12px; }
/* preview next to the controls (and following the page) only when there is room; on tablets and phones it sits above them and scrolls away, so nothing slides over it */
@media (min-width: 1100px) {
  .studio { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
}
@media (min-width: 1100px) and (min-height: 760px) { .stage { position: sticky; top: 104px; } }
/* small pinned preview (phones, tablets): shown by personalize.html once the big preview is out of view */
.mini { position: fixed; left: 0; right: 0; top: 100px; z-index: 40; display: flex; justify-content: center; padding: 8px 16px; visibility: hidden; pointer-events: none; }
.mini::before { content: ''; position: absolute; inset: 0; background: #E4E4E6; border-bottom: 1px solid #C4C4C8; box-shadow: 0 6px 16px rgba(27,32,51,.12); opacity: var(--t, 0); }
.mini.on { visibility: visible; }
.mini__in { position: relative; display: flex; justify-content: center; width: 100%; padding-right: 76px; }
.mini__price { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 700 22px/1 var(--f-display); color: var(--ink); }
.mini .face { width: auto; height: 92px; max-width: 100%; flex: none; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
@media (min-width: 1100px) { .mini { display: none; } }
@media (max-width: 1099.98px) { #controls textarea, #controls select, #controls button, #controls input { scroll-margin-top: 220px; } }
.stage__in { border: 1px solid #C4C4C8; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1100px) { .stage__in { padding: 22px; gap: 16px; } }
.stage__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stage__id { display: flex; flex-direction: column; gap: 4px; }
.stage__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.stage__price small { font: 600 11px var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stage__price b { font: 700 30px/1 var(--f-display); color: var(--ink); }
.stage__bar .eyebrow { font-size: 12px; letter-spacing: .16em; }
.stage__bar span:last-child { font-size: 13px; color: var(--muted); }
.stage__note { font-size: 13px; color: var(--muted); text-align: center; }
.lid-wrap { padding: 28px 8px; display: flex; justify-content: center; }
.lid { width: 100%; max-width: 560px; aspect-ratio: 4/3; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 48px; transition: background .3s, box-shadow .3s; }
.lid__design { width: 150px; height: 150px; border-radius: 50%; border: 1.5px dashed currentColor; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 16px; }
.lid__design b { font: 700 21px/1.1 var(--f-display); }
.lid__design small { font-size: 11px; line-height: 1.3; }
.lid__text { line-height: 1.1; text-align: center; max-width: 100%; overflow-wrap: anywhere; transition: font-size .2s; }
@media (max-width: 560px) { .lid { padding: 28px; } .lid__design { width: 110px; height: 110px; } }

.controls { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ctl { display: flex; flex-direction: column; gap: 12px; }
.ctl__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ctl__title { font: 600 12px var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.ctl__title i { font: italic 400 18px var(--f-display); text-transform: none; letter-spacing: 0; color: var(--gold-text); margin-right: 4px; }
.opts { display: grid; gap: 12px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-btn { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; color: var(--ink); text-align: left; font-family: var(--f-body); transition: border-color .15s; }
.opt-btn:hover { border-color: var(--line-strong); }
.opt-btn[aria-pressed="true"] { border: 2px solid var(--accent); }
.opt-box { min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; font: 500 15px var(--f-body); }
.opt-box .sw { flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.opt-box .tx { display: flex; flex-direction: column; line-height: 1.25; }
.opt-box small { font-size: 13px; color: var(--muted); font-weight: 400; }
.opt-design { min-height: 88px; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
.opt-design b { font: 700 22px/1.1 var(--f-display); }
.opt-design small { font-size: 13px; opacity: .85; }
.opt-design[aria-pressed="true"] { background: var(--night); color: var(--night-text); border: 1px solid var(--night); outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-font { min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.opt-font .aa { font-size: 26px; line-height: 1.1; }
.opt-font small { font-size: 13px; color: var(--muted); }
.field { min-height: 56px; padding: 0 18px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; font: 500 20px var(--f-display); color: var(--ink); width: 100%; }
.field:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.help { font-size: 13px; color: var(--muted); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.summary__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary__price { font: 700 36px/1 var(--f-display); }
.summary__list { font-size: 15px; color: var(--ink-soft); white-space: pre-line; border-top: 1px solid var(--line); padding-top: 14px; }
.added { display: none; align-items: center; gap: 10px; padding: 12px 16px; background: #E8E5DA; border-radius: 12px; font-size: 14px; color: var(--ink-soft); }
.added.on { display: flex; }

/* cart */
.cart { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.cart__items { flex: 2 1 580px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.line { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-wrap: wrap; gap: 20px; }
.line__img { flex: none; width: 120px; height: 150px; clip-path: var(--arch); display: flex; align-items: center; justify-content: center; font-size: 12px; text-align: center; padding: 14px; color: var(--placeholder); }
.line__body { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.line__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.line__top strong { font: 600 24px/1.15 var(--f-display); }
.line__top span { font-weight: 600; font-size: 17px; white-space: nowrap; }
.line__spec { font-size: 14px; color: var(--muted); }
.line__text em { font: 600 18px var(--f-display); }
.line__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 44px; height: 40px; background: transparent; border: 0; cursor: pointer; font: 500 18px var(--f-body); color: var(--ink); }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.linkbtn { min-height: 40px; padding: 0 4px; background: transparent; border: 0; cursor: pointer; font: 500 14px var(--f-body); color: var(--gold-text); text-decoration: underline; }
.empty { padding: 56px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.empty strong { font: 600 32px var(--f-display); }
.empty span { color: var(--muted); }
.freeship { padding: 16px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 12px; }
.freeship p { margin: 0; font-size: 15px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.freeship p b { color: var(--ink); font-weight: 600; }
.freeship svg { flex: none; color: var(--gold-text); }
.freeship__bar { position: relative; height: 10px; border-radius: 999px; background: #E8E5DA; overflow: hidden; }
.freeship__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-text), var(--gold-light)); transition: width .6s cubic-bezier(.22,.8,.3,1); }
.freeship__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.freeship.is-done { border-color: var(--gold-light); }
@media (prefers-reduced-motion: reduce) { .freeship__bar i { transition: none; } }
.callout { padding: 16px 20px; background: #E8E5DA; border-radius: 14px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.callout svg { flex: none; margin-top: 3px; color: var(--gold-text); }
.order { flex: 1 1 340px; min-width: 0; background: var(--night); color: var(--night-text); border-radius: 20px; padding: 14px; position: sticky; top: 104px; }
.order__in { border: 1px solid var(--night-gold-line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.order h2 { font: 600 13px var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); text-align: center; }
.order dl { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.order dl div { display: flex; justify-content: space-between; gap: 12px; }
.order dt { color: var(--night-muted); }
.order dd { margin: 0; text-align: right; }
.order__total { border-top: 1px solid var(--night-line); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.order__total b { font: 700 42px/1 var(--f-display); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--night-soft); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold-light); flex: none; }
.agree a { color: var(--gold-light); }
.methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.methods span { padding: 4px 11px; border: 1px solid var(--night-gold-line); border-radius: 999px; font-size: 13px; }
.order small { font-size: 13px; color: var(--night-muted); text-align: center; display: block; }
@media (max-width: 720px) { .order { position: static; } .section { padding: 72px 0; } .hero { padding-top: 40px; gap: 48px; } .split { gap: 44px; } .pdp { gap: 40px; } }

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

/* ---- configurator (simple) ---- */
.lid-wrap { padding: 20px 8px; }
.face { position: relative; width: 100%; max-width: 440px; margin: 0 auto; container-type: inline-size; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
@media (min-width: 1100px) { .face { max-width: 540px; } }
.face__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face__photo--flip { transform: scaleX(-1); } /* the box photo is mirrored for the other opening direction; the engraving is not */
.eng-design { position: absolute; filter: drop-shadow(0 0 1px rgba(0,0,0,.45)); opacity: .96; }
.eng-design--ph { display: flex; align-items: center; justify-content: center; border: 1.5px dashed #F2E4C4; border-radius: 50%; color: #F2E4C4; font: 600 3.4cqw var(--f-display); text-align: center; }
.eng-text { position: absolute; transform: translateX(-50%); white-space: pre; text-align: center; line-height: 1; color: #F2E4C4; text-shadow: 0 0 1px rgba(0,0,0,.5); opacity: .96; }
.field--select { appearance: none; -webkit-appearance: none; font: 500 17px var(--f-body); padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B2033' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
@font-face { font-family: 'Norse'; src: url('../fonts/Norse-Bold.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
.help--warn { color: var(--gules); }
.font-sample { font-size: 22px; line-height: 1.15; }
/* chosen felt, in the bottom-right corner of the live preview */
.felt-badge { align-self: flex-end; display: flex; align-items: center; gap: 10px; margin-top: -4px; padding: 5px 16px 5px 5px; background: #fff; border: 1px solid #C4C4C8; border-radius: 999px; box-shadow: 0 2px 8px rgba(27,32,51,.08); }
.felt-badge[hidden] { display: none; }
.felt-badge .sw { flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.felt-badge .sw--none { background: repeating-linear-gradient(45deg, #fff, #fff 4px, #d9d9dc 4px, #d9d9dc 8px); }
.felt-badge__t { display: flex; flex-direction: column; line-height: 1.2; }
.felt-badge__t small { font: 600 10.5px var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.felt-badge__t b { font: 600 15px var(--f-body); color: var(--ink); }
.dd { position: relative; }
.dd__btn { display: flex; align-items: center; gap: 12px; text-align: left; }
.dd__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 340px; overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 14px 32px rgba(27,32,51,.18); }
.dd__list[hidden] { display: none; }
.dd__opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 12px; background: transparent; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink); font: 500 16px var(--f-body); text-align: left; }
.dd__opt:hover, .dd__opt:focus-visible { background: var(--tile-light); outline: none; }
.dd__opt[aria-selected="true"] { font-weight: 600; box-shadow: inset 0 0 0 2px var(--accent); }
.dd .sw { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.dd .sw--none { background: repeating-linear-gradient(45deg, #fff, #fff 4px, #d9d9dc 4px, #d9d9dc 8px); }
/* collapsible group of designs (D&D Classes) */
.fold { margin-top: 12px; }
.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; cursor: pointer; font: 600 16px var(--f-body); color: var(--ink); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:hover { border-color: var(--ink); }
.fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fold > summary small { margin-left: -4px; margin-right: auto; font: 400 13px var(--f-body); color: var(--muted); }
.fold > summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.fold[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.fold[open] > summary { border-color: var(--accent); }
.fold > .design-grid { margin-top: 12px; }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.design-card { aspect-ratio: 1/1; position: relative; background: var(--night); border: 2px solid transparent; border-radius: 14px; cursor: pointer; padding: 10px 10px 22px; transition: border-color .15s, transform .15s; }
.design-card:hover { transform: translateY(-1px); }
.design-card[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--parchment), 0 0 0 4px var(--accent); }
.design-card img { width: 100%; height: 100%; object-fit: contain; }
.design-card span { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: 500 10px var(--f-label); letter-spacing: .1em; color: var(--night-muted); }
.opt-btn:focus-visible, .design-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.same-size { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; color: var(--ink-soft); }
.same-size input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); cursor: pointer; }
.size-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.size-row label { font: 600 12px var(--f-label); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.size-row input[type=range] { flex: 1; min-width: 0; accent-color: var(--accent); height: 44px; cursor: pointer; }
.size-row input[type=range]:disabled { opacity: .4; cursor: not-allowed; }
.size-row output { min-width: 3.2em; text-align: right; font-weight: 600; font-size: 14px; color: var(--ink-soft); }

/* number of texts (1 or 2) and multi-line text fields */
.opt-box--sm { min-height: 48px; justify-content: center; text-align: center; }
.text-field { display: flex; flex-direction: column; gap: 6px; }
.text-field + .text-field { margin-top: 6px; }
.text-field__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 600 12px var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field--area { padding: 12px 18px; min-height: 0; resize: none; line-height: 1.35; font-size: 18px; overflow-y: auto; }

/* ---- mobile: compact header, stats as tiles, smaller products ---- */
@media (max-width: 640px) {
  .nav { padding: 8px 16px 4px; gap: 0 12px; }
  .logo .logo__mark { height: 32px; }
  .logo { gap: 4px; }
  .logo .logo__word { font-size: 11px; letter-spacing: .28em; gap: 6px; margin-right: -.28em; }
  .logo .logo__word::before, .logo .logo__word::after { width: 9px; }
  .nav__right { gap: 8px; margin-left: auto; }
  .nav .cart-link { min-height: 38px; padding: 0 12px 0 16px; font-size: 14px; }
  .nav__links { order: 3; flex: 0 0 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0 10px; font-size: 11px; letter-spacing: .06em; border-top: 1px solid var(--line); margin-top: 6px; }
  .nav__links a { padding: 9px 0; white-space: nowrap; }

  .hero__in { padding-top: 40px; padding-bottom: 56px; }
  .stats-wrap { padding-bottom: 64px; }
  .hero__copy { gap: 20px; }
  .hero__eyebrow { gap: 8px; font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
  .hero__eyebrow::before { width: 20px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 12px; border: 0; padding: 0; }
  .stat { aspect-ratio: 1 / 1; justify-content: center; align-items: center; gap: 6px; padding: 12px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
  .stat b { font-size: 38px; color: var(--ink); }
  .stat span { font-size: 10px; letter-spacing: .14em; }

  .grid-products, .grid-products--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .card { gap: 10px; }
  .card__name, .night .card__name { font-size: 17px; }
  .card__price { font-size: 14px; }
  .card .label { font-size: 10px; letter-spacing: .1em; }
}

/* shop and personalize: very light cream page background */
body[data-page="shop"], body[data-page="personalize"] { background: #F9F7F2; }

/* ---- product photo lightbox ---- */
.is-zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,19,38,.97); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.lightbox__close, .lightbox__nav { position: absolute; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(239,234,224,.35); background: rgba(24,32,58,.7); color: var(--night-text); border-radius: 999px; cursor: pointer; font-family: var(--f-body); line-height: 1; transition: background .15s, border-color .15s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--night-surface); border-color: var(--gold-light); }
.lightbox__close { top: 16px; right: 16px; width: 46px; height: 46px; font-size: 30px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 38px; padding-bottom: 4px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font: 500 12px var(--f-label); letter-spacing: .16em; color: var(--night-muted); }
@media (max-width: 640px) {
  .lightbox { padding: 64px 8px 52px; }
  .lightbox__nav { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; font-size: 32px; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__img { max-height: calc(100vh - 130px); }
}

/* ---- text pages (shipping & returns) ---- */
.prose { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.prose li:last-child { border-bottom: 1px solid var(--line); }
.prose li strong { color: var(--ink); font-weight: 600; }
.prose p { color: var(--muted); }
body[data-page="help"] { background: #F9F7F2; }
.prose .legal-note { margin: 16px 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.prose .legal-note strong { color: var(--ink); }
.prose section p + p { margin-top: 12px; }
.prose h3 { font: 600 clamp(22px, 2.4vw, 28px)/1.15 var(--f-display); color: var(--ink); margin: 32px 0 10px; }
.ship-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ship-table th, .ship-table td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.ship-table tr:last-child th, .ship-table tr:last-child td { border-bottom: 1px solid var(--line); }
.ship-table th { width: 96px; padding-right: 16px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.ship-table td { color: var(--muted); }
.prose p.fine { font-size: 13px; line-height: 1.6; margin-top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose p + .ship-table { margin-top: 14px; }

/* ---- order page (order.html) ---- */
.ord-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ord-step { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; opacity: .6; }
.ord-step.is-done, .ord-step.is-now { opacity: 1; }
.ord-step.is-now { border-color: var(--gold-text); box-shadow: inset 0 0 0 1px var(--gold-text); }
.ord-step__dot { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 14px var(--f-body); background: #E8E5DA; color: var(--ink); }
.ord-step.is-done .ord-step__dot, .ord-step.is-now .ord-step__dot { background: var(--night); color: #fff; }
.ord-step__t { display: flex; flex-direction: column; gap: 2px; }
.ord-step__t b { font: 600 15px var(--f-body); }
.ord-step__t small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.ord-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.ord-card h2 { margin: 0; font: 600 22px var(--f-display); }
.ord-card p { margin: 0; }
.ord-line { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ord-line__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ord-line__price { white-space: nowrap; font-weight: 500; }
.ord-qty { color: var(--muted); font-weight: 400; }
.ord-totals { display: flex; flex-direction: column; gap: 8px; }
.ord-totals > div { display: flex; justify-content: space-between; gap: 16px; }
.ord-total b { font: 700 26px/1 var(--f-display); }
@media (max-width: 720px) { .ord-steps { grid-template-columns: minmax(0, 1fr); } .ord-step { flex-direction: row; align-items: center; } }
