@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================================
   Reset
   ========================================================================== */
html, body { margin: 0; padding: 0; min-height: 100%; }
*, *::before, *::after { box-sizing: border-box; }

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --canvas: #F4ECDD;
  --canvas-deep: #EBE1CD;
  --forest: #1C2B23;
  --forest-light: #2E4538;
  --clay: #C4754A;
  --clay-dark: #A65E38;
  --moss: #7C9070;
  --gold: #D9A85C;
  --ink: #2A2A28;
  --ink-soft: #5C5A53;
  --line: rgba(42,42,40,0.14);
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  min-height: 100%;
}
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Page visibility
   ========================================================================== */
.page-content[hidden] { display: none; }
#lightbox[hidden] { display: none; }
#lightbox-caption[hidden] { display: none; }
[data-folder-sheet][hidden] { display: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1160px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600;
  background: none; border: none; color: var(--forest); padding: 0;
  cursor: pointer;
}
.nav__links { display: flex; gap: 4px; }
.nav__link {
  background: none; border: none; padding: 8px 14px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  border-radius: 999px; transition: background 0.15s, color 0.15s;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em;
  cursor: pointer;
}
.nav__link:hover { background: var(--canvas-deep); color: var(--ink); }
.nav__link--active { color: var(--forest); background: var(--canvas-deep); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background-size: cover; background-position: center;
  min-height: 78vh; display: flex; align-items: flex-end;
  padding: 0 24px 64px;
}
.hero__content { max-width: 1160px; margin: 0 auto; width: 100%; color: var(--canvas); }
.hero__eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 16px; opacity: 0.85;
}
.hero__title {
  font-size: clamp(36px, 6vw, 68px); line-height: 1.08; margin-bottom: 20px;
  max-width: 820px; font-weight: 600;
}
.hero__title-text { display: block; }
.hero__sub {
  font-size: 17px; max-width: 520px; margin-bottom: 32px; opacity: 0.92;
}
.hero__sub-text { display: block; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions--center { justify-content: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  border: 1px solid transparent; transition: all 0.15s; cursor: pointer;
}
.btn--primary { background: var(--clay); color: var(--canvas); }
.btn--primary:hover { background: var(--clay-dark); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--small { padding: 8px 14px; font-size: 13px; }

/* ==========================================================================
   Sections (generic page layout)
   ========================================================================== */
.section { max-width: 1160px; margin: 0 auto; padding: 72px 24px; }
.section--split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.section--cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--forest); }
.section__marker {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em;
  color: var(--clay-dark); text-transform: uppercase; margin-bottom: 16px;
}
.section__marker--ruled {
  display: flex; align-items: center; gap: 12px; text-align: center;
}
.section__marker--ruled::before,
.section__marker--ruled::after {
  content: ''; flex: 1; height: 1px; background: var(--clay-dark);
}
.section__heading { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 16px; color: var(--forest); }
.section__body { font-size: 16px; color: var(--ink-soft); max-width: 540px; }
.section__body--center { max-width: 480px; }

.split__text { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.split__text .btn { margin-top: 16px; }
.split__image {
  width: 100%; aspect-ratio: 3/4; background-size: contain; background-position: center;
  background-repeat: no-repeat; border-radius: 4px; min-height: 520px;
}

/* ==========================================================================
   Grid + feature cards (home page)
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: none; border: none; padding: 0; text-align: left;
  border-radius: 4px; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid #000; transition: border-color 0.15s; cursor: pointer;
}
.feature-card:hover { border-color: var(--clay); }
.feature-card__image { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; }
.feature-card__body { padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; }
.feature-card__label { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; color: var(--forest); }
.feature-card__count { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-soft); }

/* ==========================================================================
   Gallery Reel (What We Do slideshow)
   ========================================================================== */
.gallery-reel {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: 6px; overflow: hidden; background: var(--forest);
}
.gallery-reel__slide {
  position: absolute; inset: 0;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1s ease;
}
.gallery-reel__slide.reel-active {
  opacity: 1;
  animation: reel-zoom 3.5s ease-out forwards;
}
@keyframes reel-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.gallery-reel__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,20,14,0.6) 0%, transparent 55%);
}
.gallery-reel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.28);
  color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 2;
}
.gallery-reel__nav:hover { background: rgba(255,255,255,0.34); }
.gallery-reel__nav--prev { left: 16px; }
.gallery-reel__nav--next { right: 16px; }
.gallery-reel__label {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  color: rgba(255,255,255,0.95); font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(10,20,14,0.55); padding: 5px 11px; border-radius: 3px;
}
.gallery-reel__progress {
  position: absolute; bottom: 0; left: 0; height: 3px; z-index: 3;
  background: rgba(255,255,255,0.65); width: 0%;
}
.gallery-reel__progress.reel-running {
  animation: reel-progress 3s linear forwards;
}
@keyframes reel-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ==========================================================================
   Page headers
   ========================================================================== */
.page-title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; color: var(--forest); }
.page-intro { font-size: 15px; color: var(--ink-soft); max-width: 600px; margin-bottom: 32px; }

/* ==========================================================================
   Portfolio: folder bar
   ========================================================================== */
.folder-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.folder-chip {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--canvas);
  cursor: pointer;
}
.folder-chip--active { border-color: var(--forest); background: var(--forest); color: var(--canvas); }
.folder-chip__btn {
  display: flex; align-items: center; gap: 8px; background: none; border: none;
  padding: 9px 16px; font-size: 13px; font-weight: 500; color: inherit;
  font-family: 'JetBrains Mono', monospace; cursor: pointer;
}
.folder-chip__count {
  font-size: 11px; opacity: 0.65; background: rgba(0,0,0,0.08);
  padding: 1px 7px; border-radius: 999px;
}
.folder-chip--active .folder-chip__count { background: rgba(255,255,255,0.18); }

/* ==========================================================================
   Portfolio: contact sheet grid + lightbox
   ========================================================================== */
/* Folder panels */
.folder-panel[hidden] { display: none; }

/* Album card grid */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.album-card {
  background: var(--canvas); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; cursor: pointer; text-align: left; padding: 0;
  font-family: inherit; transition: border-color 0.15s;
}
.album-card:hover { border-color: var(--clay); }
.album-card__collage {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px;
  aspect-ratio: 4/3; background: var(--forest); overflow: hidden;
}
.album-card__collage-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-card__body { padding: 12px 14px; display: flex; justify-content: space-between; align-items: baseline; }
.album-card__name { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 600; color: var(--forest); }
.album-card__count { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-soft); }

/* Album view */
.album-view[hidden] { display: none; }
.album-back {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-soft); cursor: pointer; padding: 0; margin-bottom: 20px;
}
.album-back:hover { color: var(--clay-dark); }
.album-view__title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: var(--forest); margin-bottom: 6px; }
.album-view__desc { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; background: var(--canvas-deep); padding: 8px 14px; border-radius: 4px; display: inline-block; }

/* Photo grid inside album view */
.contact-sheet { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 18px; row-gap: 36px; }
.frame {
  background: var(--forest); padding: 10px 10px 0; border-radius: 2px;
  display: flex; flex-direction: column;
}
.frame__image-btn { border: none; background: none; padding: 0; display: block; width: 100%; cursor: pointer; }
.frame__image { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 1px; }
.frame__caption-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 2px 10px;
  color: var(--canvas);
}
.frame__caption {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; opacity: 0.75;
  letter-spacing: 0.03em; flex: 1;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(28,43,35,0.92); z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; gap: 16px;
}
.lightbox__image { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 2px; }
.lightbox__caption { color: var(--canvas); font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.lightbox__close {
  position: absolute; top: 24px; right: 24px; background: none; border: none;
  color: var(--canvas); padding: 8px; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(244,236,221,0.12); border: 1px solid rgba(244,236,221,0.25);
  color: var(--canvas); width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.15s;
}
.lightbox__nav:hover { background: rgba(244,236,221,0.25); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav[hidden] { display: none; }

/* ==========================================================================
   Packages: pricing cards
   ========================================================================== */
.grid--packages { align-items: stretch; }
.pkg-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.pkg-card--featured { border-color: var(--clay); border-width: 2px; }
.pkg-card--gold     { background: #e8d9a8; }
.pkg-card--platinum { background: #cdd3da; }
.pkg-card--diamond  { background: #b8d0e4; }
.pkg-card__badge {
  position: absolute; top: -12px; left: 24px; background: var(--clay); color: var(--canvas);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.05em;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}
.pkg-card__name { font-size: 24px; color: var(--forest); margin-top: 6px; text-align: center; }
.pkg-card__price-row { display: flex; align-items: baseline; gap: 10px; justify-content: center; }
.pkg-card__price { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; color: var(--clay-dark); }
.pkg-card__duration { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-soft); text-align: center; display: block; }
.pkg-card__desc { font-size: 14px; color: var(--ink-soft); flex: 0 0 auto; }
.pkg-card__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pkg-card__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pkg-card__check { color: var(--moss); flex-shrink: 0; }
.pkg-card__cta { justify-content: center; margin-top: 8px; background: #d9957a; }
.pkg-card__cta:hover { background: var(--clay); }
.pkg-card--promo { border: 2px solid #b52a1a; box-shadow: 0 0 0 3px rgba(181,42,26,0.12), 0 6px 24px rgba(181,42,26,0.12); }
.promo-banner {
  background: #b52a1a; color: #fff; text-align: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; padding: 10px 24px;
  margin: -28px -24px 6px; border-radius: 2px 2px 0 0;
}
.pkg-card__price--was {
  text-decoration: line-through; opacity: 0.45;
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 400; color: var(--clay-dark);
}

/* ==========================================================================
   Packages: retainer disclaimer
   ========================================================================== */
.disclaimer {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 32px;
  padding: 16px 20px; background: var(--canvas-deep); border: 1px solid var(--line);
  border-radius: 4px; color: var(--ink-soft);
}
.disclaimer__icon { flex-shrink: 0; margin-top: 2px; color: var(--clay-dark); }
.disclaimer__text { font-size: 14px; line-height: 1.6; }

/* ==========================================================================
   Bio page
   ========================================================================== */
.bio-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.bio-layout__image {
  width: 100%; aspect-ratio: 3/4; background-size: cover; background-position: center;
  border-radius: 4px; align-self: start;
}
.bio-layout__text { display: flex; flex-direction: column; gap: 14px; }
.bio-headline {
  font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--clay-dark);
  margin-bottom: 8px;
}
.bio-paragraph-wrap { display: flex; gap: 10px; align-items: flex-start; }
.bio-contact { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.bio-contact__row { display: flex; align-items: center; gap: 10px; font-size: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--forest); color: var(--canvas); padding: 48px 24px; }
.footer__inner { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.footer__brand { display: flex; align-items: center; gap: 8px; font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; }
.footer__tagline { font-size: 14px; opacity: 0.8; }
.footer__meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; opacity: 0.6; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--from-left  { transform: translateX(-32px); }
.reveal--from-right { transform: translateX(32px); }
.reveal--visible    { opacity: 1; transform: none; }

/* Hero entrance */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) 0.15s both; }
.hero__title   { animation: hero-up 1.2s cubic-bezier(0.16,1,0.3,1) 0.40s both; }
.hero__sub     { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) 0.65s both; }
.hero__actions { animation: hero-up 1.1s cubic-bezier(0.16,1,0.3,1) 0.88s both; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow, .hero__title, .hero__sub, .hero__actions { animation: none; }
}

/* ==========================================================================
   Inquiry form
   ========================================================================== */
.inquiry-form {
  max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.form-field input,
.form-field textarea {
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
  background: var(--canvas); border: 1px solid rgba(42,42,40,0.25);
  border-radius: 4px; padding: 12px 14px; width: 100%; box-sizing: border-box;
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--forest);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.inquiry-form .btn { align-self: flex-start; }

/* ==========================================================================
   Responsive
   ========================================================================== */
.nav__hamburger {
  display: none; background: none; border: none; padding: 8px;
  cursor: pointer; color: var(--forest); flex-shrink: 0; line-height: 0;
}

@media (max-width: 640px) {
  /* Nav — mobile only */
  .nav__hamburger { display: flex; align-items: center; }
  .nav__inner { flex-wrap: wrap; }
  .nav__links {
    display: none; width: 100%; flex-direction: column;
    padding: 8px 0 20px; gap: 2px; order: 3;
  }
  .nav__links.nav--open { display: flex; }
  .nav__link { border-radius: 6px; }
}

@media (max-width: 880px) {
  /* Sections */
  .section { padding: 48px 20px; }
  .section--split { grid-template-columns: 1fr; gap: 32px; }
  .split__image { min-height: 260px; }

  /* Grids */
  .grid--3 { grid-template-columns: 1fr; }
  .contact-sheet { grid-template-columns: repeat(2, 1fr); }
  .album-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero */
  .hero { min-height: 60vh; padding: 0 20px 48px; }

  /* Bio */
  .bio-layout { grid-template-columns: 1fr; gap: 32px; }
  .bio-layout__image { aspect-ratio: 16/9; }

  /* Gallery reel */
  .gallery-reel__nav { width: 36px; height: 36px; }
}

@media (max-width: 520px) {
  /* Sections */
  .section { padding: 36px 16px; }

  /* Hero */
  .hero { min-height: 52vh; padding: 0 16px 36px; }
  .hero__sub { font-size: 15px; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Grids */
  .contact-sheet { grid-template-columns: 1fr; row-gap: 28px; }
  .album-grid { grid-template-columns: 1fr; }

  /* Gallery reel */
  .gallery-reel { aspect-ratio: 4/3; }
  .gallery-reel__nav { width: 32px; height: 32px; }
  .gallery-reel__label { font-size: 10px; bottom: 12px; left: 14px; padding: 4px 9px; }

  /* Lightbox */
  .lightbox { padding: 24px 12px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
