:root { --gold:#BC8D41; --ink:#0A0A0A; --ivory:#F7F3EA; --white:#FBF9F5; --graphite:#2B2A28; --border:#E7E1D5; }
  * { box-sizing: border-box; }
  body { margin: 0; background: #E8E4DC; -webkit-font-smoothing: antialiased; }
  a { color: var(--gold); text-decoration: none; }
  a:hover { color: var(--ink); }
  @keyframes samRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  #page { width: 100%; max-width: none; margin: 0 auto; background: var(--white); color: var(--ink); font-family: Inter, sans-serif; overflow-x: clip; box-shadow: 0 0 60px rgba(0,0,0,0.12); container-type: inline-size; transition: max-width .25s ease; }

  /* ===== Shared site header (identical markup + behaviour on home + gallery) ===== */
  .site-header { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(20px, 4cqw, 64px); background: rgba(10,10,10,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid #1B1B1B; }
  .brand { display: flex; align-items: center; gap: 12px; color: #F7F3EA; flex: none; }
  .brand-mark { display: block; height: 48px; width: auto; flex: none; }
  .brand-text { display: flex; flex-direction: column; gap: 3px; }
  .brand-name { font-family: 'EB Garamond', serif; font-size: 20px; letter-spacing: 0.18em; line-height: 1; color: #F7F3EA; }
  .brand-tag { font-family: 'JetBrains Mono', monospace; font-size: 7.5px; letter-spacing: 0.3em; color: #B6A48C; }
  .site-nav { display: flex; align-items: center; gap: clamp(14px, 2cqw, 30px); }
  .site-nav .nav-link { color: #E7E1D5; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
  .site-nav .nav-link:hover, .site-nav .nav-link.active { color: #BC8D41; }
  .lang-dd { position: relative; flex: none; }
  .lang-dd-btn { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 9px 13px; background: transparent; border: 1px solid rgba(247,243,234,0.3); color: #E7E1D5; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; }
  .lang-dd-btn:hover { border-color: #BC8D41; }
  .lang-dd-btn .caret { font-size: 7px; transition: transform .2s; }
  .lang-dd.open .lang-dd-btn .caret { transform: rotate(180deg); }
  .lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 140px; background: rgba(10,10,10,0.98); border: 1px solid #2B2A28; box-shadow: 0 12px 34px rgba(0,0,0,0.45); display: none; flex-direction: column; z-index: 70; }
  .lang-dd.open .lang-menu { display: flex; }
  .lang-menu button { text-align: left; padding: 12px 15px; background: transparent; border: 0; cursor: pointer; color: #C9C3B6; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; }
  .lang-menu button:hover { background: #1B1B1B; color: #F7F3EA; }
  .lang-menu button.active { color: #BC8D41; }
  .btn-quote { padding: 13px 22px; background: #BC8D41; color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
  .btn-quote:hover { background: #F7F3EA; color: #0A0A0A; }
  .menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 42px; padding: 0 12px; flex: none; border: 1px solid rgba(247,243,234,0.3); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; height: 1.5px; width: 100%; background: #F7F3EA; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  @container (max-width: 760px) {
    .menu-toggle { display: flex; }
    .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px clamp(20px, 4cqw, 64px) 20px; background: rgba(10,10,10,0.98); border-bottom: 1px solid #1B1B1B; }
    .site-header:not(.open) .site-nav { display: none; }
    .site-nav .nav-link { padding: 15px 2px; border-bottom: 1px solid #1B1B1B; font-size: 13px; }
    .site-nav .lang-dd { align-self: flex-start; margin: 16px 0 2px; }
    .btn-quote { text-align: center; margin-top: 14px; padding: 15px 22px; }
  }

  .nav-link:hover { color: var(--gold); }
  .btn-gold { background: var(--gold); color: #fff; }
  .btn-gold:hover { background: var(--ink); color: #fff; }
  .btn-outline-dark { border: 1px solid var(--ink); color: var(--ink); }
  .btn-outline-dark:hover { background: var(--ink); color: var(--ivory); }
  .social { transition: transform .2s, opacity .2s; }
  .social:hover { transform: translateY(-2px); opacity: 0.85; }

  /* Gallery tiles */
  .gtile { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #EFE9DD; border: 1px solid #E7E1D5; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color .2s ease; }
  .gtile:hover { border-color: var(--gold); }
  .gtile > img, .vtile > video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .gtile[data-cat="portraits"] > img { object-position: center top; }
  .vtile { background: #000; }
  .gtile:not(.vtile) { cursor: pointer; }

  /* Lightbox */
  #lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(6,6,6,0.94); }
  #lightbox.open { display: flex; }
  #lightbox .lb-img { max-width: 90vw; max-height: 88vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
  #lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; background: rgba(20,20,20,0.55); border: 1px solid rgba(247,243,234,0.3); color: #F7F3EA; cursor: pointer; line-height: 1; font-family: 'JetBrains Mono', monospace; }
  #lightbox button:hover { border-color: #BC8D41; color: #BC8D41; }
  #lightbox .lb-close { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 24px; }
  #lightbox .lb-prev, #lightbox .lb-next { top: 50%; transform: translateY(-50%); width: 52px; height: 66px; font-size: 28px; }
  #lightbox .lb-prev { left: 20px; }
  #lightbox .lb-next { right: 20px; }
  #lightbox .lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: #C9C3B6; }
  @media (max-width: 640px) { #lightbox .lb-prev { left: 8px; } #lightbox .lb-next { right: 8px; } #lightbox .lb-prev, #lightbox .lb-next { width: 44px; height: 56px; } }
  .gtile .tag { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: rgba(251,249,245,0.92); border: 1px solid #DED7C8; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.14em; color: #BC8D41; }
  .gtile .chip { padding: 8px 12px; background: rgba(251,249,245,0.96); border: 1px solid #BC8D41; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.1em; color: #2B2A28; text-align: center; line-height: 1.5; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

  /* Video tiles — dark, 16:9, centred play button */
  .vtile { aspect-ratio: 16 / 9; background: repeating-linear-gradient(45deg, #141414 0 11px, #1B1B1B 11px 22px); border-color: #2B2A28; }
  .vtile .tag { background: rgba(6,6,6,0.85); border-color: #2B2A28; color: #E4D3B5; }
  .vtile .chip { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(6,6,6,0.85); border-color: #BC8D41; color: #E4D3B5; }
  .vtile .vplay { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(247,243,234,0.6); border-radius: 50%; transition: border-color .2s, background .2s; }
  .vtile:hover .vplay { border-color: #BC8D41; background: rgba(188,141,65,0.18); }
  .vtile .vplay::after { content: ''; width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #F7F3EA; }

  /* Filter buttons */
  .filterbar { display: flex; flex-wrap: wrap; gap: 8px; }
  .filterbar button { cursor: pointer; padding: 11px 20px; border: 1px solid #DED7C8; background: transparent; color: #6E6A62; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
  .filterbar button.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

  [data-reveal].revealed { animation: samRise 620ms cubic-bezier(.22,.61,.36,1) forwards; }
