:root { --ink:#15283a; --paper:#f6f2ea; --warm:#b7985b; --muted:#706b62; --line:rgba(21,40,58,.16); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"DM Sans",sans-serif; }
.site-header { display:flex; justify-content:space-between; align-items:center; padding:25px 5vw; border-bottom:1px solid var(--line); }
.brand { color:inherit; text-decoration:none; letter-spacing:.12em; font-size:.74rem; font-weight:600; }
.brand small { display:block; color:var(--muted); margin-top:5px; letter-spacing:.04em; font-weight:400; }
.return-link { color:inherit; font-size:.8rem; text-decoration:none; border-bottom:1px solid var(--warm); padding-bottom:4px; }
.return-link span { color:var(--warm); font-size:1.1rem; }
.hero { min-height:480px; padding:110px 12vw 80px; background:linear-gradient(110deg,rgba(21,40,58,.98),rgba(21,40,58,.82)), url('assets/whitby-2/a.jpg') center 37%/cover; color:#fff; }
.eyebrow { color:var(--warm); font-size:.72rem; font-weight:600; letter-spacing:.18em; margin:0 0 20px; }
h1,h2 { font-family:"Cormorant Garamond",Georgia,serif; font-weight:600; margin:0; line-height:.9; }
h1 { font-size:clamp(4rem,9vw,8.7rem); letter-spacing:-.04em; }
.intro { max-width:410px; line-height:1.7; margin:32px 0 0; color:rgba(255,255,255,.83); }
.collection-nav { padding:45px 5vw; border-bottom:1px solid var(--line); display:grid; grid-template-columns:170px 1fr; gap:35px; }
.nav-label { font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); padding-top:9px; }
.chapter-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 60px; }
.group-title { margin:0 0 13px; font-family:"Cormorant Garamond",Georgia,serif; font-size:1.7rem; }
.chapter-buttons { display:flex; flex-wrap:wrap; gap:8px; }
.chapter-button { appearance:none; border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:999px; cursor:pointer; font:500 .78rem "DM Sans",sans-serif; padding:10px 13px; transition:.2s; }
.chapter-button:hover,.chapter-button[aria-current="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }
.gallery-section { padding:75px 5vw 100px; }
.gallery-heading { display:flex; align-items:end; justify-content:space-between; margin:0 0 36px; border-bottom:1px solid var(--line); padding-bottom:22px; }
.gallery-heading .eyebrow { margin-bottom:12px; }
h2 { font-size:clamp(3rem,5vw,5rem); }
#image-count { color:var(--muted); font-size:.78rem; margin:0; }
.gallery { column-count:4; column-gap:16px; }
.gallery-item { break-inside:avoid; border:0; background:transparent; display:block; padding:0; width:100%; margin:0 0 16px; overflow:hidden; cursor:zoom-in; }
.gallery-item img { width:100%; height:auto; display:block; filter:saturate(.9); transition:transform .45s ease,filter .45s ease; }
.gallery-item:hover img { transform:scale(1.025); filter:saturate(1.08); }
.lightbox { width:min(96vw,1100px); max-height:96vh; border:0; background:rgba(10,20,29,.98); padding:50px 65px 35px; color:#fff; }
.lightbox::backdrop { background:rgba(8,13,17,.85); }
.lightbox img { display:block; max-width:100%; max-height:calc(90vh - 100px); margin:auto; }
.lightbox button { position:absolute; border:0; color:#fff; background:transparent; cursor:pointer; font-size:2rem; }
.lightbox .close { top:12px; right:18px; }.previous { left:16px; top:48%; }.next { right:16px; top:48%; }
#lightbox-caption { color:rgba(255,255,255,.65); text-align:center; font-size:.75rem; margin:14px 0 0; }
footer { border-top:1px solid var(--line); padding:28px 5vw; font-size:.72rem; color:var(--muted); }
@media (max-width:800px) { .site-header { padding:19px 6vw; }.return-link { font-size:.7rem; }.hero { min-height:430px; padding:88px 7vw 65px; }.collection-nav { grid-template-columns:1fr; padding:35px 7vw; gap:20px; }.chapter-groups { grid-template-columns:1fr; gap:23px; }.gallery-section { padding:55px 7vw 70px; }.gallery { column-count:2; column-gap:10px; }.gallery-item { margin-bottom:10px; }.lightbox { padding:42px 42px 26px; } }
