.site {
    --pad: clamp(20px, 5vw, 72px);
    background: var(--bg);
    color: var(--fg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .site.is-serif h1,
  .site.is-serif h2,
  .site.is-serif h3,
  .site.is-serif .brand {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.015em;
  }
  .site.is-sans h1,
  .site.is-sans h2,
  .site.is-sans h3,
  .site.is-sans .brand {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: -0.03em;
  }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px var(--pad);
    border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
    position: sticky;
    top: 0;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px);
    z-index: 20;
  }
  .brand { font-size: 22px; text-decoration: none; }
  .topnav {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .topnav a { text-decoration: none; }
  .topnav a:hover { color: var(--fg); }
  .sep { opacity: 0.5; }

  main { flex: 1; }
  .hero {
    padding: clamp(48px, 9vw, 120px) var(--pad) clamp(40px, 7vw, 90px);
    display: grid;
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    max-width: 1320px;
    margin: 0 auto;
  }
  .layout-editorial .hero { grid-template-columns: 0.9fr 1.1fr; }
  .layout-cinematic .hero { grid-template-columns: 1fr; text-align: center; align-items: center; }
  .layout-grid .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { min-width: 0; }
  .eyebrow {
    margin: 0 0 18px;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .hero h1 {
    margin: 0;
    font-size: clamp(44px, 8vw, 108px);
    line-height: 0.92;
    text-wrap: balance;
  }
  .lede {
    max-width: 46ch;
    margin: 24px auto 0;
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.7;
    color: color-mix(in srgb, var(--fg) 72%, transparent);
  }
  .layout-editorial .lede { margin-left: 0; }
  .place {
    margin-top: 22px;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .hero-media {
    margin: 0;
    overflow: hidden;
    background: color-mix(in srgb, var(--fg) 8%, transparent);
  }
  .hero-media img {
    width: 100%;
    max-height: 72vh;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  .hero-media:hover img { transform: scale(1.015); }
  .layout-cinematic .hero-media img,
  .layout-grid .hero-media img { max-height: 64vh; }
  .layout-cinematic .hero-media,
  .layout-grid .hero-media { width: 100%; }

  .category {
    padding: clamp(44px, 7vw, 96px) var(--pad);
    max-width: 1320px;
    margin: 0 auto;
    border-top: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  }
  .category-head {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: baseline;
    margin-bottom: clamp(26px, 4vw, 48px);
  }
  .category-head .index {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--muted);
  }
  .category-head h2 {
    margin: 0;
    font-size: clamp(30px, 4.5vw, 54px);
    line-height: 1;
  }
  .category-head p {
    max-width: 56ch;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--fg) 68%, transparent);
  }
  .shoot { margin-top: clamp(28px, 4vw, 56px); }
  .shoot-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 24px;
    margin-bottom: 16px;
  }
  .shoot-head h3 {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 30px);
  }
  .shoot-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .shoot-copy {
    flex-basis: 100%;
    max-width: 60ch;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--fg) 66%, transparent);
  }
  .image-grid {
    display: grid;
    gap: clamp(4px, 0.6vw, 10px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layout-grid .image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout-cinematic .image-grid { gap: clamp(8px, 1.4vw, 22px); }
  .image-wrap {
    position: relative;
    min-width: 0;
  }
  .image {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: color-mix(in srgb, var(--fg) 8%, transparent);
    cursor: zoom-in;
    overflow: hidden;
    aspect-ratio: 4 / 5;
  }
  .layout-grid .image { aspect-ratio: 1; }
  .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.6s;
  }
  .image:hover img { transform: scale(1.03); opacity: 0.92; }
  .image-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .image-wrap:hover .image-actions,
  .image-actions:focus-within { opacity: 1; }
  .image-fav,
  .image-download {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    background: rgba(15, 13, 11, 0.72);
    color: #f4efe6;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(4px);
  }
  .image-fav svg,
  .image-download svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .image-fav.is-fav { color: #e8a1a1; }
  .image-fav.is-fav svg { fill: currentColor; }
  @media (hover: none) {
    .image-actions { opacity: 1; }
  }
  .empty {
    padding: 80px var(--pad);
    text-align: center;
    color: var(--muted);
  }

  .site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    padding: 48px var(--pad) 60px;
    border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
    font-size: 12px;
    color: var(--muted);
  }
  .footer-name { margin: 0; color: var(--fg); font-size: 18px; }
  .footer-bio { max-width: 48ch; margin: 8px 0 0; line-height: 1.6; }
  .footer-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 9px;
  }
  .footer-right a { text-decoration: none; }
  .footer-right a:hover { color: var(--fg); }

  .selection-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 12px 10px 16px;
    background: var(--fg);
    color: var(--bg);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  }
  .selection-bar button {
    border: 0;
    padding: 9px 14px;
    background: var(--bg);
    color: var(--fg);
    font: inherit;
    letter-spacing: 0.16em;
    cursor: pointer;
  }
  #selection-dialog {
    border: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    width: min(430px, calc(100vw - 32px));
  }
  #selection-dialog form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
  }
  #selection-dialog h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 32px;
  }
  #selection-dialog form > p {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
  }
  #selection-dialog label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
  }
  #selection-dialog input,
  #selection-dialog textarea {
    border: 1px solid color-mix(in srgb, var(--fg) 25%, transparent);
    background: transparent;
    color: var(--fg);
    padding: 10px 12px;
    font: 14px var(--font-sans);
  }
  .selection-error {
    min-height: 1em;
    color: #9c2f2f !important;
  }
  .selection-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }
  .selection-actions button {
    border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent);
    background: transparent;
    color: var(--fg);
    padding: 10px 14px;
    font: inherit;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .selection-actions button[type="submit"] {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
  }
  @media (max-width: 600px) {
    .selection-bar {
      width: calc(100% - 24px);
      justify-content: space-between;
    }
  }
  #lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    display: none;
    place-items: center;
  }
  #lightbox[open] { display: grid; }
  #lightbox img {
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
  }
  .lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 42px;
    height: 42px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  @media (max-width: 820px) {
    .layout-editorial .hero { grid-template-columns: 1fr; }
    .hero-media img { max-height: 58vh; }
    .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .layout-grid .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topnav { font-size: 9px; letter-spacing: 0.16em; }
  }