/* Warrior Goddess Photography */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --wall: #FAFAF8;       /* gallery white */
  --ink: #16213A;        /* brand navy, used for all type */
  --night: #0F1626;      /* navy-black behind the reel and the photo viewer */
  --stone: #6B7080;      /* secondary text */
  --gold: #B08A3E;       /* laurel gold, used only on focus and the one rule */
  --line: #E4E3DE;
  --gut: clamp(16px, 2.6vw, 40px);
  --gap: clamp(6px, 0.9vw, 12px);
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wall); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.65; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* header */
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; padding: 22px var(--gut); position: relative; z-index: 5; }
.mark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.mark b { font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: .16em; }
.mark span { font-family: var(--sans); font-weight: 400; font-size: 10.5px; letter-spacing: .52em; margin-top: 7px; color: var(--stone); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* home: the reel */
.reel { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: var(--night); color: #fff; overflow: hidden; }
.reel video, .reel .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,14,24,.78) 0, rgba(10,14,24,.35) 12%, rgba(10,14,24,0) 24%, rgba(10,14,24,0) 50%, rgba(10,14,24,.88) 100%); }
.reel .top { position: absolute; top: 0; left: 0; right: 0; color: #fff; text-shadow: 0 1px 10px rgba(10,14,24,.7); }
.reel .mark span { color: rgba(255,255,255,.78); }
.reel-copy { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(28px, 6vh, 64px); z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.reel-copy h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 3.2vw, 46px); line-height: 1.16; letter-spacing: .02em; max-width: 21ch; text-shadow: 0 1px 18px rgba(10,14,24,.6); }
.reel-copy p { margin: 14px 0 0; font-size: clamp(14px, 1.2vw, 17px); color: rgba(255,255,255,.86); max-width: 40ch; }
.reel-copy .go { display: inline-block; margin-top: 22px; font-weight: 500; font-size: 15px; text-decoration: none; padding: 12px 22px; border: 1px solid rgba(255,255,255,.7); }
.reel-copy .go:hover { background: #fff; color: var(--ink); }
.pause { flex: none; background: rgba(15,22,38,.45); color: #fff; border: 1px solid rgba(255,255,255,.45); font: 500 12px/1 var(--sans); padding: 9px 14px; cursor: pointer; }
.pause:hover { background: rgba(15,22,38,.75); }

/* home: intro + selected work */
.intro { padding: clamp(56px, 9vw, 120px) var(--gut) clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 6vw; align-items: end; }
.intro h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 40px); line-height: 1.2; letter-spacing: .01em; }
.intro p { margin: 0; max-width: 52ch; color: var(--stone); font-size: 16px; }
.rule { width: 72px; height: 1px; background: var(--gold); margin: 0 0 22px; border: 0; }
.selected { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--gut); grid-auto-flow: dense; }
.selected a { display: block; overflow: hidden; background: #E9E8E3; aspect-ratio: 4 / 5; }
.selected a.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; position: relative; }
.selected a.big img { position: absolute; inset: 0; }
.selected img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s ease; }
.selected a:hover img { transform: scale(1.025); }
.more { padding: clamp(28px, 4vw, 48px) var(--gut) 0; }
.more a { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.book { margin: clamp(64px, 9vw, 120px) var(--gut) 0; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.book h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; }
.book .ways { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px; padding: 13px 22px; border: 1px solid var(--ink); }
.btn.solid { background: var(--ink); color: #fff; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid:hover { background: #24304d; }

/* portraits page */
.pagehead { padding: clamp(40px, 6vw, 84px) var(--gut) clamp(24px, 3vw, 40px); }
.pagehead h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.05; letter-spacing: .02em; }
.pagehead p { margin: 12px 0 0; color: var(--stone); max-width: 52ch; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--gut); }
.wall a { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #E9E8E3; cursor: zoom-in; }
.wall img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: opacity .3s ease; }
.wall a:hover img { opacity: .9; }

/* viewer */
.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: var(--night); color: #fff; }
.viewer::backdrop { background: var(--night); }
.viewer figure { margin: 0; position: absolute; inset: 56px 64px 44px; display: flex; align-items: center; justify-content: center; }
.viewer figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer .vbar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 13px; color: rgba(255,255,255,.75); }
.viewer button { background: none; border: 0; color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; padding: 10px 12px; }
.viewer .prev, .viewer .next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 300; padding: 18px 16px; }
.viewer .prev { left: 6px; } .viewer .next { right: 6px; }
.viewer button:hover { color: #E3C98E; }

/* contact page */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); padding: clamp(24px, 4vw, 56px) var(--gut) 0; align-items: start; }
.about .photo { background: #E9E8E3; }
.about .photo img { width: 100%; height: auto; }
.about h1 { margin: 0 0 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: .02em; }
.about .bio { font-size: 17px; max-width: 46ch; }
.about .bio p { margin: 0 0 1em; }
.reach { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 30rem; }
.reach li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reach span { color: var(--stone); font-size: 14px; }
.reach a { font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { text-decoration: underline; }

/* 404 */
.lost { padding: clamp(56px, 10vw, 140px) var(--gut); max-width: 44rem; }
.lost h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 52px); margin: 0 0 12px; }
.lost p { color: var(--stone); margin: 0 0 28px; }

/* footer */
.foot { margin-top: clamp(64px, 9vw, 120px); padding: 28px var(--gut) 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: var(--stone); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .top { padding-top: 16px; padding-bottom: 16px; }
  .nav { width: 100%; gap: 22px; font-size: 13.5px; }
  .reel-copy { flex-direction: column; align-items: flex-start; }
  .reel-copy .pause { position: absolute; right: 0; bottom: 0; }
  .intro, .book, .about { grid-template-columns: minmax(0, 1fr); }
  .selected, .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viewer figure { inset: 52px 0 40px; }
  .viewer .prev, .viewer .next { top: auto; bottom: 0; transform: none; padding: 8px 18px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .selected img, .wall img { transition: none; }
  .selected a:hover img { transform: none; }
}
