/* Maison Envoi home page: the interactive sections (hero with a live phone, fan of designs, scroll-driven how-it-works,
   atelier film, a section list that drives a phone, tilting gift card, live demos). Colours from site.css. */
:root { --wine: #12100e; --cream: #fffdf8; --shadow: 0 30px 60px -34px rgba(43, 38, 34, .55); }
body { overflow-x: clip; }
.h-r { text-align: right; }
.h-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.h-mid { font-size: clamp(34px, 4.6vw, 56px); font-style: italic; }
.h-mid em, .h-title em, .h-txt em, .h-atelier em { color: var(--gold); }
.h-num { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px var(--sans); font-style: normal; vertical-align: middle; margin-left: 8px; }
.h-pill { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: transparent; border: 1px solid rgba(140,110,60,.45); color: var(--gold); font-size: 12px; letter-spacing: .08em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.from-line { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: 400 13px var(--sans); background: var(--cream); }

/* ---------- 1 · hero ---------- */
.h-hero { padding: 34px 0 60px; }
.h-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; min-height: min(760px, calc(100svh - 68px)); }
.h-proof { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.h-proof .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(168, 134, 79, .6); animation: hPulse 2s infinite; }
@keyframes hPulse { 70% { box-shadow: 0 0 0 9px rgba(168, 134, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(168, 134, 79, 0); } }
.h-title { margin: 14px 0 0; font-size: clamp(46px, 6.4vw, 86px); line-height: 1.02; font-style: italic; }
.h-title > * { display: inline-block; opacity: 0; transform: translateY(26px); animation: hRise .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.h-title > :nth-child(2) { animation-delay: .08s; } .h-title > :nth-child(3) { animation-delay: .16s; } .h-title > :nth-child(4) { animation-delay: .24s; } .h-title > :nth-child(5) { animation-delay: .32s; }
@keyframes hRise { to { opacity: 1; transform: none; } }
.h-hero .lead { font-size: 19px; max-width: 30em; margin: 22px 0 26px; }
.h-stage { position: relative; height: min(700px, 160vw); }
.h-phone { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(290px, 66vw); z-index: 3; }
.h-phone iframe { pointer-events: none; }
.h-cap { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font-size: 12px; color: var(--muted); }
.h-float { position: absolute; z-index: 4; filter: drop-shadow(0 16px 18px rgba(43, 38, 34, .25)); animation: hBob 7s ease-in-out infinite; will-change: transform; pointer-events: none; }
.h-float.f1 { width: 96px; left: 2%; top: 14%; animation-delay: -1s; }
.h-float.f2 { width: 150px; right: -2%; top: 4%; animation-delay: -3s; }
.h-float.f3 { width: 140px; left: -4%; bottom: 14%; animation-delay: -2s; }
.h-float.f4 { width: 120px; right: 0; top: 46%; animation-delay: -4s; }
.h-float.f5 { width: 96px; right: 8%; bottom: 2%; animation-delay: -5s; }
@keyframes hBob { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -12px; rotate: 2deg; } }

/* ---------- 2 · fan of phones ---------- */
.h-fan { padding: 70px 0 60px; border-top: 1px solid var(--line); overflow: hidden; }
.h-fan-head { display: flex; justify-content: space-between; }
.h-big { font-size: clamp(36px, 5.4vw, 66px); font-style: italic; margin: 14px auto 34px; }
.h-track { position: relative; height: 470px; perspective: 1400px; cursor: grab; touch-action: pan-y; user-select: none; }
.h-card { position: absolute; left: 50%; top: 20px; width: 210px; aspect-ratio: 9 / 18.5; margin-left: -105px; border-radius: 30px; padding: 7px; background: #1f1c19; box-shadow: var(--shadow); transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s, filter .5s; text-decoration: none; color: inherit; }
.h-card .scr { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: var(--paper); }
.h-card .scr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-card .nm { position: absolute; left: 0; right: 0; bottom: -36px; text-align: center; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.h-fan-foot { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; font: italic 400 26px var(--serif); }
.h-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-size: 18px; color: var(--ink); }
.h-arrow:hover { border-color: var(--olive); color: var(--olive); }

/* ---------- 3 · grid ---------- */
.h-grid .tcard { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.h-grid .tcard.in { opacity: 1; transform: none; }
.h-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .h-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .h-grid.short .tcard:nth-child(n+9) { display: none; } }
.h-grid.short .tcard:nth-child(n+11) { display: none; }

/* ---------- 4 · how it works ---------- */
.h-how { border-top: 1px solid var(--line); padding-top: 70px; }
.h-how-head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.h-how-pin { height: 330vh; position: relative; }
.h-how-in { position: sticky; top: 68px; height: calc(100svh - 68px); display: grid; grid-template-columns: 170px 1fr .9fr; gap: 34px; align-items: center; }
.h-how-nav { list-style: none; margin: 0; padding: 0; align-self: start; margin-top: 8vh; }
.h-how-nav li { position: relative; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); cursor: pointer; transition: color .4s; }
.h-how-nav li b { font-weight: 400; font-size: 11px; margin-right: 12px; }
.h-how-nav li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--olive); transition: width .6s ease; }
.h-how-nav li.on { color: var(--ink); } .h-how-nav li.on::after { width: 100%; }
.h-how-stage { position: relative; height: min(560px, 70vh); }
.h-vis { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.h-vis.on { opacity: 1; transform: none; pointer-events: auto; }
.h-how-text { position: relative; height: 300px; }
.h-txt { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.h-txt.on { opacity: 1; transform: none; }
.h-txt b { font: italic 400 30px var(--serif); color: var(--brass); }
.h-txt h3 { font-size: clamp(38px, 4.4vw, 58px); font-style: italic; margin: 6px 0 14px; }
.h-txt p { color: #4a433c; max-width: 26em; } .h-txt a { display: inline-block; margin-top: 14px; font-size: 13px; letter-spacing: .1em; color: var(--olive); }
/* step 1 */
.h-env { position: relative; width: 100%; height: 330px; }
.h-env img { position: absolute; left: 50%; top: 0; width: 160px; aspect-ratio: 9 / 16; object-fit: cover; margin-left: -80px; border-radius: 12px; box-shadow: var(--shadow); transform-origin: 50% 120%; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.v1.on .h-env img { transform: rotate(var(--r)) translateX(var(--x)); }
.h-levels { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 470px); border-block: 1px solid var(--ink); margin-top: -10px; background: var(--paper); position: relative; z-index: 2; }
.h-levels div { padding: 14px 10px; text-align: center; } .h-levels div + div { border-left: 1px solid var(--line); }
.h-levels i { display: block; font: italic 400 23px var(--serif); } .h-levels span { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; min-height: 32px; } .h-levels b { display: block; font: 400 24px var(--serif); margin-top: 6px; }
/* step 2 */
.h-brief { width: min(100%, 330px); background: var(--cream); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.h-brief .bh { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; } .h-brief .bh i { font: italic 400 24px var(--serif); }
.h-brief .saved { font-size: 11px; color: #4f8a4f; opacity: 0; transition: opacity .4s; } .v2.typed .saved { opacity: 1; }
.h-brief .bf { padding: 8px 0; border-top: 1px solid var(--line); min-height: 52px; }
.h-brief small { display: block; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.h-brief [data-type] { font-size: 15px; } .h-brief [data-type].typing::after { content: "|"; color: var(--olive); animation: hBlink .8s steps(1) infinite; }
@keyframes hBlink { 50% { opacity: 0; } }
.h-brief .ph { display: flex; gap: 6px; margin: 6px 0; } .h-brief .ph img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.v2.photos .ph img { opacity: 1; transform: none; } .v2.photos .ph img:nth-child(2) { transition-delay: .15s; } .v2.photos .ph img:nth-child(3) { transition-delay: .3s; }
.h-brief .song { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #efe7d8; opacity: 0; transition: opacity .4s .5s; } .v2.photos .song { opacity: 1; }
.h-draft { position: absolute; right: 0; bottom: 4%; width: 150px; border-radius: 14px; overflow: hidden; background: #1f1c19; padding: 5px; box-shadow: var(--shadow); transform: translateY(30px) rotate(6deg); opacity: 0; transition: opacity .6s, transform .9s cubic-bezier(.2, .8, .2, 1); z-index: 3; }
.h-draft img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: 10px; display: block; }
.h-draft span { display: block; padding: 6px 4px 3px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #fff; text-align: center; }
.v2.typed .h-draft { opacity: 1; transform: rotate(4deg); }
/* step 3 */
.h-chat { width: min(100%, 330px); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #e9e2d6; position: relative; z-index: 2; }
.h-chat .ch { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f6f1e7; border-bottom: 1px solid var(--line); }
.h-chat .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: #fff; font: 500 14px var(--sans); }
.h-chat .ch b { display: block; font-weight: 500; font-size: 14px; } .h-chat .ch small { font-size: 11px; color: #4f8a4f; }
.h-chat .cb { padding: 18px 12px 22px; min-height: 260px; background-image: radial-gradient(rgba(43, 38, 34, .05) 1px, transparent 1px); background-size: 14px 14px; }
.bubble { margin-left: auto; width: 86%; background: #dcefc9; border-radius: 12px 4px 12px 12px; padding: 5px; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); opacity: 0; transform: translateY(30px) scale(.9); transform-origin: 100% 0; transition: opacity .5s, transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.v3.sent .bubble { opacity: 1; transform: none; }
.bubble .lp { border-radius: 8px; overflow: hidden; background: #eaf5df; }
.bubble .lp img { width: 100%; height: 120px; object-fit: cover; display: block; }
.bubble .lp div { padding: 8px 8px 6px; } .bubble .lp b { display: block; font-weight: 500; font-size: 12.5px; } .bubble .lp span { display: block; font-size: 11.5px; line-height: 1.35; color: #3e4a35; margin-top: 2px; } .bubble .lp em { display: block; font-style: normal; font-size: 11px; color: #3d6c9c; margin-top: 4px; }
.bubble .tm { display: block; text-align: right; font-size: 10px; color: #5b6b52; padding: 3px 4px 0; } .bubble .ticks { font-style: normal; color: #9aa59a; transition: color .4s; } .v3.read .ticks { color: #3b8fd9; }
.h-rsvp { position: absolute; right: -4%; bottom: 0; width: min(78%, 300px); background: var(--cream); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); z-index: 3; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.v3.read .h-rsvp { opacity: 1; transform: none; }
.h-rsvp .rh { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid var(--line); } .h-rsvp .rh i { font: italic 400 20px var(--serif); }
.h-rsvp .live { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #4f8a4f; animation: hBlink 1.6s steps(1) infinite; }
.h-rsvp .rr { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-14px); transition: opacity .4s, transform .5s; }
.h-rsvp .rr.in { opacity: 1; transform: none; } .h-rsvp .rr b { font-weight: 500; white-space: nowrap; } .h-rsvp .rr.no b { color: var(--muted); font-weight: 400; } .h-rsvp .rr:last-child { border-bottom: 0; }

/* ---------- 5 · quote ---------- */
.h-quote { padding: 110px 0; border-top: 1px solid var(--line); }
.h-say { margin-top: 18px; max-width: 18em; font: italic 400 clamp(34px, 4.8vw, 62px)/1.14 var(--serif); }
.h-say span { opacity: .14; transition: opacity .3s; } .h-say span.on { opacity: 1; }

/* ---------- 6 · save the dates ---------- */
.h-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 14px; }
.h-tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 400 13px var(--sans); cursor: pointer; color: var(--ink); }
.h-tabs button[aria-selected="true"] { background: var(--olive); color: #fff; }
.h-stdnote { max-width: 60ch; margin-bottom: 22px; }
.h-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 210px); gap: 16px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.h-strip > * { scroll-snap-align: start; }
.h-strip .tcard .frame { transition: transform .5s cubic-bezier(.2, .8, .2, 1); } .h-strip .tcard:hover .frame { transform: translateY(-6px); }

/* ---------- 7 · atelier ---------- */
.h-atelier-wrap { padding: 40px 0; }
.h-atelier { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 26px; border-radius: 26px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #2a2520, #15130f 55%, #0c0b09); }
.h-atelier .eyebrow { color: rgba(255, 255, 255, .7); } .h-atelier h2 { font-size: clamp(38px, 4.6vw, 60px); font-style: italic; margin: 12px 0 14px; } .h-atelier h2 em { color: #e2cf9e; }
.h-atelier p { color: rgba(255, 255, 255, .86); max-width: 30em; }
.h-atelier ol { list-style: none; margin: 22px 0 0; padding: 0; } .h-atelier li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .2); } .h-atelier li b { font: italic 400 22px var(--serif); color: #e2cf9e; margin-right: 18px; }
.h-film { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #f8f3e6; }
.h-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-pp { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(18, 16, 14, .82); color: #fff; font-size: 12px; cursor: pointer; }

/* ---------- 8 · inside ---------- */
.h-inside { display: grid; grid-template-columns: 1fr .8fr; gap: 56px; align-items: start; }
.h-secs { list-style: none; margin: 24px 0 0; padding: 0; }
.h-secs li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0 12px 14px; border-top: 1px solid var(--line); cursor: pointer; position: relative; transition: background .3s; }
.h-secs li::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--olive); transform: scaleY(0); transition: transform .4s; }
.h-secs li b { font: italic 400 15px var(--serif); color: var(--muted); padding-top: 4px; }
.h-secs strong { display: block; font: italic 400 22px var(--serif); color: var(--muted); transition: color .3s; }
.h-secs span { display: block; font-size: 14px; color: #4a433c; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s ease, opacity .4s; }
.h-secs li.on strong { color: var(--ink); } .h-secs li.on::before { transform: none; } .h-secs li.on span { max-height: 60px; opacity: 1; }
.h-inside-phone { position: sticky; top: 100px; }
.h-inside-phone .phone { width: min(100%, 310px); } .h-inside-phone iframe { pointer-events: none; }
.h-bar { width: 120px; height: 2px; margin: 16px auto 0; background: var(--line); } .h-bar i { display: block; height: 100%; width: 0; background: var(--olive); }

/* ---------- 9 · plans ---------- */
.h-ticks { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: -16px 0 30px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; background: rgba(255, 253, 248, .7); display: flex; flex-direction: column; position: relative; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price.main { background: #fbf9f5; border-color: rgba(140,110,60,.55); box-shadow: inset 0 0 0 5px #fbf9f5, inset 0 0 0 6px rgba(140,110,60,.28); }
.price.h-exc { background: rgba(255, 253, 248, .7); }
.badge, .h-tag { position: absolute; top: -12px; left: 24px; font: 500 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--brass); color: #fff; }
.h-tag { background: var(--cream); color: var(--ink); border: 1px solid var(--line); } .h-tag.dark { background: var(--noir); color: #fff; border: 0; }
.h-plan { font: italic 400 34px var(--serif); margin-top: 6px; }
.price .amount { font: 400 56px/1 var(--serif); margin: 12px 0 4px; } .h-once { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.price .sub { font-size: 15px; color: #4a433c; }
.price ul { list-style: none; margin: 18px 0 24px; padding: 0; flex: 1; } .price li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: #4a433c; }
.price li::before { content: "— "; color: var(--brass); }
.h-compare { margin-top: 30px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: var(--cream); }
.h-compare summary { cursor: pointer; font: italic 400 22px var(--serif); list-style: none; } .h-compare summary::-webkit-details-marker { display: none; } .h-compare summary::after { content: " +"; color: var(--brass); } .h-compare[open] summary::after { content: " –"; }
.table-scroll { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th { text-align: left; font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--ink); }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } td:first-child { color: var(--muted); }

/* ---------- 10 · gift card ---------- */
.h-gift { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: #efe7d8; border-radius: 26px; padding: 40px; }
.h-gcard-zone { perspective: 900px; display: grid; justify-items: center; gap: 18px; padding: 20px 0; }
.h-gcard { position: relative; width: min(100%, 340px); aspect-ratio: 1.58; border-radius: 22px; background: linear-gradient(135deg, #24201b, #0d0c0a); color: #e2cf9e; display: grid; place-items: center; align-content: center; gap: 2px; box-shadow: 0 30px 40px -24px rgba(43, 38, 34, .7); transform-style: preserve-3d; transition: transform .25s ease-out; overflow: hidden; }
.h-gcard img { width: 70px; height: auto; margin-bottom: 16px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); opacity: 1; transform: translateZ(30px); }
.h-gcard b { font: 400 48px/1 "Pinyon Script", cursive; transform: translateZ(40px); } .h-gcard span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; transform: translateZ(20px); }
.h-gcard .sheen { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 30%) var(--my, 30%), rgba(255, 240, 200, .45), transparent 45%); mix-blend-mode: soft-light; pointer-events: none; }
.h-ghint { font-size: 10px; }
.h-gopts { display: grid; gap: 8px; margin: 22px 0 20px; }
.h-gopts button { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); font: 400 15px var(--sans); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .3s, box-shadow .3s; }
.h-gopts button b { font: 400 22px var(--serif); } .h-gopts button[aria-checked="true"] { border-color: var(--olive); box-shadow: 0 0 0 1px var(--olive); }
.h-small { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- 11 · promise ---------- */
.h-promise { position: relative; padding: 120px 0; text-align: center; overflow: hidden; }
.h-promise .soft { max-width: 34em; margin: 0 auto; }
.h-huge { font-size: clamp(64px, 11vw, 150px); font-style: italic; margin: 10px 0 18px; }
.h-float.p1 { width: 90px; left: 8%; top: 30%; } .h-float.p2 { width: 170px; right: 6%; bottom: 18%; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; } .stats div { background: var(--paper); border-radius: 8px; padding: 12px; } .stats b { font: 400 30px/1 var(--serif); display: block; color: var(--olive); } .stats span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.panel table { min-width: 380px; font-size: 14px; margin: 0; } .panel th { border-bottom-color: var(--line); padding: 8px 6px; } .panel td { padding: 10px 6px; color: var(--ink); }
.pill { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #efe6d3; color: #6b5226; white-space: nowrap; } .pill.no { background: #f0dcd5; color: #7c3a2a; } .pill.wait { background: var(--paper-2); color: var(--muted); }

/* ---------- 13 · demos ---------- */
.h-demos { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.h-demo-phone .phone { width: min(100%, 290px); }
.h-demo-cv { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--paper); }
.h-demo-cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform 4s ease; transform: scale(1.06); }
.h-demo-cv img.on { opacity: 1; transform: none; }
.h-names { display: flex; flex-wrap: wrap; gap: 8px; }
.h-names button { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 8px 15px; font: italic 400 16px var(--serif); letter-spacing: .06em; cursor: pointer; color: var(--ink); text-transform: uppercase; }
.h-names button[aria-pressed="true"] { background: var(--olive); color: #fff; border-color: var(--olive); }

/* ---------- 14-16 ---------- */
.h-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 56px; } .h-cols h3 { font-size: 22px; margin-bottom: 8px; } .h-cols p { color: #4a433c; font-size: 15.5px; }
.h-faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
details { border-top: 1px solid var(--line); padding: 18px 0; } details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 400 23px var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; color: var(--brass); font-size: 26px; line-height: 1; transition: transform .3s; } .faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: #4a433c; max-width: 60ch; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
form { display: grid; gap: 14px; }
label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
input, textarea, select { width: 100%; font: 300 16px var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; }
textarea { min-height: 110px; resize: vertical; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { font-size: 15px; min-height: 1.4em; color: var(--olive-dark); }
.h-foot { border-top: 1px solid var(--line); padding: 50px 0 110px; font-size: 14px; }
.h-foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; } .h-foot-in p { color: var(--muted); margin-top: 10px; max-width: 22em; }
.h-foot-in b { display: block; font: 500 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; } .h-foot-in div > a:not(.brand) { display: block; padding: 4px 0; text-decoration: none; }
.h-foot-bot { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ---------- floating dock ---------- */
.h-dock { position: fixed; left: 50%; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--noir); color: #fff; font-size: 13px; box-shadow: 0 16px 30px -12px rgba(43, 38, 34, .6); transform: translate(-50%, 140%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); white-space: nowrap; }
.h-dock.on { transform: translate(-50%, 0); }
.h-dock span { opacity: .8; margin-right: 8px; } .h-dock a { color: #fff; text-decoration: none; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.h-dock a.q { background: none; border-left: 1px solid rgba(255, 255, 255, .25); border-radius: 0 999px 999px 0; }

/* reveal on scroll */
.h-up { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1); } .h-up.in { opacity: 1; transform: none; }

/* ---------- phone sizes ---------- */
@media (max-width: 900px) {
  .h-hero-in { grid-template-columns: 1fr; min-height: 0; }
  .h-stage { height: 600px; }
  .h-float.f2 { width: 110px; } .h-float.f3 { width: 100px; left: -2%; } .h-float.f4 { width: 90px; } .h-float.f1 { width: 70px; }
  .h-track { height: 430px; } .h-card { width: 180px; margin-left: -90px; }
  .h-how-pin { height: auto; }
  .h-how-in { position: static; height: auto; grid-template-columns: 1fr; gap: 0; }
  .h-how-nav { display: none; }
  .h-how-stage, .h-how-text { display: contents; }
  .h-vis, .h-txt { position: relative; inset: auto; }
  .h-vis { min-height: 470px; margin-top: 40px; } .h-txt { margin-bottom: 30px; }
  .h-vis[data-step="0"] { order: 1; } .h-txt[data-step="0"] { order: 2; } .h-vis[data-step="1"] { order: 3; } .h-txt[data-step="1"] { order: 4; } .h-vis[data-step="2"] { order: 5; } .h-txt[data-step="2"] { order: 6; }
  .h-how-in { display: flex; flex-direction: column; }
  .h-rsvp { right: 0; } .h-draft { width: 120px; }
  .h-atelier, .h-inside, .prices, .h-gift, .duo, .h-demos, .h-cols, .h-faq, .contact, .two, .h-foot-in { grid-template-columns: 1fr; }
  .h-atelier { padding: 16px; gap: 22px; }
  .h-inside-phone { position: relative; top: 0; order: -1; } .h-inside { gap: 30px; }
  .h-gift { padding: 26px 18px; gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .h-dock span { display: none; } .h-dock { padding-left: 6px; }
  .h-r { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-title > *, .h-up, .h-grid .tcard { opacity: 1 !important; transform: none !important; animation: none !important; }
  .h-float, .h-proof .dot { animation: none; }
}
/* grid children may hold wide tables or long words: never let them push the page wider */
.duo > *, .h-inside > *, .h-demos > *, .h-gift > *, .contact > *, .h-faq > *, .h-atelier > *, .h-hero-in > * { min-width: 0; }
@media (max-width: 900px) {
  .h-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .h-grid .tcard h3 { font-size: 20px; } .h-grid .tcard p { font-size: 12.5px; }
  .h-float.p1 { width: 60px; left: 4%; top: 6%; } .h-float.p2 { width: 110px; right: 2%; bottom: 4%; }
  .h-promise { padding: 100px 0 120px; }
}

/* ---------- high-end layer (29.11.2026, round 2): ivoire, noir, champagne; finer type, square edges, more air ---------- */
body::before { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3 { font-weight: 300; }
.h-title, .h-mid, .h-big, .h-say, .h-txt h3, .h-atelier h2, .h-huge { font-style: normal; letter-spacing: -.012em; }
.h-title em, .h-mid em, .h-big em, .h-say em, .h-txt h3 em, .h-atelier h2 em, .h-huge em { font-style: italic; }
.h-title { line-height: .98; font-size: clamp(48px, 6.8vw, 96px); }
.brand { font: 400 15px var(--serif); letter-spacing: .34em; text-transform: uppercase; }
.brand img { width: auto; height: 34px; }
.nav nav { font-size: 11px; letter-spacing: .24em; }
.btn { border-radius: 0; padding: 17px 32px; font-size: 11px; letter-spacing: .28em; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.ghost { border-color: rgba(21, 19, 17, .55); } .btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav .btn { padding: 12px 22px; }
.eyebrow { letter-spacing: .38em; font-size: 10.5px; }
.eyebrow:not(.h-ghint):not(.h-r)::before { content: ""; display: inline-block; width: 26px; height: 1px; background: var(--brass); vertical-align: middle; margin: -2px 12px 0 0; }
section.block { padding: 120px 0; }
.h-fan, .h-how, .h-quote { padding-top: 110px; }
.h-quote { padding-bottom: 140px; }
.h-say { font-weight: 300; }
.h-atelier { border-radius: 0; padding: 34px; } .h-film { border-radius: 0; } .h-pp { border-radius: 0; }
.h-atelier .eyebrow::before { background: #e2cf9e; }
.h-gift { border-radius: 0; background: var(--paper-2); }
.h-gcard { border-radius: 10px; box-shadow: 0 34px 50px -26px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(226, 207, 158, .35); }
.h-gcard::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(226, 207, 158, .3); border-radius: 4px; pointer-events: none; }
.price, .h-compare, .panel, .h-brief, .h-rsvp, .h-gopts button, input, textarea, select { border-radius: 2px; }
.price { padding: 38px 30px; }
.badge { background: var(--gold); border-radius: 0; } .h-tag { border-radius: 0; }
.h-tabs, .h-tabs button, .chip, .h-names button { border-radius: 0; }
.h-tabs button[aria-selected="true"], .h-names button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.h-gopts button[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.h-arrow:hover { border-color: var(--gold); color: var(--gold); }
.h-txt b, .h-secs li b { color: var(--brass); }
.h-dock { border-radius: 0; } .h-dock a { border-radius: 0; } .h-dock a.q { border-radius: 0; }
@media (max-width: 900px) { section.block { padding: 90px 0; } .h-atelier { padding: 18px; } }
.price .eyebrow::before, .h-gift .eyebrow::before { display: none; }
/* atelier like the reference layout: wide dark panel, film in a 16:10 frame on the left (cropped from the vertical AI film), text right */
.h-atelier-wrap { padding: 40px 10px; }
.h-atelier-wrap > .wrap { max-width: none; padding: 0; }
.h-atelier { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); border-radius: 22px; position: relative; overflow: hidden;
  background: radial-gradient(90% 120% at 15% 0%, #2c2620, #15120f 55%, #0b0a08); }
.h-atelier::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: radial-gradient(60% 80% at 85% 100%, rgba(168, 134, 79, .16), transparent 70%); }
.h-atelier > * { position: relative; }
.h-film { aspect-ratio: 16 / 10; border-radius: 16px; background: #1e1915; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .55); }
.h-film video { object-position: 50% 62%; }
.h-pp { width: 42px; height: 42px; border-radius: 50%; right: 14px; bottom: 14px; background: rgba(244, 240, 233, .92); color: var(--ink); }
@media (max-width: 900px) { .h-atelier { grid-template-columns: 1fr; gap: 30px; padding: 22px 18px 34px; border-radius: 18px; } .h-atelier-wrap { padding: 30px 8px; } }
/* product pictures like the reference: a square card, two phones on a calm ground — the envelope in front, the inside behind (29.11.2026) */
.tcard .frame.mock { aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: none; background: radial-gradient(120% 90% at 50% 0%, #f1ece3, #e4dccf 70%, #ddd3c4); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mk-in { position: absolute; z-index: 1; right: 10%; top: 9%; width: 37%; aspect-ratio: 390 / 844; border-radius: 7px; overflow: hidden; box-shadow: 0 22px 30px -16px rgba(30, 24, 18, .45), 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.mk-in img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-ph { position: absolute; z-index: 2; left: 11%; bottom: 7%; width: 39%; aspect-ratio: 9 / 19.2; border-radius: 15% / 7%; background: #121110; padding: 2.6%; box-shadow: 0 26px 34px -16px rgba(20, 16, 12, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.mk-scr { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: var(--paper); }
.tcard:hover .mk-ph, .tcard:focus .mk-ph { transform: translateY(-6px) rotate(-1.5deg); }
.tcard:hover .mk-in, .tcard:focus .mk-in { transform: translateY(-10px) rotate(1.5deg); }
.h-legal { display: flex; gap: 18px; flex-wrap: wrap; } .h-legal a { text-decoration: none; } .h-legal a:hover { color: var(--gold); } @media (max-width: 900px) { .h-foot-bot { flex-wrap: wrap; gap: 10px 18px; } }

/* 2026-11-29 (Meli, like the reference site): on hover the card only grows a little and the name is underlined;
   nothing opens, nothing turns white */
.tcard .frame.mock { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.tcard:hover .frame.mock, .tcard:focus-visible .frame.mock { transform: scale(1.03); box-shadow: 0 22px 36px -26px rgba(30, 24, 18, .45); }
.tcard:hover .mk-ph, .tcard:focus .mk-ph, .tcard:hover .mk-in, .tcard:focus .mk-in { transform: none !important; }
.tcard h3 { display: inline-block; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s ease; padding-bottom: 2px; }
.tcard:hover h3, .tcard:focus-visible h3 { background-size: 100% 1px; }
.h-strip .tcard:hover .frame { transform: scale(1.03); }
.cvhost .cv-still { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 2026-11-29 (Meli: "Choose takes far too long to scroll"): a shorter pinned stretch */
.h-how-pin { height: 210vh; }
@media (max-width: 900px) { .h-how-pin { height: auto; } }
