/* YARIN TAL — portfolio. Quiet black & paper so the photos lead;
   DIGICAM yellow/red only where the shop is mentioned. */
:root {
  --paper: #F4F2EE;
  --ink: #111111;
  --mute: #6B6862;
  --line: rgba(17, 17, 17, .14);
  --yellow: #FFE26A;
  --gold: #FFCC00;
  --red: #DC0000;

  --sans: "Jost", "Futura", "Century Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h2 { margin: 0; }
img { display: block; max-width: 100%; }

/* ---------- Top bar: split nav, centered name ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px clamp(16px, 4vw, 40px);
  color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.topbar.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.topbar__side { display: flex; gap: 24px; align-items: center; }
.topbar__side--end { justify-content: flex-end; }
.topbar__side a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
}
.topbar__side a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar__mark {
  font-weight: 700; font-size: 21px; letter-spacing: .14em;
  text-decoration: none; white-space: nowrap;
}
.ig { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 520px;
  display: grid; place-items: center;
  color: #fff;
  overflow: hidden;
  background: #1d1d1d;
}
.hero__photo {
  position: absolute; inset: 0;
  background: #262624 center / cover no-repeat;
}
.hero__photo::after { /* keeps the white menu readable on any photo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.18) 40%, rgba(0,0,0,.4));
}
.hero__menu {
  position: relative;
  display: grid; justify-items: center; gap: 10px;
}
.hero__menu a {
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}
.hero__menu a:hover { text-decoration-thickness: 4px; }
.hero__shop {
  font-family: "Archivo", var(--sans);
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  color: var(--red);
  -webkit-text-stroke: 3px var(--gold);
  paint-order: stroke fill;
  text-decoration-color: var(--gold) !important;
}
.hero__caption {
  position: absolute; left: clamp(16px, 4vw, 40px); bottom: 22px; margin: 0;
  font-family: var(--mono); font-size: 12px; opacity: .85;
}

/* Placeholder look for frames whose photo hasn't been added yet */
.is-missing {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px) !important;
}

/* ---------- Portfolio ---------- */
.work { padding: 120px clamp(16px, 4vw, 40px) 96px; }
.work__head {
  display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center;
  margin-bottom: 40px; border-bottom: 1px solid var(--ink); padding-bottom: 14px;
}
.work h2, .about h2, .contact h2 {
  font-weight: 700; font-size: clamp(30px, 4vw, 44px);
  letter-spacing: .12em; text-transform: uppercase;
}
.work__count { margin: 0; font-family: var(--mono); font-size: 12.5px; color: var(--mute); }

.gallery { display: flex; gap: 24px; align-items: flex-start; }
.gallery__col { flex: 1; min-width: 0; }
.shot {
  margin: 0 0 36px;
  cursor: zoom-in;
}
.work__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.work__filters button {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .03em;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  padding: 6px 12px; cursor: pointer;
}
.work__filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.shot__frame { background: #d9d6cf; overflow: hidden; }
.shot__frame img { width: 100%; height: auto; transition: opacity .4s; }
.shot__frame.is-missing {
  display: grid; place-items: center;
  background-color: #dcd9d2;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.035) 0 14px, transparent 14px 28px) !important;
}
.shot__frame.is-missing span {
  font-family: var(--mono); font-size: 12px; color: var(--mute);
}
.shot figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 10px;
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em;
}
.shot figcaption span:last-child { color: var(--mute); white-space: nowrap; }
.shot:hover img { opacity: .88; }
.shot:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* ---------- Shop teaser ---------- */
.shop-teaser {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px;
  padding: 56px 16px;
  background: var(--yellow);
  text-decoration: none;
}
.shop-teaser__logo {
  font-family: "Archivo", var(--sans); font-weight: 900;
  font-size: clamp(44px, 8vw, 88px); line-height: 1;
  color: var(--red);
  -webkit-text-stroke: clamp(3px, .6vw, 6px) var(--gold);
  paint-order: stroke fill;
}
.shop-teaser__text { font-family: var(--mono); font-size: 14px; }
.shop-teaser:hover .shop-teaser__text { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- About & contact ---------- */
.about, .contact {
  padding: 96px clamp(16px, 4vw, 40px);
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px;
}
.about__body p { margin: 0 0 1em; max-width: 58ch; font-size: 20px; }
.contact { border-top: 1px solid var(--line); }
.contact p { margin: 0; grid-column: 2; font-size: 20px; }
.contact__links {
  grid-column: 2; list-style: none; margin: 0; padding: 0;
  font-family: var(--mono); font-size: 15px;
}
.contact__links li { padding: 6px 0; }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 24px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--ink);
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10, 10, 10, .96);
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  color: #fff;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; max-width: 100%; object-fit: contain; }
.lightbox figcaption { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.lightbox button {
  background: none; border: 0; color: #fff; cursor: pointer;
  font-family: var(--mono); font-size: 13px;
}
.lightbox__nav { font-size: 28px !important; height: 100%; }
.lightbox__close { position: absolute; top: 18px; right: 22px; }

a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar__side:first-child { display: none; }
  .topbar__side--end { gap: 16px; }
  .topbar__side--end a:not(.ig):not(:last-of-type) { display: none; }
  .topbar__mark { font-size: 18px; }
  .about, .contact { grid-template-columns: 1fr; }
  .contact p, .contact__links { grid-column: 1; }
  .lightbox { grid-template-columns: 40px 1fr 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
