@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #222;
  --text: #555;
  --muted: #8a8a8a;
  --line: #e4e4e4;
  --narrow: 600px;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 12px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 18px 20px 20px;
}
.logo img { width: 62px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 14px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- photography index grid ---------- */
.index-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 6px; }
.tile { position: relative; display: block; overflow: hidden; background: #111;
  flex: 0 0 calc((100% - 18px) / 4); aspect-ratio: 3 / 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.tile-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; background: rgba(0, 0, 0, .55);
  opacity: 0; transition: opacity .3s;
}
.tile-title { font-size: clamp(18px, 2vw, 30px); font-weight: 300; letter-spacing: .02em; }
.tile-view { font-size: 11px; letter-spacing: .05em; margin-top: 4px; }
.tile:hover .tile-label, .tile:focus-visible .tile-label { opacity: 1; }
.tile:hover img { transform: scale(1.03); }
@media (max-width: 1000px) and (min-width: 701px) { .tile { flex-basis: calc((100% - 12px) / 3); } }

/* ---------- gallery page ---------- */
.gallery { padding: 0 20px 60px; }
.gallery-head {
  display: flex; justify-content: space-between; align-items: baseline;
  max-width: 1400px; margin: 0 auto;
}
.gallery-head h1 { margin: 0 0 18px; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: .03em; }
.pager a {
  display: inline-block; padding: 0 8px;
  font-size: 22px; line-height: 1; color: var(--muted); text-decoration: none;
}
.pager a:hover { color: var(--ink); }
.gallery-list { max-width: 860px; margin: 0 auto; }
.g-item { margin: 0 0 22px; }
.g-item a { display: block; cursor: zoom-in; background: #f4f4f4; }
.g-item img { width: 100%; }

/* ---------- narrow content pages ---------- */
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 44px 20px 80px; }
h1, h2 { color: var(--ink); font-weight: 300; }

/* videography */
.film-header { position: relative; margin: 0 auto 38px; max-width: 500px; }
.film-header h1 {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; font-size: clamp(22px, 4.2vw, 36px); font-weight: 200; letter-spacing: .04em; line-height: 1.25;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  padding: 0 30px;
}
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-decoration: none; font-size: 11px; letter-spacing: .08em; background: #111; }
.video-link .play { width: 54px; height: 38px; border-radius: 10px; background: #e62117; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-row { display: grid; grid-template-columns: 243px 1fr; gap: 10px; margin-bottom: 38px; align-items: start; }
.video-text h2 { margin: 0 0 12px; font-size: 10px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.video-text p { margin: 0; font-size: 10px; line-height: 1.8; }
.video-text a { color: var(--ink); font-weight: 600; text-decoration: none; }
.more { text-align: center; font-weight: 600; font-size: 22px; margin: 50px 0 14px; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: 294px 1fr; gap: 10px; align-items: start; }
.about-photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-text h1 { margin: 0 0 6px; font-size: 22px; line-height: 1.3; }
.about-text h2 { margin: 28px 0 6px; font-size: 20px; line-height: 1.3; }
.about-text p { margin: 0 0 10px; font-size: 9.5px; line-height: 1.85; }
.plain, .published { list-style: none; margin: 0 0 10px; padding: 0; font-size: 9.5px; line-height: 1.85; }
.plain li, .published li { margin: 0 0 4px; }
.published a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #ccc; }
.published a:hover { border-bottom-color: var(--ink); }

.socials { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.soc { width: 18px; height: 18px; display: block; }
.soc svg { width: 100%; height: 100%; }
.soc-instagram { color: #d62976; }
.soc-email { color: #222; }
.soc-youtube { color: #e62117; }

/* contact */
.contact h1 { font-size: 30px; margin: 0 0 6px; }
.contact .intro { font-size: 12px; margin: 0 0 26px; }
.contact-form { display: grid; gap: 18px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.contact-form legend, .contact-form .field { font-size: 12px; color: var(--ink); padding: 0; }
.contact-form legend { grid-column: 1 / -1; margin-bottom: 6px; }
.contact-form .name-row label span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.contact-form .req { font-style: normal; color: var(--muted); }
.contact-form .field .lbl { display: inline; font-size: 12px; color: var(--ink); margin: 0; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink);
  padding: 11px 12px; border: 1px solid #ccc; border-radius: 0; background: #fafafa;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.contact-form button {
  justify-self: start; font: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: 0; padding: 14px 34px; cursor: pointer;
}
.contact-form button:hover { background: #000; }
.contact-form button[disabled] { opacity: .6; cursor: default; }
.form-status { margin: 0; font-size: 13px; color: var(--ink); }
.hp { position: absolute; left: -9999px; }

.notfound { text-align: center; }

/* footer */
.site-footer { text-align: center; color: var(--muted); font-size: 10px; letter-spacing: .08em; padding: 30px 20px 26px; }
body.has-grid .site-footer { padding-top: 26px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); width: auto; height: auto; box-shadow: 0 2px 30px rgba(0,0,0,.12); }
.lightbox button {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: #555; font: 300 40px/1 var(--font); padding: 14px;
}
.lightbox button:hover { color: #000; }
.lb-close { top: 8px; right: 14px; font-size: 32px !important; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); letter-spacing: .1em; }

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  .site-header { gap: 18px; padding: 14px 14px 16px; }
  .logo img { width: 52px; }
  .site-nav { gap: 4px 13px; padding-top: 10px; }
  .site-nav a { font-size: 11px; letter-spacing: .06em; }
  .index-grid { gap: 4px; padding: 0 4px; }
  .tile { flex-basis: calc((100% - 4px) / 2); aspect-ratio: 1; }
  .tile-label { opacity: 1; background: linear-gradient(transparent 50%, rgba(0,0,0,.55)); justify-content: flex-end; padding-bottom: 12px; }
  .tile-view { display: none; }
  .gallery { padding: 0 0 40px; }
  .gallery-head { padding: 0 14px; }
  .g-item { margin-bottom: 8px; }
  .video-row, .about-grid { grid-template-columns: 1fr; gap: 14px; }
  .video-text h2 { font-size: 13px; }
  .video-text p, .about-text p, .plain, .published { font-size: 13px; }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 100px); box-shadow: none; }
  .lb-prev, .lb-next { top: auto; bottom: 0; transform: none; }
}
