/* DreamGarage.art landing page
   Layout: a gallery wall. Deep racing-green bands hold the hero, the "what arrives" moment and the footer;
   linen and paper bands carry the reading sections. The inscription, printed as plain type on the mat
   beneath the portrait, is the recurring signature: it sits under the framed hero, and the reservation
   section previews it live on a swatch of the same mat.
   Single-theme by choice (a printed-gift brand look); every colour is explicit. */
:root {
  color-scheme: light;
  --mat-ink: #3a3228;     /* inscription on the mat */
  --mat-ink-2: #6f6558;   /* quieter inscription line */
  --paper: #faf7f2;       /* lightest ground */
  --linen: #efe9e0;       /* second ground, warm grey-beige */
  --ink: #1b2320;         /* green-black text */
  --muted: #5c655f;
  --line: #d9d1c4;
  --green: #16352c;       /* racing green band */
  --green-2: #1f4a3d;     /* hover / button on light */
  --green-ink: #e9e2d4;   /* text on green */
  --green-muted: #b9c3bb; /* secondary text on green */
  --brass: #c59a4a;
  --brass-2: #a97f35;
  --brass-ink: #1b1a14;
  --mat: #f4f2ed;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.55rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
p { margin: 0; }
.lead { font-size: 1.15rem; line-height: 1.55; max-width: 34em; color: var(--green-muted); }
.sub { color: var(--muted); max-width: 36em; }
.fine { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-2); margin: 0;
}
.eyebrow--brass { color: var(--brass); }
.section-head { display: grid; gap: 12px; max-width: 40em; margin-bottom: 36px; }

/* Bands */
.band { padding-block: 64px; }
@media (min-width: 900px) { .band { padding-block: 96px; } }
.band--paper { background: var(--paper); }
.band--linen { background: var(--linen); }
.band--green { background: var(--green); color: var(--green-ink); }
.band--green .sub { color: var(--green-muted); }
.band--green .eyebrow { color: var(--brass); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--green); color: var(--green-ink);
  border-bottom: 1px solid rgba(233, 226, 212, 0.12);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-ink); }
.brand__mark { width: 28px; height: 28px; flex: none; color: var(--brass); transition: transform 0.15s ease; }
.brand:hover .brand__mark { transform: translateY(-1px); }
.brand__word { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1; letter-spacing: 0.005em; white-space: nowrap; }
.brand__word b { font-weight: 600; }
.brand__word em { font-style: italic; font-weight: 500; color: var(--brass); margin-left: 1px; }
.brand:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 2px; }
.nav__links { display: none; gap: 26px; font-size: 0.92rem; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--green-muted); }
.nav__links a:hover { color: var(--green-ink); }
@media (min-width: 760px) { .nav__links { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--brass { background: var(--brass); color: var(--brass-ink); }
.btn--brass:hover { background: #d4a95a; }
.btn--green { background: var(--green); color: var(--green-ink); }
.btn--green:hover { background: var(--green-2); }
.btn--green:disabled { opacity: 0.6; cursor: default; }
.btn--outline { border-color: rgba(233, 226, 212, 0.4); color: var(--green-ink); }
.btn--outline:hover { border-color: var(--green-ink); }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* Hero */
.hero { padding-block: 48px 72px; }
.hero__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } .hero { padding-block: 72px 96px; } }
.hero__copy { display: grid; gap: 22px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.assure { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; color: var(--green-muted); font-size: 0.95rem; }
.assure li { position: relative; padding-left: 26px; }
.assure li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg);
}

.hero__art { display: grid; gap: 18px; justify-items: center; min-width: 0; }
.frame-fig { margin: 0; display: grid; gap: 14px; justify-items: center; width: 100%; min-width: 0; }
/* The hero shows the framed print as a product shot: hung on a dark plank wall, seen from the left
   at an angle, with the frame's depth visible. The wall is the size container for the frame. */
.wall {
  width: 100%; max-width: 640px; container-type: inline-size;
  padding: 8% 9%; border-radius: 3px;
  background: #2a241f url("assets/wall.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.5), 0 30px 50px -30px rgba(0, 0, 0, 0.6);
}
/* Hung flat on the wall, straight on, no motion: depth comes from the cast shadow only */
.frame--3d {
  position: relative;
  box-shadow: 0 34px 56px -24px rgba(0, 0, 0, 0.85), 0 12px 22px -12px rgba(0, 0, 0, 0.55), inset 0 0 0 1px var(--fr-edge), inset 0 1px 0 var(--fr-sheen);
}
.frame__side { display: none; }
.frame-fig figcaption { font-size: 0.85rem; color: var(--green-muted); }
/* The frame: a thin square moulding, a wide mat with a bevelled window, soft shadows where the
   frame meets the mat and the mat meets the print. Colours follow the print supplier: white, black, oak. */
.frame {
  --fr-face: #f4f4f1; --fr-face-2: #e9e9e5; --fr-edge: rgba(0, 0, 0, 0.14); --fr-sheen: rgba(255, 255, 255, 0.75);
  --fr-pad: clamp(6px, 3.4cqw, 20px); /* about 0.75 in on a 16 in print, like the real moulding */
  /* The frame's outer size is fixed (4:3). The print inside sizes itself to the room left:
     with the inscription on it is smaller and the mat wider; with it off it fills the mat. */
  width: 100%; max-width: 540px; aspect-ratio: 4 / 3; box-sizing: border-box;
  padding: var(--fr-pad); border-radius: 1px; display: grid;
  background: linear-gradient(180deg, var(--fr-face), var(--fr-face-2));
  box-shadow:
    0 34px 56px -26px rgba(0, 0, 0, 0.6),
    0 12px 22px -12px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px var(--fr-edge),
    inset 0 1px 0 var(--fr-sheen);
}
.frame[data-color="black"] { --fr-face: #262626; --fr-face-2: #141414; --fr-edge: rgba(255, 255, 255, 0.1); --fr-sheen: rgba(255, 255, 255, 0.14); }
/* "wood" is Printful's third colour: red oak on the framed poster */
.frame[data-color="wood"] { --fr-face: #cfa773; --fr-face-2: #b48a58; --fr-edge: rgba(0, 0, 0, 0.18); --fr-sheen: rgba(255, 255, 255, 0.32); }
.frame__mat {
  background: var(--mat); padding: 5cqw 5cqw 3.5cqw; min-height: 0;
  display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center;
  /* the frame's lip casts a soft shadow onto the mat */
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 8px 14px -8px rgba(0, 0, 0, 0.35), inset 0 -4px 10px -8px rgba(0, 0, 0, 0.18);
}
.frame__mat.no-inscription { grid-template-rows: 1fr; padding-bottom: 5cqw; }
.frame__img {
  /* height = room left in a 4:3 frame after the frame, the mat and (when on) the inscription block;
     never wider than the mat allows, so the print always stays 3:2 */
  --ins: 10cqw;
  height: min(calc(75cqw - 2 * var(--fr-pad) - 8.5cqw - var(--ins)), calc((100cqw - 2 * var(--fr-pad) - 10cqw) / 1.5));
  position: relative; aspect-ratio: 3 / 2; width: auto; max-width: 100%; overflow: hidden; background: #d9d0c2;
  /* the mat is printed on the paper, so the window edge is flat: a hairline only */
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.frame__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05); pointer-events: none; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.frame__mat.no-inscription .frame__img {
  height: min(calc(75cqw - 2 * var(--fr-pad) - 10cqw), calc((100cqw - 2 * var(--fr-pad) - 10cqw) / 1.5));
}

/* The inscription: plain printed type on the mat, up to three lines. It reserves a fixed block
   (the --ins room above) so the frame never changes size as lines are added or removed. */
.frame__mat { text-align: center; }
.inscription {
  display: grid; gap: 0.5cqw; margin: 2cqw auto 0; min-height: 8cqw; align-content: start; max-width: 100%;
  color: var(--mat-ink); text-align: center; overflow-wrap: anywhere; line-height: 1.25;
}
.inscription__l1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(0.74rem, 3.1cqw, 1.1rem); letter-spacing: 0.12em; text-transform: uppercase; }
.inscription__l2 { font-family: var(--font-body); font-weight: 500; font-size: clamp(0.62rem, 2.4cqw, 0.8rem); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mat-ink-2); }
.inscription.is-empty { opacity: 0.55; }

/* Inscription builder under the framed print */
.ins-builder { width: 100%; max-width: 540px; display: grid; gap: 12px; min-width: 0; }
.ins-builder__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.switch { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--green-ink); position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 40px; height: 22px; border-radius: 11px; background: rgba(233, 226, 212, 0.25); position: relative; transition: background 0.15s ease; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-ink); transition: transform 0.15s ease, background 0.15s ease; }
.switch input:checked + .switch__track { background: var(--brass); }
.switch input:checked + .switch__track::after { transform: translateX(18px); background: var(--brass-ink); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--brass); outline-offset: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 0.88rem; font-weight: 600; line-height: 1;
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(233, 226, 212, 0.35); background: transparent; color: var(--green-ink); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--green-ink); }
.chip:disabled { opacity: 0.4; cursor: default; border-color: rgba(233, 226, 212, 0.2); }
.chip[aria-expanded="true"] { background: var(--green-ink); color: var(--green); border-color: var(--green-ink); }
.chip__count { font-weight: 500; opacity: 0.7; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.ins-custom {
  display: grid; gap: 12px; padding: 14px;
  border: 1px solid rgba(233, 226, 212, 0.18); border-radius: var(--radius); background: rgba(0, 0, 0, 0.18);
}
.field--dark label { color: var(--green-ink); }
.field--dark input { background: var(--paper); border-color: transparent; }
.field--dark input:focus { outline-color: var(--brass); border-color: var(--brass); }

.field__label { font-size: 0.9rem; font-weight: 600; }
.field-static {
  font-weight: 500; padding: 11px 13px; border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--paper); overflow-wrap: anywhere;
}

/* Try it now: photo → style → live preview */
.try__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .try__grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; } }
.try__copy { display: grid; gap: 16px; min-width: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; line-height: 1;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pick:hover span { border-color: var(--green); }
.pick input:checked + span { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.pick input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.drop--try { padding: 26px 18px; }
/* More options: plate, colour, setting */
.more { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.more summary {
  cursor: pointer; list-style: none; padding: 12px 16px; font-weight: 600; font-size: 0.92rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-family: var(--font-display); font-size: 1.3rem; color: var(--brass-2); line-height: 1; }
.more[open] summary::after { content: "\2013"; }
.more[open] summary { border-bottom: 1px solid var(--line); }
.more__body { padding: 16px; display: grid; gap: 16px; }
.more__body .field input { background: var(--linen); }
.picks--scene .pick span { font-weight: 500; font-size: 0.86rem; padding: 8px 12px; }
.more__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.more__actions small { color: var(--muted); font-size: 0.82rem; }
.btn--green:disabled { opacity: 0.45; cursor: default; }
.try__go { display: grid; gap: 8px; justify-items: start; }
.try__go small { color: var(--muted); font-size: 0.85rem; }
.try__result-note { flex-basis: 100%; color: var(--muted); font-size: 0.82rem; }
.stage img { -webkit-user-drag: none; user-select: none; }
.try__msg { min-height: 1.4em; font-size: 0.95rem; }
.try__msg.error { color: #9a2f1e; }
.try__stage { display: grid; gap: 14px; min-width: 0; }
/* One fixed area for all three views, so switching never moves the page */
.viewport { position: relative; width: 100%; aspect-ratio: 7 / 6; container-type: size; }
.view { position: absolute; inset: 0; display: grid; place-items: center; min-width: 0; }
.stage {
  position: relative; width: 100%; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden;
  background: var(--mat); border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 30px 60px -36px rgba(27, 35, 32, 0.6);
}
.view .stage { width: min(100%, 150cqh); }
.try__bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; min-height: 2.4em; }
.view-caption { margin: 0; font-size: 0.85rem; color: var(--muted); flex: 1 1 16em; min-width: 0; }
.ins-builder__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ins-builder--light { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.ins-builder--light .switch { color: var(--ink); }
.ins-builder--light .switch__track { background: var(--line); }
.ins-builder--light .switch__track::after { background: var(--ink); }
.ins-builder--light .switch input:checked + .switch__track { background: var(--green); }
.ins-builder--light .switch input:checked + .switch__track::after { background: var(--green-ink); }
.ins-custom--light { background: var(--linen); border-color: var(--line); }
.order { display: grid; gap: 16px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 560px) { .order { padding: 28px; } }
.order h3 { font-size: 1.7rem; }
.order .sub { max-width: 40em; }
.order.done { text-align: center; padding-block: 40px; gap: 10px; }
.order.done h3 { font-size: 1.8rem; }
.order.done p { color: var(--muted); margin-inline: auto; max-width: 36em; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__idle { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 24px; text-align: center; color: var(--mat-ink-2); }
.stage__idle p { max-width: 30em; }
.stage__idle-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--mat-ink); }
.stage[data-state="ready"] .stage__idle, .stage[data-state="working"] .stage__idle, .stage[data-state="done"] .stage__idle { display: none; }
.stage__fx { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; }
.stage[data-state="working"] .stage__fx { opacity: 1; }
.stage[data-state="working"] .stage__before { animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { filter: sepia(0.25) saturate(0.75) blur(1px); }
  50% { filter: sepia(0.45) saturate(0.6) blur(3px); }
}
.stage__sweep {
  position: absolute; left: -10%; right: -10%; height: 2px; top: -4%;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  box-shadow: 0 0 26px 7px rgba(197, 154, 74, 0.35);
  animation: sweep 2.6s linear infinite;
}
@keyframes sweep { from { top: -4%; } to { top: 104%; } }
.stage__strokes {
  position: absolute; inset: -20%;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 18px, rgba(255, 255, 255, 0.16) 18px 26px, rgba(255, 255, 255, 0) 26px 44px);
  mix-blend-mode: overlay;
  animation: strokes 5s linear infinite;
}
@keyframes strokes { from { transform: translate3d(-6%, 0, 0); } to { transform: translate3d(6%, 0, 0); } }
.stage__after { clip-path: inset(0 100% 0 0); transition: opacity 0.2s ease; }
.stage[data-state="done"] .stage__after { animation: reveal 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes reveal { to { clip-path: inset(0 0 0 0); } }
.stage.is-compare .stage__after { opacity: 0; }
.stage__progress {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 16px; display: grid; gap: 8px;
  background: linear-gradient(transparent, rgba(27, 35, 32, 0.78)); color: #fff;
}
.stage__caption { font-size: 0.92rem; font-weight: 500; }
.bar { height: 3px; background: rgba(255, 255, 255, 0.28); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--brass); transition: width 0.6s ease; }
.try__result { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Product views for the preview: framed print and gallery canvas */
.views { display: inline-flex; align-self: start; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.seg {
  border: 0; background: transparent; padding: 8px 14px; border-radius: 999px;
  font: inherit; font-size: 0.88rem; font-weight: 600; line-height: 1; color: var(--muted); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.seg:hover { color: var(--ink); }
.seg.is-active { background: var(--green); color: var(--green-ink); }
/* The framed print takes the same full width as the canvases in the shared view area */
.frame--mock { width: 100%; width: min(100%, 114cqh); max-width: none; }
/* Plain stretched canvas, flat and front-on, gallery wrapped: the image edge to edge, depth from shadows */
.pcanvas { position: relative; width: 100%; width: min(100%, 150cqh); aspect-ratio: 3 / 2; }
.pcanvas__face {
  position: absolute; inset: 0; overflow: hidden; background: #ddd6c8;
  box-shadow:
    0 30px 50px -24px rgba(27, 35, 32, 0.5),
    0 10px 20px -10px rgba(27, 35, 32, 0.35),
    inset 0 0 0 1px rgba(0, 0, 0, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    inset -2px 0 0 rgba(0, 0, 0, 0.12);
}
.pcanvas__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcanvas__face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
}

/* Framed canvas, shown flat and front-on: a thin square-edged floating frame, a recessed shadow gap,
   then the canvas. Depth comes from shadows only. Same 3:2 proportions as the artwork, nothing cropped. */
.fcanvas {
  --fc-face: #f3f3f0; --fc-edge: rgba(0, 0, 0, 0.1); --fc-sheen: rgba(255, 255, 255, 0.6); --fc-gap: #c9c9c4;
  position: relative; width: 100%; width: min(100%, 150cqh); aspect-ratio: 3 / 2;
}
.fcanvas[data-color="black"] { --fc-face: #1f1f1f; --fc-edge: rgba(255, 255, 255, 0.08); --fc-sheen: rgba(255, 255, 255, 0.12); --fc-gap: #0a0a0a; }
/* "wood" is Printful's third colour: dark brown on the framed canvas */
.fcanvas[data-color="wood"] { --fc-face: #5a3d2b; --fc-edge: rgba(255, 255, 255, 0.1); --fc-sheen: rgba(255, 255, 255, 0.16); --fc-gap: #2a1b13; }
.fcanvas__frame {
  position: absolute; inset: 0; background: var(--fc-face);
  box-shadow:
    0 30px 50px -24px rgba(27, 35, 32, 0.5),
    0 10px 20px -10px rgba(27, 35, 32, 0.35),
    inset 0 1px 0 var(--fc-sheen),
    inset 0 0 0 1px var(--fc-edge);
}
.fcanvas__gap {
  position: absolute; inset: 2.6%;
  background: var(--fc-gap);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}
.fcanvas__canvas {
  position: absolute; inset: 1.5%; overflow: hidden; background: #ddd6c8;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
}
.fcanvas__canvas img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcanvas__canvas::after {
  /* canvas weave */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; mix-blend-mode: multiply;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
}

/* Frame colour swatches */
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.swatches__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.swatch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch__chip { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); box-shadow: inset 0 0 0 2px var(--paper); }
.swatch__chip--white { background: #f3f3f0; }
.swatch__chip--black { background: #1f1f1f; }
.swatch__chip--wood { background: #c29a68; }
.swatches[data-wood="brown"] .swatch__chip--wood { background: #5a3d2b; }
.swatch input:checked + .swatch__chip { outline: 2px solid var(--green); outline-offset: 2px; }
.swatch input:focus-visible + .swatch__chip { outline: 2px solid var(--brass); outline-offset: 2px; }
.chip--dark { border-color: var(--line); color: var(--ink); background: var(--paper); }
.chip--dark:hover { border-color: var(--green); }
.chip--dark:active { background: var(--green); color: var(--green-ink); }

/* You don't need to know cars */
.know h2 { margin-bottom: 36px; }
.know__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .know__grid { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.know__item { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); min-width: 0; }
.know__item p { color: var(--muted); }

/* Who is it for */
.who__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .who__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.who__intro { display: grid; gap: 12px; }
.stories { margin: 0; display: grid; }
.story { display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--line); }
.story:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .story { grid-template-columns: 200px 1fr; gap: 24px; } }
.story dt { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.15; }
.story dd { margin: 0; color: var(--muted); }

/* Styles gallery */
.gallery { display: grid; gap: 22px 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; } }
.piece { margin: 0; display: grid; gap: 10px; min-width: 0; }
.piece img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; max-width: 100%;
  border-radius: 2px; box-shadow: 0 18px 30px -22px rgba(27, 35, 32, 0.6);
  transition: transform 0.25s ease;
}
.piece:hover img { transform: translateY(-3px); }
.piece figcaption { display: grid; gap: 2px; font-size: 0.92rem; }
.piece figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 1.38rem; }
.piece figcaption span { color: var(--muted); }

/* Where will it hang: three rooms, three sizes */
.rooms__grid { display: grid; gap: 22px 18px; }
@media (min-width: 720px) { .rooms__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; } }
.room { margin: 0; display: grid; gap: 10px; min-width: 0; }
.room img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; max-width: 100%; border-radius: 2px; box-shadow: 0 24px 40px -28px rgba(27, 35, 32, 0.6); }
.room figcaption { display: grid; gap: 2px; font-size: 0.92rem; }
.room figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 1.38rem; }
.room figcaption span { color: var(--muted); }

/* How it works: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: grid; gap: 8px; padding-top: 16px; border-top: 2px solid var(--green); min-width: 0; counter-increment: step; }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--brass-2); line-height: 1;
  font-variant-numeric: lining-nums;
}
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--muted); }

/* What arrives */
.arrives__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .arrives__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.arrives__photo { margin: 0; min-width: 0; }
.arrives__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8); }
.arrives__copy { display: grid; gap: 18px; min-width: 0; }
.spec { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--green-ink); }
.spec li { padding-left: 22px; position: relative; }
.spec li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 2px; background: var(--brass); }
.arrives .note { color: var(--green-muted); font-size: 0.95rem; padding-top: 6px; border-top: 1px solid rgba(233, 226, 212, 0.18); }

/* Pricing */
.plans { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 600px) { .plans { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  position: relative; display: grid; gap: 12px; align-content: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
}
.plan--featured { border-color: var(--green); box-shadow: 0 24px 40px -28px rgba(22, 53, 44, 0.6); }
.plan__tag {
  position: absolute; top: -12px; left: 20px;
  background: var(--brass); color: var(--brass-ink);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
.plan h3 { font-size: 1.45rem; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums proportional-nums; }
.price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
.plan .plan__sizes { list-style: none; padding: 0; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__sizes li { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink); }
.plan__sizes li + li { border-top: 1px dashed var(--line); }
.plan__sizes b { font-variant-numeric: tabular-nums; }

/* Reserve */
.reserve__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .reserve__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.reserve__copy { display: grid; gap: 14px; }

.form {
  display: grid; gap: 18px;
  background: var(--linen); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
@media (min-width: 560px) { .form { padding: 30px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field small { font-size: 0.85rem; color: var(--muted); }
.field input, .field select {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.field input:focus, .field select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.opt { font-weight: 400; color: var(--muted); }

/* Photo upload */
.drop {
  display: grid; gap: 4px; padding: 20px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.drop:hover, .drop.is-over, .drop:focus-visible { border-color: var(--green); background: #fff; }
.drop__title { font-weight: 600; }
.drop__hint { font-size: 0.85rem; color: var(--muted); max-width: 36em; margin-inline: auto; }
.photo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-list:empty { display: none; }
.photo { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__remove {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: rgba(27, 35, 32, 0.82); color: #fff; font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.photo__remove:hover { background: var(--green); }
.photo__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px;
  font-size: 0.7rem; color: #fff; background: rgba(27, 35, 32, 0.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.photo-msg:empty { display: none; }
.photo-msg.error { color: #9a2f1e; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.4em; font-size: 0.95rem; }
.form-msg.error { color: #9a2f1e; }
.form.done { text-align: center; padding-block: 44px; gap: 10px; }
.form.done h3 { font-size: 1.8rem; }
.form.done p { color: var(--muted); }

/* FAQ */
.faq__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.faq__intro { display: grid; gap: 12px; }
.faq__list details { border-top: 1px solid var(--line); padding-block: 16px; }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  cursor: pointer; list-style: none; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--brass-2); flex: none; line-height: 1; }
.faq__list details[open] summary::after { content: "\2013"; }
.faq__list details p { margin-top: 10px; color: var(--muted); max-width: 60ch; }

/* Footer */
.footer { padding-block: 40px 56px; display: grid; gap: 8px; }
.footer .fine { color: var(--green-muted); max-width: 70ch; }
.footer p { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .piece img { transition: none; }
  .piece:hover img { transform: none; }
  .stage[data-state="working"] .stage__before { animation: none; filter: sepia(0.35) saturate(0.7) blur(2px); }
  .stage__sweep, .stage__strokes { animation: none; display: none; }
  .stage[data-state="done"] .stage__after { animation: none; clip-path: none; }
}
