@font-face {
  font-family: 'Urbanist';
  src: url('fonts/urbanist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --beige: #e8ddcb;      /* 60 */
  --beige-hi: #f2ebe0;   /* lighter tint of the 60, for fields */
  --blush: #e2b5ac;      /* 30 */
  --oxblood: #7a1f33;    /* 10 */
  --ink: #3b141c;        /* deep oxblood shade for text */
  --ink-soft: #6a3a40;
  --on-accent: #f4ece0;
  --line: rgba(59, 20, 28, .2);
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { background: var(--beige); color: var(--ink); font-family: 'Urbanist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: hidden; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 750; margin: 0 0 18px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 30; background: var(--ink); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 3px; border-radius: 8px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); transition: background-color .3s, box-shadow .3s, padding .3s; }
.nav.solid { background: rgba(232, 221, 203, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(59, 20, 28, .1); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 750; letter-spacing: -0.02em; }
.tag { font-size: 12px; font-weight: 650; letter-spacing: .01em; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 9px 4px; }
.links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

.btn { display: inline-block; background: var(--oxblood); color: var(--on-accent); text-decoration: none; border: 0; cursor: pointer; font: 650 17px/1.1 'Urbanist', system-ui, sans-serif; padding: 15px 28px; border-radius: 999px; transition: transform .25s var(--ease-out), background-color .2s; }
.btn:hover { background: #8d2740; }
.btn:active { transform: scale(.97); }
.btn-sm { font-size: 14px; padding: 9px 16px; }
/* Not a working button yet: stitched outline, no hover, no pointer. */
.btn.soon { background: transparent; color: var(--oxblood); border: 2px dashed var(--oxblood); padding: 13px 26px; cursor: default; }
.btn.soon:hover { background: transparent; }
.btn.soon:active { transform: none; }

/* The journey: one pinned 3D stage behind the hero and the form */
.journey { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; z-index: 0; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s var(--ease-out); }
#scene.ready { opacity: 1; }
.fallback { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.no-webgl .fallback { display: block; }
.no-webgl #scene, .no-webgl .overlay { display: none; }
.overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.overlay .w { font-family: 'Urbanist', system-ui, sans-serif; font-weight: 700; fill: var(--oxblood); }
.tape text { font-family: 'Urbanist', system-ui, sans-serif; font-weight: 650; fill: var(--ink); }
.overlay .lab { font-family: 'Urbanist', system-ui, sans-serif; font-weight: 700; fill: var(--oxblood); letter-spacing: .02em; }

.hero { position: relative; z-index: 1; height: 240vh; }
.hero-first { height: 100vh; height: 100svh; display: flex; align-items: flex-end; justify-content: center; padding: 0 var(--gutter) clamp(20px, 5vh, 56px); }
.intro { text-align: center; width: min(100%, 560px); opacity: calc(1 - var(--p, 0) * 10); }
.lede { margin: 0 0 16px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; font-weight: 600; }

/* The form, beside the chosen mannequin */
.find { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: flex-end; padding: 96px var(--gutter) 64px; }
.card { width: min(100%, 470px); background: var(--beige); border: 1px solid rgba(122, 31, 51, .14); border-radius: 26px; padding: 30px; box-shadow: 0 40px 80px -40px rgba(59, 20, 28, .45); }
.card h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 8px; }
.hint { margin: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.45; font-weight: 550; }

fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { padding: 0; margin: 0 0 8px; font-size: 14px; font-weight: 750; letter-spacing: .01em; }
legend em { font-style: normal; font-weight: 550; color: var(--ink-soft); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field > span:first-child { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin: 0 0 4px 2px; }
select, input[type=number] { width: 100%; min-height: 46px; font: 650 16px 'Urbanist', system-ui, sans-serif; color: var(--ink); background-color: var(--beige-hi); border: 1.5px solid var(--line); border-radius: 13px; padding: 10px 12px; transition: border-color .15s; }
select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233b141c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
select:hover, input[type=number]:hover { border-color: rgba(59, 20, 28, .4); }
input[type=number] { padding-right: 42px; -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input::placeholder { color: #7a5c5e; }
.unit { position: relative; display: block; }
.unit b { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 650; color: var(--ink-soft); pointer-events: none; }
.scale-note { margin: 8px 2px 0; font-size: 13px; line-height: 1.4; color: var(--ink-soft); min-height: 1.4em; }

.seg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--beige-hi); border: 1.5px solid var(--line); border-radius: 999px; }
.seg-row label { position: relative; cursor: pointer; }
.seg-row input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-row span { display: block; text-align: center; padding: 10px 8px; border-radius: 999px; font-weight: 700; font-size: 15.5px; transition: background-color .25s var(--ease-out), color .25s; }
.seg-row input:checked + span { background: var(--oxblood); color: var(--on-accent); }
.seg-row input:focus-visible + span { outline: 3px solid var(--oxblood); outline-offset: 2px; }

.submit { width: 100%; margin-top: 4px; }
.answer { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: var(--blush); }
.answer .label { display: block; font-size: 14px; font-weight: 700; }
.answer .size { display: block; font-size: clamp(56px, 6vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--oxblood); margin: 4px 0 2px; }
.answer p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; font-weight: 550; }
.answer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.answer li { background: var(--beige); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 14px; }

/* Shops */
.shops { position: relative; z-index: 2; background: var(--beige); padding: clamp(80px, 12vw, 140px) var(--gutter); }
.shops > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.shop-label { margin-top: 28px; font-size: 15px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.shop-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin-top: 14px; }
.shop-list li, .shop-other .pill { font-size: clamp(20px, 2.6vw, 34px); font-weight: 700; padding: 10px 22px 12px; border: 2px dashed rgba(122, 31, 51, .5); border-radius: 999px; }
.shop-other { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 22px 28px; border-radius: 32px; background: var(--oxblood); color: var(--on-accent); }
.shop-other .pill { flex: none; border-color: rgba(244, 236, 224, .6); }
.shop-other p { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.45; font-weight: 550; }

/* Install */
.install { position: relative; z-index: 2; background: var(--blush); padding: 120px 48px; }
.install-inner { max-width: 820px; margin: 0 auto; }
.install p { font-size: 19px; line-height: 1.5; font-weight: 550; max-width: 640px; }
.install .steps-lead { margin-top: 18px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 30px; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px; font-size: 18px; line-height: 1.4; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px dashed var(--oxblood); font-weight: 800; font-size: 20px; color: var(--oxblood); }
.small { font-size: 15px !important; color: var(--ink-soft); }

/* Privacy */
.privacy { position: relative; z-index: 2; background: var(--beige); padding: clamp(80px, 11vw, 130px) var(--gutter); }
.privacy > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.privacy p { font-size: 18px; line-height: 1.55; font-weight: 550; }
.privacy .big { font-size: clamp(19px, 1.8vw, 23px); }
.privacy h3 { margin-top: 40px; font-size: clamp(20px, 2vw, 24px); font-weight: 750; line-height: 1.3; }
.privacy h3 small { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.collect { list-style: none; padding: 0; margin: 20px auto 24px; display: grid; gap: 10px; }
.collect li { position: relative; padding: 12px 16px 12px 44px; background: var(--beige-hi); border-radius: 14px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.collect li::before { content: ''; position: absolute; left: 19px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--oxblood); transform: translateY(-50%); }

.foot { position: relative; z-index: 2; background: var(--oxblood); color: var(--on-accent); padding: 44px var(--gutter); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: baseline; justify-content: space-between; font-size: 15px; font-weight: 600; }
.foot-brand { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }

@media (max-width: 860px) {
  .find { justify-content: center; align-items: flex-end; padding-top: 58vh; padding-top: 58svh; }
}
@media (max-width: 720px) {
  .card { padding: 22px; }
  .install { padding: 80px 16px; }
  .shop-other { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; border-radius: 24px; }
  .shop-other .pill { font-size: clamp(17px, 5vw, 20px); padding: 8px 16px 10px; }
  .links a:not(.btn) { display: none; }
  .brand { font-size: 21px; }
  .grid2 { gap: 8px; }
}
