/* Definitive Imaging — layout: full-bleed photo heroes, a quiet charcoal frame, galleries in
   flowing columns so every photo keeps its own shape. */
:root {
  --bg: #111214;          /* neutral charcoal, never tints the photos */
  --bg-2: #17181b;
  --bg-3: #1e2024;
  --line: #2b2d32;
  --text: #ecebe7;
  --sub: #a4a39e;
  --faint: #74746f;
  --accent: #c9a45c;      /* brass, used sparingly */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(17, 18, 20, 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.05; margin-right: auto; }
.brand-mark { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.brand-text > span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sub); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--sub); padding: 8px 10px; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 14px var(--body); letter-spacing: 0.02em;
  padding: 11px 18px; border-radius: 3px; border: 1px solid var(--accent); color: #15130e; background: var(--accent); cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(236, 235, 231, 0.35); }
.btn.ghost:hover { border-color: var(--text); }
.nav .btn { margin-left: 10px; color: #15130e; padding: 9px 15px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 4px; padding: 8px 12px;
  font: 600 13px var(--body); }
@media (max-width: 1060px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav .btn { margin: 14px 0 0; justify-content: center; border-bottom: 1px solid var(--accent); }
}

/* Photo with graceful fallback */
.ph { background: var(--bg-3); }
.ph.missing { min-height: 160px; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; }
.hero.short { min-height: min(56vh, 520px); }
.hero .ph, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,18,20,0.15) 0%, rgba(17,18,20,0.25) 45%, rgba(17,18,20,0.92) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-block: 64px 56px; width: 100%; }
.hero h1 { font-size: clamp(38px, 6.2vw, 84px); max-width: 15ch; margin: 10px 0 18px; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: #d9d8d3; max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section.tight { padding-block: clamp(36px, 5vw, 64px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 8px; }
.section-head p { color: var(--sub); margin: 0; max-width: 52ch; }
.lead { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.55; color: var(--text); }
.muted { color: var(--sub); }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* What I shoot tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; text-decoration: none; background: var(--bg-3); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,10,12,0.85)); }
.tile span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; font-family: var(--display); font-weight: 700; font-size: 21px; }
.tile small { display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--sub); margin-top: 2px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* About split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .ph { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 3px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; padding: 0; list-style: none; color: var(--sub); font-size: 15px; }
.facts li::before { content: "—"; color: var(--accent); margin-right: 8px; }

/* Gallery: flowing columns keep every photo's shape */
.gallery { columns: 3 300px; column-gap: 12px; }
.gallery a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 2px; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: opacity 0.3s ease; }
.gallery a:hover img { opacity: 0.88; }
.gallery-title { display: flex; align-items: baseline; gap: 14px; margin: 48px 0 18px; }
.gallery-title h3 { font-size: 26px; }
.gallery-title span { color: var(--faint); font-size: 14px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 10, 0.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 100px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox button { position: absolute; background: rgba(30, 31, 35, 0.8); color: var(--text); border: 1px solid var(--line); border-radius: 50%;
  width: 48px; height: 48px; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--sub); font-size: 13px; letter-spacing: 0.08em; }
@media (max-width: 700px) { .lightbox img { max-width: 100vw; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; transform: none; } }

/* Video cards */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.video-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.video-card .frame { aspect-ratio: 16 / 9; background: var(--bg-3); position: relative; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .frame a { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; color: var(--sub);
  background: radial-gradient(circle at 50% 45%, #26282d, #17181b); font-size: 14px; }
.video-card .frame a b { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); font-size: 20px; margin: 0 auto 10px; }
.video-card .info { padding: 16px 18px 18px; }
.video-card .tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.video-card h3 { font-size: 21px; margin: 6px 0 6px; }
.video-card p { color: var(--sub); font-size: 15px; margin: 0; }

/* Press */
.press { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.press a { display: block; text-decoration: none; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); }
.press a:hover { border-color: var(--accent); }
.press b { font-family: var(--display); font-size: 22px; display: block; margin: 6px 0 4px; }
.press span { color: var(--sub); font-size: 14px; }

/* Lists and topics */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; padding: 0; list-style: none; margin: 24px 0 0; }
.topics li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); }
.topics b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 2px; }
.topics span { color: var(--sub); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { form { grid-template-columns: minmax(0, 1fr); } }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--sub); }
input, select, textarea { font: 16px var(--body); color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px;
  padding: 12px 14px; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 14px; color: var(--sub); }
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #9fd4a8; }
.form-status.err { color: #f0a59c; }
.details { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.details li { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.details small { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.details a, .details span { font-size: 19px; text-decoration: none; font-family: var(--display); font-weight: 600; }
.details a:hover { color: var(--accent); }

/* Call to action band */
.cta { text-align: left; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: 22ch; }

/* Next / previous between galleries */
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 56px; }
.pager a { text-decoration: none; display: grid; gap: 2px; }
.pager small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.pager b { font-family: var(--display); font-size: 22px; }
.pager a:hover b { color: var(--accent); }
.pager .next { text-align: right; margin-left: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 36px; background: var(--bg); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }
.site-footer h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; color: var(--sub); }
.site-footer a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--sub); }
.socials a:hover { color: var(--text); border-color: var(--sub); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.legal { grid-column: 1 / -1; color: var(--faint); font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; display: flex;
  flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* YouTube thumbnails that play in place */
.yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity 0.2s ease; }
.yt-thumb:hover img { opacity: 1; }
.yt-thumb b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 50%; background: rgba(17, 18, 20, 0.72); border: 1.5px solid var(--accent); color: var(--accent); font-size: 22px; }
.yt-latest .gallery-title { justify-content: space-between; }
.yt-latest .gallery-title a { text-decoration: none; font-size: 15px; }

/* Instagram */
.ig-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.ig-profile { display: flex; align-items: center; gap: 16px; text-decoration: none; min-width: 0; }
.ig-avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #3a3c42, #23252a); box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3.5px var(--accent); color: var(--text); }
.ig-avatar svg { width: 28px; height: 28px; fill: currentColor; }
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-user { display: block; font-family: var(--display); font-size: clamp(18px, 2.2vw, 24px); overflow-wrap: anywhere; }
.ig-stats { display: block; font-size: 15px; margin-top: 2px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ig-grid:empty { display: none; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--bg-3); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.2s ease; }
.ig-grid a:hover img { transform: scale(1.05); opacity: 0.9; }
.ig-badge { position: absolute; top: 8px; right: 8px; font-size: 13px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Logo */
.footer-logo img { width: 220px; height: auto; display: block; }
.about-logo { display: grid; place-items: center; padding: 20px; }
.about-logo img { width: 100%; max-width: 520px; height: auto; }
.about-portrait { margin: 0; justify-self: center; width: 100%; max-width: 440px; }
.about-portrait > img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.about-portrait figcaption { margin-top: 18px; text-align: center; }
.about-portrait figcaption img { width: 62%; max-width: 260px; height: auto; opacity: 0.85; }
.ig-widget { margin-top: 18px; }

/* Phones: the photo sits at the top of the screen and the words start at its bottom edge,
   then carry on below it instead of over it. */
@media (max-width: 760px) {
  .brand-mark { height: 28px; }
  .brand b { font-size: 18px; }
  .brand-text > span { font-size: 9.5px; letter-spacing: 0.14em; white-space: nowrap; }
  .hero, .hero.short { display: block; min-height: 0; }
  .hero .ph, .hero > img { position: relative; inset: auto; display: block; width: 100%; height: 60vh; max-height: 520px; object-fit: cover; }
  .hero::after { inset: 0 0 auto 0; height: 60vh; max-height: 520px;
    background: linear-gradient(180deg, rgba(17,18,20,0) 55%, rgba(17,18,20,0.75) 85%, var(--bg) 100%); }
  .hero .wrap { margin-top: -64px; padding-block: 0 44px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); margin: 8px 0 14px; }
  .hero p { color: var(--sub); }
}
