/* Friedolin by Peter Wiegel, SIL Open Font License. Lives in assets/fonts/ */
@font-face {
  font-family: "Friedolin";
  src: url("fonts/friedolin.woff") format("woff"), url("fonts/friedolin.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Palette and type ----------
   Change these colours to restyle the whole site. */
:root {
  --base: #E9EBDF;       /* page background — your signature sage-cream */
  --paper: #F7F8F2;      /* cards and the form */
  --ink: #34302D;        /* text and buttons */
  --ink-soft: #67615B;   /* secondary text */
  --star: #B3A79D;       /* the signature stars */
  --star-deep: #8E8178;  /* stars that need to stand out a little more */
  --stone: #DDD4CB;      /* soft taupe tints */
  --sage: #D3D8C2;
  --sand: #E6DED0;
  --mist: #D2CCC4;
  --line: #D8DACC;
  --focus: #7D6E62;
  --error: #A23B3B;

  --display: "Friedolin", "IM Fell English", Georgia, serif;   /* titles and decorative text */
  --body: "IM Fell English", Georgia, "Times New Roman", serif;  /* body copy */
  --caps: "IM Fell English SC", var(--body);                     /* buttons */

  --r-lg: 28px;
  --r-md: 16px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font: 400 1.1875rem/1.6 var(--body);
  font-synthesis: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 2.85rem); }
h3 { font-size: 1.5rem; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

/* The signature star, used as a mask so it can take any colour */
.star-shape, .brand__star, .sheet__piece::before, .steps li::after, .book__notes li::before {
  -webkit-mask: url("star.svg") center / contain no-repeat;
          mask: url("star.svg") center / contain no-repeat;
}

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper);
  font: 400 1.15rem/1 var(--caps); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #24201E; }
.btn:active { transform: scale(.98); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: rgba(54,49,46,.06); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--stone); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--ink); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(233,235,223,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--display); font-size: 1.7rem; text-decoration: none; white-space: nowrap; }
.brand__star { flex: none; width: 22px; height: 22px; background: var(--star-deep); transform: rotate(-12deg); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 560px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero: the flash sheet ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(120px, 14vw, 190px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("stars-hero.svg") center bottom / cover no-repeat;
  /* let the stars drift off softly instead of stopping in a hard line */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.hero__inner { position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__text { max-width: 34rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 30rem; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; }
.hero__meta { margin: 30px 0 0; font-size: .95rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dot-open { width: 9px; height: 9px; border-radius: 50%; background: #7E8F5E; box-shadow: 0 0 0 4px rgba(126,143,94,.22); margin-left: 6px; }

.sheet {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 1px 1px, rgba(54,49,46,.10) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(54,49,46,.25);
}
.sheet__piece {
  position: absolute; margin: 0;
  padding: 10px; background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 10px 24px -12px rgba(54,49,46,.35);
}
.sheet__piece img { border-radius: 3px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* each piece is pinned with a star */
.sheet__piece::before {
  content: ""; position: absolute; top: -18px; left: 50%; width: 40px; height: 40px;
  transform: translateX(-50%) rotate(var(--pin-rot, -10deg));
  background: var(--pin, var(--star-deep));
  filter: drop-shadow(0 2px 2px rgba(54,49,46,.18));
}
.sheet__piece--1 { --pin: var(--star-deep); --pin-rot: -14deg;     width: 44%; left: 7%;  top: 8%;  transform: rotate(-5deg); }
.sheet__piece--2 { --pin: var(--star); --pin-rot: 10deg; width: 38%; right: 7%; top: 5%;  transform: rotate(4deg); }
.sheet__piece--3 { --pin: var(--star); --pin-rot: -4deg;    width: 36%; left: 13%; bottom: 6%; transform: rotate(3deg); }
.sheet__piece--4 { --pin: var(--star-deep); --pin-rot: 18deg;     width: 41%; right: 6%; bottom: 9%; transform: rotate(-3deg); }

@media (max-width: 860px) {
  .hero::before { background-size: 1000px auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .sheet { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 36px; }
.empty { color: var(--ink-soft); }

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 22px; }
.gallery__item { break-inside: avoid; margin-bottom: 26px; }
.gallery__btn { display: block; width: 100%; padding: 12px; border: 0; border-radius: var(--r-md); cursor: zoom-in; background: var(--tint); }
.gallery__btn img { border-radius: 8px; width: 100%; }
.tint-0 { --tint: var(--stone); }
.tint-1 { --tint: var(--sage); }
.tint-2 { --tint: var(--mist); }
.tint-3 { --tint: var(--sand); }
.gallery__cap { margin: 10px 4px 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 600px) {
  .gallery { columns: 2; column-gap: 12px; }
  .gallery__item { margin-bottom: 16px; }
  .gallery__btn { padding: 7px; border-radius: 12px; }
  .gallery__btn img { border-radius: 6px; }
  .gallery__cap { font-size: .88rem; margin-top: 6px; }
}

/* Steps — a real sequence, so it's numbered */
.section--steps { background: var(--paper); border-block: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: step; position: relative; padding-top: 84px; }
.steps li::after {
  content: ""; position: absolute; top: -4px; left: -6px; width: 72px; height: 72px;
  background: var(--step-star, var(--star)); transform: rotate(var(--step-rot, -8deg));
}
.steps li::before {
  content: counter(step);
  position: absolute; z-index: 1; top: 25px; left: 18px; width: 24px; text-align: center;
  font: 400 1.45rem/1 var(--display); color: var(--ink);
}
.steps li:nth-child(1) { --step-star: var(--star); --step-rot: -10deg; }
.steps li:nth-child(2) { --step-star: var(--star); --step-rot: 6deg; }
.steps li:nth-child(3) { --step-star: var(--star); --step-rot: -2deg; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-soft); max-width: 22rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps li { padding: 4px 0 0 84px; min-height: 64px; } }

/* About */
.about { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--empty { display: grid; place-items: center; background: url("stars-hero.svg") center bottom / 260% auto no-repeat, var(--sand); }
.about__photo--empty span { font: 400 9rem/1 var(--display); color: var(--ink); opacity: .75; margin-top: -20%; }
.about__text { max-width: 36rem; }
.about__text h2 { margin-bottom: 22px; }
.about__where { color: var(--ink-soft); margin-top: 22px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 300px; } }

/* ---------- Booking ---------- */
.section--book { background: linear-gradient(180deg, var(--base), #E1E3D4); }
.book { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.book__intro { position: sticky; top: 100px; }
.book__intro h2 { margin-bottom: 18px; }
.book__intro > p { color: var(--ink-soft); max-width: 26rem; }
.book__notes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 26rem; }
.book__notes li { position: relative; padding-left: 26px; font-size: .98rem; }
.book__notes li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; background: var(--star-deep); }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } .book__intro { position: static; } }

.card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: 0 1px 0 var(--line), 0 30px 70px -40px rgba(54,49,46,.35); }

.progress { list-style: none; margin: 0 0 30px; padding: 0; display: flex; gap: 8px; }
.progress li { flex: 1; font-size: 1rem; color: var(--ink-soft); padding-top: 12px; position: relative; }
.progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: var(--line); transition: background .25s ease; }
.progress li.is-done::before, .progress li.is-current::before { background: var(--ink); }
.progress li.is-current { color: var(--ink); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .step { display: none; }
.js .step.is-active { display: block; animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step legend { font: 400 1.85rem/1.2 var(--display); margin-bottom: 22px; padding: 0; }
.no-js .step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row .field--narrow { max-width: none; }
.row:has(.field--narrow) { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 520px) { .row, .row:has(.field--narrow) { grid-template-columns: 1fr; } }

.field { margin-bottom: 22px; }
.field > label, .label { display: block; font-size: 1.12rem; margin-bottom: 8px; }
.opt { font-style: italic; color: var(--ink-soft); font-size: 1rem; margin-left: 4px; }
.hint { margin: 6px 0 0; font-size: .9rem; color: var(--ink-soft); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #FBFBF7; color: var(--ink);
  font: inherit; font-size: 1.1rem;  /* 16px+ stops iOS zooming in */
  transition: border-color .15s ease, background .15s ease;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5l6 6 6-6' stroke='%2336312E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
input::placeholder, textarea::placeholder { color: #A39B92; }
input:hover, select:hover, textarea:hover { border-color: #C9C3B6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); background: var(--paper); box-shadow: 0 0 0 4px rgba(125,110,98,.2); }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .9rem; margin: 7px 0 0; }

/* Pill chips (radio / checkbox) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #FBFBF7; font-size: .98rem; transition: background .15s ease, border-color .15s ease; }
.chip:hover span { border-color: #C9C3B6; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Larger tattoo-type cards */
.choices { display: grid; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 18px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #FBFBF7; transition: background .15s ease, border-color .15s ease; }
.choice span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #B3A79D; background: var(--paper); transition: box-shadow .15s ease, border-color .15s ease; }
.choice input:checked + span { border-color: var(--ink); background: var(--paper); }
.choice input:checked + span::before { border-color: var(--ink); box-shadow: inset 0 0 0 5px var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Checkbox rows */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 1rem; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }

/* Image upload */
.drop { position: relative; display: grid; place-items: center; min-height: 112px; padding: 20px; border: 1.5px dashed #B9B0A5; border-radius: var(--r-md); background: rgba(179,167,157,.12); text-align: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.drop:hover, .drop.is-over { background: rgba(179,167,157,.24); border-color: var(--focus); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.drop__text { color: var(--ink-soft); font-size: .98rem; max-width: 22rem; }
.drop__text::before { content: "+"; display: block; margin: 0 auto 6px; font: 400 1.9rem/1 var(--body); color: var(--ink); }
.thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs li { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(54,49,46,.82); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; display: grid; place-items: center; }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__error, .alert { background: #F6E6E1; color: var(--error); border-radius: 12px; padding: 12px 16px; font-size: .98rem; }
.form__nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.form__nav [data-back] { margin-right: auto; }
.no-js [data-next], .no-js [data-back] { display: none; }
@media (max-width: 420px) { .form__nav .btn { flex: 1; padding: 0 16px; } }

.done, .closed { text-align: center; padding: 28px 8px; }
.done h3, .closed h3 { font-size: 2rem; margin-bottom: 12px; }
.done p, .closed p { color: var(--ink-soft); max-width: 26rem; margin-inline: auto; }
.done::before {
  content: ""; display: block; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='24' fill='none'%3E%3Cpath d='M2.5 12.5l9 9 18-19' stroke='%2336312E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
  animation: pop .45s cubic-bezier(.2,1.4,.4,1);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: hidden; padding: 56px 0 40px; background: var(--ink); color: #DCD8D0; }
.foot::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("stars-footer.svg") right bottom / auto 100% no-repeat; opacity: .55; }
.foot__inner { position: relative; }
.foot__inner { display: grid; gap: 6px; }
.foot__brand { font: 400 2.1rem/1.2 var(--display); color: var(--paper); margin-bottom: 8px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { color: var(--paper); text-underline-offset: 4px; }
.foot__small { font-size: .88rem; opacity: .7; margin-top: 18px; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 14px; border-radius: 20px; background: var(--paper); max-width: min(92vw, 760px); max-height: 92vh; box-shadow: 0 30px 80px rgba(54,49,46,.4); }
.lightbox::backdrop { background: rgba(54,49,46,.55); backdrop-filter: blur(4px); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox__cap { margin: 12px 4px 2px; color: var(--ink-soft); }
.lightbox form { position: absolute; top: 22px; right: 22px; margin: 0; }
.lightbox__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(54,49,46,.25); }

/* ---------- Flash ---------- */
.section--flash { position: relative; }
.section__lede { color: var(--ink-soft); margin: 0; max-width: 30rem; }
.fsheets { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 44px 32px; }
.fsheets__item { text-align: center; }
.fcover {
  position: relative; display: block; width: 100%; padding: 12px; border: 0; cursor: pointer;
  background: var(--paper); border-radius: 6px;
  box-shadow: 0 14px 30px -16px rgba(54,49,46,.45);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .25s ease, box-shadow .25s ease;
}
.fcover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; background: var(--sand); }
.fcover:hover, .fcover:focus-visible { transform: rotate(0deg) translateY(-4px); box-shadow: 0 22px 40px -18px rgba(54,49,46,.5); }
.fcover__pin {
  position: absolute; top: -17px; left: 50%; width: 38px; height: 38px; transform: translateX(-50%) rotate(-12deg);
  background: var(--star-deep); filter: drop-shadow(0 2px 2px rgba(54,49,46,.2));
  -webkit-mask: url("star.svg") center / contain no-repeat; mask: url("star.svg") center / contain no-repeat;
}
.fcover__title { font: 400 1.55rem/1.2 var(--display); margin: 20px 0 2px; }
.fcover__meta { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Viewer */
.fview { border: 0; padding: 0; width: min(1080px, 100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 26px; background: var(--base); color: var(--ink); box-shadow: 0 40px 100px rgba(54,49,46,.5); overflow-x: hidden; }
.fview::backdrop { background: rgba(54,49,46,.62); backdrop-filter: blur(4px); }
.fview[open] { animation: fviewIn .28s ease; }
@keyframes fviewIn { from { opacity: 0; } to { opacity: 1; } }
.fview__inner { padding: clamp(16px, 3vw, 30px); }
.fview__top { position: sticky; top: calc(-1 * clamp(16px, 3vw, 30px)); z-index: 2; display: flex; align-items: center; gap: 14px; margin: calc(-1 * clamp(16px, 3vw, 30px)) calc(-1 * clamp(16px, 3vw, 30px)) 14px; padding: clamp(14px, 2.4vw, 22px) clamp(16px, 3vw, 30px); background: rgba(233,235,223,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fview__top h2 { flex: 1; font-size: clamp(1.7rem, 3.4vw, 2.4rem); min-width: 0; }
.fview__back { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 400 1.05rem var(--body); cursor: pointer; }
.fview__back::before { content: "‹"; font-size: 1.5rem; line-height: 1; margin-top: -3px; }
.fview__x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(54,49,46,.15); }
.fview__note { color: var(--ink-soft); margin: -4px 0 18px; }
.fghost { position: fixed; z-index: 5; pointer-events: none; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 50px rgba(54,49,46,.4); }

.fdesigns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.fdesigns__empty { color: var(--ink-soft); padding: 30px 0; }
.fdesign { position: relative; display: flex; flex-direction: column; width: 100%; padding: 10px 10px 14px; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 1px 0 var(--line), 0 12px 26px -20px rgba(54,49,46,.5); transition: transform .2s ease, box-shadow .2s ease; font: inherit; }
.fdesign:hover, .fdesign:focus-visible { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 20px 34px -20px rgba(54,49,46,.55); }
.fdesign__img { display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #fff; }
.fdesign__img img { width: 100%; height: 100%; object-fit: contain; }
.fdesign__name { margin: 10px 4px 0; font-size: 1.12rem; line-height: 1.3; }
.fdesign__price { margin: 2px 4px 0; color: var(--ink-soft); font-size: .98rem; }
.fdesign__tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border-radius: var(--r-pill); background: var(--sage); font-size: .9rem; }
.fdesign > .fdesign__tag { position: absolute; top: 18px; left: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.fdesign__tag--claimed { background: var(--ink); color: var(--paper); }
.fdesign.is-claimed .fdesign__img img { opacity: .45; filter: grayscale(1); }

.fdetail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
@media (max-width: 720px) { .fdetail { grid-template-columns: 1fr; } }
.fdetail__img { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line); }
.fdetail__img img { width: 100%; max-height: 72dvh; object-fit: contain; }
.fdetail__info h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 4px 0 10px; }
.fdetail__badges { display: flex; gap: 8px; margin: 0 0 6px; }
.fdetail__price { font-size: 1.45rem; margin: 0; }
.fdetail__deposit { margin: 4px 0 0; color: var(--ink-soft); }
.fdetail__small { color: var(--ink-soft); font-size: .98rem; font-style: italic; margin: 12px 0 18px; }
.fdetail__info .chip small { font-size: .85em; opacity: .75; margin-left: 4px; }
.chip input:checked + span small { opacity: .85; }
.fdetail__book { width: 100%; margin-top: 4px; }

/* The chosen design inside the booking form */
.fchosen { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--base); box-shadow: inset 0 0 0 1.5px var(--line); }
.fchosen img { width: 56px; height: 70px; object-fit: contain; border-radius: 8px; background: #fff; flex: none; }
.fchosen__text { flex: 1; min-width: 0; display: grid; }
.fchosen__label { font-size: .95rem; color: var(--ink-soft); font-style: italic; }
.fchosen__text strong { font-weight: 400; font-size: 1.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fchosen .textbtn { background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font: inherit; padding: 6px 0; }
.fpick__empty { margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(179,167,157,.14); }
.fpick .chip small { font-size: .85em; opacity: .75; margin-left: 4px; }
.section--flash .section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
@media (max-width: 560px) {
  .fdesigns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fdesign { padding: 6px 6px 10px; border-radius: 12px; }
  .fdesign__name { font-size: 1rem; margin: 8px 2px 0; }
  .fdesign__price { font-size: .9rem; margin: 0 2px; }
  .fdesign > .fdesign__tag { top: 10px; left: 10px; font-size: .78rem; min-height: 22px; padding: 0 8px; }
  .fview__top h2 { font-size: 1.5rem; }
  .fsheets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .fcover { padding: 7px; }
  .fcover__pin { width: 30px; height: 30px; top: -13px; }
  .fcover__title { font-size: 1.25rem; margin-top: 14px; }
  .fcover__meta { font-size: .9rem; }
}
