/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #17140f;
  --paper: #faf7f2;
  --paper-alt: #f1ebe0;
  --gold: #a9782f;
  --rust: #9c4a2c;
  --text: #2a2620;
  --text-muted: #6b6156;
  --line: #e3dccb;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #f4f0e8;
}

.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #cabb98;
  margin-top: 0.15rem;
}

.nav { display: flex; gap: 2.2rem; }
.nav a {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: #efe9dc;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #f4f0e8;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,20,15,0.55) 0%, rgba(23,20,15,0.25) 35%, rgba(23,20,15,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fbf7ef;
  padding: 2rem 1.5rem;
  max-width: 640px;
}

.hero-content .eyebrow {
  color: #e3c98a;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: #fbf7ef;
  margin-bottom: 1.1rem;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 300;
  color: #efe6d4;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-block;
  border: 1px solid rgba(251,247,239,0.6);
  padding: 0.8rem 1.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero-cta:hover {
  background: #fbf7ef;
  color: var(--ink);
  border-color: #fbf7ef;
}

/* ---------- Section shared ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
  padding-top: 6rem;
}
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 0.7rem; }
.section-head p { color: var(--text-muted); font-size: 1.02rem; }

/* ---------- Gallery ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  padding-bottom: 6rem;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-media {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--paper-alt);
  border: none;
  padding: 1.6rem;
  cursor: zoom-in;
  border-radius: 2px;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.card-photo:hover img { transform: scale(1.04); }

.thumbs {
  display: flex;
  gap: 0.6rem;
}

.thumb {
  width: 3.4rem;
  height: 3.4rem;
  padding: 0.35rem;
  background: var(--paper-alt);
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb:hover { opacity: 0.85; }

.thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
}

.card-body { padding-top: 1.4rem; }

.card-body h3 {
  font-size: 1.28rem;
  margin-bottom: 0.55rem;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  line-height: 1.55;
}

.card-dims {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.card-feathers {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.card-feathers span {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- About ---------- */
.about {
  background: var(--paper-alt);
  margin: 0 -2rem;
  padding: 6rem 2rem;
}
.about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-inner h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.4rem; }
.about-inner p { color: var(--text); font-size: 1.05rem; line-height: 1.75; }
.about .eyebrow { text-align: center; }

/* ---------- Contact ---------- */
.contact {
  padding: 6rem 2rem 7rem;
  text-align: center;
}
.contact-inner { max-width: 520px; margin: 0 auto; }
.contact .eyebrow { text-align: center; }
.contact h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.contact > .contact-inner > p { color: var(--text-muted); margin-bottom: 2.2rem; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.contact-links a {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease;
}
.contact-links a:hover { color: var(--rust); }

.contact-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.75;
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 2.2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15,13,10,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox figure { max-width: 900px; max-height: 100%; text-align: center; }
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 2px;
}
.lightbox figcaption {
  color: #f4f0e8;
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-top: 1.2rem;
  letter-spacing: 0.02em;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #f4f0e8;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244,240,232,0.08);
  border: 1px solid rgba(244,240,232,0.35);
  color: #f4f0e8;
  font-size: 1.8rem;
  line-height: 1;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(244,240,232,0.18); }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

@media (max-width: 640px) {
  .lightbox-nav { width: 2.4rem; height: 2.4rem; font-size: 1.5rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* ---------- Reveal-on-scroll ---------- */
.card, .about-inner, .contact-inner {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.card.is-visible, .about-inner.is-visible, .contact-inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .section-head { padding-top: 4.5rem; }
}

@media (max-width: 640px) {
  .masthead-inner { padding: 1rem 1.25rem; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 300px);
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 2rem 2.2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.05rem; }

  .hero { min-height: 78vh; }

  main { padding: 0 1.25rem; }
  .grid { grid-template-columns: 1fr; padding-bottom: 4rem; }
  .section-head { margin-bottom: 2.5rem; padding-top: 3.5rem; }

  .about, .contact { padding-left: 1.25rem; padding-right: 1.25rem; margin: 0; }
  .about { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .contact { padding-top: 4.5rem; padding-bottom: 5rem; }

  .contact-links a { font-size: 1.1rem; }
}
