/* Page layout and sections. The material itself lives in glass.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  text-wrap: pretty;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
h1 { font-size: var(--text-hero); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: var(--text-h2); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: var(--text-h3); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }

/* Atmosphere: the coloured light that gives the glass something to bend. */
.atmos { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #fbf1e5; }
.atmos i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.atmos i:nth-child(1) { width: 58vmax; height: 58vmax; left: -14vmax; top: -22vmax; background: #f9c7ae; }
.atmos i:nth-child(2) { width: 50vmax; height: 50vmax; right: -14vmax; top: -6vmax; background: #c5d2bb; animation-delay: -8s; }
.atmos i:nth-child(3) { width: 46vmax; height: 46vmax; left: 22vmax; bottom: -26vmax; background: #cbd8e3; animation-delay: -16s; }
.atmos i:nth-child(4) { width: 26vmax; height: 26vmax; left: 38vmax; top: 18vmax; background: #fbe6c5; animation-delay: -4s; }
.atmos::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { to { transform: translate3d(6vmax, 5vmax, 0) scale(1.14); } }

.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.eyebrow { display: block; margin-bottom: 18px; font: 600 0.8rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); }
.lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); max-width: 44ch; }
.mark { background: linear-gradient(transparent 66%, rgb(242 169 143 / 0.75) 66%, rgb(242 169 143 / 0.75) 92%, transparent 92%); }

/* ---------- Floating header ---------- */
.site-header { position: sticky; top: 14px; z-index: 40; padding-inline: clamp(10px, 3vw, 32px); margin-top: 14px; min-height: 62px; }
.nav { width: min(1140px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 18px; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; text-decoration: none; font: 700 1.4rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand img { height: 32px; width: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.97rem; transition: background 0.25s; }
.nav__links a:hover { background: rgb(255 255 255 / 0.5); }
.nav__links a[aria-current='page'] { background: rgb(255 255 255 / 0.62); box-shadow: var(--glass-edge); }
.nav__toggle { display: none; width: 46px; padding: 0; }
.nav__sheet { display: none; }
@media (max-width: 820px) {
  .nav__links, .nav > .btn--tint { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__sheet { width: min(1140px, 100%); margin: 8px auto 0; padding: 12px; flex-direction: column; gap: 4px; }
  .nav__sheet[data-open='true'] { display: flex; }
  .nav__sheet a:not(.btn) { padding: 13px 14px; border-radius: var(--r-md); text-decoration: none; font-size: 1.1rem; font-weight: 500; }
  .nav__sheet .btn { margin-top: 8px; }
}

/* ---------- Hero configurator ---------- */
.hero { padding-block: clamp(36px, 4vw, 64px) clamp(56px, 6vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.1rem + 4.5vw, 5.1rem); }
.hero h1 > span { display: block; white-space: nowrap; }
.hero .lede { margin-top: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.stage { position: relative; min-height: clamp(560px, 62vw, 720px); display: flex; align-items: flex-end; justify-content: center; }
.stage__halo { position: absolute; left: 50%; bottom: 14%; width: 86%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0) 68%); }
.stage__fig {
  position: absolute;
  left: 50%;
  bottom: 172px;
  width: auto;
  height: 72%;
  max-width: 96%;
  object-fit: contain;
  transform: translateX(-50%) scale(var(--fig-scale, 1));
  transform-origin: 50% 100%;
  opacity: 0;
  filter: drop-shadow(0 26px 22px rgb(70 50 35 / 0.28));
  transition: opacity 0.45s, transform 0.75s var(--spring);
}
.stage__fig[data-active='true'] { opacity: 1; }
.stage[data-size='100'] { --fig-scale: 0.66; }
.stage[data-size='250'] { --fig-scale: 1; }

.stage__ruler { position: absolute; left: 4px; bottom: 172px; height: 72%; width: 42px; }
.stage__ruler::before { content: ''; position: absolute; left: 0; bottom: 0; top: 0; width: 8px; border-left: 2px solid rgb(43 45 44 / 0.45); border-top: 2px solid rgb(43 45 44 / 0.45); border-bottom: 2px solid rgb(43 45 44 / 0.45); transform: scaleY(var(--fig-scale, 1)); transform-origin: bottom; transition: transform 0.75s var(--spring); }
.stage__ruler b { position: absolute; left: 14px; bottom: calc(100% * var(--fig-scale, 1) - 22px); font: 600 0.82rem/1.2 var(--font-display); white-space: nowrap; transition: bottom 0.75s var(--spring); }

.stage__photo { position: absolute; right: 0; top: 4%; width: clamp(110px, 16%, 150px); padding: 7px; border-radius: 24px; transform: rotate(5deg); }
.stage__photo img { border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; }
.stage__photo span { display: block; padding: 7px 4px 2px; text-align: center; font: 600 0.74rem/1.2 var(--font-body); }

.panel { position: absolute; left: 50%; bottom: 0; width: min(100%, 470px); transform: translateX(-50%); padding: 12px; border-radius: 34px; display: grid; gap: 8px; }
.panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 4px 4px 2px 12px; }
.price { font: 700 2.1rem/1 var(--font-display); letter-spacing: -0.03em; }
.price small { display: block; margin-top: 4px; font: 500 0.76rem/1.2 var(--font-body); letter-spacing: 0; color: var(--ink-soft); }
.note { margin-top: 10px; font-size: 0.86rem; color: var(--ink-soft); text-align: center; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 600px; }
}

/* ---------- Two styles ---------- */
.styles__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.styles { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.style-card { position: relative; display: flex; min-height: 600px; border-radius: var(--r-xl); overflow: hidden; text-decoration: none; color: inherit; }
.style-card--vinyl { background: linear-gradient(160deg, #f7c4ab, #f1a98f 60%, #e99a80); }
.style-card--real { background: linear-gradient(160deg, #d0dcc8, #a8b5a0 75%); }
.style-card img { position: absolute; bottom: 118px; left: 50%; height: 66%; width: auto; max-width: 92%; object-fit: contain; transform: translateX(-50%); transform-origin: 50% 100%; filter: drop-shadow(0 22px 20px rgb(50 40 30 / 0.32)); transition: transform 0.8s var(--spring); }
.style-card:hover img { transform: translateX(-50%) scale(1.04); }
.style-card__body { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.style-card__body p { font-size: 0.96rem; line-height: 1.4; color: var(--ink-soft); margin-top: 3px; }
.style-card__go { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); transition: transform 0.45s var(--spring); }
.style-card:hover .style-card__go { transform: scale(1.1); }
.style-card__go svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .styles { grid-template-columns: minmax(0, 1fr); } .style-card { min-height: 520px; } }

/* ---------- Glass floating over a photo ---------- */
.overlap { position: relative; }
.overlap__img { width: 74%; margin-left: auto; border-radius: var(--r-xl); aspect-ratio: 752 / 530; object-fit: cover; }
.overlap__card { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(52%, 600px); padding: clamp(26px, 3.4vw, 52px); border-radius: var(--r-xl); }
.overlap__card p { margin-top: 20px; color: var(--ink-soft); font-size: 1.1rem; }
.kit { display: flex; gap: 8px; margin-top: 24px; }
.kit i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 2px 3px rgb(255 255 255 / 0.65), inset 0 -3px 5px rgb(0 0 0 / 0.14), 0 5px 10px -4px rgb(0 0 0 / 0.4); }
@media (max-width: 820px) {
  .overlap__img { width: 100%; }
  .overlap__card { position: relative; top: auto; transform: none; width: auto; margin: -56px 12px 0; }
}

/* ---------- Occasions bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--tile); text-decoration: none; color: inherit; }
.tile:nth-child(1) { grid-column: span 5; grid-row: span 2; --tile: linear-gradient(170deg, #f1ddc2, #e7c8a4); }
.tile:nth-child(2) { grid-column: span 4; --tile: linear-gradient(170deg, #cfdbe6, #a9bdcd); }
.tile:nth-child(3) { grid-column: span 3; grid-row: span 2; --tile: linear-gradient(170deg, #f8cdb8, #eea587); }
.tile:nth-child(4) { grid-column: span 4; --tile: linear-gradient(170deg, #d5e0cd, #aebba6); }
.tile img { position: absolute; left: 50%; bottom: 8px; height: 84%; width: auto; max-width: none; transform: translateX(-50%); transform-origin: 50% 100%; filter: drop-shadow(0 16px 14px rgb(50 40 30 / 0.3)); transition: transform 0.8s var(--spring); }
.tile:hover img { transform: translateX(-50%) scale(1.05); }
.tile__label { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 9px 15px; border-radius: 20px; font: 600 0.97rem/1.2 var(--font-display); }
.tile:nth-child(2) img, .tile:nth-child(4) img { left: 72%; height: 92%; }
.tile__copy { position: absolute; left: 20px; bottom: 18px; width: 46%; font-size: 0.93rem; line-height: 1.38; color: var(--ink); }
.tile:nth-child(1) .tile__copy, .tile:nth-child(3) .tile__copy { display: none; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 270px; }
  .tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .tile__copy { display: none; }
  .tile:nth-child(2) img, .tile:nth-child(4) img { left: 50%; height: 84%; }
}

/* ---------- Final call to action ---------- */
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: end; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 76px); padding-bottom: 0; background: linear-gradient(135deg, #39403a, #272b29); color: var(--paper); }
.cta > div { padding-bottom: clamp(32px, 5vw, 76px); }
.cta p { margin-top: 18px; color: rgb(255 248 240 / 0.78); font-size: 1.15rem; max-width: 40ch; }
.cta .btn { margin-top: 30px; }
.cta img { justify-self: center; max-height: 440px; width: auto; filter: drop-shadow(0 26px 34px rgb(0 0 0 / 0.5)); }
@media (max-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr); } .cta > div { padding-bottom: 0; } .cta img { max-height: 320px; } }

/* ---------- How it works ---------- */
.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.2rem); max-width: 16ch; }
.page-head .lede { margin-top: 22px; }
.steps { display: grid; gap: 18px; padding-bottom: var(--section); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 340px; border-radius: var(--r-xl); overflow: hidden; }
.step:nth-child(even) .step__art { order: 2; }
.step__art { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; overflow: hidden; background: var(--art); }
.step__art img { max-height: 300px; width: auto; filter: drop-shadow(0 16px 16px rgb(50 40 30 / 0.28)); }
.step__art .cover { width: 100%; height: 100%; max-height: none; object-fit: cover; position: absolute; inset: 0; filter: none; }
.step__copy { padding: clamp(26px, 4vw, 60px); }
.step__n { display: block; font: 700 clamp(3rem, 2rem + 3vw, 5rem)/1 var(--font-display); letter-spacing: -0.04em; color: rgb(229 139 109 / 0.9); margin-bottom: 12px; }
.step__copy p { margin-top: 12px; color: var(--ink-soft); max-width: 40ch; }
@media (max-width: 760px) { .step { grid-template-columns: minmax(0, 1fr); } .step:nth-child(even) .step__art { order: 0; } }

/* ---------- Figurines page ---------- */

.chooser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: clamp(28px, 3vw, 40px); }
.chooser__style { width: min(100%, 360px); margin-top: 26px; }
.size-card { position: relative; display: flex; flex-direction: column; padding: 16px; border-radius: var(--r-xl); }
.size-card__art { position: relative; height: 340px; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.1)); }
.size-card__art img { position: absolute; left: 50%; bottom: 8px; width: auto; max-width: 90%; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 14px 14px rgb(50 40 30 / 0.3)); }
.size-card[data-size='100'] img { height: 56%; }
.size-card[data-size='250'] img { height: 92%; }
.size-card__tag { position: absolute; left: 10px; top: 10px; padding: 7px 13px; border-radius: 999px; font: 600 0.82rem/1.2 var(--font-body); }
.size-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 12px 4px; }
.size-card__row h3 { font-size: 2rem; }
.size-card ul { list-style: none; margin: 8px 0 18px; padding: 0 12px; color: var(--ink-soft); display: grid; gap: 6px; font-size: 0.98rem; }
.size-card li { display: flex; gap: 10px; align-items: baseline; }
.size-card li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--peach-deep); transform: translateY(-1px); }
.size-card .btn { margin-top: auto; }
@media (max-width: 760px) { .chooser { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 7vw, 104px) var(--section); }
.faq h1 { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.6rem); position: sticky; top: 110px; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 24px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; font: 600 1.12rem/1.3 var(--font-display); cursor: pointer; list-style: none; border-radius: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; position: relative; background: rgb(255 255 255 / 0.6); box-shadow: var(--glass-edge); transition: transform 0.5s var(--spring), background 0.3s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(135deg); background: var(--peach); }
.faq details p { padding: 0 64px 22px 22px; color: var(--ink-soft); }
@media (max-width: 820px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq h1 { position: static; } }

/* ---------- Photo to sculpture ---------- */
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pair { position: relative; display: block; height: clamp(380px, 34vw, 480px); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; color: inherit; background: var(--pair); }
.pair:nth-child(6n + 1) { --pair: linear-gradient(165deg, #f8d3c0, #eeb49c); }
.pair:nth-child(6n + 2) { --pair: linear-gradient(165deg, #d6e1ce, #aebba6); }
.pair:nth-child(6n + 3) { --pair: linear-gradient(165deg, #f6e4c6, #e7c8a4); }
.pair:nth-child(6n + 4) { --pair: linear-gradient(165deg, #d3dfe9, #a9bdcd); }
.pair:nth-child(6n + 5) { --pair: linear-gradient(165deg, #f8d3c0, #eeb49c); }
.pair:nth-child(6n + 6) { --pair: linear-gradient(165deg, #d6e1ce, #aebba6); }
.pair__fig { position: absolute; right: 7%; bottom: 20px; height: 86%; width: auto; max-width: 62%; object-fit: contain; object-position: bottom; transform-origin: 50% 100%; filter: drop-shadow(0 18px 16px rgb(50 40 30 / 0.34)); transition: transform 0.8s var(--spring); }
.pair:hover .pair__fig { transform: scale(1.04); }
.pair__photo { position: absolute; left: 7%; bottom: 26px; width: 34%; aspect-ratio: 3 / 4.4; object-fit: cover; border: 5px solid rgb(255 255 255 / 0.92); border-radius: 16px; transform: rotate(-5deg); box-shadow: 0 16px 28px -12px rgb(50 40 30 / 0.55); transition: transform 0.7s var(--spring); }
.pair:hover .pair__photo { transform: rotate(-2deg) translateY(-4px); }
.pair__label { position: absolute; left: 12px; top: 12px; padding: 9px 16px; border-radius: 20px; font: 600 1rem/1.2 var(--font-display); }
@media (max-width: 900px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pairs { grid-template-columns: minmax(0, 1fr); } .pair { height: 400px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 0 clamp(10px, 3vw, 32px) 16px; }
.footer { width: min(1320px, 100%); margin-inline: auto; padding: clamp(26px, 3vw, 44px); border-radius: var(--r-xl); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
.footer__brand { flex: 1 1 280px; }
.footer__brand p { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.footer nav { display: grid; gap: 8px; font-size: 0.96rem; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__base { flex: 1 1 100%; padding-top: 18px; border-top: 1px solid rgb(43 45 44 / 0.14); font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- Thank-you page ---------- */
.center-card { max-width: 620px; margin: clamp(48px, 8vw, 110px) auto var(--section); padding: clamp(30px, 5vw, 60px); border-radius: var(--r-xl); text-align: center; }
.center-card img { height: 240px; width: auto; margin: 0 auto 22px; filter: drop-shadow(0 16px 14px rgb(50 40 30 / 0.28)); }
.center-card h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem); }
.center-card p { margin-top: 16px; color: var(--ink-soft); }
.center-card code { font: 600 0.95em var(--font-body); background: rgb(255 255 255 / 0.6); padding: 2px 8px; border-radius: 8px; }
.center-card .btn { margin-top: 26px; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal][data-in='true'] { opacity: 1; transform: none; }
