:root {
  --nav-bg: #15202b;
  --nav-bg-2: #1b2a38;
  --nav-text: #f4f7fa;
  --nav-muted: #8b9bab;
  --nav-hover: rgba(255,255,255,0.07);
  --nav-active: rgba(255,255,255,0.12);
  --create: #5cbc6a;
  --create-text: #0d1a10;
  --create-hover: #6fca7b;
  --bg: #eef0f3;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #66707a;
  --line: #e3e6ea;
  --accent: #1f4b5e;
  --danger: #b42318;
  --ok: #1b7f4a;
  --warn: #8a5a12;
  --shadow: 0 1px 2px rgba(20, 30, 40, 0.06), 0 8px 24px rgba(20, 30, 40, 0.06);
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Source Sans 3", sans-serif;
  --sidebar: 268px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: 1.65rem; margin: 0 0 0.35rem; }
h2 { font-size: 1.15rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
p { margin: 0 0 0.75rem; }
.muted { color: var(--muted); }
.lede { color: var(--muted); max-width: 40rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.center { text-align: center; }
.inline { display: inline; }
.linkish {
  background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit;
}
.linkish:hover { text-decoration: underline; }
.linkish.danger, .danger { color: var(--danger); }
.pill {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0 0.4rem;
  color: var(--nav-muted);
  vertical-align: middle;
}
.pill.light { border-color: var(--line); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border-radius: 6px; border: 1px solid transparent;
  padding: 0.55rem 1rem; font-weight: 600; cursor: pointer;
  background: var(--surface); color: var(--text); border-color: var(--line);
  text-decoration: none; line-height: 1.2;
}
.btn:hover { text-decoration: none; filter: brightness(0.98); }
.btn-primary { background: var(--create); color: var(--create-text); border-color: transparent; }
.btn-primary:hover { background: var(--create-hover); }
.btn-ghost { background: transparent; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f0c8c4; }
.btn-block { width: 100%; }
.btn.sm { padding: 0.3rem 0.7rem; font-size: 0.9rem; }

/* Forms */
.form label, form.form label { display: block; margin-bottom: 0.85rem; }
.form label > span, form label > span {
  display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 0.3rem;
}
.form input, .form select, .form textarea,
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="datetime-local"], input[type="file"], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 0.5rem 0.7rem;
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus,
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(92,188,106,0.45); border-color: var(--create);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }
.check { display: flex; align-items: center; gap: 0.45rem; font-weight: 500; }
.check input { width: auto; }
.check-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.form-inline { display: flex; gap: 0.75rem; align-items: end; flex-wrap: wrap; }
.form-inline label { margin: 0; }
.form.compact input { margin-bottom: 0.35rem; }
.narrow, .form.narrow, .panel.narrow { max-width: 36rem; }

/* Flash, tables, panels */
.flash {
  border-radius: var(--radius); padding: 0.75rem 1rem; margin: 0 0 1rem;
  background: #eef6ff; color: #1b3a55;
}
.flash-success { background: #e9f7ee; color: #14532d; }
.flash-error { background: #fdecec; color: #7f1d1d; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.15rem 1.2rem; margin-bottom: 1.25rem;
}
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
.panel-head h2 { margin: 0; }
.toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; flex-wrap: wrap; }
.toolbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 0.65rem 0.55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.table .actions, .table td:last-child { white-space: nowrap; }
.status {
  display: inline-block; text-transform: capitalize; font-size: 0.8rem;
  padding: 0.1rem 0.45rem; border-radius: 999px; background: #eef2f5; color: #334155;
}
.row-list { list-style: none; margin: 0; padding: 0; }
.row-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.row-list a { display: flex; flex-direction: column; color: inherit; }
.row-list a:hover { text-decoration: none; }
.row-list a span, .row-list li span { color: var(--muted); font-size: 0.9rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.85rem; margin-bottom: 1.25rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; color: inherit; box-shadow: var(--shadow);
}
.stat-card:hover { text-decoration: none; border-color: #cfd6dd; }
.stat-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.stat-card strong { font-size: 1.55rem; font-weight: 600; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.split-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.empty-state { padding: 3rem 1rem; text-align: center; }
.section-title { margin: 0 0 1rem; }
.placeholder-page { padding: 2rem 1.5rem; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.checklist .box {
  width: 1.2rem; height: 1.2rem; border: 1px solid var(--line); border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--ok);
}
.checklist .is-done a { color: var(--ok); }
.theme-swatch { padding: 1.25rem; border-radius: 8px; margin-bottom: 1rem; }
.wm-preview { background: repeating-conic-gradient(#ddd 0% 25%, #fff 0% 50%) 50% / 16px 16px; padding: 1rem; margin-bottom: 1rem; display: flex; justify-content: center; }
.wm-preview img { max-height: 80px; width: auto; }
.response-card { padding: 0.75rem 0; border-top: 1px solid var(--line); }
dl dt { font-weight: 600; margin-top: 0.6rem; }
dl dd { margin: 0.15rem 0 0; color: var(--muted); }

/* ========== Studio shell (ShootProof-inspired) ========== */
.studio { display: flex; min-height: 100vh; background: var(--bg); }
.sidebar {
  width: var(--sidebar);
  background: var(--nav-bg);
  color: var(--nav-text);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  z-index: 40;
}
.sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.05rem 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: inherit; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: #c4a574; color: #1a140c;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
}
.brand-mark.sm { width: 1.6rem; height: 1.6rem; font-size: 1rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.04em; }
.brand-text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nav-muted); }
.create-gallery {
  display: block; margin: 0.35rem 1.05rem 1rem; padding: 0.65rem 0.8rem;
  background: var(--create); color: var(--create-text); text-align: center;
  font-weight: 700; border-radius: 6px; letter-spacing: 0.01em;
}
.create-gallery:hover { text-decoration: none; background: var(--create-hover); color: var(--create-text); }
.side-nav { flex: 1; padding: 0 0 1.5rem; }
.nav-link {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--nav-text); padding: 0.42rem 1.15rem; font-size: 0.95rem;
}
.nav-link:hover { background: var(--nav-hover); text-decoration: none; }
.nav-link.is-active { background: var(--nav-active); box-shadow: inset 3px 0 0 var(--create); }
.nav-link.nav-top { font-weight: 600; margin-bottom: 0.35rem; }
.nav-heading {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; color: var(--nav-muted); cursor: pointer;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.85rem 1.15rem 0.35rem; text-align: left;
}
.nav-heading .chev { opacity: 0.7; transition: transform 0.15s ease; }
.nav-group.is-open .chev { transform: rotate(180deg); }
.nav-items { display: none; padding-bottom: 0.3rem; }
.nav-group.is-open .nav-items { display: block; }
.sidebar-logout { margin-top: auto; padding: 0.75rem 1.05rem 1.1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.sidebar-logout button {
  width: 100%; background: none; border: 0; color: var(--nav-text);
  text-align: left; cursor: pointer; padding: 0.4rem 0.1rem; font-size: 0.95rem;
}
.sidebar-logout button:hover { color: #fff; }
.sidebar-close { display: none; background: none; border: 0; width: 2rem; height: 2rem; position: relative; cursor: pointer; }
.sidebar-close span {
  position: absolute; left: 0.4rem; right: 0.4rem; height: 2px; background: #fff; top: 50%;
}
.sidebar-close span:first-child { transform: rotate(45deg); }
.sidebar-close span:last-child { transform: rotate(-45deg); }

.studio-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.studio-top {
  display: none;
  align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--nav-bg); color: var(--nav-text);
  position: sticky; top: 0; z-index: 30;
}
.top-brand-mobile { display: flex; align-items: center; gap: 0.45rem; font-family: var(--serif); font-size: 1.15rem; }
.top-title { font-size: 1.05rem; font-weight: 600; margin: 0; flex: 1; }
.top-create { display: none; }
.hamburger {
  width: 2.4rem; height: 2.4rem; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0.4rem;
}
.hamburger span { display: block; height: 2px; background: #fff; border-radius: 1px; }
.studio-content { padding: 1.5rem 1.6rem 3rem; }
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(8,12,16,0.55); z-index: 35;
}

@media (max-width: 900px) {
  .studio { display: block; }
  .sidebar {
    position: fixed; left: 0; top: 0; height: 100%;
    transform: translateX(-105%); transition: transform 0.22s ease;
    box-shadow: 8px 0 30px rgba(0,0,0,0.3);
  }
  .studio.is-nav-open .sidebar { transform: translateX(0); }
  .studio.is-nav-open .nav-backdrop { display: block; }
  .sidebar-close { display: block; }
  .studio-top { display: flex; }
  .studio-top .top-title { display: none; }
  .studio-top .top-create { display: inline-flex; margin: 0; padding: 0.4rem 0.65rem; font-size: 0.85rem; }
  .studio-content { padding: 1.1rem 0.9rem 2.5rem; }
  .split-2, .form-grid { grid-template-columns: 1fr; }
}

/* Login */
.page-login, .login-wrap { min-height: 100vh; background: #12110f; color: #f4f0e8; }
.login-wrap {
  display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
  background:
    radial-gradient(ellipse at top, rgba(196,165,116,0.14), transparent 50%),
    #12110f;
}
.login-card { width: 100%; max-width: 24rem; text-align: center; }
.login-title {
  font-family: var(--serif); font-size: 3.2rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; margin: 0.2rem 0 0;
}
.login-tag {
  font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: #c4a574; margin: 0.2rem 0 1.6rem;
}
.login-card .form { text-align: left; }
.login-card input { background: #1c1b18; border-color: #3a372f; color: #f4f0e8; }
.login-foot { margin-top: 1.4rem; font-size: 0.9rem; }
.login-foot a { color: #c4a574; }
.page-login .flash { text-align: left; }

/* Wordmark shared */
.wordmark { display: inline-flex; flex-direction: column; color: inherit; line-height: 1.05; }
.wordmark:hover { text-decoration: none; }
.wordmark-name { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.14em; text-transform: uppercase; }
.wordmark-tag { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }

/* Client chrome */
.client-shell { min-height: 100vh; display: flex; flex-direction: column; background: #f7f4ef; color: #1c1916; }
.themed-gallery { background: var(--g-bg, #0f1210); color: var(--g-text, #f4f0e8); }
.themed-gallery .client-top, .themed-gallery .client-foot { background: transparent; border-color: rgba(255,255,255,0.08); color: inherit; }
.client-top, .client-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--line);
}
.client-foot { border-bottom: 0; border-top: 1px solid var(--line); margin-top: auto; font-size: 0.85rem; color: var(--muted); }
.client-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.client-nav a { color: inherit; }
.client-nav a.is-active { font-weight: 600; }
.nav-user { color: var(--muted); font-size: 0.9rem; }
.client-main { padding: 1.5rem 1.5rem 3rem; flex: 1; }
.page-intro { margin-bottom: 1.5rem; }
.page-intro h1 { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; }
.gallery-hero { margin-bottom: 1.5rem; }
.gallery-hero h1 { font-family: var(--g-heading, var(--serif)); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; margin: 0 0 0.5rem; }
.gallery-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem; }
.music-player { display: flex; align-items: center; gap: 0.6rem; }
.music-player audio { height: 2rem; }
.themed-gallery .btn-primary { background: var(--g-accent, var(--create)); color: var(--g-bg, #111); }
.themed-gallery .muted, .themed-gallery .lede { color: var(--g-muted, var(--muted)); }
.themed-gallery .client-main, .themed-gallery { font-family: var(--g-body, var(--sans)); }

.gallery-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; margin-bottom: 2rem; }
.gallery-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); color: inherit; box-shadow: var(--shadow);
}
.gallery-card:hover { text-decoration: none; transform: translateY(-1px); }
.gallery-card-cover { aspect-ratio: 4/3; background: #d9d3c9; overflow: hidden; }
.gallery-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-empty { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.gallery-card-body { padding: 0.8rem 0.9rem 1rem; }
.gallery-card-body h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.gallery-card-body p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.themed-gallery .gallery-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.55rem;
}
.photo-grid.public-grid, .admin-grid { gap: 0.85rem; }
.photo-tile {
  margin: 0; padding: 0; border: 0; background: #1a1a1a; cursor: zoom-in;
  aspect-ratio: 1; overflow: hidden; position: relative; display: block; width: 100%;
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.photo-tile:hover img { transform: scale(1.04); }
.admin-grid .photo-tile { cursor: default; background: #fff; border: 1px solid var(--line); aspect-ratio: auto; }
.admin-grid .photo-tile img { aspect-ratio: 1; }
.admin-grid figcaption { padding: 0.5rem 0.6rem 0.7rem; font-size: 0.8rem; display: flex; justify-content: space-between; gap: 0.5rem; color: var(--text); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,8,8,0.92); z-index: 80;
  display: none; align-items: center; justify-content: center; color: #fff; padding: 2rem 3.5rem;
}
.lightbox:not([hidden]) { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: calc(100vh - 8rem); width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.8rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 2rem; line-height: 1;
}
.lb-close { top: 0.8rem; right: 1rem; font-size: 2.4rem; }
.lb-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }

.store-block { margin-top: 2.5rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.themed-gallery .product-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.price { font-weight: 600; }
.client-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.client-extras ul { list-style: none; padding: 0; margin: 0; }
.client-extras li { padding: 0.35rem 0; }
.contract-body { white-space: pre-wrap; margin-bottom: 1.25rem; }

/* Dropzone */
.dropzone {
  border: 2px dashed #c9cfd6; border-radius: var(--radius); padding: 1.4rem;
  text-align: center; background: #fafbfc; position: relative;
}
.dropzone.is-over { border-color: var(--create); background: #f1fbf3; }
.dropzone-input { margin: 0 auto 0.8rem; }
.upload-progress { height: 6px; background: #e6e8eb; border-radius: 99px; margin-top: 0.8rem; overflow: hidden; }
.upload-progress span { display: block; height: 100%; width: 0; background: var(--create); }

/* Public portfolio */
.public-site { background: #11110f; color: #f4f0e8; min-height: 100vh; font-family: var(--sans); }
.pub-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pub-nav nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.pub-nav a { color: inherit; }
.pub-nav .btn-ghost { color: #f4f0e8; border-color: rgba(255,255,255,0.25); }
.pub-hero { padding: 4.5rem 1.6rem 3rem; max-width: 48rem; }
.pub-hero h1 { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 5.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 0.95; }
.pub-hero .lede { font-size: 1.15rem; color: #c5bfb3; }
.pub-hero .eyebrow { color: #c4a574; }
.pub-work { padding: 0 1.2rem 3rem; }
.public-grid { gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.public-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 0.7rem; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; font-size: 0.85rem; display: flex; justify-content: space-between; }
.public-grid .photo-tile { cursor: default; }
.pub-about, .pub-contact { padding: 3rem 1.6rem; max-width: 40rem; }
.pub-about h2, .pub-contact h2 { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.pub-contact { padding-bottom: 5rem; }
.contact-meta { display: flex; flex-direction: column; gap: 0.2rem; color: #c5bfb3; margin-bottom: 1.2rem; }
.contact-meta a { color: #c4a574; }
.public-site .form input, .public-site .form textarea { background: #1c1b18; border-color: #3a372f; color: #f4f0e8; }
.pub-foot { padding: 1.2rem 1.6rem 2rem; color: #9a9388; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.06); }

.simple-page { min-height: 100vh; padding: 2rem 1.2rem; background: #11110f; color: #f4f0e8; }
.simple-page .wordmark { margin-bottom: 2rem; }

@media (max-width: 700px) {
  .client-top, .pub-nav { flex-direction: column; align-items: flex-start; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 3.5rem 0.6rem 1.2rem; }
}
