/* ==========================================================================
   Tilattama home: refinement layer (12 Sep 2026, v2 with per-section entrances)
   Preserve-mode redesign: same sections, same markup, same copy. This file
   only calibrates type, spacing, colour and adds a motion layer on top of
   home.css + tilo-premium.css. Loaded after both. Disable with ?tilo_refine=off.
   Motion rules: strong ease-out, UI transitions under 300ms, press feedback on
   every tappable thing, entrances play once, hover only for real pointers,
   everything collapses under prefers-reduced-motion.
   v6: scroll-linked motion via a JS engine + CSS variables; transforms only; never hides content.
   ========================================================================== */

:root{
  --rf-out:cubic-bezier(.23,1,.32,1);
  --rf-inout:cubic-bezier(.77,0,.175,1);
  --rf-hair:rgba(74,10,30,.10);
  --rf-shadow:0 18px 40px -24px rgba(74,10,30,.35);
}

/* ---------- nav ---------- */
.tilo-nav{transition:background .35s var(--rf-out),padding .35s var(--rf-out),box-shadow .35s var(--rf-out),border-color .35s var(--rf-out)}
.tilo-nav-btn,.tilo-menu-btn{transition:background .2s ease,border-color .2s ease,transform .16s var(--rf-out)}
.tilo-nav-btn svg,.tilo-menu-btn span{transition:stroke .2s ease,background .2s ease}
.tilo-nav-btn:hover{transform:none}
.tilo-nav-btn:active,.tilo-menu-btn:active{transform:scale(.92)}
.tilo-logo-full,.tilo-logo-icon-img{transition:opacity .3s var(--rf-out)}

/* ---------- hero: cinematic settle ---------- */
@keyframes rfRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.tilo-hero-title{font-weight:400;line-height:1.08;letter-spacing:-.012em}
.tilo-hero-title .static{animation:rfRise 1s var(--rf-out) .15s forwards}
.tilo-hero-title .rotating-wrap{opacity:0;animation:rfRise 1s var(--rf-out) .3s forwards}
.tilo-hero-tagline{animation:rfRise 1s var(--rf-out) .5s forwards}
.tilo-hero-cta{animation:rfRise 1s var(--rf-out) .7s forwards}
.tilo-hero-cta-btn{transition:background .25s ease,border-color .25s ease,color .25s ease,transform .16s var(--rf-out)}
.tilo-hero-cta-btn:active{transform:scale(.97)}
.tilo-hero-cta-btn svg{transition:transform .25s var(--rf-out)}
.tilo-hero-overlay{background:linear-gradient(to top,rgba(24,7,12,.72) 0%,rgba(24,7,12,.34) 45%,rgba(24,7,12,.06) 80%,rgba(24,7,12,0) 100%)}
@media(min-width:1024px){
  .tilo-hero-overlay{background:linear-gradient(90deg,rgba(24,7,12,.68) 0%,rgba(24,7,12,.32) 52%,rgba(24,7,12,.05) 100%),linear-gradient(to top,rgba(24,7,12,.35) 0%,rgba(24,7,12,0) 40%)}
}

/* ---------- section headers: presence + quieter gold rules ---------- */
.tilo-cat-title,.tilo-bestsellers-title,.tilo-shop-size-title,.tilo-shop-occasion-title,.tilo-summer-title,.tilo-sale-title,.tilo-section-title{
  font-size:1.9rem;letter-spacing:-.012em;line-height:1.1;text-wrap:balance}
.tilo-bestseller-cat-title{font-size:1.45rem;letter-spacing:-.01em}
.tilo-cat-subtitle,.tilo-bestsellers-subtitle,.tilo-summer-subtitle{font-size:1rem;color:var(--gold-dark,#A68B4B);opacity:.95}
.tilo-cat-title-wrap::before,.tilo-cat-title-wrap::after,
.tilo-bestsellers-title-wrap::before,.tilo-bestsellers-title-wrap::after,
.tilo-shop-size-title-wrap::before,.tilo-shop-size-title-wrap::after,
.tilo-shop-occasion-title-wrap::before,.tilo-shop-occasion-title-wrap::after{width:26px;height:1px;opacity:.75}
.tilo-section-label{font-size:.62rem;letter-spacing:.3em}
@media(min-width:1024px){
  .tilo-cat-title,.tilo-bestsellers-title,.tilo-shop-size-title,.tilo-shop-occasion-title,.tilo-summer-title,.tilo-sale-title,.tilo-section-title{font-size:2.35rem}
  .tilo-cat-title-wrap::before,.tilo-cat-title-wrap::after,.tilo-bestsellers-title-wrap::before,.tilo-bestsellers-title-wrap::after,
  .tilo-shop-size-title-wrap::before,.tilo-shop-size-title-wrap::after,.tilo-shop-occasion-title-wrap::before,.tilo-shop-occasion-title-wrap::after{width:40px}
}

/* ---------- rhythm ---------- */
.tilo-categories{padding-top:2.75rem;padding-bottom:2.5rem}
.tilo-bestsellers{padding-top:2.5rem;padding-bottom:2.75rem}
.tilo-shop-occasion{padding-top:3rem;padding-bottom:3rem}
.tilo-timeline-banner{margin:2rem auto}
@media(min-width:1024px){
  .tilo-categories{padding-top:5rem;padding-bottom:4.5rem}
  .tilo-bestsellers{padding-top:4.5rem;padding-bottom:5rem}
  .tilo-shop-occasion{padding-top:5rem;padding-bottom:5rem}
  .tilo-timeline-banner{margin:3rem auto}
}

/* ---------- buttons and links: press feedback, arrow nudge ---------- */
.tilo-btn,.tilo-view-all,.tilo-bestsellers-viewall a,.tilo-sale-cta a,.tilo-reels-follow,.tilo-bestseller-cat-viewall,.tilo-tab,.tilo-bottom-nav-item{
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .16s var(--rf-out)}
.tilo-btn:active,.tilo-view-all:active,.tilo-bestsellers-viewall a:active,.tilo-sale-cta a:active,.tilo-reels-follow:active,.tilo-bestseller-cat-viewall:active,.tilo-tab:active,.tilo-bottom-nav-item:active{transform:scale(.96)}
.tilo-view-all svg,.tilo-bestsellers-viewall svg,.tilo-sale-cta svg,.tilo-bestseller-cat-viewall svg{transition:transform .25s var(--rf-out)}
@media (hover:hover) and (pointer:fine){
  .tilo-view-all:hover svg,.tilo-bestsellers-viewall a:hover svg,.tilo-sale-cta a:hover svg,.tilo-bestseller-cat-viewall:hover svg,.tilo-hero-cta-btn:hover svg{transform:translateX(3px)}
  .tilo-size-card:hover{border-color:var(--burgundy);color:var(--burgundy)}
}
.tilo-bestsellers-viewall a,.tilo-view-all{border-radius:2px}

/* ---------- product cards: soft hover, instant press ---------- */
.tilo-bestseller-card,.tilo-bestseller-cat-card,.tilo-sale-card,.tilo-summer-card,.tilo-card{transition:transform .45s var(--rf-out),box-shadow .45s var(--rf-out),border-color .45s var(--rf-out)}
.tilo-bestseller-img img,.tilo-bestseller-cat-img img,.tilo-sale-img img,.tilo-summer-img img{transition:transform 1s var(--rf-out)}
.tilo-bestseller-quickview,.tilo-bestseller-img .tilo-card-wish{transition:background .2s ease,transform .16s var(--rf-out),opacity .25s ease}
.tilo-bestseller-quickview:active,.tilo-bestseller-img .tilo-card-wish:active{transform:scale(.9)}
.tilo-bestseller-badge{letter-spacing:.16em}
@media (hover:hover) and (pointer:fine){
  .tilo-bestseller-card:hover,.tilo-card:hover{transform:translateY(-4px);box-shadow:var(--rf-shadow)}
  .tilo-bestseller-cat-card:hover .tilo-bestseller-cat-img img,.tilo-sale-card:hover .tilo-sale-img img,.tilo-summer-card:hover .tilo-summer-img img{transform:scale(1.04)}
}

/* ---------- rails: snap + momentum ---------- */
.tilo-bestseller-cat-scroll,.tilo-sale-scroll,.tilo-summer-scroll,.tilo-size-scroll{scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.tilo-bestseller-cat-scroll>*,.tilo-sale-scroll>*,.tilo-summer-scroll>*{scroll-snap-align:start}

/* ==========================================================================
   SCROLL-LINKED MOTION (v6). A tiny script in the template measures each block
   on scroll (one rAF per frame) and writes CSS variables; these rules turn them
   into transforms. Everything defaults to its resting place, so nothing is ever
   hidden. Hover and press use the individual scale/translate properties so they
   compose with the scroll transform instead of fighting it.
   ========================================================================== */
/* hero: the video zooms and slides as you leave, the copy lifts away */
.tilo-hero-media{transform-origin:50% 40%}


/* section headers glide up; gold rules draw outward */
.tilo-cat-header,.tilo-bestsellers-header,.tilo-shop-size-header,.tilo-shop-occasion-header,.tilo-summer-header,.tilo-sale-header,.tilo-section-header,.tilo-bestseller-cat-header,.tilo-reels-header{}
.tilo-cat-title-wrap::before,.tilo-bestsellers-title-wrap::before,.tilo-shop-size-title-wrap::before,.tilo-shop-occasion-title-wrap::before{transform-origin:right}
.tilo-cat-title-wrap::after,.tilo-bestsellers-title-wrap::after,.tilo-shop-size-title-wrap::after,.tilo-shop-occasion-title-wrap::after{transform-origin:left}

/* category tiles rise into place; the photo parallaxes inside its frame */
.tilo-cat-tile{overflow:hidden;transition:scale .16s var(--rf-out)}
.tilo-cat-tile:active{scale:.98}
.tilo-cat-tile-img{height:114%;top:-7%;transition:scale 1.2s var(--rf-out)}
@media (hover:hover) and (pointer:fine){.tilo-cat-tile:hover .tilo-cat-tile-img{scale:1.05}}

/* bestseller cards settle in */
.tilo-bestsellers .tilo-bestseller-card{translate:0 0;transition:translate .45s var(--rf-out),scale .16s var(--rf-out),box-shadow .45s var(--rf-out),border-color .45s var(--rf-out)}
.tilo-bestsellers .tilo-bestseller-card:active{scale:.98}
@media (hover:hover) and (pointer:fine){.tilo-bestsellers .tilo-bestseller-card:hover{translate:0 -4px;box-shadow:var(--rf-shadow)}}
.tilo-bestsellers-viewall{}

/* editorial banners: zoom parallax inside a clipping frame */
.tilo-timeline-banner-clip{position:absolute;top:0;bottom:0;left:1rem;right:1rem;overflow:hidden;border-radius:var(--r-tile,12px);z-index:0}
.tilo-timeline-banner-clip .tilo-timeline-banner-bg{left:0;right:0;top:0;bottom:0;border-radius:0;transform-origin:50% 50%}
.tilo-timeline-banner-content{}
@media (min-width:768px){.tilo-timeline-banner-clip{left:2rem;right:2rem;border-radius:10px}}
.tilo-timeline-banner-title{font-size:1.6rem;letter-spacing:-.005em}
.tilo-timeline-banner-subtitle{font-size:.85rem}
@media(min-width:768px){.tilo-timeline-banner-title{font-size:2.2rem}}

/* size row, rails, occasions, deals, reels, quotes, footer */
.tilo-size-scroll{}
.tilo-size-card{transition:border-color .2s ease,color .2s ease,scale .16s var(--rf-out)}
.tilo-size-card:active{scale:.95}
.tilo-bestseller-cat-scroll,.tilo-sale-scroll,.tilo-summer-scroll{}
.tilo-bestseller-cat-card:active,.tilo-sale-card:active,.tilo-summer-card:active,.tilo-reel-card:active,.tilo-testimonial:active{scale:.98}
.tilo-bestseller-cat-card,.tilo-sale-card,.tilo-summer-card,.tilo-reel-card,.tilo-testimonial{transition:scale .16s var(--rf-out),box-shadow .45s var(--rf-out)}
.tilo-occasion-card{overflow:hidden;transition:scale .16s var(--rf-out)}
.tilo-occasion-card:active{scale:.98}
.tilo-occasion-card>img{transition:scale 1.2s var(--rf-out)}
@media (hover:hover) and (pointer:fine){.tilo-occasion-card:hover>img{scale:1.05}}
.tilo-sale-timer{}
.tilo-sale-cta{}
.tilo-reels-slider{transform-origin:50% 100%}
.tilo-testimonials-slider{}
.tilo-footer-grid>*{}

/* static polish */
.tilo-sale-timer-num{font-variant-numeric:tabular-nums}
.tilo-occasion-tagline{opacity:.8}
.tilo-reels-logo{background:var(--burgundy)}
.tilo-reels-follow{background:var(--burgundy);border-radius:2px;box-shadow:none;transition:background .2s ease,transform .16s var(--rf-out)}
.tilo-reels-follow:hover{background:var(--burgundy-dark)}
.tilo-testimonial-quote{opacity:.16}
.tilo-testimonial-avatar{border:1px solid var(--rf-hair)}
.tilo-testimonial-stars svg{width:15px;height:15px}
.tilo-footer-links a{position:relative;transition:color .2s ease}
.tilo-footer-links a::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--rf-out)}
.tilo-footer-links a:hover{padding-left:0}
@media (hover:hover) and (pointer:fine){.tilo-footer-links a:hover::after{transform:scaleX(1)}}
.tilo-footer-social a{transition:background .2s ease,border-color .2s ease,transform .16s var(--rf-out)}
.tilo-footer-social a:active{transform:scale(.92)}

/* ---------- keep the page's perpetual scripts from re-laying out the whole page ----------
   The typewriter (every 100 ms), the two countdown timers (every second) and the
   auto-scrolling rails mutate the DOM continuously. Containment scopes their
   layout to their own boxes, so scrolling stays cheap. */
.tilo-hero-title .rotating-wrap{contain:layout style;display:block}
.tilo-sale-banner-timer,.tilo-sale-timer-digits{contain:layout style}
.tilo-sale-banner-timer-box,.tilo-sale-timer-unit{contain:layout paint}
.tilo-bestseller-cat-scroll,.tilo-sale-scroll,.tilo-summer-scroll,.tilo-testimonials-slider,.tilo-reels-slider{contain:layout paint style}
.tilo-bestseller-cat-card,.tilo-sale-card,.tilo-reel-card,.tilo-testimonial{contain:layout paint}

/* ---------- v9 choreography helpers (class-driven, compositor transitions) ---------- */
.rf-mask{overflow:hidden;padding-bottom:.2em;margin-bottom:-.2em}
.rf-mask>.rf-t{display:inline-block;transform:translateY(112%);transition:transform .95s var(--rf-out)}
.rf-mask.rf-on>.rf-t{transform:none}
.rf-rules::before,.rf-rules::after{transform:scaleX(0);transition:transform .9s var(--rf-out) .3s}
.rf-rules.rf-on::before,.rf-rules.rf-on::after{transform:scaleX(1)}
.tilo-cat-title-wrap::before,.tilo-bestsellers-title-wrap::before,.tilo-shop-size-title-wrap::before,.tilo-shop-occasion-title-wrap::before{transform-origin:right}
.tilo-cat-title-wrap::after,.tilo-bestsellers-title-wrap::after,.tilo-shop-size-title-wrap::after,.tilo-shop-occasion-title-wrap::after{transform-origin:left}
/* hero photo settles from a slow zoom on load (compositor keyframes, once) */
@keyframes rfKen{from{transform:scale(1.08)}to{transform:scale(1)}}
.tilo-hero-slide.active video,.tilo-hero-slide.active img{animation:rfKen 7s var(--rf-out) forwards;transform-origin:50% 35%}
@media (prefers-reduced-motion:reduce){.tilo-hero-slide.active video,.tilo-hero-slide.active img{animation:none}.rf-mask>.rf-t{transform:none!important;transition:none!important}.rf-rules::before,.rf-rules::after{transform:none!important}}


/* ==========================================================================
   PREMIUM PASS 2 (13 Sep 2026): gold rationed, one shape language, honest
   content blocks, liquid-glass approximation on a few surfaces.
   ========================================================================== */
/* hero v3: three words, anchored low. Entrance: eyebrow tracks in, each word rises
   out of its own mask (strong ease-out, 130ms apart), the button settles last. */
.tilo-hero{align-items:flex-end}
.tilo-hero-content{padding:0 1.5rem calc(122px + env(safe-area-inset-bottom,0px));max-width:100%;contain:layout style}
.tilo-hero-eyebrow{font-family:var(--font-body);font-size:.64rem;letter-spacing:.5em;text-transform:uppercase;font-weight:500;color:var(--gold-light,#DCC48F);margin:0 0 1rem;opacity:0;animation:hwTrack 1.2s cubic-bezier(.23,1,.32,1) .15s forwards}
@keyframes hwTrack{to{opacity:1;letter-spacing:.28em}}
.tilo-hero-title{display:flex;flex-wrap:wrap;column-gap:.26em;row-gap:0;font-size:clamp(2.7rem,12vw,4rem);font-weight:400;line-height:1;letter-spacing:-.015em;color:#fff;margin:0 0 1.5rem;max-width:none;text-shadow:0 2px 24px rgba(0,0,0,.3);opacity:1;animation:none}
.hw-mask{display:inline-block;overflow:hidden;padding:.06em .06em .12em 0;margin:-.06em 0 -.12em 0;vertical-align:bottom}
.hw{display:inline-block;transform:translate3d(0,112%,0);animation:hwRise 1.05s cubic-bezier(.23,1,.32,1) forwards}
.hw-mask:nth-child(1) .hw{animation-delay:.35s}
.hw-mask:nth-child(2) .hw{animation-delay:.48s}
.hw-mask:nth-child(3) .hw{animation-delay:.61s}
.hw-em{font-style:italic;color:var(--gold-light,#DCC48F);padding-right:.06em}
@keyframes hwRise{to{transform:none}}
.tilo-hero-cta{opacity:0;transform:translate3d(0,16px,0) scale(.98);animation:hwUp .9s cubic-bezier(.23,1,.32,1) 1s forwards}
@keyframes hwUp{to{opacity:1;transform:none}}
.tilo-hero-cta-btn{
  display:inline-flex;align-items:center;gap:.8rem;border-radius:999px;border:0;
  background:rgba(40,8,18,.34);color:#F3E9D8;border:1px solid rgba(220,196,143,.55);padding:.95rem 1.75rem;font-size:.68rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  -webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);text-shadow:none;
  box-shadow:0 12px 32px -14px rgba(0,0,0,.5);
  transition:transform .16s var(--rf-out),box-shadow .25s ease,background .25s ease}
.tilo-hero-cta-btn svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.8}
.tilo-hero-cta-btn:hover{background:rgba(40,8,18,.5);color:#F3E9D8;border-color:rgba(220,196,143,.85);box-shadow:0 16px 36px -14px rgba(0,0,0,.6)}
.tilo-hero-cta-btn:active{transform:scale(.97)}
.tilo-hero-overlay{background:linear-gradient(to top,rgba(24,7,12,.78) 0%,rgba(24,7,12,.46) 34%,rgba(24,7,12,.10) 62%,rgba(24,7,12,0) 100%)}
.tilo-hero-title .static,.tilo-hero-em,.tilo-hero-tagline,.tilo-hero-sub{display:none}
@media (min-width:768px){
  .tilo-hero-content{padding:0 0 4.5rem 8%;max-width:760px}
  .tilo-hero-eyebrow{font-size:.7rem}
  .tilo-hero-title{font-size:clamp(3.4rem,6.4vw,5.4rem);margin-bottom:2rem}
  .tilo-hero-cta-btn{padding:1.05rem 2.1rem;font-size:.72rem}
  .tilo-hero-overlay{background:linear-gradient(90deg,rgba(24,7,12,.62) 0%,rgba(24,7,12,.28) 50%,rgba(24,7,12,.04) 100%),linear-gradient(to top,rgba(24,7,12,.55) 0%,rgba(24,7,12,0) 45%)}
}
@media (prefers-reduced-motion:reduce){
  .tilo-hero-eyebrow,.hw,.tilo-hero-cta{animation:none;opacity:1;transform:none;letter-spacing:.28em}
}

/* section headers: one gold hairline under the title, quiet subtitle */
.tilo-cat-title-wrap::before,.tilo-cat-title-wrap::after,.tilo-bestsellers-title-wrap::before,.tilo-bestsellers-title-wrap::after,
.tilo-shop-size-title-wrap::before,.tilo-shop-size-title-wrap::after,.tilo-shop-occasion-title-wrap::before,.tilo-shop-occasion-title-wrap::after{display:none}
.tilo-cat-header::after,.tilo-bestsellers-header::after,.tilo-shop-size-header::after,.tilo-shop-occasion-header::after,.tilo-summer-header::after,.tilo-sale-header::after,.tilo-workshop-header::after{
  content:'';display:block;width:26px;height:1px;background:var(--gold);margin:.75rem auto 0;opacity:.8}
.tilo-cat-header,.tilo-bestsellers-header,.tilo-shop-size-header,.tilo-shop-occasion-header{display:flex;flex-direction:column;align-items:center}
.tilo-cat-subtitle,.tilo-bestsellers-subtitle,.tilo-summer-subtitle,.tilo-sale-subtitle{font-family:var(--font-body);font-style:normal;font-size:.9rem;color:#7A716B;letter-spacing:.01em;order:3;margin-top:.6rem}
.tilo-cat-header::after,.tilo-bestsellers-header::after{order:2}
.rf-rules::after{transform:scaleX(0);transition:transform .9s var(--rf-out) .25s}
.rf-rules.rf-on::after{transform:scaleX(1)}
.tilo-section-label{display:none}

/* cards: no badge on every card, one radius, one button style */
.tilo-bestseller-badge{display:none}
.tilo-bestseller-card,.tilo-bestseller-cat-card,.tilo-sale-card,.tilo-summer-card,.tilo-card{border-radius:8px}
.tilo-cat-tile,.tilo-occasion-card,.tilo-occasion-card-inner,.tilo-timeline-banner-clip,.tilo-reel-card{border-radius:8px}
.tilo-btn,.tilo-view-all,.tilo-bestsellers-viewall a,.tilo-sale-cta a,.tilo-reels-follow,.tilo-size-card,.tilo-tab{border-radius:3px}
.tilo-size-name{color:var(--ink,#231B17)}
.tilo-size-measurement{color:#8A7F77}
.tilo-size-group{margin-top:.9rem}
.tilo-size-group-label{display:block;font-family:var(--font-body);font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:#8A7F77;margin:0 1rem .45rem}
.tilo-cat-tile-name::after{display:none}

/* workshop band */
.tilo-workshop{position:relative;isolation:isolate;padding:3.5rem 1.25rem 3.75rem;color:#F6EFE4;
  background:radial-gradient(120% 80% at 0% 0%,rgba(201,169,98,.16),transparent 55%),radial-gradient(90% 60% at 100% 100%,rgba(139,31,59,.35),transparent 60%),linear-gradient(180deg,#3A0B1C,#24070F)}
.tilo-workshop::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(rgba(246,239,228,.05) 1px,transparent 1.2px);background-size:18px 18px;opacity:.55;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 70%);mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 70%)}
.tilo-workshop-inner{max-width:720px;margin:0 auto;text-align:left}
.tilo-workshop-eyebrow{font-family:var(--font-body);font-size:.62rem;letter-spacing:.28em;text-transform:uppercase;font-weight:500;color:var(--gold-light,#DCC48F);margin:0 0 .9rem}
.tilo-workshop-header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;margin-bottom:.9rem}
.tilo-workshop-header::after{margin:.85rem 0 0}
.tilo-workshop-header .tilo-section-title,.tilo-workshop h2{color:#F6EFE4;font-size:clamp(2rem,8.4vw,2.8rem);line-height:1.06;letter-spacing:-.01em;max-width:12ch}
.tilo-workshop-header::after{background:var(--gold,#C9A962)}
.tilo-workshop-lead{font-family:var(--font-body);font-size:1rem;line-height:1.6;color:rgba(246,239,228,.76);max-width:34ch;margin:0 0 1.4rem;text-align:left}
.tilo-workshop-link{display:inline-flex;align-items:center;gap:.6rem;margin:0 0 2.2rem;padding:.8rem 1.35rem;border:1px solid rgba(220,196,143,.55);border-radius:999px;
  color:#F6EFE4;background:rgba(246,239,228,.04);font-family:var(--font-body);font-size:.66rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;text-decoration:none;
  transition:transform .16s var(--rf-out),background .25s ease,border-color .25s ease}
.tilo-workshop-link svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.8;fill:none;transition:transform .25s var(--rf-out)}
.tilo-workshop-link:hover{background:rgba(246,239,228,.09);border-color:rgba(220,196,143,.9);color:#F6EFE4}
.tilo-workshop-link:hover svg{transform:translateX(3px)}
.tilo-workshop-link:active{transform:scale(.97)}
.tilo-workshop-facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.75rem;border:0}
.tilo-workshop-fact{margin:0;padding:1.05rem 1rem 1.15rem;border:1px solid rgba(220,196,143,.16);border-radius:16px;background:linear-gradient(180deg,rgba(246,239,228,.06),rgba(246,239,228,.025));
  box-shadow:inset 0 1px 0 rgba(246,239,228,.08);text-align:left}
.tilo-workshop-fact svg{width:22px;height:22px;stroke:var(--gold,#C9A962);stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round;margin-bottom:.75rem;display:block}
.tilo-workshop-fact strong{display:block;font-family:var(--font-display);font-size:1.12rem;font-weight:500;color:#F6EFE4;line-height:1.15}
.tilo-workshop-fact span{display:block;font-family:var(--font-body);font-size:.8rem;line-height:1.45;color:rgba(246,239,228,.62);margin-top:.35rem}
@media(min-width:768px){
  .tilo-workshop{padding:6rem 3rem}
  .tilo-workshop-inner{max-width:1180px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:3rem 4rem;align-items:center}
  .tilo-workshop-link{margin-bottom:0}
  .tilo-workshop-facts{grid-template-columns:1fr 1fr;gap:1rem}
  .tilo-workshop-fact{padding:1.4rem 1.3rem 1.5rem}
  .tilo-workshop-header .tilo-section-title,.tilo-workshop h2{font-size:clamp(2.6rem,3.6vw,3.4rem)}
}

/* ==========================================================================
   LIQUID GLASS (taste-skill Appendix C + apple-design 12), v3.
   Hierarchy: the top bar is a slim edge-to-edge strip of thin material (iOS
   navigation bar); the bottom tab bar is the ONE floating capsule of thick
   material; the hero button is a capsule of clear material. Same recipe, three
   weights, so the two bars never read as twins. No chips on the tiles.
   ========================================================================== */
.tilo-bottom-nav{
  isolation:isolate;overflow:hidden;border-radius:999px;
  border:1px solid rgba(255,255,255,.34);
  background:linear-gradient(135deg,rgba(255,255,255,.30),rgba(255,255,255,.08)),rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(24px) saturate(180%) contrast(1.05);backdrop-filter:blur(24px) saturate(180%) contrast(1.05);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48),inset 0 -1px 0 rgba(255,255,255,.12),0 18px 60px rgba(0,0,0,.18)}
.tilo-bottom-nav::before{
  content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.55),transparent 34%),linear-gradient(90deg,rgba(255,255,255,.18),transparent 42%,rgba(255,255,255,.14))}
.tilo-bottom-nav::after{
  content:'';position:absolute;inset:1px;border-radius:inherit;border:1px solid rgba(255,255,255,.14);pointer-events:none}

/* top bar: thin material, edge to edge, a hairline and a bright top edge, nothing more */
.tilo-nav.scrolled{
  padding:.15rem .6rem!important;border:0!important;border-bottom:1px solid rgba(74,10,30,.08)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.38),rgba(255,255,255,0) 60%),rgba(251,248,243,.64)!important;
  -webkit-backdrop-filter:blur(20px) saturate(160%)!important;backdrop-filter:blur(20px) saturate(160%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6)!important}
.tilo-nav.scrolled .tilo-nav-inner{min-height:52px;padding:0}
.tilo-nav.scrolled .tilo-logo{min-width:0}
.tilo-nav.scrolled .tilo-logo-icon-img,.tilo-nav.scrolled .tilo-logo-full{max-height:32px}
.tilo-nav.scrolled .tilo-nav-btn,.tilo-nav.scrolled .tilo-menu-btn{width:40px;height:40px;background:transparent!important;border-color:transparent!important}
.tilo-nav.scrolled .tilo-nav-btn svg{stroke:#231B17;stroke-width:1.6}
.tilo-nav.scrolled .tilo-menu-btn span{background:#231B17}
.tilo-nav.scrolled .tilo-nav-btn .badge{background:var(--burgundy);color:#fff;font-weight:600}

/* bottom bar: the floating capsule, thick material, vibrancy labels */
.tilo-bottom-nav{
  left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;
  padding:.45rem .35rem!important;border-top:0!important;
  background:linear-gradient(135deg,rgba(255,255,255,.44),rgba(255,255,255,.16)),rgba(251,248,243,.58)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62),inset 0 -1px 0 rgba(255,255,255,.14),0 2px 14px -4px rgba(74,10,30,.16),0 1px 2px rgba(74,10,30,.06)!important;
  animation:rfMaterialize .5s cubic-bezier(.32,.72,0,1)}
@keyframes rfMaterialize{from{transform:scale(.97);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}to{transform:none}}
.tilo-bottom-nav-item{color:#231B17}
.tilo-bottom-nav-item span{font-weight:600;letter-spacing:.1em;font-size:.58rem}
.tilo-bottom-nav-item svg{stroke-width:1.5}
.tilo-bottom-nav-item.active{color:var(--burgundy)}
.tilo-whatsapp,.tilo-wa-fab{bottom:calc(102px + env(safe-area-inset-bottom,0px))!important;right:16px!important}


/* tiles: no chip; the whole tile is the target */
.tilo-cat-tile-arrow{display:none!important}

/* fallbacks */
@media (prefers-reduced-transparency:reduce){
  .tilo-nav.scrolled,.tilo-bottom-nav{background:rgba(251,248,243,.97)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media (prefers-contrast:more){
  .tilo-nav.scrolled,.tilo-bottom-nav{background:#FBF8F3!important;border-color:#4A0A1E!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media (prefers-reduced-motion:reduce){.tilo-bottom-nav{animation:none}}
@media (min-width:768px){
  .tilo-nav.scrolled{padding:.3rem 1rem!important}
  .tilo-nav.scrolled .tilo-nav-inner{max-width:1380px;min-height:60px}
}

/* pass 2 polish: arrow visible on the glass pill; footer titles in cream, gold only as the hairline */
.tilo-footer-title{color:#F3EEE6}

/* ---------- bottom nav ---------- */
.tilo-bottom-nav-item svg{transition:transform .2s var(--rf-out)}
.tilo-bottom-nav-item:active svg{transform:scale(.9)}

/* ---------- accessibility ---------- */
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  .tilo-cat-tile-img{height:100%;top:0}
  .tilo-hero-title .static,.tilo-hero-title .rotating-wrap,.tilo-hero-tagline,.tilo-hero-cta{animation-duration:.01s;animation-delay:0s}
  *{scroll-behavior:auto!important}
}
