@font-face{font-family:Hermitage;src:url(fonts/hermitage-regular.ttf) format("truetype");font-display:swap}
@font-face{font-family:"Be Vietnam Pro";src:url(fonts/BeVietnamPro-Light.ttf) format("truetype");font-weight:300;font-display:swap}
@font-face{font-family:"Be Vietnam Pro";src:url(fonts/BeVietnamPro-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Be Vietnam Pro";src:url(fonts/BeVietnamPro-Medium.ttf) format("truetype");font-weight:500;font-display:swap}

/* Gilded's own palette (from the Webflow site's color tokens). Layout, sizes and motion follow
   the MOD booking page one to one: steps on the left half, a full-height photo on the right half. */
:root{
  --ink:#6E5A45;--deep:#3A2E24;--cream:#F7EEE1;--card:#FFFFFF;--line:#E6DACA;--mute:#B7A48D;
  --tone:#EFE3D1;--sand:#E4D8C4;--gold:#E8A72C;--brass:#8A6A3F;--off:#B9AA97;--err:#9B2F1F;
  --serif:Hermitage,Georgia,serif;--sans:"Be Vietnam Pro",Arial,sans-serif;
  --ease:cubic-bezier(.25,.46,.45,.94);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--sans);font-weight:400;color:var(--ink);background:var(--cream);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:inherit}
button:disabled{cursor:default}
input,textarea{font:inherit;color:var(--deep)}
a{color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
h1:focus{outline:none}
.skip{position:absolute;left:-999px;top:8px;background:var(--deep);color:var(--cream);padding:8px 14px;border-radius:6px;z-index:50}
.skip:focus{left:8px}
.nojs{padding:40px;text-align:center}

.preview{flex:none;background:var(--deep);color:#E9D9BF;font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;text-align:center;padding:6px 16px}

/* ---- the split: 50 / 50 from 1100px ---- */
#app{display:flex;flex-direction:column;height:100vh;height:100svh;overflow:hidden}
.shell{flex:1;display:flex;min-height:0}
.col{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
/* Content sits in a centered 700px measure; the padding (not a max-width) does it, so bars like
   the summary can run the full width of the left half. */
.col{--gut:20px}
.col>*{width:100%;padding-left:max(var(--gut),calc((100% - 700px)/2));padding-right:max(var(--gut),calc((100% - 700px)/2))}
.ph{display:none;position:relative;overflow:hidden;background:var(--sand)}
.ph i{position:absolute;inset:0;background-size:cover;background-position:center 30%}
@media (min-width:1100px){
  .col{--gut:clamp(28px,4.5vw,88px)}
  .col{flex:0 0 50%;width:50%}
  .ph{display:block;flex:0 0 50%;width:50%}
}

/* ---- header: logo + step names (desktop), back / logo / count + segments (phone) ---- */
.top{flex:none;height:clamp(64px,10svh,104px);display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo img{display:block;width:132px;height:auto}
.steps{display:flex;gap:26px;margin-left:auto;font-size:14px;color:var(--mute)}
.steps span,.steps button{position:relative;padding:6px 0;font-size:14px;color:inherit}
.steps .past{color:var(--ink)}
.steps button.past:hover{color:var(--deep)}
.steps .now{color:var(--deep);font-weight:500}
.steps .now::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:1px;background:var(--deep)}
.mback,.count,.segs{display:none}

.body{flex:1;min-height:0;overflow:hidden;padding-top:clamp(8px,3svh,40px);padding-bottom:clamp(12px,2.4svh,28px)}
.body{display:flex;flex-direction:column}
.pane{flex:none;margin-top:auto;margin-bottom:auto;transform-origin:top left}
.body.fitted .pane,.body.scrolls .pane{margin-top:0}
.body.scrolls{overflow-y:auto;overscroll-behavior:contain}
h1{font-family:var(--serif);font-weight:400;font-size:clamp(32px,min(3.2vw,5.4svh),48px);line-height:1.04;letter-spacing:-.01em;color:var(--deep)}
.sub{margin-top:8px;font-size:15.5px;line-height:1.5;color:var(--ink)}

/* ---- cards (MOD's white option cards on the cream page) ---- */
.list{display:flex;flex-direction:column;gap:10px;margin-top:clamp(16px,3svh,28px)}
.items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.bar+.list,.bar+.grid{margin-top:10px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:clamp(16px,3svh,28px);align-items:start}
.tabs+.grid{margin-top:12px}
.card{display:block;width:100%;background:var(--card);border:1.5px solid transparent;border-radius:12px;text-align:left}
.card.on{border-color:var(--deep)}
.nm{display:block;font-weight:500;color:var(--deep);line-height:1.25}
.ds{display:block;margin-top:3px;font-size:13.5px;line-height:1.45;color:var(--ink)}

.cat{padding:clamp(14px,2.2svh,20px) 20px}
.cat .nm{font-size:17px}

.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:clamp(16px,3svh,28px);padding:11px 16px;background:var(--card);border-radius:10px;font-size:14px;color:var(--ink)}
.bar b{font-weight:500;color:var(--deep)}
.bar button{flex:none;font-size:14px;font-weight:500;color:var(--brass)}

.tier-main{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:clamp(12px,1.9svh,18px) 18px}
.tier .tx{flex:1;min-width:0}
.tier .nm{font-size:16px}
.tier .pr{flex:none;font-family:var(--serif);font-size:24px;color:var(--deep);white-space:nowrap}
.tier .pr small{font-family:var(--sans);font-size:13px;color:var(--ink);margin-right:2px}
.opts{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 16px}
.opt{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;color:var(--deep)}
.opt b{font-weight:500}
.opt.on{background:var(--deep);border-color:var(--deep);color:var(--cream)}

/* Check tiles: name and line top-left, the tick top-right, the price along the bottom in the
   display serif. Tiles in a row share one height so the grid reads as even. */
.grid.small{align-items:stretch}
/* while a tile shows its options, its neighbors keep their own height */
.grid.small:has(.mini){align-items:start}
.boost{display:flex;flex-direction:column}
.boost-main{flex:1;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;column-gap:14px;width:100%;padding:clamp(12px,1.7svh,16px) 16px}
.boost-main .nm{grid-column:1;grid-row:1}
.boost-main .ds{grid-column:1;grid-row:2}
.boost-main .ft{display:contents}
.boost-main .box{grid-column:2;grid-row:1}
.boost-main .p{grid-column:1/-1;grid-row:3;align-self:end;margin-top:clamp(6px,1.2svh,12px);font-family:var(--serif);font-size:20px;line-height:1;color:var(--deep)}
.boost .nm{font-size:15px}
.boost .ds{font-size:12.5px;margin-top:2px}
.box{position:relative;flex:none;width:20px;height:20px;border:1.5px solid #DCCBB4;border-radius:6px;transition:background-color .2s ease,border-color .2s ease}
.box.round{border-radius:50%}
.on .box{background:var(--deep);border-color:var(--deep)}
.on .box::after{content:"";position:absolute;left:6px;top:2.5px;width:4.5px;height:9px;border:solid var(--cream);border-width:0 1.8px 1.8px 0;transform:rotate(45deg)}
.mini{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 14px}
.chip{padding:7px 11px;border:1px solid var(--line);border-radius:999px;font-size:12.5px;color:var(--deep)}
.chip.on{background:var(--deep);border-color:var(--deep);color:var(--cream)}

.tabs{display:flex;gap:4px;width:max-content;max-width:100%;margin-top:clamp(16px,3svh,28px);padding:4px;border-radius:999px;background:var(--tone)}
.tabs button{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;padding:8px 18px;border-radius:999px;font-size:14px;color:var(--ink);transition:background-color .26s ease,color .26s ease}
.tabs{position:relative}
.tabs .pill{position:absolute;top:4px;bottom:4px;left:4px;border-radius:999px;background:var(--card);box-shadow:0 1px 2px rgba(58,46,36,.08)}
.tabs button{position:relative;z-index:1}
.tabs button.on{color:var(--deep);font-weight:500}
.tabs .n{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--deep);color:var(--cream);font-size:11.5px;font-weight:500}
.lbl{margin-top:34px;font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--deep)}
.lbl+.hint{margin-top:4px}
.hint{margin-top:14px;font-size:14px;line-height:1.5;color:var(--ink)}
.lbl+.hint+.grid{margin-top:14px}

.tech{display:flex;align-items:center;gap:14px;padding:clamp(12px,2svh,18px) 18px}
.av{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--tone);font-family:var(--serif);font-size:26px;color:var(--deep)}
.av.any::before{content:"✦";font-family:var(--sans);font-size:20px;color:var(--gold)}
.tech .tx{min-width:0}
.tech .nm{font-size:16px}
.tech .ds{font-size:13.5px}

/* ---- time: MOD's week row (desktop) or month card (phone), then the open times ---- */
.wk{margin-top:clamp(18px,3.6svh,44px)}
.wk-head,.cal-head{display:flex;align-items:center;justify-content:space-between}
.wk-head>span:first-child{font-size:14px;font-weight:500;color:var(--deep)}
.arrows{display:flex;gap:6px}
.arrows button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:17px;color:var(--deep)}
.arrows button:disabled{color:var(--off)}
.wk-days{display:grid;grid-template-columns:repeat(7,1fr);margin-top:14px;border-bottom:1px solid var(--line)}
.wd{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 0 14px;text-align:center}
.wd .w{font-size:13px;color:var(--ink)}
.wd .n{font-family:var(--serif);font-size:32px;line-height:1;color:var(--deep)}
.wd:disabled .w,.wd:disabled .n{color:var(--off)}
.wd.on .w{color:var(--deep);font-weight:500}
.wd.on::after{content:"";position:absolute;left:50%;bottom:-1px;width:48px;height:3px;margin-left:-24px;border-radius:2px;background:var(--deep)}
.slots{margin-top:clamp(14px,2.6svh,26px)}
.lbl.day{margin-top:0;font-size:14px;letter-spacing:0;text-transform:none}
.times{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.tm{height:clamp(42px,5.6svh,54px);border:1.5px solid transparent;border-radius:10px;background:var(--card);font-size:15px;color:var(--deep);text-align:center}
.tm.on{border-color:var(--deep)}
.empty{margin-top:12px;padding:16px 18px;border-radius:12px;background:var(--card);font-size:15px;line-height:1.5;color:var(--ink)}

/* ---- details ---- */
.form{display:grid;grid-template-columns:1fr 1fr;gap:clamp(8px,1.6svh,14px) 12px;margin-top:clamp(16px,3svh,28px)}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field.full,.form>.hint,.form>.alert{grid-column:1/-1}
.form>.hint{margin-top:0}
.field label{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.field input,.field textarea{width:100%;height:clamp(44px,5.6svh,50px);padding:0 16px;border:1.5px solid transparent;border-radius:10px;background:var(--card);font-size:16px;outline:none;transition:border-color .2s ease}
.field textarea{height:auto;min-height:clamp(60px,9svh,96px);padding:14px 16px;resize:vertical;line-height:1.45}
.field input:focus,.field textarea:focus{border-color:var(--deep)}
::placeholder{color:#BBAA95}
.alert{padding:14px 16px;border-radius:10px;background:#F6E3DC;color:var(--err);font-size:14px;line-height:1.5}

/* ---- actions + the summary line along the bottom ---- */
.act{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:clamp(16px,3.2svh,36px)}
.back{padding:6px 0;font-size:14px;color:var(--ink)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:240px;height:52px;padding:0 36px;border:1.5px solid var(--deep);border-radius:999px;background:var(--deep);color:var(--cream);font-size:15px;font-weight:500;text-decoration:none}
.btn:disabled{background:var(--off);border-color:var(--off);color:#F7F0E6}
.btn.ghost{background:none;color:var(--deep)}
.spin{width:14px;height:14px;border:2px solid rgba(247,238,225,.35);border-top-color:var(--cream);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.sum{flex:none;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:clamp(72px,11svh,112px);padding-top:10px;padding-bottom:10px;background:var(--card);border-top:1px solid var(--line)}
.sum .t{font-family:var(--serif);font-size:24px;line-height:1.1;color:var(--deep)}
.sum .m{margin-top:5px;font-size:14.5px;color:var(--ink)}
.sum .m i{font-style:normal;color:var(--mute)}
.sum .sep{margin:0 8px;color:var(--off)}
.sum .p{flex:none;text-align:right}
.sum .p b{display:block;font-family:var(--serif);font-weight:400;font-size:30px;line-height:1;color:var(--deep)}
.sum .p span{display:block;margin-top:6px;font-size:13.5px;color:var(--ink)}
.mbar{display:none}

.rcpt{margin-top:clamp(16px,3svh,28px);padding:6px 20px;border-radius:12px;background:var(--card)}
.rcpt .r{display:flex;justify-content:space-between;gap:20px;padding:clamp(8px,1.5svh,12px) 0;font-size:15px;color:var(--ink)}
.rcpt .r+.r{border-top:1px solid #F0E7DA}
.rcpt .r span:last-child{color:var(--deep);text-align:right}
.rcpt .tot span:first-child{align-self:center;font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--deep)}
.rcpt .tot span:last-child{font-family:var(--serif);font-size:26px;line-height:1}
.done-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.done-cta .btn{min-width:0}

/* ---- phone + tablet: MOD's phone screens (no photo), still one screen tall ---- */
@media (max-width:1099px){
  .top{display:grid;grid-template-columns:44px 1fr 44px;height:56px;gap:0}
  .top .steps{display:none}
  .logo{justify-self:center}
  .logo img{width:104px}
  .mback{display:grid;place-items:center;width:44px;height:44px;margin-left:-10px;font-size:30px;line-height:1;color:var(--deep)}
  .mback[hidden]{visibility:hidden;display:grid}
  .count{display:block;justify-self:end;font-size:13px;color:var(--ink);white-space:nowrap}
  .segs{display:flex;gap:6px;flex:none}
  .segs span{flex:1;height:4px;border-radius:2px;background:var(--line)}
  .segs span.f{background:var(--deep)}
  .body{padding-top:clamp(12px,2.4svh,22px);padding-bottom:10px}
  h1{font-size:clamp(26px,4.4svh,34px)}
  .sub{font-size:14px;margin-top:6px}
  .grid.cats{grid-template-columns:1fr;gap:8px}
  .cat .ds{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .items{gap:8px}
  .tier{display:flex;flex-direction:column}
  .tier-main{flex:1;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:6px}
  .tier .opts{flex-direction:column;align-items:stretch}
  .tier .opt{justify-content:space-between}
  .tier .nm{font-size:15px}
  .tier .pr{font-size:20px}
  .tabs button{padding:8px 12px;font-size:13px}
  .tabs{width:auto}
  .grid.techs{grid-template-columns:1fr}
  .act,.sum{display:none}
  .mbar{display:block;flex:none;padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--line)}
  .mbar .btn{width:100%;min-width:0;height:50px}
  .wk-days .wd .n{font-size:26px}
  .wd .w{font-size:12px}
  .times{grid-template-columns:repeat(3,minmax(0,1fr))}
  .done-cta .btn{flex:1}
  .preview{font-size:10px;letter-spacing:.1em;padding:5px 12px}
}
@media (max-width:1099px) and (min-width:700px){.times{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---- motion (MOD): the progress line fills, the step underline draws in, the photo settles;
   hover lifts the options and buttons. Off on in-step re-renders (.still) and for reduced motion.
   The step-to-step and in-step motion is WAAPI in app.js. ---- */
@media (prefers-reduced-motion:no-preference){
  .segs span{transition:background-color .3s ease}
  .segs span.cur{transform-origin:left center;animation:seg .8s cubic-bezier(.4,0,.2,1) both}
  .steps .now::after{transform-origin:left center;animation:seg .7s cubic-bezier(.4,0,.2,1) .08s both}
  .ph i.nw{animation:phin .55s cubic-bezier(.2,.65,.3,1) both}
  .wd.on::after{transform-origin:center;animation:seg .45s cubic-bezier(.4,0,.2,1) both}
  .still .segs span.cur,.still .steps .now::after,.still .ph i,.still .wd.on::after{animation:none!important}
  .card,.opt,.chip,.tm{transition:transform .32s var(--ease),border-color .26s ease,background-color .26s ease,color .26s ease}
}
@keyframes seg{from{transform:scaleX(0)}}
@keyframes phin{from{opacity:0}}
@media (hover:hover) and (pointer:fine){
  .card:hover{transform:translateY(-1px)}
  .card:not(.on):hover{border-color:#E3D3BD}
  .tm:not(.on):hover{background:var(--tone)}
  .tm:not(.on):hover{transform:translateY(-1px)}
  .wd:not(:disabled):not(.on):hover .n{color:var(--brass)}
  .opt:not(.on):hover,.chip:not(.on):hover{border-color:var(--deep)}
  .arrows button:not(:disabled):hover{background:var(--tone)}
  .btn,.back{transition:transform .32s var(--ease),background-color .26s ease,color .26s ease}
  .btn:not(.ghost):not(:disabled):hover{background:#2A2119;transform:translateY(-1px)}
  .btn.ghost:hover{background:rgba(58,46,36,.06)}
  .back:hover{transform:translateX(-2px)}
  .bar button:hover{color:var(--deep)}
}
.card:active,.tm:active,.btn:not(:disabled):active,.opt:active,.chip:active{transform:scale(.985);transition-duration:.12s}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* narrow halves (1100-1360px wide): tighter header and tabs so nothing runs off the column */
@media (min-width:1100px) and (max-width:1360px){
  .steps{gap:16px}
  .steps span,.steps button{font-size:13px}
  .logo img{width:112px}
  .tabs button{padding:8px 13px;font-size:13px}
}

/* Even grids: every card in a grid shares one height, and an odd card out spans the full row. */
.grid.cats,.grid.techs{align-items:stretch}
.items:not(:has(.open)){align-items:stretch}
.tier{display:flex;flex-direction:column}
.tier-main{flex:1}
.grid.cats>.card:last-child:nth-child(odd),.grid.techs>.card:last-child:nth-child(odd),.items>.card:last-child:nth-child(odd){grid-column:1/-1}
.cat{display:flex;flex-direction:column;justify-content:center}
.lnk{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.done-cta .btn{white-space:nowrap}
@media (max-width:1099px){.grid.cats,.grid.techs{grid-template-columns:minmax(0,1fr)}.cat,.tech{min-width:0}}

/* Phones: one column of rows (name left, price right) so long names never stack into three
   lines; tabs swipe sideways; headlines size to the screen so they stay on one line. */
@media (max-width:699px){
  h1{font-size:min(clamp(26px,4.4svh,34px),7.6vw)}
  .items,.grid.small{grid-template-columns:minmax(0,1fr);gap:8px}
  .items>.card:last-child:nth-child(odd){grid-column:auto}
  .tier-main{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
  .tier .nm{font-size:15px}
  .tier .pr{font-size:20px}
  .tier .opts{flex-direction:column;align-items:stretch;padding:0 16px 14px}
  .boost-main{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto;align-items:center;padding:12px 16px}
  .boost-main .nm{grid-column:1;grid-row:1}
  .boost-main .ds{grid-column:1;grid-row:2}
  .boost-main .p{grid-column:2;grid-row:1/span 2;align-self:center;margin-top:0;font-size:18px}
  .boost-main .box{grid-column:3;grid-row:1/span 2;align-self:center}
  .tabs{max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .tabs::-webkit-scrollbar{display:none}
  .tabs button{padding:8px 12px;font-size:13px;flex:none}
}
