/* Shotz by E — site styles */

:root {
  --bg: #0c0c0e;
  --bg-alt: #151517;
  --line: #26262a;
  --line-strong: #45403a;
  --text: #f3f1ec;
  --text-muted: #8f8d8a;
  --accent: #d98a4f;
  --accent-hover: #e9a875;
  --gutter: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
html.lightbox-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--accent); color: #1a1108; padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 16px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.script { font-family: 'Petit Formal Script', 'Brush Script MT', cursive; font-weight: 400; }
.display { font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif; font-weight: 400; letter-spacing: 0.01em; line-height: 0.96; margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.lede { color: var(--text-muted); font-size: 16px; max-width: 560px; line-height: 1.6; margin: 0; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 32px; font-family: inherit; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #1a1108; font-weight: 700; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #1a1108; }
.btn-secondary { background: transparent; color: var(--text); font-weight: 600; border: 1px solid var(--line-strong); }
.btn-secondary:hover { color: var(--text); border-color: var(--text-muted); }

.ig-btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text);
  border: 1px solid var(--line); padding: 10px 16px; font-size: 13px; transition: border-color .15s;
}
.ig-btn:hover { color: var(--text); border-color: var(--line-strong); }
.ig-btn-lg { padding: 12px 18px; }
.nav-ig { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.logo { display: flex; align-items: baseline; gap: 7px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-word { font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif; font-size: 25px; letter-spacing: 0.04em; line-height: 1; }
.logo-script { font-size: 23px; color: var(--accent); line-height: 1; }
.site-nav { display: flex; gap: 40px; }
.nav-link { text-decoration: none; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); transition: color .15s; }
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px;
  background: transparent; border: 0; color: var(--text); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-open { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 56px; }
.footer-mark { font-size: 22px; color: var(--text); text-decoration: none; }
.footer-mark:hover { color: var(--text); }
.footer-note { font-size: 13px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-ig { display: inline-flex; padding: 13px; margin: -13px; color: var(--text-muted); }
.footer-ig:hover { color: var(--text); }

/* ---------- Home ---------- */
.hero { position: relative; height: 800px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 32%; filter: grayscale(1) contrast(1.05); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.55) 42%, rgba(10,10,11,0.15) 70%); }
.hero-content { position: relative; padding-bottom: 80px; }
.hero-copy { max-width: 700px; }
.hero h1 { font-size: clamp(50px, 11vw, 84px); margin: 16px 0 22px; }
.hero p { color: var(--text-muted); font-size: 17px; max-width: 500px; line-height: 1.65; margin: 0 0 34px; }

.section { padding-block: 96px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: 40px; margin-top: 10px; }
.text-link { text-decoration: none; color: var(--text-muted); font-size: 14px; letter-spacing: 0.03em; white-space: nowrap; }
.text-link:hover { color: var(--text); }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.featured-grid .zoomable img { height: 540px; object-fit: cover; }

/* ---------- Zoomable photos + lightbox ---------- */
.zoomable {
  display: block; width: 100%; padding: 0; margin: 0; font: inherit;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--bg-alt); cursor: zoom-in;
}
.zoomable img { width: 100%; height: auto; transition: filter .25s; }
.zoomable:hover img { filter: brightness(1.1); }

.lightbox-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 8, 9, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.lightbox-img { position: fixed; z-index: 1001; max-width: none; object-fit: cover; transform-origin: 0 0; cursor: zoom-out; }
.lightbox-close {
  position: fixed; z-index: 1002; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(12, 12, 14, 0.6);
  color: var(--text); cursor: pointer;
}
.lightbox-close:hover { border-color: var(--text-muted); }

/* ---------- Page headers ---------- */
.page-head { padding-block: 110px 40px; }
.page-head h1 { font-size: clamp(44px, 8vw, 64px); margin: 14px 0 18px; }
.page-head.tight h1 { margin-bottom: 0; }

/* ---------- Catalog ---------- */
.chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.chip {
  font: inherit; background: transparent; border: 1px solid var(--line); padding: 10px 18px;
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted);
  cursor: pointer; transition: color .15s, border-color .15s, background-color .15s;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active, .chip.is-active:hover { border-color: var(--accent); color: var(--accent); background: #d98a4f14; }
.masonry { column-count: 3; column-gap: 16px; padding-bottom: 80px; }
.masonry .zoomable { margin-bottom: 16px; break-inside: avoid; }

/* ---------- About ---------- */
.bio { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; padding-bottom: 96px; }
.portrait { position: relative; height: 540px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.05); }
.bio-copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.bio-lead { font-size: 19px; line-height: 1.7; margin: 0; }
.bio-body { font-size: 16px; line-height: 1.75; margin: 0; color: var(--text-muted); }
.bio-quote { font-size: 30px; line-height: 1.45; color: var(--accent); margin: 8px 0 0; }
.tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.tag { border: 1px solid var(--line); padding: 8px 14px; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.services { padding-bottom: 96px; }
.services .eyebrow { margin-bottom: 32px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--bg-alt); border: 1px solid var(--line); padding: 32px 26px; }
.service-icon { margin-bottom: 20px; color: var(--accent); }
.service h3 { font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif; font-weight: 400; font-size: 22px; letter-spacing: 0.02em; margin: 0 0 8px; }
.service p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; padding-bottom: 96px; align-items: start; }
.email-card { background: var(--bg-alt); border: 1px solid var(--line); padding: 44px; }
.email-card .eyebrow { margin-bottom: 16px; }
.email-big {
  display: inline-block; font-family: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  font-size: clamp(26px, 3.9vw, 49px); letter-spacing: 0.02em; line-height: 1.05;
  color: var(--text); text-decoration: none; overflow-wrap: break-word; transition: color .15s;
}
.email-big:hover { color: var(--accent); }
.email-hint { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 18px 0 32px; max-width: 460px; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.info-block .eyebrow { margin-bottom: 14px; }
.info-block p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.divider { height: 1px; background: var(--line); }
.places { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-muted); }
.place { display: flex; align-items: center; gap: 10px; }

/* ---------- 404 ---------- */
.not-found { padding-block: 140px 120px; }
.not-found h1 { font-size: clamp(56px, 12vw, 120px); margin: 14px 0 18px; }
.not-found .lede { margin-bottom: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .site-nav { gap: 28px; }
  .bio { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .header-inner { padding-block: 14px; }
  .nav-toggle { display: inline-flex; }
  .header-ig { display: none; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 4px var(--gutter) 22px;
    background: rgba(12, 12, 14, 0.98); border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .site-nav { display: flex; }
  .nav-link { padding: 15px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-ig { display: inline-flex; align-self: flex-start; margin-top: 18px; }

  .hero { height: auto; min-height: calc(100svh - 73px); }
  .hero-shade { background: linear-gradient(0deg, rgba(10,10,11,0.97) 0%, rgba(10,10,11,0.82) 45%, rgba(10,10,11,0.25) 78%, rgba(10,10,11,0.1) 100%); }
  .hero-content { padding-top: 160px; padding-bottom: 44px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .section { padding-block: 64px; }
  .featured-grid { grid-template-columns: 1fr; gap: 16px; }
  .featured-grid .zoomable img { height: auto; aspect-ratio: 4 / 5; }

  .page-head { padding-block: 64px 32px; }
  .masonry { column-count: 2; column-gap: 12px; padding-bottom: 56px; }
  .masonry .zoomable { margin-bottom: 12px; }

  .bio { grid-template-columns: 1fr; gap: 36px; padding-bottom: 64px; }
  .portrait { height: auto; aspect-ratio: 4 / 5; }
  .services { padding-bottom: 64px; }
  .service-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
  .email-card { padding: 28px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 40px; }
  .not-found { padding-block: 96px 80px; }
}

@media (max-width: 520px) {
  .masonry { column-count: 1; }
  .btn-row .btn { flex: 1 1 100%; }
  .bio-quote { font-size: 24px; }
  .email-big { font-size: 21px; }
  .section-head h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
