*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Inter',system-ui,sans-serif;color:#1d1d1f;background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%}

/* nav — no full-width bar above it, pills live IN the nav (desktop) */
.prelaunch-banner{background:var(--pa);color:#fff;text-align:center;font-size:.88rem;font-weight:600;padding:9px 16px}
.prelaunch-banner a{color:#fff;font-weight:800;text-decoration:underline;margin-left:8px;white-space:nowrap}
.topnav{display:flex;align-items:center;gap:28px;padding:14px 28px;background:var(--p);color:#fff;position:sticky;top:0;z-index:500}
.brand{font-weight:800;font-size:1.15rem;letter-spacing:.2px;white-space:nowrap;display:flex;align-items:center}
.brand img{height:52px;width:auto;display:block}
.nav-links{display:flex;gap:22px;font-weight:600;font-size:.95rem;flex:1}
.nav-links a{opacity:.92}.nav-links a:hover{opacity:1}
.nav-pills{display:flex;gap:10px}
/* EN/TR visitor toggle (multi-lang skins): US flag = English per house rule, never GB */
.lang-switch{display:flex;gap:7px;align-items:center;margin-left:auto;margin-right:14px}
.nav-links~.lang-switch{margin-left:14px}
.lang-flag{display:flex;align-items:center;justify-content:center;width:34px;height:24px;border-radius:5px;overflow:hidden;background:#fff;border:2px solid rgba(255,255,255,.9);transition:.15s;filter:saturate(.6) brightness(.88)}
.lang-flag .fi{width:100%;height:100%;background-size:cover;background-position:center}
.lang-flag:hover{filter:saturate(.85) brightness(1)}
.lang-flag.active{border-color:var(--gold,#fff);filter:none;box-shadow:0 1px 6px rgba(0,0,0,.35)}
.pill{display:inline-block;padding:9px 20px;border-radius:999px;font-weight:700;font-size:.9rem;transition:.18s}
.pill-solid{background:#fff;color:var(--p)}
.pill-solid:hover{transform:translateY(-1px)}
.pill-line{border:2px solid rgba(255,255,255,.5);color:#fff}

/* hero */
.hero{background:linear-gradient(160deg,var(--p),var(--pa));color:#fff;padding:56px 28px 48px;text-align:center;
  min-height:min(600px,33.34vw);display:flex;flex-direction:column;justify-content:center}
.hero h1{font-size:clamp(1.9rem,5vw,3.1rem);font-weight:800;letter-spacing:-.5px;text-shadow:0 2px 14px rgba(60,0,14,.55)}
.hero p{max-width:620px;margin:10px auto 26px;font-size:1.05rem;opacity:.97;text-shadow:0 1px 10px rgba(60,0,14,.55)}
.searchbox{display:flex;gap:10px;max-width:720px;margin:0 auto;background:#fff;border-radius:14px;padding:10px}
.searchbox select,.searchbox input{border:0;outline:0;font:inherit;font-size:.95rem;padding:10px 12px;background:transparent;color:#1d1d1f}
.searchbox select{border-right:1px solid #eee;min-width:170px}
/* The native dropdown popup does NOT inherit the hero's white text usefully - it renders over the OS's own
   surface. Paint the options explicitly or they read as pale-on-pale (owner caught this 8/25). */
.searchbox select option,.filters select option{background:#fff;color:#1d1d1f}
.searchbox input{flex:1;min-width:120px}
.searchbox button{border:0;background:var(--p);color:#fff;font-weight:700;font-size:.95rem;padding:12px 26px;border-radius:10px;cursor:pointer}

/* sections */
.section{padding:48px 28px;max-width:1120px;margin:0 auto}
.section h2{font-size:1.5rem;font-weight:800;margin-bottom:22px;text-align:center}
.section-tint{max-width:none;background:#f2ece5}
.section-tint h2,.section-tint .cat-grid{max-width:1064px;margin-left:auto;margin-right:auto}
.section-tint h2{margin-bottom:22px}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
@media (min-width:1000px){.cat-grid{grid-template-columns:repeat(7,1fr)}
.cat-grid.cols-8,.cat-grid.cols-10{grid-template-columns:repeat(5,1fr)}
.cat-grid.cols-9{grid-template-columns:repeat(5,1fr)}
.cat-grid.cols-6{grid-template-columns:repeat(6,1fr)}}
/* Airo-style category cards (owner 7/30): UNIFORM fixed box, photo bg, text overlaid — size never bends to the label */
.cat-card{position:relative;display:block;aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:#2a2119 center/cover no-repeat;border:1px solid #e5ddd4;box-shadow:0 2px 10px rgba(72,48,28,.10);transition:.18s;background-size:cover;background-position:center}
.cat-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(72,48,28,.2)}
.cat-scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(10,6,4,.82) 0%,rgba(10,6,4,.25) 45%,rgba(10,6,4,.05) 70%)}
.cat-text{position:absolute;left:14px;right:14px;bottom:11px;color:#fff;text-align:left}
.cat-label{display:block;font-weight:800;font-size:.98rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cat-sub{display:block;font-weight:400;font-size:.73rem;opacity:.85;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.r-card{border:1px solid #eee;border-radius:14px;padding:14px;transition:.18s;display:flex;flex-direction:column;gap:8px}
.r-card:hover{border-color:var(--p);box-shadow:0 6px 18px rgba(0,0,0,.06)}
.r-card h3{font-size:1.08rem;font-weight:800}
.r-card h3 a{color:inherit}
.r-card .meta{font-size:.88rem;color:#666}
/* Card photo slot. Member photo when they have one; otherwise one of their own category photos, labelled.
   Never use the `background` shorthand on these — it silently kills background-size:cover (8/4 lesson). */
.r-img{position:relative;display:block;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background-size:cover;background-position:center;background-color:#f6f2ef}
.r-img-ph{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23d9cfc9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 18 A40 40 0 0 1 56 18 L32 58 Z'/%3E%3Ccircle cx='24' cy='26' r='3' fill='%23d9cfc9'/%3E%3Ccircle cx='40' cy='28' r='3' fill='%23d9cfc9'/%3E%3Ccircle cx='31' cy='40' r='3' fill='%23d9cfc9'/%3E%3C/g%3E%3C/svg%3E");background-size:56px;background-repeat:no-repeat;background-position:center}
.r-img-scrim{position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.18) 42%,rgba(0,0,0,.70) 100%)}
.r-img-label{position:absolute;left:11px;bottom:9px;right:11px;color:#fff;font-size:.84rem;font-weight:800;line-height:1.2;text-shadow:0 1px 4px rgba(0,0,0,.65);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r-logo{position:absolute;left:10px;top:10px;width:66px;height:44px;border-radius:8px;background-color:#fff;border:1px solid #eee3d9;background-size:contain;background-repeat:no-repeat;background-position:center;box-shadow:0 2px 8px rgba(0,0,0,.28)}
.r-founding{position:absolute;right:0;top:11px;background-image:linear-gradient(90deg,#b98f34,#e8c777);color:#3d2c07;font-size:.64rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;padding:4px 11px 4px 13px;border-radius:999px 0 0 999px;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.pills{display:flex;flex-wrap:wrap;gap:6px;flex:1;align-content:flex-start}
.pills-act{flex:0 0 auto}
.badge{display:inline-block;font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:999px;background:#f1e8e8;color:var(--p)}
.badge-soft{background:#f4f1ee;color:#6b5f58}
.badge-halal{background:#e4f3ea;color:#166b45;border:1px solid #b8dfc9}
/* bilingual menu: the restaurant's OWN site+menu are in both site languages. Flag chips inline so it reads
   as a language marker at a glance, in the Turkish flag's red/white rather than the halal green. */
.badge-bilingual{background:#fdeaec;color:#a3121f;border:1px solid #f3c2c7;display:inline-flex;align-items:center;gap:4px}
.badge-bilingual .fi{width:14px;height:10px;border-radius:1px;flex:none}
[data-theme="dark"] .badge-bilingual{background:rgba(227,10,23,.16);color:#f7c9cd;border-color:rgba(227,10,23,.45)}
.badge-act{border:1px solid #e3d5d5;background:#fff;color:var(--p)}
.badge-act:hover{background:var(--p);color:#fff;border-color:var(--p)}
.r-card .actions{display:flex;gap:8px;margin-top:6px}
.r-card .actions a{flex:1;text-align:center;padding:9px 0;border-radius:999px;font-weight:700;font-size:.86rem}
.a-order{background:var(--p);color:#fff}
.a-view{border:2px solid var(--p);color:var(--p)}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;text-align:center}
.step h3{font-size:1.02rem;margin:8px 0 4px}
.step .num{width:44px;height:44px;border-radius:50%;background:var(--p);color:#fff;font-weight:800;font-size:1.2rem;display:flex;align-items:center;justify-content:center;margin:0 auto}

/* story band (scroll-story image between sections; per-skin via directories.story_*) */
.story-band{position:relative;min-height:440px;background:#1a1410 center/cover no-repeat;background-attachment:fixed;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.story-scrim{position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(8,5,3,.25) 0%,rgba(8,5,3,.7) 100%)}
.story-text{position:relative;z-index:2;color:#fff;padding:40px 24px;max-width:760px}
.story-text h2{font-size:clamp(1.6rem,3.4vw,2.6rem);font-weight:800;text-shadow:0 2px 16px rgba(0,0,0,.6)}
.story-text p{margin-top:10px;font-size:1.06rem;opacity:.93;text-shadow:0 1px 10px rgba(0,0,0,.6)}

/* light story band: Ted's PSD replicated as stacked full-canvas layers (frame + hat cutout),
   both aligned on the same 1285x557 artboard, so positions match his mockup exactly */
.story-band.story-light{background:#0d0a08;min-height:0;padding:26px 28px;overflow:hidden}
.story-canvas{position:relative;width:min(1285px,100%);flex:none;margin:0 auto}
.story-visual{position:relative;aspect-ratio:1285/557}
.story-layer{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.story-frame{opacity:0;transition:opacity 1s ease-out .25s}
.story-obj{opacity:0;transform:translateX(-9%);transition:opacity .9s ease-out,transform .9s cubic-bezier(.16,.84,.44,1)}
.story-canvas.in-view .story-frame{opacity:1}
.story-canvas.in-view .story-obj{opacity:1;transform:translateX(0)}
@media (prefers-reduced-motion:reduce){.story-frame,.story-obj{opacity:1;transform:none;transition:none}}
.story-copy{position:absolute;left:47.5%;right:10%;top:50%;transform:translateY(-50%);text-align:left}
.story-copy h2{font-size:clamp(1.5rem,3.4vw,2.85rem);font-weight:800;color:#f2e9df;line-height:1.2}
.story-copy h2::after{content:"";display:block;width:74px;height:3px;margin:14px 0 0;background:linear-gradient(90deg,#C9A227,transparent)}
.story-copy p{margin-top:12px;font-size:1.04rem;color:#cbbba7}

/* browse by state / city — uniform card grid (every card same width via CSS grid, never sized to its own text) */
.state-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px;max-width:1100px;margin:0 auto}
.state-grid-single{grid-template-columns:1fr;max-width:640px}
/* State cards are <details> accordions (owner 8/25): collapsed until clicked, so a long roster of cities
   doesn't bury the rest of the homepage. Cards sit at the top of the grid rather than stretching. */
.state-card{background:#fff;border:1px solid #e5ddd4;border-radius:14px;padding:20px 22px;box-shadow:0 2px 10px rgba(72,48,28,.08);text-align:left;align-self:start}
.state-card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;cursor:pointer;list-style:none;user-select:none}
.state-card-head::-webkit-details-marker{display:none}   /* Safari draws its own triangle; we use our chevron */
.state-card[open] .state-card-head{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #eee2d6}
.state-card-name{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}   /* flex items default to min-width:auto: without this a long state
   name (Massachusetts) refuses to shrink and pushes the chevron out of the card. Paired with flex-wrap on the
   header so a name that still doesn't fit wraps the pill to a second line instead of sitting on top of it. */
/* An SVG chevron, not a rotated bordered square: a rotated square's bounding box grows to ~1.4x and its optical
   centre shifts, which is what made the arrow overflow the edge and jump on open/close. */
.state-chev{flex:none;margin-left:auto;width:14px;height:14px;opacity:.55;transition:transform .18s,opacity .18s}
.state-card[open] .state-chev{transform:rotate(180deg)}
.state-card-head:hover .state-chev{opacity:.95}
.state-card-name{font-size:1.1rem;font-weight:800;color:inherit;text-decoration:none}
.state-card[open] .state-card-name{color:var(--p)}
[data-theme="dark"] .state-card[open] .state-card-name{color:var(--gold,#C9A227)}
a.state-card-name:hover{color:var(--p)}
.state-count-pill{flex:none;background:rgba(200,16,46,.08);color:var(--p);font-weight:700;font-size:.78rem;padding:4px 12px;border-radius:999px;white-space:nowrap}
.state-cities{list-style:none;display:flex;flex-direction:column;gap:9px}
.state-cities-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px 18px}
.state-cities a{color:inherit;opacity:.82;font-size:.95rem;text-decoration:none}
.state-cities a:hover{opacity:1;color:var(--p);text-decoration:underline}
.state-city-count{opacity:.55;font-size:.85em}
.state-more{display:inline-block;margin-top:12px;font-size:.85rem;font-weight:700;color:var(--p);text-decoration:none}
.state-more:hover{text-decoration:underline}
.browse-back{display:inline-block;margin-bottom:14px;font-weight:700;font-size:.9rem;color:var(--p);text-decoration:none}
.browse-back::before{content:"← "}
/* Page background untouched; the card keeps its original fill and gets a white/cream stroke instead of
   the low-contrast hairline it had before, so each card reads as a distinct box rather than one flat field. */
[data-theme="dark"] .state-card{background-color:var(--dsurf);border-color:rgba(242,233,223,.5);color:#f2e9df}
[data-theme="dark"] .state-card-head{border-bottom-color:var(--dline)}
[data-theme="dark"] .state-count-pill{background:rgba(255,255,255,.08);color:var(--gold)}

/* app coming soon band (reusable engine block, opt-in per directory via show_app_soon) */
.app-soon{background:#0d0a08;max-width:none;padding:60px 28px}
.app-soon-flex{display:flex;align-items:center;justify-content:center;gap:52px;max-width:1040px;margin:0 auto}
.app-soon-phone{width:min(360px,85%);flex:none;border-radius:18px;border:6px solid #fff;box-shadow:0 20px 50px rgba(0,0,0,.5)}
.app-soon-copy{max-width:460px;text-align:left}
.app-soon-copy h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;color:#f2e9df;line-height:1.2}
.app-soon-copy p{margin-top:12px;font-size:1.04rem;color:#cbbba7}
.app-badges{display:flex;flex-direction:column;gap:12px;margin-top:22px;width:min(270px,100%)}   /* rule 1L: uniform pill width, stacked */
.app-badge{position:relative;display:flex;align-items:center;gap:9px;padding:11px 18px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);color:#e8ded2;cursor:default;transition:.15s;width:100%;box-sizing:border-box}
.app-badge:hover,.app-badge:focus{background:rgba(255,255,255,.11);border-color:var(--gold)}
.app-badge svg{width:24px;height:24px;flex:none;opacity:.85}
.app-badge span{font-weight:700;font-size:.95rem}
.app-badge em{font-style:normal;font-size:.7rem;opacity:.65;border-left:1px solid rgba(255,255,255,.25);padding-left:8px;margin-left:2px}
.app-badge-tip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(4px);background:#1a1410;color:#fff;font-size:.78rem;font-weight:700;padding:6px 12px;border-radius:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:.15s;box-shadow:0 4px 14px rgba(0,0,0,.4)}
.app-badge:hover .app-badge-tip,.app-badge:focus .app-badge-tip{opacity:1;transform:translateX(-50%) translateY(0)}

/* results + map */
#map{width:100%;height:420px;display:block}
.results-wrap{max-width:1120px;margin:0 auto;padding:28px}
.result-count{font-weight:700;color:#666;font-size:.92rem;margin-bottom:14px}
.filters{display:flex;gap:10px;flex-wrap:wrap;padding:18px 28px;max-width:1120px;margin:0 auto}
.filters select,.filters input{font:inherit;padding:10px 14px;border:1px solid #ddd;border-radius:10px;font-size:.92rem}
.filters input{flex:1;min-width:140px}
.filters button{font:inherit;font-weight:700;background:var(--p);color:#fff;border:0;border-radius:10px;padding:10px 24px;cursor:pointer}

/* listing detail */
.listing-head{background:linear-gradient(160deg,var(--p),var(--pa));color:#fff;padding:44px 28px}
.listing-head .inner{max-width:900px;margin:0 auto}
.listing-head h1{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:800}
.listing-head .addr{display:inline-block;margin-top:10px;font-size:1.05rem;font-weight:700;border-bottom:1px solid currentColor}
.listing-body{max-width:900px;margin:0 auto;padding:34px 28px}
.listing-body .desc{font-size:1.02rem;color:#333;margin-bottom:22px}

/* bilingual pill badge (listing page): auto-built from the site's real $LANGS, not a static image */
.bilingual-badge{display:inline-flex;vertical-align:middle;border-radius:999px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.bd-seg{display:flex;align-items:center;gap:4px;padding:3px 10px;font-weight:700;font-size:.72rem;letter-spacing:.02em}
.bd-seg .fi{width:14px;height:10px;border-radius:1px;flex:none}
.bd-seg:first-child{background:var(--gold,#C9A227);color:#14100e}
.bd-seg:not(:first-child){background:#14100e;color:#fff}

/* own-branded-app band (higher package tier; real store links, not a "coming soon" placeholder) */
.own-app-band{background:#f2ebdd;padding:44px 28px}
.own-app-inner{max-width:640px;margin:0 auto;text-align:center}
.own-app-eyebrow{font-size:.8rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#b8944d}
.own-app-inner h2{margin-top:6px;font-size:clamp(1.5rem,3.4vw,2.1rem);font-weight:800;color:#1a1410}
.own-app-inner p{margin-top:8px;font-size:1.02rem;color:#555}
.own-app-badges{display:flex;gap:14px;justify-content:center;margin-top:22px;flex-wrap:wrap}
.own-app-badge{display:block;line-height:0;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.18);transition:.15s}
.own-app-badge img{display:block;width:150px;height:53px;border-radius:10px}
.own-app-badge:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.24)}

/* deal/coupon graphic (replaces the long description; owner-picked style per restaurant) */
.deal-card{position:relative;margin-bottom:24px;padding:26px 28px;border-radius:14px;text-align:center}
.deal-headline{font-size:clamp(1.3rem,3vw,1.7rem);font-weight:800;line-height:1.25}
.deal-terms{margin-top:8px;font-size:.85rem;opacity:.75}

.deal-ticket{background:#fff;border:2px dashed var(--p);color:var(--p)}
.deal-ticket::before,.deal-ticket::after{content:"";position:absolute;top:50%;width:22px;height:22px;background:#f4f1ec;border-radius:50%;transform:translateY(-50%)}
.deal-ticket::before{left:-11px}
.deal-ticket::after{right:-11px}
[data-theme="dark"] .deal-ticket::before,[data-theme="dark"] .deal-ticket::after{background:#14100e}

.deal-badge{background:#14100e;border:2px solid var(--gold,#C9A227);color:var(--gold,#C9A227)}
.deal-badge::before{content:"DEAL";position:absolute;top:14px;left:-30px;transform:rotate(-45deg);background:var(--gold,#C9A227);color:#14100e;font-size:.7rem;font-weight:800;letter-spacing:.05em;padding:3px 34px}
.deal-badge{overflow:hidden}
.deal-badge .deal-terms{color:#e8ded2}

.deal-banner{background:var(--p);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.deal-banner .deal-terms{color:rgba(255,255,255,.85)}
.cta-row{display:flex;gap:12px;margin:18px 0;flex-wrap:wrap}
.cta-row a{flex:1;min-width:150px;text-align:center;padding:13px 0;border-radius:999px;font-weight:700}

/* house ads */
.ad-card{background:#fdf9f4;border-style:dashed;justify-content:center;text-align:center}
.ad-card p{font-size:.92rem;color:#555}
.ad-card .a-order{display:inline-block;background:var(--p);color:#fff;padding:10px 24px;border-radius:999px;font-weight:700;font-size:.9rem;margin-top:8px}
.ad-tag{display:inline-block;font-size:.66rem;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#a89a92;margin-bottom:4px}
.ad-inline{margin-top:22px;padding:14px 18px;border:1px dashed #e3d5d5;border-radius:12px;font-size:.92rem;color:#555}
.ad-inline a{color:var(--p)}

/* footer */
footer{background:#171314;color:#cfc7c7;margin-top:40px}
.partner-strip{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;padding:20px 28px;border-bottom:1px solid rgba(255,255,255,.08)}
.partner-strip .pad{display:flex;flex-direction:column;gap:2px;text-align:center;padding:8px 18px;border:1px solid rgba(255,255,255,.14);border-radius:12px;transition:.18s}
.partner-strip .pad:hover{border-color:rgba(255,255,255,.4)}
.partner-strip .pad b{font-size:.88rem;color:#eee}
.partner-strip .pad span{font-size:.76rem;color:#a99}
/* Directory-network block (footer): the artwork + a pill per network domain.
   Live domains link out; unlaunched ones are non-clickable "Coming Soon" pills (dead-door rule). */
.net-block{max-width:1080px;margin:0 auto;padding:30px 24px;border-bottom:1px solid rgba(255,255,255,.08)}
/* stretch, not center: the artwork column matches the pill column's height exactly (owner 8/16) */
.net-grid{display:grid;grid-template-columns:minmax(200px,290px) 1fr;gap:34px;align-items:stretch}
.net-block.no-art .net-grid{grid-template-columns:1fr}   /* directories without footer artwork: pills take the full width */
.net-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.08)}
.net-title{margin:0 0 18px;text-align:center;font-size:1.15rem;font-weight:800;letter-spacing:.4px;color:#fff}
.net-group-label{margin:0 0 9px;font-size:.64rem;letter-spacing:2.4px;text-transform:uppercase;color:#9c9494}
.net-group-label + .net-pills + .net-group-label{margin-top:16px}
.net-pills{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:9px}
.net-pill{display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:1.2;
  padding:11px 16px;border-radius:999px;font-size:.78rem;font-weight:700;color:#e6dede;
  border:1px solid rgba(255,255,255,.15);background:linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.03));transition:.18s}
.net-pill .net-name{min-width:0;overflow-wrap:anywhere}   /* long single-word domains must never spill the pill */
.net-pill.is-live{justify-content:center}
.net-pill.is-live{border-color:transparent;color:#fff;background:linear-gradient(135deg,var(--p),var(--pa));box-shadow:0 6px 18px rgba(0,0,0,.35)}
.net-pill.is-live:hover{transform:translateY(-2px);box-shadow:0 11px 26px rgba(0,0,0,.5)}
.net-pill.is-current{border-color:var(--gold,#C9A227);color:#fff}
.net-pill.is-soon{color:#b0a6a6}
.net-chip{flex:none;font-style:normal;font-size:.55rem;font-weight:800;letter-spacing:1px;text-transform:uppercase;
  padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.13);color:#efe8e8;white-space:nowrap}
.net-pill.is-current .net-chip{background:var(--gold,#C9A227);color:#2a1d05}

/* LOS services block (footer) — grid, not a wrapped cloud, so every pill is the same width and the rows align (rule 1L) */
.los-block{padding:26px 24px 22px;border-bottom:1px solid rgba(255,255,255,.08);text-align:center}
.los-title{display:inline-block;font-size:1.15rem;font-weight:800;letter-spacing:.4px;color:#fff;margin-bottom:16px;transition:.18s}
.los-title:hover{color:var(--p)}
.los-pills{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;max-width:980px;margin:0 auto}
.los-pill{display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 14px;border:1px solid rgba(255,255,255,.14);border-radius:999px;font-size:.82rem;font-weight:600;color:#d8d0d0;line-height:1.25;transition:.18s}
.los-pill:hover{border-color:var(--p);color:#fff}
.foot-bar{text-align:center;padding:20px 24px 6px;font-size:.85rem}
.foot-admin{display:inline-block;margin-left:12px;padding:6px 16px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#cfc7c7;font-size:.78rem;font-weight:600;transition:.18s}
.foot-admin:hover{border-color:var(--p);color:#fff}
.footer-powered{text-align:center;padding:12px 24px 22px;display:flex;align-items:center;justify-content:center;gap:8px}
.footer-powered span{font-family:'Inter',sans-serif;font-size:.65rem;letter-spacing:2.5px;text-transform:uppercase;color:#999}
.footer-powered img{height:28px;opacity:.42;filter:brightness(1.5);transition:opacity .25s}
.footer-powered img:hover{opacity:.85}

/* forms (join) */
.form-card{max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.form-card input,.form-card textarea{font:inherit;padding:12px 14px;border:1px solid #ddd;border-radius:10px}
.form-card button{font:inherit;font-weight:700;background:var(--p);color:#fff;border:0;border-radius:999px;padding:13px;cursor:pointer}
.notice{max-width:560px;margin:0 auto 18px;padding:14px 18px;border-radius:10px;background:#e8f5ee;color:#0f6e56;font-weight:600}
.join-intro{max-width:560px;margin:0 auto 18px;padding:14px 18px;border-radius:10px;background:rgba(200,16,46,.1);border:1px solid rgba(200,16,46,.25);color:inherit;font-weight:600;text-align:center}
[data-theme="dark"] .join-intro{background:rgba(255,255,255,.06);border-color:var(--gold)}
.hp{position:absolute;left:-9999px;opacity:0}
.join-cats-label{font-size:.8rem;font-weight:700;color:#666;text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}
.checks{display:flex;flex-wrap:wrap;gap:8px}
.checks label{display:flex;align-items:center;gap:6px;font-size:.9rem;font-weight:600;color:#333;background:#faf7f5;border:1px solid #e5ddd4;border-radius:999px;padding:8px 14px;cursor:pointer}
.checks label:has(input:checked){border-color:var(--p);color:var(--p);background:#fdf3f3}
.checks-1{flex-direction:column;align-items:stretch}
.checks-1 label{border-radius:10px}
.notice-err{background:#fdecec;color:#98202a}
.join-hint{margin-top:8px;font-size:.82rem;color:#777}
.join-files{display:flex;flex-wrap:wrap;gap:10px}
.join-file{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:6px;background:#faf7f5;border:1px solid #e5ddd4;border-radius:10px;padding:12px 14px}
.join-file span{font-size:.9rem;font-weight:700;color:#333}
.join-file input[type=file]{font:inherit;font-size:.84rem;max-width:100%}
.join-file em{font-style:normal;font-size:.76rem;color:#888}
[data-theme="dark"] .join-hint,[data-theme="dark"] .join-file em{color:#b8a894}
[data-theme="dark"] .checks label,[data-theme="dark"] .join-file{background-color:#241c16;border-color:var(--dline);color:#e9ddcd}
[data-theme="dark"] .checks label:has(input:checked){background-color:#2c2118;border-color:var(--gold);color:#e8c777}
[data-theme="dark"] .join-file span{color:#e9ddcd}
[data-theme="dark"] .notice-err{background-color:#3a1d1d;color:#ffb4b4}

/* video hero */
.hero-video{position:relative;overflow:hidden;background:#180e0a}
.hero-vid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(rgba(12,7,5,.5),rgba(24,12,9,.62));z-index:1}
.hero-video h1,.hero-video p,.hero-video form{position:relative;z-index:2}

/* ===== DARK CINEMATIC THEME (per-skin: directories.theme_mode = 'dark') ===== */
[data-theme="dark"]{--gold:#C9A227;--dsurf:#211a15;--dline:#3a2d22}
[data-theme="dark"] body,body[data-theme="dark"]{background:#14100e;color:#f2e9df}
[data-theme="dark"] .section h2{color:#f2e9df}
[data-theme="dark"] .section h2::after{content:"";display:block;width:74px;height:3px;margin:10px auto 0;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
[data-theme="dark"] .section-tint{background:#1a1410}
[data-theme="dark"] .cat-card{background-color:var(--dsurf);border-color:var(--dline);color:#f2e9df;box-shadow:0 2px 12px rgba(0,0,0,.45)}   /* background-COLOR only: the shorthand resets center/cover and breaks photo cards */
[data-theme="dark"] .cat-card:hover{border-color:var(--gold);color:var(--gold);box-shadow:0 8px 22px rgba(0,0,0,.6)}
[data-theme="dark"] .r-card{background:var(--dsurf);border-color:var(--dline)}
[data-theme="dark"] .r-card:hover{border-color:var(--gold);box-shadow:0 8px 22px rgba(0,0,0,.55)}
[data-theme="dark"] .r-card .meta{color:#b8a894}
[data-theme="dark"] .r-img{background-color:#2a211a}
[data-theme="dark"] .badge{background:#2c2118;color:#e8c777}
[data-theme="dark"] .badge-soft{background:#251d17;color:#c9b8a4}
[data-theme="dark"] .badge-halal{background-color:#16301f;color:#7fd4a3;border-color:#2c5c3f}
[data-theme="dark"] .badge-act{background:transparent;border-color:var(--dline);color:#e8c777}
[data-theme="dark"] .badge-act:hover{background:var(--gold);color:#14100e;border-color:var(--gold)}
[data-theme="dark"] .a-view{border-color:var(--gold);color:var(--gold)}
[data-theme="dark"] .searchbox{background:#211a15}
[data-theme="dark"] .searchbox select,[data-theme="dark"] .searchbox input{color:#f2e9df}
[data-theme="dark"] .searchbox select{border-color:var(--dline)}
[data-theme="dark"] .searchbox select option,[data-theme="dark"] .filters select option{background:#211a15;color:#f2e9df}
[data-theme="dark"] .searchbox input::placeholder{color:#8f7f6d}
[data-theme="dark"] .filters select,[data-theme="dark"] .filters input{background:#211a15;border-color:var(--dline);color:#f2e9df}
[data-theme="dark"] .steps p,[data-theme="dark"] .listing-body .desc{color:#cbbba7}
[data-theme="dark"] .form-card input,[data-theme="dark"] .form-card textarea{background:#211a15;border-color:var(--dline);color:#f2e9df}
[data-theme="dark"] .checks label{background:#211a15;border-color:var(--dline);color:#e5d6c3}
[data-theme="dark"] .ad-card{background:#1d1712;border-color:var(--dline)}
[data-theme="dark"] .ad-card p{color:#c9b8a4}
[data-theme="dark"] .ad-inline{border-color:var(--dline);color:#c9b8a4}



/* ===== SPLIT SEARCH RESULTS (list left / map right) — replicates the Airo demo layout, opt-in per directory ===== */
.sr-bar{padding:10px 22px;background:#f4f1ef;border-bottom:1px solid #e4dedb;font-size:.85rem;color:#5d5350}
[data-theme="dark"] .sr-bar{background:var(--dsurf);border-color:var(--dline);color:#c9b8a4}
.sr-split{display:grid;grid-template-columns:minmax(320px,410px) 1fr;align-items:start}
.sr-list{height:calc(100vh - 150px);overflow-y:auto;padding:10px 12px;border-right:1px solid #e4dedb}
[data-theme="dark"] .sr-list{border-color:var(--dline)}
.sr-map{position:sticky;top:0;height:calc(100vh - 150px)}
.sr-map #map{width:100%;height:100%;margin:0;border-radius:0}
.sr-row{display:flex;gap:12px;align-items:center;padding:11px 10px;border-radius:12px;transition:.15s}
.sr-row:hover,.sr-row.is-active{background:rgba(0,0,0,.05)}
[data-theme="dark"] .sr-row:hover,[data-theme="dark"] .sr-row.is-active{background:rgba(255,255,255,.06)}
.sr-thumb{flex:none;width:62px;height:62px;border-radius:10px;background-size:cover;background-position:center}
.sr-thumb-ph{background:linear-gradient(140deg,rgba(0,0,0,.10),rgba(0,0,0,.04))}
[data-theme="dark"] .sr-thumb-ph{background:linear-gradient(140deg,rgba(255,255,255,.10),rgba(255,255,255,.04))}
.sr-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.sr-name{font-weight:700;font-size:.95rem;line-height:1.25}
.sr-city{font-size:.78rem;color:#7b6f6c}
[data-theme="dark"] .sr-city{color:#a99}
.sr-pills{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}
.sr-pills .badge{font-size:.66rem;padding:3px 8px}
.sr-ad{padding:10px 4px}
.sr-empty{padding:22px 10px;color:#7b6f6c}
.sr-widen{margin-left:8px;font-weight:700;color:var(--p);text-decoration:underline}
[data-theme="dark"] .sr-widen{color:var(--gold,#C9A227)}
.sr-more{display:block;margin:14px auto 6px;width:min(320px,86%);text-align:center;padding:12px 18px;
  border-radius:999px;border:2px solid var(--p);color:var(--p);font-weight:800;font-size:.88rem;transition:.18s}
.sr-more:hover{background:var(--p);color:#fff}
[data-theme="dark"] .sr-more{border-color:var(--gold,#C9A227);color:#f3e7d3}
[data-theme="dark"] .sr-more:hover{background:var(--gold,#C9A227);color:#2a1d05}
/* Free promotional listing: no photo. Without the thumbnail the row would just look mis-indented, so it gets a
   quiet left rule instead — reads as a deliberate lighter tier, not a broken row. */
.sr-free .sr-thumb{display:none}
.sr-free{border-left:2px solid rgba(0,0,0,.13);border-radius:0 12px 12px 0;padding-left:12px}
[data-theme="dark"] .sr-free{border-left-color:rgba(255,255,255,.16)}

/* Free promotional listing card: slim by design — the photo, feature pills and funnel links are what a
   paid membership buys, so the card is deliberately quieter than a member's. */
.r-card.r-free{align-self:start}
.r-card.r-free h3{margin-top:2px}

/* "Browse All" under the category grid (owner 8/25): one quiet way out of the category wall for a visitor
   who doesn't see their style listed. Outlined, not solid, so it never competes with the nav CTA. */
.browse-all-wrap{display:flex;justify-content:center;margin-top:26px}
.browse-all{display:inline-flex;align-items:center;justify-content:center;padding:12px 34px;border-radius:999px;
  border:2px solid var(--p);color:var(--p);font-weight:800;font-size:.92rem;letter-spacing:.01em;transition:.18s}
.browse-all:hover{background:var(--p);color:#fff;transform:translateY(-1px)}
[data-theme="dark"] .browse-all{border-color:var(--gold,#C9A227);color:#f3e7d3}
[data-theme="dark"] .browse-all:hover{background:var(--gold,#C9A227);color:#2a1d05}

/* ===== MOBILE STACKING RULE (protocol 1k) — overrides at END of file, content-sized sections ===== */

/* ---- map marker clusters ------------------------------------------------
   Only MarkerCluster.css is loaded from the CDN (positioning + animation); the bubble itself is ours,
   so it takes the directory's own --p and matches the skin instead of the plugin's green/yellow default.
   SIZE is set in js/cluster.js via iconSize, not here - markercluster writes width/height/margins inline,
   so styling the box in CSS means an !important war and off-centre bubbles. */
.los-cluster{
  display:flex; align-items:center; justify-content:center;
  background:var(--p); color:#fff;
  border-radius:50%;
  font:700 15px/1 Inter,system-ui,sans-serif;
  /* the white ring is what keeps it legible over dark tiles, roads and water alike */
  box-shadow:0 0 0 3px rgba(255,255,255,.92), 0 2px 8px rgba(0,0,0,.35);
  transition:transform .12s ease;
}
.los-cluster:hover{ transform:scale(1.08); }
.los-cluster span{ pointer-events:none; }

@media (max-width:760px){
  .topnav{gap:14px;padding:10px 16px}
  .brand img{height:42px}
  .brand{max-width:170px;min-width:0}   /* flex items default to min-width:auto, which blocks shrinking and was pushing lang-switch off-edge on narrow phones */
  .brand-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}   /* ellipsis needs a block-level element; .brand itself is flex and won't truncate directly */
  .nav-pills{display:none}           /* rule 1h: no pills in mobile nav */
  .nav-links{display:none}           /* rule 1h: mobile nav = logo + toggle only; hero + footer carry navigation */
  .lang-switch{margin-right:0}       /* lang toggle STAYS on mobile (house rule) */
  .hero{height:auto;min-height:0;padding:40px 18px 36px}
  .hero h1{font-size:clamp(1.5rem,7vw,2rem)}
  .searchbox{flex-direction:column}
  .searchbox select{border-right:0;border-bottom:1px solid #eee}
  .searchbox button{width:100%}
  .section{height:auto;min-height:0;padding:36px 18px}
  .cta-row{flex-direction:column;align-items:center}
  .cta-row a{width:min(320px,86vw);flex:none}   /* rule 1L: uniform pill width, centered */
  .r-card .actions{flex-direction:column;align-items:center}
  .r-card .actions a{width:min(320px,86vw);flex:none}
  /* Video now plays on mobile too (owner 8/25). It was hidden only because the old file was 18 MB; the
     re-encoded loop is ~3.9 MB, muted and playsinline, with preload="none" + poster so nothing downloads
     until it can actually play. Re-add display:none here if a future hero video is ever heavy again. */
  .story-band{min-height:300px;background-attachment:scroll}   /* iOS: fixed attachment is broken/janky */
  /* mobile: zoom the visual so the left (object) region of the 1285-wide artboard fills
     the box, and let the copy flow below it instead of overlaying the right half */
  .story-band.story-light{padding:34px 18px}
  .story-visual{width:min(340px,84vw);margin:0 auto;aspect-ratio:546/557;overflow:hidden}
  /* left:-8.15% centers the FRAME (artboard center x318/1285 at 235% zoom), not the artboard */
  .story-visual .story-layer{width:235%;max-width:none;height:auto;inset:auto;top:0;left:-8.15%}
  .story-copy{position:static;transform:none;text-align:center;margin:18px auto 0;max-width:420px}
  .story-copy h2::after{margin-left:auto;margin-right:auto}
  .app-soon{padding:40px 18px}
  .app-soon-flex{flex-direction:column;gap:24px}
  .app-soon-phone{width:min(400px,94%);border-width:4px}
  .app-soon-copy{text-align:center}
  .app-badges{justify-content:center}
  .sr-split{grid-template-columns:1fr}
  .sr-map{position:static;height:300px;order:-1}          /* phone: map first, then the list under it */
  .sr-list{height:auto;min-height:0;overflow:visible;border-right:0;padding:6px 12px 18px}
  .net-block{padding:28px 18px 26px;text-align:center}
  .net-grid{grid-template-columns:1fr;gap:22px}
  .net-art{width:min(300px,74%);margin:0 auto}
  .net-art img{height:auto}   /* phone: stacked, so no crop-to-fit */
  .net-pills{grid-template-columns:1fr}   /* rule 1L: one column, uniform width */
  .net-group-label{text-align:center}
  .browse-all{width:min(320px,86vw)}
}
