/* Hannah Kerchhoff — site styles
   Palette and type from the HK brand sheet. */
:root {
  --ink: #1e1b17;        /* near-black */
  --umber: #3c3831;      /* dark brown-grey (logo colour) */
  --taupe: #786f61;
  --greige: #c7c0b2;
  --sand: #e3ddd3;       /* light beige */
  --linen: #f4f1ed;      /* off-white */
  --white: #fbfaf8;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--umber);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: var(--greige); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
p { margin: 0 0 1.2em; }

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

.label {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.label.plain::before { display: none; }

.lede { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.45; color: var(--ink); font-weight: 500; }
.muted { color: var(--taupe); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  padding: 17px 30px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--linen);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--linen); }
.btn.light { background: var(--linen); color: var(--ink); border-color: var(--linen); }
.btn.light:hover { background: transparent; color: var(--linen); }
.btn.ghost-light { background: transparent; color: var(--linen); border-color: rgba(244,241,237,.5); }
.btn.ghost-light:hover { background: var(--linen); color: var(--ink); border-color: var(--linen); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.text-link {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--greige); padding-bottom: 4px;
  transition: border-color .3s;
}
.text-link:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 237, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(199, 192, 178, .45);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink); padding-left: 16px; border-left: 1px solid var(--greige);
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--umber); position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cta { border: 1px solid var(--ink); padding: 10px 18px; color: var(--ink); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: var(--linen); }

.menu-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); content: "";
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span { top: 50%; }
.menu-toggle span::before { top: -7px; left: 0; right: 0; }
.menu-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .brand span { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--linen); padding: 12px var(--gutter) 32px; border-bottom: 1px solid var(--greige);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 10px 0; color: var(--ink); }
  .nav a::after { display: none; }
  .nav .nav-cta { border: 0; padding: 10px 0; }
  .nav .nav-cta:hover { background: none; color: var(--ink); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px);
  align-items: center; min-height: calc(100vh - 80px); min-height: calc(100svh - 80px);
  padding-top: 48px; padding-bottom: 64px;
}
.hero h1 { margin-bottom: 28px; }

.hero .lede { max-width: 30ch; }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.hero-media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--greige); z-index: -1;
}
.hero-caption {
  position: absolute; left: -36px; bottom: 44px; background: var(--ink); color: var(--linen);
  padding: 20px 26px; max-width: 250px;
}
.hero-caption .label { color: var(--greige); margin-bottom: 8px; font-size: .66rem; }
.hero-caption .label::before { width: 20px; }
.hero-caption p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin: 0; font-weight: 600; }
.hero-caption a { text-decoration: none; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; gap: 56px; }
  .hero-media { justify-self: start; max-width: 520px; margin-right: 28px; }
  .hero-caption { left: auto; right: -28px; bottom: -24px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section.sand { background: var(--sand); }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: var(--greige); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--linen); }
.section.dark .label { color: var(--greige); }
.section.umber { background: var(--umber); color: var(--sand); }
.section.umber h2, .section.umber h3 { color: var(--linen); }
.section.umber .label { color: var(--greige); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head h2 { margin: 0; }

.statement { text-align: center; }
.statement .label { justify-content: center; }
.statement .label::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.statement blockquote {
  margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.18; color: var(--ink);
}
.statement blockquote em { color: var(--taupe); font-weight: 500; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.framed { position: relative; }
.framed img { width: 100%; object-fit: cover; }
.framed.offset::after {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid rgba(199,192,178,.55); z-index: 0; pointer-events: none;
}
.framed img { position: relative; z-index: 1; }

/* Book feature */
.book-feature .meta { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--greige); margin-bottom: 26px; }
.book-feature h2 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.book-feature .framed img { aspect-ratio: 4 / 5; }

/* Essays */
.essays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--greige); }
.essay {
  padding: 40px 36px 44px 0; text-decoration: none; display: flex; flex-direction: column; gap: 14px;
  border-bottom: 1px solid var(--greige); transition: background .3s;
}
.essay + .essay { padding-left: 36px; border-left: 1px solid var(--greige); }
.essay .num { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--taupe); }
.essay h3 { margin: 0; transition: color .3s; }
.essay p { margin: 0; font-size: .96rem; color: var(--taupe); }
.essay .text-link { align-self: flex-start; margin-top: auto; padding-top: 10px; border: 0; }
.essay:hover h3 { color: var(--taupe); }
@media (max-width: 880px) {
  .essays { grid-template-columns: 1fr; }
  .essay, .essay + .essay { padding: 32px 0; border-left: 0; }
}

/* Featured-on strip */
.featured-on { padding: 54px 0; border-top: 1px solid var(--greige); border-bottom: 1px solid var(--greige); }
.featured-on .wrap { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.featured-on .label { margin: 0; }
.featured-on ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; align-items: center; }
.featured-on li { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--taupe); white-space: nowrap; }

/* Facts / at a glance */
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--greige); }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--greige); }
.facts dt, .facts .k { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); padding-top: 4px; }
.facts .v { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.facts .v em { font-style: italic; }
.dark .facts, .dark .facts li, .umber .facts, .umber .facts li { border-color: rgba(199,192,178,.25); }
.dark .facts .v, .umber .facts .v { color: var(--linen); }
.dark .facts .k, .umber .facts .k { color: var(--greige); }

/* Initiative band */
.initiative { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.initiative .reg { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--greige); }
@media (max-width: 880px) { .initiative { grid-template-columns: 1fr; gap: 24px; } }

/* Newsletter */
.newsletter { text-align: center; }
.newsletter h2 em { font-style: italic; font-weight: 500; }
.newsletter p { max-width: 52ch; margin-left: auto; margin-right: auto; }
.newsletter .btn-row { justify-content: center; }

/* Page header */
.page-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); }
.page-hero h1 { margin-bottom: 0; }
.page-hero .lede { margin-top: 28px; max-width: 34ch; }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1.05; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.mosaic .a { grid-row: span 2; }
.mosaic .c { object-position: 50% 30%; }

/* Media list (press) */
.media-group { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid rgba(199,192,178,.3); }
.media-group:last-child { border-bottom: 1px solid rgba(199,192,178,.3); }
.media-group h3 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--greige); margin: 6px 0 0; }
.media-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.media-items li { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: baseline; }
.media-items .outlet { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--linen); line-height: 1.2; }
.media-items .desc { grid-column: 1; font-size: .95rem; color: var(--greige); }
.media-items .date { grid-column: 2; grid-row: 1; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--greige); white-space: nowrap; }
@media (max-width: 760px) {
  .media-group { grid-template-columns: 1fr; gap: 20px; }
}

/* Download cards */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.download {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 28px; background: var(--white); border: 1px solid var(--greige); text-decoration: none;
  transition: border-color .3s, transform .3s var(--ease);
}
.download:hover { border-color: var(--ink); transform: translateY(-2px); }
.download strong { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.download small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.download svg { flex: none; }
@media (max-width: 560px) { .downloads { grid-template-columns: 1fr; } }

/* Headshot gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--greige); padding: 36px; }
.contact-card h3 { margin-bottom: 10px; }
.contact-card p { color: var(--taupe); font-size: .96rem; }
.contact-card a.email { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--greige); word-break: break-word; }
.contact-card a.email:hover { border-color: var(--ink); }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }

.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--greige); border-radius: 50%;
  color: var(--ink); transition: background .3s, color .3s, border-color .3s;
}
.socials a:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--greige); padding: 88px 0 36px; font-size: .92rem; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(199,192,178,.2); }
.site-footer .logo { height: 46px; width: auto; margin-bottom: 26px; }
.site-footer .tag { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; color: var(--linen); max-width: 22ch; font-weight: 500; }
.site-footer h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--sand); transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer .socials { margin-top: 24px; }
.site-footer .socials a { border-color: rgba(199,192,178,.35); color: var(--sand); }
.site-footer .socials a:hover { background: var(--linen); color: var(--ink); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .76rem; letter-spacing: .08em; color: var(--taupe); }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

main > section, .featured-on { overflow-x: clip; }

/* Kerchhoff Legacy */
.nav .ext, .ext { font-size: .85em; margin-left: 2px; }
.legacy .section-head { margin-bottom: 28px; }
.legacy-intro { max-width: 60ch; margin-bottom: 48px; }
.legacy-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.legacy-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px 30px; text-decoration: none;
  border: 1px solid rgba(199,192,178,.3); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.legacy-card:hover { background: rgba(244,241,237,.06); border-color: var(--greige); transform: translateY(-3px); }
.legacy-card .k { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--greige); }
.legacy-card strong { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; color: var(--linen); }
.legacy-card .d { font-size: .95rem; color: var(--sand); opacity: .85; }
.legacy-card .go { margin-top: auto; padding-top: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--linen); }
@media (max-width: 880px) { .legacy-cards { grid-template-columns: 1fr; } }
.contact-card.wide { grid-column: 1 / -1; }
.site-footer .top { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
.site-footer .bottom a { color: var(--greige); }
@media (max-width: 1000px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }
@media (max-width: 1080px) and (min-width: 881px) { .brand span { display: none; } .nav { gap: 26px; } }

/* keep the top of the hair in frame */
.framed img, .hero-media img, .gallery img { object-position: 50% 0%; }
.hero-media img { object-position: 50% 8%; }

/* Quote grid */
.quotes { columns: 3; column-gap: 20px; }
.quote { break-inside: avoid; margin: 0 0 20px; padding: 30px 28px; background: var(--linen); border-top: 2px solid var(--ink); }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.3; color: var(--ink); }
@media (max-width: 960px) { .quotes { columns: 2; } }
@media (max-width: 600px) { .quotes { columns: 1; } }

/* Single quote band (home) */
.quote-band { padding: 72px 0; border-top: 1px solid var(--greige); border-bottom: 1px solid var(--greige); text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 26ch; font-family: var(--serif); font-weight: 600; font-style: italic; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.25; color: var(--ink); }
.quote-band .cite { margin: 22px 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }

/* About photo pair: show the whole frame, no cropping */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 16px; aspect-ratio: auto; align-items: start; }
.mosaic img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; object-position: 50% 0; }
.mosaic .a { grid-row: auto; }
.mosaic .b { margin-top: 48px; }

/* Gallery */
.masonry { columns: 3; column-gap: 16px; }
.shot { display: block; break-inside: avoid; margin-bottom: 16px; overflow: hidden; }
.shot img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }

.nav a, .brand span { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 881px) { .brand span { display: none; } .nav { gap: 22px; } }

.brand span { display: none; }

.gal-section + .gal-section { margin-top: 96px; }
.gal-section h2 { margin-bottom: 32px; }
.site-footer h4 a { color: var(--sand); }
.site-footer h4 a:hover { color: var(--white); }
.site-footer .btn { margin-top: 4px; }
/* Gallery viewer */
.gal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.gal-nav button { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--sand); padding: 10px 16px; cursor: pointer; transition: background .2s, color .2s; }
.gal-nav button:hover, .gal-nav button.on { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.gal-head h2 { margin: 0; }
.gal-count { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; color: var(--taupe); }
.gal-viewer { position: relative; background: var(--linen); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline-offset: 4px; }
.gal-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; height: min(78vh, 760px); display: flex; align-items: center; justify-content: center; }
.slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(244,241,237,.92); color: var(--ink); font-size: 1.3rem; cursor: pointer; z-index: 2; transition: background .2s, color .2s; }
.gal-btn:hover { background: var(--ink); color: var(--linen); }
.gal-btn.prev { left: 16px; } .gal-btn.next { right: 16px; }
.gal-btn[disabled] { opacity: .3; pointer-events: none; }
@media (max-width: 520px) { .gal-btn { width: 40px; height: 40px; } .gal-btn.prev { left: 8px; } .gal-btn.next { right: 8px; } .slide { height: 70vh; } }
.gal-panel { margin-bottom: 96px; scroll-margin-top: 100px; }
.gal-panel:last-child { margin-bottom: 0; }
.download:hover { transform: none; }
.dl-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dl-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--sand); color: var(--ink); text-decoration: none; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.dl-actions a:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.dl-actions svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .download { flex-wrap: wrap; } .dl-actions { justify-content: flex-start; } }
.download { padding: 22px 20px; gap: 14px; }
.dl-actions { flex-wrap: nowrap; }
.dl-actions a { padding: 9px 11px; gap: 6px; letter-spacing: .1em; font-size: .66rem; }
@media (max-width: 560px) { .dl-actions { flex-wrap: wrap; } }
