/* Tandoori Place: motion, type and interaction layer (v1, Nov 17 2026).
   Loads after site.css. Everything here is off for reduced motion and the "pause animations" accessibility setting. */

:root{
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --ember:#FFB25B;
}

/* ---------- Type ---------- */
/* Fraunces with its soft, slightly wonky cut for display: warmer and more hand-made than the default. */
h1,h2,h3,.dish h3{font-variation-settings:"SOFT" 100,"WONK" 1;font-optical-sizing:auto}
h1{font-size:clamp(2.5rem,6.2vw,5rem);line-height:1.02;letter-spacing:-.028em;font-weight:600}
h2{font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.06;letter-spacing:-.02em}
h3{letter-spacing:-.01em}
h1,h2,h3,.lede{text-wrap:balance}
p,li,blockquote{text-wrap:pretty}
p,li{hanging-punctuation:first}
.price,.stat b,.hours td,table td{font-variant-numeric:tabular-nums lining-nums}
.lede{line-height:1.55}
/* Section labels: sentence case in italic serif instead of tracked capitals */
.eyebrow{font-family:var(--serif);font-style:italic;font-weight:500;font-size:1.05rem;letter-spacing:0;text-transform:none;font-variation-settings:"SOFT" 100,"WONK" 1;margin-bottom:.35rem}
.picker legend{font-family:var(--serif);font-style:italic;font-weight:500;font-size:1rem;letter-spacing:0;text-transform:none;color:var(--ink)}
blockquote,.quote p{font-variation-settings:"SOFT" 100}

/* ---------- Page to page transitions (browsers that support them) ---------- */
@view-transition{navigation:auto}
header.site{view-transition-name:site-header}
.topbar{view-transition-name:site-topbar}
::view-transition-old(root){animation:tp-out .18s var(--ease-out) both}
::view-transition-new(root){animation:tp-in .42s var(--ease-out) both}
@keyframes tp-out{to{opacity:0;transform:translateY(-6px)}}
@keyframes tp-in{from{opacity:0;transform:translateY(10px)}}
/* Theme switch: a circle of the new theme grows from the button you tapped */
html.tp-theme-vt::view-transition-old(root){animation:none}
html.tp-theme-vt::view-transition-new(root){animation:tp-circle .55s var(--ease-out) both}
@keyframes tp-circle{from{clip-path:circle(0 at var(--vx,50%) var(--vy,0))}to{clip-path:circle(var(--vr,150vmax) at var(--vx,50%) var(--vy,0))}}

/* ---------- Header ---------- */
header.site{transition:box-shadow .3s,background-color .3s}
header.site .wrap{transition:min-height .3s var(--ease-out)}
.logo img{transition:width .3s var(--ease-out)}
html.tp-scrolled header.site{box-shadow:0 6px 24px rgba(31,34,38,.08)}
html.tp-scrolled header.site .wrap{min-height:60px}
html.tp-scrolled .logo img{width:128px}
nav.main a{position:relative;transition:color .2s,background-color .2s}

/* ---------- Hero: one orchestrated entrance ---------- */
.hero{isolation:isolate}
.hero img.bg,.hero picture{z-index:-1}
.hero img.bg{transform-origin:60% 40%}
.tp-motion .hero img.bg{animation:tp-settle 2.2s var(--ease-out) both}
@keyframes tp-settle{from{transform:scale(1.1);filter:saturate(.7) brightness(.75)}to{transform:scale(1.02);filter:none}}
/* slow drift with scroll where supported */
@supports (animation-timeline:scroll()){
  .tp-motion .hero picture,.tp-motion .hero>img.bg{animation:tp-settle 2.2s var(--ease-out) both,tp-drift linear both;animation-timeline:auto,view();animation-range:normal,exit 0% exit 100%}
  @keyframes tp-drift{to{translate:0 14%}}
}
.hero .tp-embers{position:absolute;inset:0;z-index:1;pointer-events:none;mix-blend-mode:screen}
.hero::after{z-index:0}
.hero .wrap{z-index:2}
.tp-word{display:inline-block;overflow:clip;overflow-clip-margin:.12em;vertical-align:top;padding-bottom:.06em;margin-bottom:-.06em}
.tp-word>span{display:inline-block}
.tp-motion .hero h1 .tp-word>span{animation:tp-rise .9s var(--ease-out) both;animation-delay:calc(.35s + var(--i) * 70ms)}
@keyframes tp-rise{from{transform:translateY(105%);opacity:.2}}
.tp-motion .hero .eyebrow,.tp-motion .hero .lede,.tp-motion .hero .badges,.tp-motion .hero .btns{animation:tp-up .8s var(--ease-out) both}
.tp-motion .hero .eyebrow{animation-delay:.2s}
.tp-motion .hero .lede{animation-delay:.85s}
.tp-motion .hero .badges{animation-delay:1s}
.tp-motion .hero .btns{animation-delay:1.12s}
@keyframes tp-up{from{opacity:0;transform:translateY(14px)}}
/* "Open now" dot breathes */
.dot:not(.closed),.badges .live::before{animation:tp-breathe 2.4s ease-in-out infinite}
@keyframes tp-breathe{50%{box-shadow:0 0 0 5px rgba(91,190,119,0)}0%,100%{box-shadow:0 0 0 0 rgba(91,190,119,.55)}}

/* ---------- Tandoor section: heat follows the pointer ---------- */
.dark.tp-heat{position:relative;overflow:hidden;isolation:isolate}
.dark.tp-heat::before{content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;
  background:radial-gradient(520px circle at var(--hx,30%) var(--hy,60%),rgba(233,120,40,.28),rgba(185,55,32,.12) 38%,transparent 65%);
  transition:background-position .2s;opacity:.9}
.dark.tp-heat .tp-embers{position:absolute;inset:0;z-index:-1;pointer-events:none;mix-blend-mode:screen}
.dark.tp-heat .rounded{position:relative}
.tp-motion .dark.tp-heat .rounded img{clip-path:inset(0 0 100% 0 round 14px);transition:clip-path 1.1s var(--ease-out),transform 1.6s var(--ease-out);transform:scale(1.08)}
.tp-motion .dark.tp-heat.tp-in .rounded img{clip-path:inset(0 0 0 0 round 14px);transform:none}

/* ---------- Buttons and links ---------- */
.btn{transition:transform .25s var(--ease-spring),background-color .2s,color .2s,box-shadow .25s,border-color .2s;-webkit-tap-highlight-color:transparent}
.btn:active{transform:scale(.96);transition-duration:.08s}
.btn-primary{position:relative;overflow:hidden;box-shadow:0 2px 0 rgba(0,0,0,.08)}
.btn-primary::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,214,150,.45) 50%,transparent 70%);transform:translateX(-120%)}
@media (hover:hover){
  .btn:hover{transform:translateY(-2px)}
  .btn-primary:hover{box-shadow:0 10px 24px -8px rgba(185,55,32,.65)}
  .btn-primary:hover::after{transform:translateX(120%);transition:transform .7s var(--ease-out)}
}
.tp-arr{display:inline-block;transition:transform .3s var(--ease-spring)}
a:hover .tp-arr,a:focus-visible .tp-arr{transform:translateX(4px)}
.btn svg{transition:transform .3s var(--ease-spring)}
.btn:hover svg{transform:rotate(-8deg) scale(1.08)}

/* ---------- Category tiles: plates spin a little ---------- */
.tile img,.tile picture{transition:transform .5s var(--ease-spring),box-shadow .3s}
.tile span,.tile{transition:color .2s}
@media (hover:hover){
  .tile:hover img{transform:translateY(-4px) rotate(14deg) scale(1.06);box-shadow:0 14px 22px -10px rgba(31,34,38,.45)}
  .tile:hover{color:var(--terra-d)}
}
.tile:active img{transform:scale(.92);transition-duration:.1s}

/* ---------- Dish cards ---------- */
.dish{transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out)}
.dish img{transition:transform .9s var(--ease-out)}
.dish>a:first-child,.dish .ph{overflow:hidden;display:block}
@media (hover:hover){
  .dish:hover{transform:translateY(-4px);box-shadow:0 2px 4px rgba(31,34,38,.06),0 22px 40px -18px rgba(31,34,38,.35)}
  .dish:hover img{transform:scale(1.05)}
}
.dish:active{transform:scale(.985)}

/* ---------- Choice chips ---------- */
.picker label span,.chips a{transition:background-color .2s,color .2s,border-color .2s,transform .3s var(--ease-spring)}
.picker label:active span,.chips a:active{transform:scale(.93)}
.picker input:checked+span{animation:tp-pop .35s var(--ease-spring)}
@keyframes tp-pop{40%{transform:scale(1.08)}}
@media (hover:hover){.picker label:hover span{border-color:var(--ink)}}
/* Dish picker results arrive one after another when you change a choice */
.picks.tp-swap>*{animation:tp-card .5s var(--ease-out) both;animation-delay:calc(var(--i,0) * 70ms)}
@keyframes tp-card{from{opacity:0;transform:translateY(12px) scale(.98)}}

/* ---------- FAQ: smooth open and close ---------- */
:root{interpolate-size:allow-keywords}
details::details-content{block-size:0;overflow:clip;transition:block-size .4s var(--ease-out),content-visibility .4s allow-discrete}
details[open]::details-content{block-size:auto}
details:not(.acc) summary::after{content:"+"!important;transition:transform .35s var(--ease-spring)}
details:not(.acc)[open] summary::after{transform:rotate(45deg)}
/* "More about this dish": the plus sits right after the words, not floating below them */
details.mi summary{position:relative;padding:4px 0}
details.mi summary::after{position:static;display:inline-block;margin-left:.35em;font-size:1.05em;font-weight:700;line-height:1;top:auto;right:auto;color:var(--terra-d)}
summary{transition:color .2s}
@media (hover:hover){summary:hover{color:var(--terra-d)}}

/* ---------- Ratings and review cards: gentle press ---------- */
.rating a,.rate a,.quote{transition:transform .3s var(--ease-out),box-shadow .3s}

/* ---------- Off switches ---------- */
@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  *,*::before,*::after{animation:none!important}
  .tp-embers{display:none}
  .dark.tp-heat .rounded img{clip-path:none!important;transform:none!important}
}
html[data-a11y-pause] .tp-embers{display:none}
html[data-a11y-pause] .dark.tp-heat .rounded img{clip-path:none!important;transform:none!important}
html.tp-theme-vt header.site,html.tp-theme-vt .topbar{view-transition-name:none}

/* Menu: opening one dish does not push the dish next to it around */
.item{align-content:start}

/* ---------- Menu page: calmer ---------- */
.mt{display:inline-block;margin-left:8px;font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:0;text-transform:none;vertical-align:2px;color:var(--muted)}
.mt.P,.mt.N{color:var(--t-o)}
.mt.VG,.mt.V{color:var(--t-g)}
.mt.S{color:#9B2B17}
.mt+.mt::before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.5;margin-right:8px;vertical-align:3px}
.price.sizes{gap:2px 14px;font-weight:500}
.price.sizes span{background:none;border:0;padding:0;color:var(--slate)}
.price.sizes b{font-weight:700}
.mfilters{gap:6px;align-items:center}
.mfilters button{font-weight:600;font-size:.88rem;padding:6px 13px;border-width:1px}
.mmore{display:inline-block;border:0;padding:0;position:relative}
.mmore summary{font-size:.88rem;font-weight:600;padding:6px 4px;color:var(--terra-d);display:inline-block}
.mmore summary::after{position:static!important;font-size:1em!important;margin-left:.3em;display:inline-block}
.mmore[open]{flex-basis:100%}
.mmore>div{display:flex;flex-wrap:wrap;gap:6px;padding:6px 0 2px}
.allergy-line{background:none!important;border:0!important;padding:0!important;margin:10px 0 0!important;font-size:.88rem;color:var(--muted)}
.mcount{font-size:.88rem;color:var(--muted);margin:0}
.item{padding:16px 0}
.item h3{font-size:1.05rem}
.item p{font-size:.93rem}
.mhead{margin:44px 0 4px}
details.mi summary{font-size:.8rem;font-weight:600}

/* ---------- Less text on screen (Nov 17, round 2) ---------- */
/* Top bar: one quiet line. Address lives in the footer and Directions button. */
@media (max-width:1100px){
  .topbar .addr{display:none}
  .topbar .themes .tl{display:none}
  .topbar .wrap{flex-wrap:nowrap;min-height:34px;gap:10px}
}
/* Menu page header: shorter, so dishes show sooner */
.phero.img{padding:84px 0 34px}
.phero.img .eyebrow{display:none}
.phero.img .lede{font-size:1.02rem;max-width:44ch}
@media (max-width:760px){.phero.img{padding:64px 0 26px}.phero.img h1{font-size:2.1rem}}
/* Dish rows: name and price lead, description is a quiet 2 line preview */
.items{gap:0 56px}
.item{padding:18px 0 16px;row-gap:4px}
.item h3{font-size:1.02rem;font-weight:700;line-height:1.3}
.item .price{font-size:1rem}
.item>p:not(.more):not(.pair){font-size:.9rem;line-height:1.45;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item .mt{font-size:.74rem;margin-left:6px}
.price.sizes{font-size:.84rem}
/* Details: a small plus at the end, not a full line of red text */
details.mi{margin-top:0}
details.mi summary{font-size:.78rem;font-weight:600;color:var(--muted);padding:2px 0}
details.mi summary::after{color:var(--terra-d)}
details.mi[open] summary{color:var(--terra-d)}
details.mi p{font-size:.88rem;color:var(--slate)}
/* Section titles: smaller and calmer */
.mhead h2{font-size:clamp(1.35rem,2.2vw,1.8rem)}
.mhead{border-bottom:0}
@media (max-width:900px){
  .items{grid-template-columns:1fr}
  .item{padding:14px 0 12px}
}
@media (max-width:600px){.topbar .wrap>span:nth-child(2){display:none}.topbar{font-size:.8rem}}

/* ---------- Payment icons in the footer ---------- */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.fpay{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 4px;max-width:260px}
.fpay .pay{display:inline-flex;align-items:center;justify-content:center;width:42px;height:28px;border-radius:6px;background:#fff;color:#1F2226;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .25s var(--ease-spring)}
.fpay .pay svg{display:block}
@media (hover:hover){.fpay .pay:hover{transform:translateY(-2px)}}
@media (max-width:600px){.fpay{max-width:none}}

/* Quieter restaurant presentation: food and ordering take priority. */
:root{--r:8px;--shadow:none}
.btn{border-radius:6px;box-shadow:none}
.btn-primary::after{display:none}
.dish,.quote,.card,.cat-sec{box-shadow:none;border:1px solid var(--line)}
a.dish:hover{transform:none;box-shadow:none;border-color:var(--terra)}
.hero{min-height:590px;min-height:min(690px,calc(100svh - 108px));align-items:center}
.hero .wrap{padding-top:54px;padding-bottom:44px}
.hero h1{font-size:clamp(2.7rem,5.5vw,4.6rem);max-width:20ch;line-height:1.06}
.hero .eyebrow{color:#ffe1aa;font:700 .8rem var(--sans);letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px}
.hero .lede{max-width:43ch;margin-bottom:18px;font-size:1.15rem}
.hero-rating{margin:0 0 24px;font-size:.93rem}
.hero-rating a{color:#fff;text-decoration:none}
.hero-rating small{display:block;font-size:.72rem;color:#ded4c7;margin-top:2px}
.hero .order-note{font-size:.82rem;color:#f4eadb;margin:16px 0 0;max-width:50ch}
.hero::after{background:linear-gradient(90deg,rgba(20,12,8,.84),rgba(20,12,8,.5) 56%,rgba(20,12,8,.12))}
.tp-motion .hero img.bg,.tp-motion .hero .eyebrow,.tp-motion .hero .lede,.tp-motion .hero .btns{animation:none;transform:none}
.dot:not(.closed){animation:none}
.service-line{border-bottom:1px solid var(--line);padding:16px 0;font-size:.91rem}
.service-line .wrap{display:flex;gap:10px 26px;flex-wrap:wrap;align-items:center}
.service-line a{margin-left:auto;font-weight:600}
.menu-alternatives,.text-links{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:24px;font-weight:600}
.handoff-note{font-size:.84rem;color:var(--slate);margin:18px 0 0}
.catering-terms{font-weight:600;margin-bottom:24px}
.footer-themes{display:flex;gap:6px;align-items:center;margin:28px 0 18px;font-size:.8rem}
.footer-themes>span{margin-right:8px}
.footer-themes button{color:inherit;background:transparent;border:1px solid #655e54;border-radius:4px;padding:6px 10px;font:inherit;cursor:pointer}
.footer-themes button[aria-pressed=true]{background:#ede6da;color:#1f2226}
.item{position:relative;scroll-margin-top:155px;min-width:0}
.item h3{min-width:0}
.item .menu-photo{width:80px;height:80px;object-fit:cover;float:right;border-radius:6px;grid-column:2;grid-row:1 / span 3;margin-left:8px}
.item:has(.menu-photo){grid-template-columns:minmax(0,1fr) 80px}
.item:has(.menu-photo) h3,.item:has(.menu-photo)>.price,.item:has(.menu-photo)>p{grid-column:1;grid-row:auto}
.item:has(.menu-photo) h3{grid-row:1}
.item:has(.menu-photo)>.price{grid-row:2}
.item .menu-practical{font-size:.82rem;color:var(--slate);margin-top:6px}
.item-order{grid-column:1/-1;font-size:.85rem;font-weight:700;margin-top:8px;justify-self:start;min-height:36px;display:inline-flex;align-items:center}
.item:target{background:var(--cream);outline:2px solid var(--saffron);outline-offset:8px}
.price.sizes span{background:transparent;border:0;border-radius:0;padding:0 12px 0 0}
.mt,.chips a,.mfilters button{border-radius:4px}
.item .price{white-space:normal}
@media(max-width:640px){
  .topbar .wrap{justify-content:center;min-height:32px}
  .topbar .wrap>span:nth-child(2){display:none}
  header.site .wrap{min-height:64px}
  .logo img{width:132px}
  .hero{min-height:0}
  .hero .wrap{padding-top:44px;padding-bottom:38px}
  .hero h1{font-size:clamp(2rem,8.5vw,2.9rem);line-height:1.08;max-width:19ch}
  .hero .eyebrow{margin-bottom:16px}
  .hero .lede{font-size:1rem;max-width:34ch}
  .hero-rating{margin-bottom:20px}
  .hero .btns{gap:10px;flex-wrap:nowrap}
  .hero .btn{padding:13px 16px;font-size:.95rem}
  .hero .order-note{font-size:.76rem;max-width:34ch;line-height:1.5}
  .hero::after{background:linear-gradient(90deg,rgba(20,12,8,.86),rgba(20,12,8,.48))}
  .service-line .wrap{gap:4px;flex-direction:column;align-items:flex-start}
  .service-line a{margin:2px 0 0}
  .grid.g4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .dish h3{flex-direction:column;gap:4px;font-size:1rem}
  .dish .body{padding:12px}
  .dish p{font-size:.86rem}
  .qbar{border-top-width:1px;box-shadow:none}
  .qbar a.q-order{background:var(--terra);color:#fff}
}
.phero:not(.img) h1{font-size:clamp(2.1rem,4vw,3.2rem)}
/* Recipe, portion and rice information must remain readable in full. */
.item>p:not(.more):not(.pair){display:block;-webkit-line-clamp:unset;overflow:visible;color:var(--slate)}
