
:root{
  --ink:#1d1c1a; --muted:#6e6962; --paper:#f6f3ee; --cream:#eee8df;
  --white:#fffdf9; --line:#d9d2c8; --accent:#B48A45; --gold:#B48A45; --gold-soft:#D7BE8C;
  --serif:"Cormorant Garamond", Georgia, serif;
  --sans:Inter, Arial, Helvetica, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.6}
img{width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1160px,calc(100% - 40px));margin:auto}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;color:var(--muted)}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:.98;margin:0}
h1{font-size:clamp(4rem,8vw,7.5rem)}
h2{font-size:clamp(2.7rem,5vw,4.8rem)}
h3{font-size:2rem}
p{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;border:1px solid var(--ink);text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;transition:.25s}
.btn:hover{background:var(--ink);color:white}
.btn.dark{background:var(--ink);color:white}
.btn.dark:hover{background:transparent;color:var(--ink)}
header{position:absolute;z-index:10;top:0;left:0;width:100%;color:white}
.nav{height:88px;display:flex;align-items:center;justify-content:space-between;position:relative}
.logo{display:flex;align-items:center;line-height:1}.logo img{display:block;width:150px;height:auto;max-height:52px;object-fit:contain}.footer-logo img{width:135px;max-height:42px}
nav{display:flex;gap:30px;align-items:center;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em}
.nav-toggle{display:none;background:none;border:0;color:inherit;font-size:1.5rem}
.hero{min-height:92vh;position:relative;display:flex;align-items:flex-end;color:white;overflow:hidden;background:
linear-gradient(90deg,rgba(20,18,16,.7),rgba(20,18,16,.12)),
url("../assets/salon-1200.webp?v=28") center/cover}
.hero .content{padding:0 0 90px}
.hero p{color:#eee;max-width:540px;font-size:1.05rem}
.hero-actions{display:flex;gap:12px;margin-top:28px}
.hero .btn{border-color:white;color:white}.hero .btn:hover{background:white;color:var(--ink)}
.intro{padding:120px 0}.intro-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:end}
.intro-copy{max-width:560px}
.section{padding:100px 0}
.soft{background:var(--cream)}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:45px}
.card{min-height:320px;padding:28px;background:var(--white);display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}
.card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.6));z-index:1}
.card:nth-child(1){background:url("../assets/salon-1200.webp?v=28") center/cover}
.card:nth-child(2){background:url("../assets/salon-lobby-1200.webp?v=28") center/cover}
.card:nth-child(3){background:url("../assets/salon-spa-1200.webp?v=28") center/cover}
.card:nth-child(4){background:url("../assets/team/mahzad-320.webp?v=28") center/cover}
.card>*{position:relative;z-index:2;color:white}.card p{color:#eee;margin:6px 0 0}
.split{display:grid;grid-template-columns:1fr 1fr;min-height:620px}.split-image{background:url("../assets/salon-lobby-1200.webp?v=28") center/cover}.split-copy{padding:90px;display:flex;flex-direction:column;justify-content:center;background:var(--white)}
.team{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px;margin-top:45px}.person{background:var(--white);padding:28px}.person:first-child{grid-row:span 2}.person img{aspect-ratio:4/5;object-fit:cover;margin-bottom:22px}
.prices{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:45px}.price-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:15px 0;gap:20px}.price-row span:last-child{font-family:var(--serif);font-size:1.25rem}
.cta{padding:120px 0;text-align:center;background:#282522;color:white}.cta p{color:#d5d0c9;max-width:560px;margin:20px auto 30px}.cta .btn{border-color:white;color:white}
footer{padding:70px 0 35px;background:#171615;color:white}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}.footer-grid p,.footer-grid a{color:#bdb7ae}.footer-bottom{border-top:1px solid #3a3734;margin-top:50px;padding-top:20px;color:#8e8983;font-size:.75rem}
.page-hero{padding:190px 0 90px;background:var(--cream)}
.page-hero p{max-width:600px;font-size:1.05rem}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px}.contact-list{margin-top:30px}.contact-item{padding:20px 0;border-bottom:1px solid var(--line)}.contact-item strong{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.15em;margin-bottom:5px}
.mobile-book{display:none}

@media(max-width:800px){
 .container{width:min(100% - 28px,600px)}
 nav{display:none}.nav-toggle{display:block}
 .hero{min-height:82vh}.hero .content{padding-bottom:55px}
 h1{font-size:4rem}
 .intro,.section{padding:75px 0}
 .intro-grid,.split,.contact-grid{grid-template-columns:1fr;gap:35px}
 .cards{grid-template-columns:1fr 1fr}.card{min-height:260px}
 .split-image{min-height:450px}.split-copy{padding:55px 28px}
 .team{grid-template-columns:1fr 1fr}.person:first-child{grid-row:auto;grid-column:span 2}
 .prices{grid-template-columns:1fr;gap:0}
 .footer-grid{grid-template-columns:1fr 1fr}
 .mobile-book{display:block;position:fixed;z-index:20;bottom:14px;left:14px;right:14px;background:var(--ink);color:white;text-align:center;padding:15px;text-transform:uppercase;letter-spacing:.14em;font-size:.7rem}
}
@media(max-width:480px){.cards,.team,.footer-grid{grid-template-columns:1fr}.person:first-child{grid-column:auto}.hero-actions{flex-direction:column;align-items:stretch}}

.gold-rule{width:70px;height:2px;background:var(--gold);margin:22px 0}
.gold{color:var(--gold)}
.hero .eyebrow{color:var(--gold-soft)}
.page-hero .eyebrow,.section>.container>.eyebrow{color:#a78343}
.btn.gold-btn{border-color:var(--gold);color:var(--gold)}
.btn.gold-btn:hover{background:var(--gold);color:#171615}

/* Studio 52 original-button-inspired brand palette */
:root{
  --brand-gold:#B48A45;
  --brand-gold-dark:#8E692F;
  --brand-gold-light:#D7BE8C;
}
.btn.brand,
.btn.gold-btn{
  background:var(--brand-gold);
  border-color:var(--brand-gold);
  color:#fff;
}
.btn.brand:hover,
.btn.gold-btn:hover{
  background:var(--brand-gold-dark);
  border-color:var(--brand-gold-dark);
  color:#fff;
}
.gold-rule{background:var(--brand-gold)}
a:hover{color:var(--brand-gold-dark)}
.price-row span:last-child{color:var(--brand-gold-dark)}

.offers-section{padding:75px 0 90px;background:#efe7d9;border-top:1px solid rgba(180,138,69,.25);border-bottom:1px solid rgba(180,138,69,.25)}
.offers-heading{display:grid;grid-template-columns:1.15fr .85fr;gap:80px;align-items:end}
.offers-heading h2{font-size:clamp(2.8rem,5vw,4.5rem)}
.offers-heading>p{max-width:430px;margin:0 0 5px}
.offers-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:14px;margin-top:45px}
.offer-card{background:var(--white);min-height:330px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid rgba(180,138,69,.22)}
.offer-card.featured{background:#29241e;color:#fff}
.offer-card.featured p{color:#d7d0c5}
.offer-card h3{font-size:2rem;margin:12px 0}
.offer-card p{font-size:.92rem;margin:0 0 16px}
.offer-card strong{font-family:var(--serif);font-size:1.25rem;color:var(--gold-soft)}
.offer-tag{display:inline-flex;width:max-content;padding:6px 10px;background:#e6d4ae;color:#60491f;text-transform:uppercase;letter-spacing:.12em;font-size:.62rem}
.featured .offer-tag{background:var(--brand-gold);color:#fff}
.offer-link{font-size:.7rem;text-transform:uppercase;letter-spacing:.14em;color:var(--brand-gold-dark);font-weight:600}
.offer-link span{font-size:1rem;margin-left:5px}
@media(max-width:900px){.offers-grid{grid-template-columns:1fr 1fr}.offers-heading{grid-template-columns:1fr;gap:15px}}
@media(max-width:600px){.offers-section{padding:60px 0 70px}.offers-grid{grid-template-columns:1fr}.offer-card{min-height:270px}}

.social-links a{transition:color .2s ease}
.social-links a:hover{color:var(--brand-gold)}
.social-lead{max-width:520px}
.social-grid{display:grid;grid-template-columns:1fr;gap:12px;margin:36px 0 28px}
.social-photo{display:block;overflow:hidden;background:var(--cream)}
.social-photo img{aspect-ratio:4/5;object-fit:cover;transition:transform .35s ease}
.social-photo:hover img{transform:scale(1.03)}
@media(min-width:700px){.social-grid{grid-template-columns:repeat(3,1fr)}}

/* Studio 52 header / hero logo collision fix */
header{height:88px}
.hero .content{position:relative;z-index:2}
.hero .content .eyebrow{margin-bottom:12px}

@media(max-width:800px){
  header{height:78px}
  .nav{height:78px}
  .logo img{width:125px;height:auto;max-height:44px}
  .hero{min-height:82vh;align-items:flex-end}
  .hero .content{padding-top:130px;padding-bottom:55px}
}

/* Final header/logo collision fix */
header{height:88px;overflow:visible}
.logo{position:relative;z-index:11;flex:0 0 auto}
.logo img{pointer-events:none}
.hero .content{padding-top:105px}
@media(max-width:800px){
  header{height:78px}
  .logo img{width:125px;max-height:44px}
  .hero .content{padding-top:125px}
}

/* Dedicated booking page */
.booking-area {
  margin-top: 2rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.booking-note {
  max-width: 42rem;
  margin: 0 0 1.25rem;
}
.booking-primary {
  display: inline-flex;
}

/* Booking page header alignment: keep the logo constrained like the main site header. */
.brand-mark img { display:block; width:150px; height:auto; max-height:52px; object-fit:contain; }
@media(max-width:800px){ .brand-mark img { width:125px; max-height:44px; } }

/* Home hero: use a real bundled image element so hosted static-site URL rewriting
   cannot break the hero background asset. */
.hero { position: relative; }
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.48));
  z-index: 1;
  pointer-events: none;
}
.hero .container.content { position: relative; z-index: 2; }

/* Hero video (from original hairstudio52.co.uk) */
video.hero-image { background:#1a1a1a url("../assets/hero-poster-800.webp?v=28") center/cover; pointer-events:none; }
@media (prefers-reduced-motion: reduce) {
  video.hero-image { display:none; }
  .hero { background:url("../assets/hero-poster-800.webp?v=28") center/cover; }
}
/* Keep header and hero text readable over the bright video */
.hero::after { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 28%, rgba(0,0,0,.22) 55%, rgba(0,0,0,.62) 100%); }

/* ===== v2: mobile menu ===== */
@media(max-width:800px){
  header nav.open{display:flex;position:absolute;top:100%;left:-14px;right:-14px;flex-direction:column;align-items:stretch;gap:0;background:#1d1c1a;padding:10px 20px 22px;box-shadow:0 18px 30px rgba(0,0,0,.25)}
  header nav.open a{padding:14px 0;border-bottom:1px solid #3a3734}
  header nav.open a.btn{margin-top:14px;border-bottom:0;padding:14px 22px}
}

/* ===== v2: price list ===== */
.quick-nav{position:sticky;top:0;z-index:9;background:rgba(246,243,238,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--line)}
.quick-nav .container{display:flex;gap:8px;overflow-x:auto;padding:14px 0;scrollbar-width:none}
.quick-nav .container::-webkit-scrollbar{display:none}
.quick-nav a{flex:0 0 auto;padding:8px 14px;border:1px solid rgba(180,138,69,.35);font-size:.66rem;text-transform:uppercase;letter-spacing:.14em;color:var(--ink);background:var(--white)}
.quick-nav a:hover{background:var(--brand-gold);border-color:var(--brand-gold);color:#fff}
.price-section{scroll-margin-top:70px}
.price-section h2{margin-bottom:36px}
.price-table{width:100%;border-collapse:collapse;margin-top:10px}
.price-table thead th{font-family:var(--sans);font-weight:600;text-transform:uppercase;letter-spacing:.14em;font-size:.66rem;color:var(--muted);text-align:right;padding:0 0 12px 16px;border-bottom:1px solid var(--ink);white-space:nowrap}
.price-table thead th:first-child{text-align:left;padding-left:0}
.price-table tbody th{text-align:left;font-weight:400;padding:15px 16px 15px 0;vertical-align:top}
.price-table .svc{display:block;font-size:1rem;color:var(--ink)}
.price-table small{display:block;color:var(--muted);font-size:.84rem;line-height:1.5;margin-top:4px;max-width:640px}
.price-table td{text-align:right;font-family:var(--serif);font-size:1.25rem;color:var(--brand-gold-dark);padding:13px 0 13px 16px;vertical-align:top;white-space:nowrap}
.price-table tbody tr{border-bottom:1px solid var(--line)}
.price-table.two td{width:190px}
.price-table.one td{width:200px}
h3.sub{font-size:1.7rem;margin:44px 0 6px;color:var(--ink)}
.price-section h2 + h3.sub{margin-top:0}
.packages{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.package{background:var(--white);border:1px solid rgba(180,138,69,.22);padding:30px;display:flex;flex-direction:column}
.package h3{font-size:1.9rem}
.package ul{list-style:none;padding:0;margin:18px 0 24px;flex:1}
.package li{color:var(--muted);font-size:.92rem;padding:7px 0 7px 18px;position:relative;border-bottom:1px solid var(--line)}
.package li:before{content:"";position:absolute;left:0;top:16px;width:7px;height:1px;background:var(--brand-gold)}
.package-price{font-family:var(--serif);font-size:1.9rem;color:var(--brand-gold-dark)}
@media(max-width:640px){
  .price-table thead{display:none}
  .price-table tbody tr{display:grid;grid-template-columns:1fr auto;column-gap:14px;padding:14px 0}
  .price-table tbody th{padding:0}
  .price-table td{padding:0;width:auto!important;white-space:normal;font-size:1.15rem}
  .price-table.two tbody th{grid-column:1/-1;margin-bottom:8px}
  .price-table.two td{display:flex;justify-content:space-between;gap:10px;grid-column:1/-1;text-align:left;padding:3px 0}
  .price-table.two td:before{content:attr(data-label);font-family:var(--sans);font-size:.66rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);align-self:center}
  .price-table.one td{text-align:right;max-width:46vw}
  .package{padding:24px}
}

/* ===== v2: team ===== */
.team-lead{max-width:560px;margin:18px 0 0}
.team-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:45px}
.team-group h3.sub{margin:0 0 14px;font-size:1.5rem}
.team-cards{display:flex;flex-direction:column;gap:10px}
.member{display:flex;align-items:center;gap:16px;background:var(--white);border:1px solid rgba(180,138,69,.18);padding:16px 18px}
.soft .member{background:var(--white)}
.avatar{flex:0 0 56px;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#29241e;color:var(--gold-soft);font-family:var(--serif);font-size:1.6rem}
.avatar.photo{object-fit:cover;object-position:center 20%;padding:0}
.member h4{font-family:var(--serif);font-weight:500;font-size:1.45rem;margin:0;line-height:1.1}
.member p{margin:2px 0 0;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em}
@media(max-width:900px){.team-groups{grid-template-columns:1fr;gap:30px}}

/* ===== v2: booking page ===== */
.booking-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:start}
.booking-card{background:#29241e;color:#fff;padding:56px}
.booking-card .eyebrow{color:var(--gold-soft)}
.booking-card h2{color:#fff}
.booking-card p{color:#d7d0c5;max-width:480px;margin:20px 0 30px}
.btn-lg{padding:18px 30px;font-size:.78rem}
.booking-card p.booking-small{margin:24px 0 0;font-size:.85rem}
.booking-card p.booking-small a{color:var(--gold-soft);text-decoration:underline}
.booking-contact{margin-top:0}
@media(max-width:800px){.booking-grid{grid-template-columns:1fr;gap:40px}.booking-card{padding:36px 26px}.btn-lg{width:100%}}
.offer-note{font-family:var(--serif);font-size:1.15rem!important;color:var(--brand-gold-dark)!important}
.offer-card.featured h3{font-size:2.6rem}
.offer-card .offer-tag + div{margin-top:18px}
/* v3 */
@media(min-width:901px){.offers-grid{grid-template-columns:1.35fr 1fr 1fr 1fr}.offer-card.featured{grid-row:span 2}}
.offer-card .offer-note{margin-top:auto}
.hours-mini{display:grid;grid-template-columns:auto 1fr;gap:2px 18px;margin-top:4px}
.footer-hours{font-size:.85rem;margin-top:10px}
@media(max-width:900px){.offer-card.featured{grid-row:auto;grid-column:1/-1}}
@media(min-width:901px){.offer-card.featured{background:linear-gradient(180deg,rgba(41,36,30,.25) 0%,rgba(41,36,30,.85) 45%,#29241e 70%),url("../assets/salon-lobby-1200.webp?v=28") center top/cover}}
/* v4: 3 boxes — featured left, two stacked right */
@media(min-width:901px){
  .offers-grid{grid-template-columns:1.2fr 1fr;grid-auto-rows:auto;gap:16px}
  .offer-card.featured{grid-row:span 2;min-height:560px;padding:40px}
  .offer-card.featured h3{font-size:3.2rem}
  .offer-card.featured p{font-size:1rem;max-width:460px}
  .offers-grid .offer-card:not(.featured){min-height:0;padding:32px 36px}
  .offers-grid .offer-card:not(.featured) .offer-note{margin-top:4px}
}
@media(max-width:900px){.offers-grid{grid-template-columns:1fr}}
/* v5: owner's offers — featured left, three grouped boxes right */
.offer-group{justify-content:flex-start;gap:0}
.offer-group h3{margin:14px 0 6px}
.offer-items{list-style:none;padding:0;margin:0 0 22px}
.offer-items li{padding:14px 0;border-bottom:1px solid var(--line)}
.offer-items li:last-child{border-bottom:0}
.oi-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.oi-name{font-weight:600;font-size:.95rem;color:var(--ink)}
.oi-price{font-family:var(--serif);font-size:1.4rem;color:var(--brand-gold-dark);white-space:nowrap}
.offer-items li p{margin:4px 0 0;font-size:.88rem}
.offer-group .offer-link{margin-top:auto}
@media(min-width:901px){
  .offer-card.featured{grid-row:span 3;min-height:0}
  .offers-grid .offer-card.offer-group{padding:30px 36px}
  .offer-items li{padding:11px 0}
}
/* v6: four equal cards (2x2 desktop/tablet, 1-up mobile) */
.offers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;grid-auto-rows:auto}
.offers-grid .offer-card.offer-group{grid-row:auto;grid-column:auto;min-height:0;padding:32px 36px;background:var(--white);color:var(--ink);border:1px solid rgba(180,138,69,.22);display:flex;flex-direction:column;justify-content:flex-start}
.offers-grid .offer-card.is-featured{border-color:var(--brand-gold);box-shadow:inset 0 3px 0 var(--brand-gold)}
.offer-tags{display:flex;gap:6px;flex-wrap:wrap}
.offer-tags .offer-tag{background:#e6d4ae;color:#60491f}
.offer-tags .offer-tag:first-child:not(:only-child){background:var(--brand-gold);color:#fff}
.offers-grid .offer-card h3{font-size:2rem;margin:14px 0 8px;color:var(--ink)}
.offer-body p{font-size:.88rem;margin:4px 0 0;color:var(--muted)}
.offer-body .offer-note{margin-top:14px!important;font-family:var(--serif);font-size:1.3rem!important;color:var(--brand-gold-dark)!important}
.offer-body{margin:0 0 22px}
.offer-items li p{font-size:.88rem}
.offer-cta{margin-top:auto;align-self:stretch}
@media(max-width:600px){
  .offers-grid{grid-template-columns:1fr}
  .offers-grid .offer-card.offer-group{padding:26px 22px}
}
@media(min-width:601px){.offers-grid{grid-auto-rows:1fr}}
.oi-price{font-family:var(--serif);font-size:1.4rem;color:var(--brand-gold-dark);white-space:nowrap;text-align:right}


/* V4 additions */
:root{--nav-h:88px;--pad:clamp(16px,4vw,24px)}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 700;font-display:swap;src:url('../fonts/cormorant-garamond.woff2?v=28') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/inter.woff2?v=28') format('woff2')}
img{max-width:100%;height:auto}
.hero-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}
video.hero-image{opacity:0;transition:opacity .4s ease}
video.hero-image.is-ready{opacity:1}
@media (prefers-reduced-motion: reduce){
  video.hero-image{display:none}
}
.avatar.photo{object-fit:cover;object-position:center 22%;padding:0}
/* Gallery */
.gallery-lead{max-width:36rem;margin:0 0 36px}
.gallery-grid{display:grid;grid-template-columns:1fr;gap:12px;margin:0 0 36px}
@media(min-width:600px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}
.gallery-item{display:block;margin:0;padding:0;border:0;background:var(--cream);cursor:zoom-in;overflow:hidden}
.gallery-item img{aspect-ratio:3/4;object-fit:cover;width:100%;height:auto;display:block;transition:transform .35s ease}
.gallery-item:hover img{transform:scale(1.03)}
.lightbox{border:0;padding:0;background:rgba(20,18,16,.92);max-width:100%;width:100%;height:100%;max-height:100%}
.lightbox::backdrop{background:rgba(20,18,16,.92)}
.lightbox-inner{min-height:100%;display:flex;align-items:center;justify-content:center;padding:48px 64px}
.lightbox-inner img{max-width:min(1100px,92vw);max-height:88vh;width:auto;height:auto;object-fit:contain}
.lightbox-close,.lightbox-prev,.lightbox-next{position:fixed;appearance:none;border:0;background:transparent;color:#fff;cursor:pointer;z-index:2;font:500 2rem/1 var(--sans)}
.lightbox-close{top:16px;right:22px}
.lightbox-prev{left:12px;top:50%;transform:translateY(-50%);font-size:2.4rem}
.lightbox-next{right:12px;top:50%;transform:translateY(-50%);font-size:2.4rem}
/* Nili hosted Articles pages (main without id). Our pages use main#main so this does not apply to them. */
main:not([id]){display:block;max-width:1180px;margin:0 auto;padding:calc(var(--nav-h,88px) + 72px) var(--pad,24px) 110px;min-height:62vh}
main:not([id]) > h1,main:not([id]) .article-header h1{font-family:var(--serif);font-weight:500;font-size:clamp(2.4rem,6vw,4.2rem);line-height:1.05;color:var(--ink);margin:0 0 18px}
main:not([id]) > h1 + style + p,main:not([id]) > p{color:var(--muted);max-width:40rem}
main:not([id]) h2{font-family:var(--serif);font-weight:500;color:var(--ink)}
main:not([id]) section{max-width:760px}
main:not([id]) img{max-width:100%;height:auto}
/* Articles listing: keep every card the same small size (temporary override). */
main .nili-article-index .is-cover{grid-column:auto}
@media (min-width:760px){
  main .nili-article-index .is-cover .nili-article-card{display:flex;flex-direction:column}
  main .nili-article-index .is-cover .nili-article-cover{height:auto;min-height:0;aspect-ratio:16/9}
}
.price-section,.offers-section{content-visibility:auto;contain-intrinsic-size:1px 800px}

.hero picture{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block}
.hero picture img,.hero-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}

@media(min-width:800px){.hero{background-image:url("../assets/hero-poster-1200.webp?v=28")}}
