:root {
  --paper: #f4f1eb;
  --ink: #181814;
  --muted: #77766f;
  --line: rgba(24, 24, 20, .17);
  --accent: #df4b2f;
  --sage: #bec4b4;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); }
button, input { font: inherit; }
button { color: inherit; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.eyebrow { margin: 0 0 24px; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 600; }
.gate { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; padding: 32px 42px; background: var(--paper); position: fixed; inset: 0; z-index: 15; transition: opacity .45s ease, visibility .45s; }
.gate::after { content: "“"; position: absolute; right: 4vw; top: 50%; translate: 0 -56%; font-family: var(--font-display); color: var(--sage); font-size: min(55vw, 720px); line-height: .6; opacity: .55; z-index: -1; }
.locale-switch { position: absolute; top: 25px; right: 34px; display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 30px; z-index: 2; }
.locale { border: 0; background: transparent; min-width: 47px; padding: 7px 10px; border-radius: 20px; cursor: pointer; font-size: 10px; letter-spacing: .08em; }
.locale.is-active { background: var(--ink); color: white; }
.gate__content { align-self: center; width: min(100%, 520px); position: relative; z-index: 1; }
.gate h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 4.2vw, 68px); line-height: 1.08; letter-spacing: -.04em; }
.gate__copy { color: var(--muted); font-size: 14px; margin: 30px 0 45px; }
.gate__note { align-self: end; margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.password-form { max-width: 390px; }
.password-form label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 9px; }
.password-field { position: relative; }
.password-field input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 13px 42px 13px 0; outline: none; border-radius: 0; }
.password-field input::placeholder { color: #aaa79f; }
.password-field input:focus { border-bottom-color: var(--accent); }
.reveal { position: absolute; right: 0; top: 50%; translate: 0 -50%; border: 0; background: none; padding: 9px 0 9px 12px; cursor: pointer; }
.reveal svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.form-error { color: var(--accent); min-height: 19px; font-size: 12px; margin: 7px 0 10px; }
.button { border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 17px 19px; }
.button--dark { background: var(--ink); color: white; }
.button:hover span:last-child { transform: translate(2px, -2px); }
.button span { transition: transform .2s ease; }
body:not(.is-locked) .gate { opacity: 0; visibility: hidden; }
body.is-locked { overflow: hidden; }

.site { max-width: 1600px; margin: auto; padding: 0 42px; }
.topbar { height: 92px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end; }
.logout { border: 0; background: none; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }
.logout span { margin-left: 8px; }
.intro { min-height: 460px; padding: 76px 0 60px; display: grid; grid-template-columns: 2fr 1fr; align-items: end; }
.intro h1 { font-family: var(--font-display); font-size: clamp(56px, 7.4vw, 115px); font-weight: 400; letter-spacing: -.055em; line-height: .98; margin: 0; }
.intro h1 em { color: var(--accent); font-weight: 400; }
.intro__copy { max-width: 390px; color: var(--muted); font-size: 14px; line-height: 1.65; padding-bottom: 8px; }
.collection { padding: 56px 0 96px; border-top: 1px solid var(--line); }
.collection__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.collection__head h2 { font-size: 14px; font-weight: 500; margin: 0; text-transform: uppercase; letter-spacing: .1em; }
.collection__head sup { color: var(--accent); margin-left: 5px; font-size: 9px; }
.filters { display: flex; border: 1px solid var(--line); border-radius: 40px; padding: 3px; }
.filter { border: 0; border-radius: 30px; padding: 8px 16px; min-width: 54px; cursor: pointer; background: transparent; font-size: 11px; }
.filter.is-active { color: white; background: var(--ink); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.review-card { cursor: pointer; min-width: 0; position: relative; background: #d5d1c8; overflow: hidden; }
.review-card.is-hidden { display: none; }
.review-card__media { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--card-color, #d5d1c8); }
.review-card__media, .viewer__media { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.review-card__media img, .review-card__media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.review-card:hover .review-card__media img, .review-card:hover .review-card__media video { transform: scale(1.025); }
.placeholder { height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; }
.placeholder::before { content: "“"; font: 180px/.8 var(--font-display); color: rgba(255,255,255,.4); position: absolute; top: 14%; left: 12%; }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 40px; height: 40px; border-radius: 50%; background: rgba(244,241,235,.92); display: grid; place-items: center; border: 0; box-shadow: 0 5px 20px rgba(0,0,0,.12); }
.play svg { width: 10px; margin-left: 2px; fill: var(--ink); }
.review-card__meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 34px 11px 10px; align-items: baseline; color: white; background: linear-gradient(transparent, rgba(8,8,6,.62)); pointer-events: none; }
.review-card__type { text-transform: uppercase; letter-spacing: .1em; color: inherit; font-size: 8px; }
.empty { display: none; text-align: center; color: var(--muted); padding: 80px 0; }
.empty.is-visible { display: block; }
.load-more { min-width: 190px; margin: 32px auto 0; padding: 13px 22px; display: block; border: 1px solid var(--line); border-radius: 30px; background: transparent; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.load-more:hover { background: var(--ink); color: white; }
.load-more[hidden] { display: none; }
footer { border-top: 1px solid var(--line); min-height: 160px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
footer p { color: var(--muted); }

.viewer { width: min(1500px, 96vw); max-width: none; height: min(94dvh, 1000px); max-height: none; padding: 0; border: 0; background: #111; color: var(--ink); box-shadow: 0 24px 100px rgba(0,0,0,.32); overflow: hidden; }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr); }
.viewer::backdrop { background: rgba(15,15,12,.74); backdrop-filter: blur(5px); }
.viewer__close { position: absolute; top: 13px; right: 16px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(244,241,235,.92); font-size: 25px; cursor: pointer; }
.viewer__nav { position: absolute; z-index: 2; top: calc(50% - 24px); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(244,241,235,.9); color: var(--ink); font: 31px/1 var(--font-sans); cursor: pointer; display: grid; place-items: center; box-shadow: 0 5px 24px rgba(0,0,0,.16); transition: background .2s ease, transform .2s ease; }
.viewer__nav:hover { background: white; transform: scale(1.04); }
.viewer__nav:disabled { display: none; }
.viewer__nav--prev { left: 16px; }
.viewer__nav--next { right: 16px; }
.viewer__media { min-height: 0; background: #111; touch-action: pan-y pinch-zoom; }
.viewer__media.is-changing { animation: media-change .18s ease; }
.viewer__media img, .viewer__media video, .viewer__media canvas { width: 100%; height: 100%; object-fit: contain; background: #111; display: block; }
.viewer__media .placeholder { background: var(--card-color); }
@keyframes media-change { from { opacity: .65; } to { opacity: 1; } }

@media (max-width: 800px) {
  .gate { display: flex; flex-direction: column; padding: 24px 20px 22px; }
  .locale-switch { top: 17px; right: 16px; }
  .gate::after { top: 25%; right: -8vw; font-size: 105vw; opacity: .35; }
  .gate__content { margin: auto 0; width: 100%; }
  .gate h1 { font-size: clamp(37px, 11vw, 52px); }
  .gate__copy { margin: 22px 0 34px; }
  .password-form { max-width: none; }
  .gate__note { font-size: 8px; }
  .site { padding: 0 18px; }
  .topbar { height: 72px; }
  .logout { font-size: 9px; }
  .intro { min-height: 410px; padding: 60px 0 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .intro h1 { font-size: clamp(50px, 17.2vw, 78px); }
  .intro__copy { max-width: 310px; }
  .collection { padding: 38px 0 72px; }
  .collection__head { align-items: flex-start; flex-direction: column; gap: 20px; }
  .filters { width: 100%; }
  .filter { flex: 1; padding-block: 10px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .review-card__media { aspect-ratio: 4/3; }
  .review-card__meta { gap: 8px; padding: 28px 8px 8px; }
  .review-card__type { font-size: 7px; }
  .play { width: 34px; height: 34px; }
  footer { min-height: 120px; }
  .viewer { width: 100vw; height: 100dvh; max-height: none; margin: 0; }
  .viewer__nav { width: 42px; height: 42px; top: calc(50% - 21px); background: rgba(244,241,235,.82); }
  .viewer__nav--prev { left: 8px; }
  .viewer__nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
