/* ==========================================================================
   Hollis Gray — landscape photographer
   Theme tokens first. The online editor edits this block.
   ========================================================================== */

:root {
  --accent: #d4a35b;          /* warm amber: links, small highlights */
  --accent-dark: #b98a45;
  --accent-text: #e2b878;
  --accent-soft: rgba(212, 163, 91, .14);

  --ink: #f2efe9;             /* text on dark */
  --ink-2: #bdb8ae;
  --ink-3: #8d887f;

  --surface: #0f0f0e;
  --surface-2: #171715;
  --card: #1c1c1a;
  --border: #2c2b28;

  --radius: 2px;
  --font-display: "Bodoni Moda", Didot, Georgia, serif;
  --font-body: "Karla", -apple-system, system-ui, sans-serif;

  --container: 1320px;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
em { font-style: italic; color: var(--accent-text); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--alt { background: var(--surface-2); }
.label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-3); }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 26px; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--ink); color: var(--surface); }
.btn--accent { border-color: var(--accent); background: var(--accent); color: #17130d; }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #17130d; }
.btn--block { width: 100%; justify-content: center; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--accent-text); }
.text-link::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .25s; }
.text-link:hover::after { width: 54px; }

/* ----------------------------------------------------------------- header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-solid, .header--solid { background: rgba(15, 15, 14, .92); backdrop-filter: blur(10px); border-color: var(--border); }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.wordmark { text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .02em; }
.wordmark small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--border); background: transparent; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: fixed; inset: 84px 0 auto; display: none; flex-direction: column; gap: 0; padding: 12px var(--gutter) 28px; background: var(--surface); border-bottom: 1px solid var(--border); }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 980px; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease; }
.hero__slide.is-on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .7) 100%); }
.hero__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: clamp(36px, 6vw, 72px); }
.hero__text h1 { max-width: 10em; }
.hero__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.hero__caption { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 42px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; }
.hero__dots button[aria-current="true"] { background: var(--ink); }

/* ------------------------------------------------------------------ intro */
.intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro p.big { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- series */
.series { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.series a { position: relative; display: block; overflow: hidden; text-decoration: none; }
.series img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1s ease, filter .6s; filter: saturate(.9); }
.series a:hover img { transform: scale(1.05); filter: saturate(1.05); }
.series span { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.series b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; }
.series small { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 900px) { .series { grid-template-columns: 1fr 1fr; } }

/* ----------------------------------------------------------------- gallery */
.filterbar { display: flex; gap: 6px 26px; flex-wrap: wrap; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.filterbar button { padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: none; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); cursor: pointer; }
.filterbar button[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); }
.filterbar button span { color: var(--ink-3); margin-left: 4px; }
.masonry { columns: 3 320px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 18px; position: relative; cursor: zoom-in; overflow: hidden; }
.shot[hidden] { display: none; }
.shot img { width: 100%; transition: transform .9s ease, opacity .4s; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); font-size: .82rem; letter-spacing: .06em; opacity: 0; transition: opacity .3s; }
.shot:hover figcaption, .shot:focus-visible figcaption { opacity: 1; }
.shot figcaption b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; letter-spacing: 0; }

.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 7, .97); color: var(--ink); }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { position: absolute; inset: 70px 80px 90px; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__info { position: absolute; left: 80px; right: 80px; bottom: 26px; display: flex; justify-content: space-between; gap: 16px; font-size: .86rem; color: var(--ink-2); }
.lightbox__info b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--ink); margin-right: 12px; }
.lb-btn { position: absolute; width: 56px; height: 56px; border: 1px solid var(--border); background: rgba(15, 15, 14, .6); cursor: pointer; font-size: 1.3rem; }
.lb-btn:hover { border-color: var(--ink); }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; }
@media (max-width: 700px) { .lightbox__stage { inset: 70px 12px 110px; } .lightbox__info { left: 16px; right: 16px; flex-direction: column; } .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; } .lb-prev { left: auto; right: 80px; } }

/* ------------------------------------------------------------------ split */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__body > * + * { margin-top: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split img { aspect-ratio: 4 / 3; } }

.clients { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 40px; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--ink-3); }

/* ------------------------------------------------------------------ prints */
.prints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.print img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print h3 { margin-top: 18px; font-size: 1.45rem; }
.print__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.print select { min-height: 44px; padding: 0 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.print .price { font-family: var(--font-display); font-size: 1.4rem; }
.print .btn { min-height: 44px; margin-top: 14px; width: 100%; justify-content: center; }
.print .edition { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 960px) { .prints { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prints { grid-template-columns: 1fr; } }

.bag { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: min(380px, calc(100% - 40px)); background: var(--card); border: 1px solid var(--border); padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.bag[hidden] { display: none; }
.bag h3 { font-size: 1.3rem; }
.bag ul { list-style: none; margin: 14px 0; padding: 0; max-height: 200px; overflow: auto; }
.bag li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.bag li button { border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.bag__total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 14px; }

/* ------------------------------------------------------------- workshops */
.workshops { border-top: 1px solid var(--border); }
.workshop { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--border); }
.workshop time { font-family: var(--font-display); font-size: 1.5rem; }
.workshop time small { display: block; font-family: var(--font-body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.workshop p { color: var(--ink-2); margin-top: 6px; }
.places { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.places--full { color: var(--ink-3); text-decoration: line-through; }
@media (max-width: 760px) { .workshop { grid-template-columns: 1fr; gap: 10px; } }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.input { width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; font-size: 1.05rem; color: var(--ink); }
select.input { background: var(--surface); }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); }
.input[aria-invalid="true"] { border-color: #e0715b; }
.error { min-height: 1em; font-size: .84rem; color: #e0715b; }
.done { padding: 40px 0; }
.done h3 { font-size: 2rem; }
.done p { margin-top: 12px; color: var(--ink-2); }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }

.page-head { padding-top: calc(84px + clamp(48px, 7vw, 96px)); padding-bottom: clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin-top: 18px; }
.page-head .lede { margin-top: 20px; }

/* ----------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--border); font-size: .9rem; color: var(--ink-3); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 36px; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.big-contact { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.big-contact a.mail { display: inline-block; margin-top: 24px; font-family: var(--font-display); font-size: clamp(2rem, 6vw, 5rem); text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color .3s, color .3s; }
.big-contact a.mail:hover { color: var(--accent-text); border-color: var(--accent); }

.credits { list-style: none; margin: 0; padding: 0; }
.credits li { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--ink-2); }
.credits a { color: var(--accent-text); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
