@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root){ animation-duration:180ms; }

:root{
  --bg:#fafafa;
  --panel:#ffffff;
  --text:#101114;
  --muted:#5d616a;
  --border:#e7e8ec;
  --shadow:0 8px 30px rgba(0,0,0,.06);
  --radius:14px;
  --radius-sm:10px;
  --max:1120px;
  --accent:#111111;
  --accent2:#2563eb;
  --danger:#dc2626;
  --success:#16a34a;
  --warning:#f59e0b;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
/* Prevent layout shift when locking body scroll (e.g., opening the photo lightbox).
   Reserves space for the scrollbar so content width doesn't "jump" on close.
   Supported in modern browsers; harmless elsewhere. */
html{ scrollbar-gutter: stable; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:linear-gradient(180deg,#ffffff 0%, var(--bg) 24%, var(--bg) 100%);
}
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
.container{ max-width:var(--max); margin:0 auto; padding:18px 18px 42px; }
.nav{
  position:sticky; top:0; z-index:20;
  backdrop-filter:saturate(1.2) blur(10px);
  background:rgba(255,255,255,.75);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
}
.brand .wordmark{
  font-weight:900;
  font-size:18px;
  letter-spacing:.3px;
}
.brand .dot{
  width:10px; height:10px; border-radius:999px; background:var(--accent2);
  box-shadow:0 0 0 6px rgba(37,99,235,.12);
}
.nav-links{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.nav-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 6px;
  margin-left:6px;
  border-radius:999px;
  background:var(--accent2);
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:18px;
}


/* --- Compact nav menu (reduces clutter + avoids auth flicker) --- */
.nav-menu{ position:relative; }
.nav-menu .caret{ margin-left:6px; font-size:12px; opacity:.7; }
.nav-menu-pop{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:260px;
  padding:10px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,.98);
  box-shadow:var(--shadow);
  backdrop-filter:saturate(1.2) blur(10px);
}
.menu-item{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  font-size:14px;
}
.menu-item:hover{ background:rgba(0,0,0,.04); text-decoration:none; }
.menu-item-notif{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.menu-item-notif .nav-count{ margin-left:auto; }
.menu-head{
  padding:8px 10px 4px;
  font-size:12px;
  color:var(--muted);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.menu-item.danger{ color:var(--danger); }
.menu-item.danger:hover{ background:rgba(220,38,38,.08); }

.pill{
  padding:9px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.8);
  box-shadow:0 2px 12px rgba(0,0,0,.03);
  font-size:14px;
  color:var(--text); /* ensure pill-styled <button> text is visible */
}
.pill:hover{ border-color:#d5d7df; text-decoration:none; }
.pill.primary{
  background:var(--accent2);
  border-color:var(--accent2);
  color:#fff;
}
.pill.danger{
  background:#fff;
  border-color:#f0b4b4;
  color:var(--danger);
}
.pill.ghost{
  background:transparent;
  box-shadow:none;
}
.row{ display:flex; gap:16px; align-items:flex-start; }
.col{ flex:1; min-width:0; }
.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card.pad{ padding:16px; }
.card.pad-lg{ padding:20px; }
h1,h2,h3{ margin:0 0 10px; }
h1{ font-size:28px; letter-spacing:-.3px; }
h2{ font-size:18px; letter-spacing:-.2px; }
h3{ font-size:15px; color:var(--muted); font-weight:650; }
p{ margin:0 0 10px; color:var(--muted); line-height:1.45; }
.kbd{
  font-family:var(--mono);
  font-size:12px;
  padding:2px 6px;
  border:1px solid var(--border);
  border-bottom-color:#cfd2db;
  border-radius:8px;
  background:#fff;
}
hr.sep{ border:none; border-top:1px solid var(--border); margin:14px 0; }

.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 900px){
  .grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .row{ flex-direction:column; }
}
@media (max-width: 520px){
  .grid{ grid-template-columns:repeat(1, minmax(0,1fr)); }
  .nav-links{ gap:10px; }
}
.tile{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#f3f4f6;
  aspect-ratio: 4/3;
  border:1px solid var(--border);
}
.tile img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition:transform .25s ease;
}
.tile:hover img{ transform:scale(1.02); }
.tile .meta{
  position:absolute; left:10px; right:10px; bottom:10px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:10px;
  pointer-events:none;
}
.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(231,232,236,.95);
  font-size:12px;
  color:rgba(16,17,20,.9);
}
.badge.mono{ font-family:var(--mono); }
.badge.dark{
  background:rgba(17,17,17,.72);
  border-color:rgba(0,0,0,.2);
  color:#fff;
}
.badge .icon{ font-size:13px; opacity:.9; }

/* Critic badge (quality-weighted) */
.badge.critic{
  border-style:dashed;
  background:rgba(255,255,255,.92);
}
.badge.critic.level-5{
  font-weight:850;
}

.form{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
.form .full{ grid-column:1/-1; }
label{
  display:block;
  font-size:13px;
  font-weight:650;
  color:#2a2d33;
  margin:0 0 6px;
}
input[type="text"], input[type="url"], input[type="email"], input[type="password"], input[type="number"], input[type="datetime-local"], textarea, select{
  width:100%;
  padding:10px 11px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  outline:none;
  font-size:14px;
}
textarea{ min-height:96px; resize:vertical; }
input:focus, textarea:focus, select:focus{
  border-color:#c6d1ff;
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.help{ font-size:12px; color:var(--muted); margin-top:6px; }
.actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
button{
  border:none;
  background:var(--accent);
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  font-size:14px;
}
button.secondary{
  background:#fff;
  color:var(--text);
  border:1px solid var(--border);
}
button.danger{
  background:var(--danger);
}
button:disabled{ opacity:.6; cursor:not-allowed; }
.sm{ padding:6px 10px; font-size:12px; border-radius:10px; }
.small{ font-size:12px; color:var(--muted); }

.toast-wrap{
  position:fixed;
  right:16px;
  bottom:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:100;
}
.toast{
  width:min(420px, calc(100vw - 32px));
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  padding:12px 12px;
}
.toast .t{ font-weight:800; font-size:14px; margin-bottom:6px; }
.toast .m{ color:var(--muted); font-size:13px; line-height:1.35; }
.toast.ok{ border-color:#bfe8c8; }
.toast.err{ border-color:#f2b6b6; }
.toast .bar{
  height:3px;
  width:100%;
  margin-top:10px;
  background:linear-gradient(90deg,var(--accent2),transparent);
  opacity:.7;
  border-radius:999px;
}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:14px;
}
.table th, .table td{
  padding:10px 10px;
  border-bottom:1px solid var(--border);
  font-size:14px;
  text-align:left;
}
.table th{ color:#2b2e34; font-weight:800; background:#fafafa; }
.table tr:last-child td{ border-bottom:none; }

.tabs{ display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 0; }
.tab{
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  font-size:13px;
  cursor:pointer;
  color:var(--text); /* override global button { color:#fff } */
}
.tab.active{
  background:#111;
  border-color:#111;
  color:#fff;
}

.hero{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
  margin:14px 0 16px;
}
.hero .right{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.muted{ color:var(--muted); }
.mono{ font-family:var(--mono); }
.hidden{ display:none !important; }

.slider-wrap{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#f3f4f6;
  border:1px solid var(--border);
}
.before-img, .after-img{
  width:100%;
  display:block;
}
.after-clip{
  position:absolute; top:0; left:0; height:100%;
  overflow:hidden;
  width:50%;
}
.after-clip img{ width:100%; height:auto; display:block; }
.slider-handle{
  position:absolute; top:0; bottom:0;
  width:2px; background:#fff;
  left:50%;
  box-shadow:0 0 0 2px rgba(0,0,0,.25);
}
.slider-input{
  width:100%;
  margin-top:10px;
}

.footer{
  margin:26px 0 0;
  color:var(--muted);
  font-size:13px;
}


/* Initial nav state (pre-JS): start from a true guest shell, then reveal member/admin
   items only after auth/admin checks finish. */
html[data-auth-pending="1"] [data-nav-auth],
html[data-auth-pending="1"] [data-nav-admin],
html:not([data-auth-ready="1"]) [data-nav-auth],
html:not([data-auth-ready="1"]) [data-nav-admin]{ display:none !important; }
html[data-auth-pending="1"] [data-nav-anon],
html:not([data-auth-ready="1"]) [data-nav-anon]{ display:inline-flex !important; }
html[data-auth-pending="1"] [data-nav-menu-pop]{ display:none !important; }
html[data-auth-ready="1"]:not([data-has-session="1"]) [data-nav-auth]{ display:none !important; }
html[data-auth-ready="1"]:not([data-has-session="1"]) [data-nav-anon]{ display:inline-flex !important; }
html[data-auth-ready="1"][data-has-session="1"] [data-nav-anon]{ display:none !important; }
html:not([data-admin-ready="1"]) [data-nav-admin],
html[data-admin-ready="1"]:not([data-is-admin="1"]) [data-nav-admin]{ display:none !important; }
html:not([data-profile-page="allowed"]) [data-profile-private]{ display:none !important; }
html:not([data-admin-page="allowed"]) [data-admin-shell]{ display:none !important; }


/* --- Photo lightbox (click to enlarge + zoom) --- */
.zoomable{ cursor: zoom-in; }

html.lightbox-open,
body.lightbox-open{ overflow:hidden; }

.lightbox{
  position:fixed;
  inset:0;
  z-index:1000;
}
.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.88);
}
.lightbox-stage{
  position:relative;
  z-index:2;
  height:100%;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:54px 16px 44px;
  touch-action:none; /* enables our custom pinch/drag */
  /* Only show drag affordance when the pointer is actually over the image.
     This matches the "drag only on image" interaction. */
  cursor:default;
}
.lightbox-img{
  max-width:100%;
  max-height:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 20px 70px rgba(0,0,0,.45);
  will-change:transform;
  transform:translate(0px,0px) scale(1);
  transform-origin:center;
  user-select:none;
  -webkit-user-drag:none;
  cursor:grab;
}

.lightbox-stage.is-dragging .lightbox-img{ cursor:grabbing; }
.lightbox #lbClose{
  position:absolute;
  z-index:3;
  top:14px;
  left:14px;
}
.lightbox-controls{
  position:absolute;
  z-index:3;
  top:14px;
  right:14px;
  display:flex;
  gap:10px;
}
.lightbox-hint{
  position:absolute;
  z-index:3;
  bottom:14px;
  left:0;
  right:0;
  text-align:center;
  color:rgba(255,255,255,.75);
}
.lightbox .pill{
  background:rgba(255,255,255,.92);
}

/* --- Polished empty states + skeleton loaders (beta-ready) --- */
.empty{
  text-align:center;
  padding:22px 10px;
}
.empty .icon{ font-size:26px; margin-bottom:10px; }
.empty .title{ font-weight:950; margin-bottom:6px; }
.empty .desc{ max-width:520px; margin:0 auto; }

.sk-wrap{ display:block; }
.sk-card{
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  margin-top:10px;
  background:#fff;
}
.sk-line{
  position:relative;
  height:10px;
  border-radius:999px;
  background:#e9eaee;
  overflow:hidden;
  margin-top:10px;
}
.sk-line:first-child{ margin-top:0; }
.sk-line::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation:sk 1.15s linear infinite;
}
@keyframes sk{
  0%{ transform:translateX(-100%); }
  100%{ transform:translateX(100%); }
}
.sk-line.w-30{ width:30%; }
.sk-line.w-50{ width:50%; }
.sk-line.w-70{ width:70%; }
.sk-line.w-80{ width:80%; }
.sk-line.w-90{ width:90%; }


.empty-art{
  position:relative;
  width:88px;
  height:88px;
  margin:0 auto 14px;
  border-radius:26px;
  background:linear-gradient(180deg, #f6f7fb 0%, #eef2f8 100%);
  border:1px solid var(--border);
  box-shadow:0 12px 30px rgba(16,17,20,.05);
  overflow:hidden;
}
.empty-art::before,
.empty-art::after{
  content:"";
  position:absolute;
  border-radius:999px;
}
.empty-art::before{
  width:54px;
  height:54px;
  background:rgba(37,99,235,.12);
  left:10px;
  top:12px;
}
.empty-art::after{
  width:32px;
  height:32px;
  background:rgba(16,17,20,.07);
  right:12px;
  bottom:12px;
}
.empty-art .spark{
  position:absolute;
  width:18px;
  height:18px;
  border-radius:8px;
  background:#fff;
  border:1px solid rgba(16,17,20,.08);
  box-shadow:0 8px 18px rgba(16,17,20,.05);
}
.empty-art .spark.one{ left:18px; bottom:14px; }
.empty-art .spark.two{ right:18px; top:16px; }
.empty-art .spark.three{
  width:12px;
  height:12px;
  right:32px;
  bottom:18px;
  border-radius:999px;
}
.empty-card-soft{
  padding:22px;
  border-radius:18px;
  border:1px dashed #d8dce6;
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,249,252,.96) 100%);
}
.empty-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:14px;
}
.empty.smallish{ padding:14px 8px; }

.auth-checklist{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(250,251,255,.96) 0%, rgba(244,246,251,.98) 100%);
}
.auth-checklist h3{
  margin:0 0 12px;
  color:var(--text);
  font-size:18px;
}
.checklist{
  display:grid;
  gap:10px;
}
.check-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--border);
}
.check-item .mark{
  width:24px;
  height:24px;
  flex:0 0 24px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef4ff;
  color:var(--accent2);
  font-size:13px;
  font-weight:900;
}
.check-item strong{
  display:block;
  color:var(--text);
  margin-bottom:2px;
  font-size:14px;
}
.check-item p{
  margin:0;
  font-size:13px;
}
.auth-success{
  margin-bottom:16px;
  padding:16px 16px 14px;
  border-radius:18px;
  border:1px solid rgba(22,163,74,.18);
  background:linear-gradient(180deg, rgba(240,253,244,.98) 0%, rgba(236,252,242,.98) 100%);
}
.auth-success .title{
  color:#166534;
  font-weight:900;
  margin-bottom:4px;
}
.auth-success .desc{ margin-bottom:10px; }
.auth-inline-link{
  font-size:13px;
  color:var(--muted);
}


/* --- Public landing page --- */
.landing-page{
  background:linear-gradient(180deg, #ffffff 0%, #fbfbfc 42%, #f6f7fb 100%);
}
.landing-shell{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}
.landing-header{
  position:sticky;
  top:0;
  z-index:25;
  backdrop-filter:saturate(1.15) blur(12px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(231,232,236,.9);
}
.landing-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 24px;
}
.landing-brand,
.landing-brand:hover{
  text-decoration:none;
}
.landing-brand-mark,
.landing-wordmark{
  font-size:22px;
  font-weight:900;
  letter-spacing:.04em;
}
.landing-header-links{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.landing-header-link{
  color:var(--muted);
  font-size:14px;
}
.landing-header-link.strong{
  color:var(--text);
  font-weight:700;
}
.landing-hero{
  padding:52px 0 28px;
}
.landing-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(0, .98fr);
  gap:36px;
  align-items:center;
}
.landing-copy{
  max-width:560px;
}
.landing-copy h1{
  font-size:clamp(38px, 5vw, 66px);
  line-height:1.02;
  letter-spacing:-.045em;
  margin-bottom:18px;
}
.landing-subhead{
  font-size:18px;
  line-height:1.58;
  max-width:50ch;
  margin-bottom:24px;
}
.landing-microcopy{
  font-size:13px;
  color:var(--muted);
  margin-top:12px;
}
.landing-cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.landing-cta-row.center{
  justify-content:center;
}
.landing-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:15px;
  font-weight:800;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.landing-btn:hover{
  text-decoration:none;
  transform:translateY(-1px);
}
.landing-btn.primary{
  background:var(--text);
  color:#fff;
  box-shadow:0 16px 36px rgba(16,17,20,.12);
}
.landing-btn.secondary{
  background:rgba(255,255,255,.92);
  color:var(--text);
  border-color:var(--border);
}
.landing-collage-wrap{
  min-width:0;
}
.landing-collage{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  align-items:start;
}
.landing-shot,
.landing-feature-card{
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:22px;
  background:#eef1f5;
  border:1px solid rgba(231,232,236,.9);
  box-shadow:0 18px 44px rgba(16,17,20,.08);
}
.landing-shot:hover,
.landing-feature-card:hover{
  text-decoration:none;
}
.landing-shot img,
.landing-feature-card img{
  width:100%;
  height:auto;
  display:block;
}
.landing-shot.wide{
  grid-column:1 / -1;
}
.landing-shot.portrait,
.landing-feature-card.portrait{
  background:linear-gradient(180deg, #f3f5f8 0%, #eef2f6 100%);
}
.landing-shot.portrait{
  padding:10px;
}
.landing-shot.portrait img{
  width:auto;
  max-width:100%;
  max-height:min(68vh, 440px);
}
.landing-feature-card.portrait{
  padding:12px;
  text-align:center;
}
.landing-feature-card.portrait img{
  width:auto;
  max-width:100%;
  max-height:520px;
  margin:0 auto;
}
.landing-shot.shot-1,
.landing-shot.shot-2,
.landing-shot.shot-3,
.landing-shot.shot-4{ margin-top:0; }
.landing-shot.placeholder,
.landing-shot.empty-card{
  min-height:210px;
  background:linear-gradient(180deg, #eff2f7 0%, #f7f8fb 100%);
}
.landing-shot.placeholder.tall,
.landing-shot.empty-card.tall{ min-height:320px; }
.landing-shot.placeholder.wide{ min-height:190px; }
.landing-empty-copy{
  height:100%;
  min-height:inherit;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
  color:var(--muted);
}
.landing-empty-copy strong{
  color:var(--text);
  font-size:16px;
}
.landing-user-chip{
  position:absolute;
  right:12px;
  bottom:12px;
  display:inline-flex;
  align-items:center;
  max-width:calc(100% - 24px);
  padding:7px 10px;
  border-radius:999px;
  background:rgba(16,17,20,.68);
  backdrop-filter:blur(6px);
  color:#fff;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.landing-section{
  padding:28px 0;
}
.landing-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.landing-section-head.compact{ margin-bottom:18px; }
.landing-section-head h2,
.landing-final-card h2{
  font-size:clamp(28px, 3vw, 38px);
  line-height:1.1;
  letter-spacing:-.03em;
}
.landing-eyebrow{
  margin:0 0 8px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.landing-inline-link{
  font-size:14px;
  font-weight:700;
  color:var(--text);
}
.landing-feature-grid{
  column-count:2;
  column-gap:18px;
}
.landing-feature-card{
  display:inline-block;
  width:100%;
  margin:0 0 18px;
  padding:0;
  break-inside:avoid;
}
.landing-feature-card img{
  display:block;
  width:100%;
  height:auto;
  background:#f4f6f8;
}
.landing-feature-grid.is-empty{
  column-count:auto;
}
.landing-empty{
  display:block;
  padding:28px;
  text-align:center;
}
.landing-empty h3{
  font-size:22px;
  color:var(--text);
  margin-bottom:8px;
}
.landing-empty p{
  max-width:56ch;
  margin:0 auto 18px;
}
.landing-benefits-section{
  padding-top:18px;
}
.landing-benefits-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}
.landing-benefit{
  padding:22px;
  border-radius:20px;
}
.landing-benefit h3{
  font-size:20px;
  color:var(--text);
  margin-bottom:8px;
}
.landing-benefit p{
  margin:0;
}
.landing-benefit-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#f4f6fb;
  margin-bottom:16px;
  font-size:20px;
}
.landing-final-cta{
  padding:38px 0 54px;
}
.landing-final-card{
  padding:34px 28px;
  text-align:center;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(248,249,252,.98) 100%);
}
.landing-final-card h2{
  max-width:22ch;
  margin:0 auto 18px;
}
.landing-final-links{
  margin-top:14px;
  text-align:center;
  font-size:14px;
  color:var(--muted);
}
.landing-final-links a{
  color:var(--text);
  font-weight:700;
}
@media (max-width: 960px){
  .landing-hero-grid,
  .landing-benefits-grid{
    grid-template-columns:1fr;
  }
  .landing-feature-grid{
    column-count:2;
  }
  .landing-copy{
    max-width:none;
  }
  .landing-collage{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .landing-shot.shot-1,
  .landing-shot.shot-2,
  .landing-shot.shot-3,
  .landing-shot.shot-4{ margin-top:0; }
}
@media (max-width: 640px){
  .landing-shell,
  .landing-header-inner{ padding-left:18px; padding-right:18px; }
  .landing-header-inner,
  .landing-section-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .landing-hero{ padding-top:28px; }
  .landing-collage{ gap:12px; }
  .landing-feature-grid{ column-count:1; }
  .landing-shot.placeholder,
  .landing-shot.empty-card{ min-height:160px; }
  .landing-shot.placeholder.tall,
  .landing-shot.empty-card.tall{ min-height:220px; }
  .landing-btn{ width:100%; }
  .landing-cta-row{ width:100%; }
}


/* --- Language switcher --- */
.lang-switcher{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.88);
  box-shadow:0 2px 12px rgba(0,0,0,.03);
}
.lang-option{
  border:0;
  background:transparent;
  color:var(--muted);
  border-radius:999px;
  padding:6px 10px;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.lang-option.active{
  background:var(--text);
  color:#fff;
}
.lang-option:hover{ color:var(--text); }
.nav-links .lang-switcher{ margin-left:4px; }
.landing-header-links .lang-switcher{ margin-right:4px; }
@media (max-width: 720px){
  .nav-links .lang-switcher,
  .landing-header-links .lang-switcher{ order:99; }
  .lang-switcher{ width:100%; justify-content:center; }
}
