/* Photos of Creation
   ------------------------------------------------------------------ */

:root {
  --bg:        #fbf9f4;
  --bg-raise:  #ffffff;
  --bg-sink:   #f1ede2;
  --line:      #e3ddcf;
  --text:      #2a2925;
  --text-soft: #3d3b36;
  --muted:     #6c685e;
  --accent:    #2f6b3d;
  --accent-dim:#9fbfa8;
  --accent-hi: #255632;
  --gold:      #d8a31d;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px;
  --r: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--text); text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 .6em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; }

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9em;
  font-weight: 600;
}

/* Header
   ------------------------------------------------------------------ */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,249,244,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.42rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand-light { color: var(--muted); font-weight: 400; }
.brand-bold  { color: var(--text); font-weight: 600; }

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav a {
  font-size: .95rem;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform .2s, opacity .2s;
}

/* Hero
   ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(76vh, 680px);
  display: flex;
  align-items: flex-end;
  background: var(--bg-sink) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,18,10,.30) 0%, rgba(8,18,10,0) 30%, rgba(8,18,10,.20) 55%, rgba(8,18,10,.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px 64px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero h1 {
  max-width: 17ch;
  margin-bottom: .35em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.hero-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  color: #fff;
  max-width: 54ch;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin: 0 0 26px;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}
.hero-verse cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f4d57a;
  margin-top: 10px;
}

.hero-empty {
  background: linear-gradient(145deg, #dfe9dc, #f4efe2);
  min-height: 56vh;
}

/* Buttons
   ------------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--r);
  transition: background .2s, color .2s;
  cursor: pointer;
  background: none;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: #fff; }

/* Sections
   ------------------------------------------------------------------ */

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-raise); border-block: 1px solid var(--line); }

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

/* Gallery grid
   ------------------------------------------------------------------ */

.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.gal-card {
  display: block;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.gal-card { box-shadow: 0 1px 2px rgba(60,50,20,.05); }
.gal-card:hover { border-color: var(--accent-dim); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(60,50,20,.12); }
.gal-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-sink);
}
.gal-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gal-card:hover .gal-card-img img { transform: scale(1.05); }
.gal-card-body { padding: 16px 18px 18px; }
.gal-card-body h3 {
  margin: 0 0 4px;
  font-size: 1.06rem;
  color: var(--text);
}
.gal-card-count {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .06em;
}

/* Photo grid inside a gallery
   ------------------------------------------------------------------ */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.photo-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-raise);
  border-radius: var(--r);
  cursor: zoom-in;
}
.photo-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .3s;
}
.photo-tile:hover img { transform: scale(1.06); }
.photo-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  font-size: .82rem;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  opacity: 0;
  transition: opacity .25s;
}
.photo-tile:hover figcaption,
.photo-tile:focus-visible figcaption { opacity: 1; }

/* Lightbox
   ------------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6,6,8,.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 92px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-cap {
  position: absolute;
  left: 0; right: 0; bottom: 44px;
  text-align: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: #f1eee6;
  padding: 0 70px;
}
.lb-count {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .14em;
  color: #a9a69e;
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 18px; top: 18px; font-size: 1.2rem; }

/* Text pages
   ------------------------------------------------------------------ */

.page-head {
  padding: 76px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raise);
}
.page-head h1 { margin-bottom: .25em; }
.page-head p { margin: 0; color: var(--muted); max-width: 64ch; }

.prose { max-width: 68ch; }
.prose p { color: var(--text-soft); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.portrait {
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.figure-note {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Book details
   ------------------------------------------------------------------ */

.spec {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.spec span:first-child { color: var(--muted); }
.spec span:last-child { text-align: right; }

/* Contact
   ------------------------------------------------------------------ */

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg-sink);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 1rem;
  border-radius: var(--r);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 170px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

.notice {
  padding: 15px 18px;
  border-radius: var(--r);
  margin-bottom: 28px;
  font-size: .95rem;
}
.notice-ok  { background: rgba(78,140,86,.14); border: 1px solid #4e8c56; }
.notice-bad { background: rgba(170,70,60,.14); border: 1px solid #aa463c; }

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-details li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details strong {
  display: block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 3px;
}
.contact-details a { color: var(--accent); }

/* Empty state
   ------------------------------------------------------------------ */

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 56px 28px;
  text-align: center;
  color: var(--muted);
}

/* Footer
   ------------------------------------------------------------------ */

.site-foot {
  background: var(--bg-sink);
  border-top: 3px solid var(--accent);
  margin-top: 0;
  padding-top: 56px;
}
.foot-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}
.foot-brand .brand-light,
.foot-brand .brand-bold { font-family: var(--serif); font-size: 1.3rem; }
.foot-by { color: var(--muted); font-size: .92rem; margin: 10px 0 0; max-width: 34ch; }
.foot-col h3 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.foot-col a, .foot-col span {
  display: block;
  color: var(--muted);
  font-size: .94rem;
  padding: 4px 0;
}
.foot-col a:hover { color: var(--text); }
.foot-base {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  padding-bottom: 28px;
}
.foot-base p { margin: 0; font-size: .84rem; color: var(--muted); }

/* Breadcrumb
   ------------------------------------------------------------------ */

.crumb {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* Responsive
   ------------------------------------------------------------------ */

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-raise);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .section { padding: 60px 0; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 10px; }
  .gal-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
  .hero-inner { padding-bottom: 44px; }
  .foot-inner { grid-template-columns: 1fr; gap: 30px; }
  .lb-cap { bottom: 50px; padding: 0 24px; font-size: .92rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lightbox { padding: 56px 8px 96px; }
}

.hero .btn-solid { background: #fff; color: var(--accent); border-color: #fff; }
.hero .btn-solid:hover { background: var(--gold); border-color: var(--gold); color: #1d1a10; }

/* keep the bird's head in frame when the hero is cropped on narrow screens */
.hero:not(.hero-empty) { background-position: 74% 35%; }

/* logo in the header */
.brand-logo { display: block; line-height: 0; }
.brand-logo img { height: 96px; width: auto; }
.head-inner { min-height: 0; padding-top: 4px; padding-bottom: 4px; }
@media (max-width: 720px) {
  .brand-logo img { height: 62px; }
}

/* hero set into a frame, like a mounted print */
.hero-wrap { padding: 28px 0 8px; }
.hero-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(60,50,20,.05), 0 14px 36px rgba(60,50,20,.12);
}
.hero-frame .hero {
  min-height: min(68vh, 600px);
  border: 0;
  border-radius: 2px;
  overflow: hidden;
}
.hero-frame .hero-inner { padding: 0 44px 48px; }
@media (max-width: 720px) {
  .hero-wrap { padding: 14px 0 4px; }
  .hero-wrap .wrap { padding: 0 12px; }
  .hero-frame { padding: 6px; border-radius: 4px; }
  .hero-frame .hero { min-height: 70vh; }
  .hero-frame .hero-inner { padding: 0 20px 28px; }
}
