/* ==========================================================================
   Cedar & Salt Photography — Shared Stylesheet
   A Pacific Northwest portrait & adventure photography studio.
   Built vanilla — no frameworks — by Rooted Coast Design.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Earthy, moody palette */
  --c-bg: #12140f;
  --c-bg-soft: #181b14;
  --c-bg-panel: #1e2218;
  --c-forest: #2e4338;
  --c-forest-deep: #1f2f27;
  --c-forest-light: #5c7c66;
  --c-amber: #cc8f4f;
  --c-amber-light: #e7b67e;
  --c-amber-dim: #8a6438;
  --c-cream: #f5efe2;
  --c-cream-dim: #d9d2bf;
  --c-text: #f1ece0;
  --c-text-muted: #a9a591;
  --c-text-faint: #7d7a6c;
  --c-line: rgba(241, 236, 224, 0.12);
  --c-line-strong: rgba(241, 236, 224, 0.22);
  --c-overlay: rgba(13, 15, 10, 0.55);

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --container-narrow: 820px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.6s;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-text);
  background: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

p {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--c-cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

::selection {
  background: var(--c-amber);
  color: #1a1a14;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-amber-light);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-amber);
  display: inline-block;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::before {
  display: none;
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}

.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem); }

.section--soft { background: var(--c-bg-soft); }
.section--panel { background: var(--c-bg-panel); }

.section--forest {
  background: linear-gradient(160deg, var(--c-forest-deep), var(--c-bg) 70%);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p {
  margin-top: 1.1rem;
  color: var(--c-text-muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

.section-head--center p { margin-inline: auto; }

.text-center { text-align: center; }

.divider {
  width: 44px;
  height: 1px;
  background: var(--c-amber);
  margin-block: 1.75rem;
}

.divider--center { margin-inline: auto; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--c-amber);
  color: #1a1a14;
  padding: 0.7rem 1.2rem;
  z-index: 999;
  transition: top 0.2s var(--ease);
  font-size: 0.85rem;
  font-weight: 600;
}

.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--c-amber);
  color: var(--c-cream);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--c-amber);
  color: #1a1a14;
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--c-amber);
  color: #1a1a14;
}

.btn--solid:hover {
  background: var(--c-amber-light);
  border-color: var(--c-amber-light);
}

.btn--ghost {
  border-color: var(--c-line-strong);
}

.btn--ghost:hover {
  border-color: var(--c-amber);
  background: transparent;
  color: var(--c-amber-light);
}

.btn--block { width: 100%; justify-content: center; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  padding-block: 1.4rem;
  transition: background var(--speed) var(--ease), padding var(--speed) var(--ease), border-color var(--speed) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(18, 20, 15, 0.92);
  backdrop-filter: blur(10px);
  padding-block: 0.9rem;
  border-color: var(--c-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__mark {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--c-cream);
}

.brand__mark em {
  font-family: "Allura", cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--c-amber-light);
  font-size: 1.5em;
  vertical-align: -0.14em;
}

.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-amber-light);
  margin-top: 0.35rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.4rem);
}

.nav__brand {
  display: none;
}

.nav__link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
  position: relative;
  padding-bottom: 4px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--c-amber);
  transition: width 0.35s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--c-cream);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}

.nav__cta {
  border: 1px solid var(--c-amber);
  padding: 0.6rem 1.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cream);
  transition: all 0.35s var(--ease);
}

.nav__cta:hover {
  background: var(--c-amber);
  color: #1a1a14;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 600;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--c-cream);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-cream);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 16s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 8, 0.35) 0%, rgba(10, 11, 8, 0.25) 35%, rgba(10, 11, 8, 0.92) 100%);
}

.hero__content {
  position: relative;
  width: 100%;
  padding-block: clamp(6rem, 12vw, 7rem) clamp(3rem, 8vw, 6rem);
}

.hero__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-amber-light);
  display: block;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  max-width: 18ch;
  font-weight: 400;
}

.hero h1 em {
  font-family: "Allura", cursive;
  font-style: normal;
  color: var(--c-amber-light);
  font-weight: 400;
  font-size: 1.35em;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.08em;
}

.hero p {
  margin-top: 1.6rem;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--c-cream-dim);
}

.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 5vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: var(--c-line-strong);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-amber);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* Page (interior) hero — shorter */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--c-cream);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 8, 0.45) 10%, rgba(10, 11, 8, 0.95) 100%);
}

.page-hero__content {
  padding-block: clamp(6rem, 12vw, 8rem) 3.5rem;
  width: 100%;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 20ch;
}

.page-hero h1 em {
  font-family: "Allura", cursive;
  font-style: normal;
  color: var(--c-amber-light);
  font-weight: 400;
  font-size: 1.4em;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.1em;
}

.page-hero p {
  margin-top: 1.1rem;
  color: var(--c-cream-dim);
  max-width: 56ch;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  margin-bottom: 1.2rem;
}

.breadcrumb a:hover { color: var(--c-amber-light); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Grids & Cards ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.intro-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.intro-split__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.intro-split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.intro-split__media:hover img { transform: scale(1.05); }

.intro-split__frame {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--c-amber-light);
  opacity: 0.55;
  pointer-events: none;
}

.intro-split p { color: var(--c-text-muted); margin-top: 1.1rem; }
.intro-split p + p { margin-top: 0.9rem; }

/* Feature / service cards */
.card {
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.card:hover {
  border-color: var(--c-line-strong);
  transform: translateY(-4px);
}

.card__icon {
  width: 42px; height: 42px;
  color: var(--c-amber-light);
  margin-bottom: 1.4rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card p { color: var(--c-text-muted); font-size: 0.95rem; }

/* Photo feature card (with image) */
.photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 1s var(--ease);
}

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

.photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 11, 8, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
}

.photo-card__overlay .eyebrow { margin-bottom: 0.5rem; }
.photo-card__overlay h3 { font-size: 1.25rem; color: var(--c-cream); }

/* ---------- Pricing / packages ---------- */
.package {
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  padding: clamp(2rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.package--featured {
  border-color: var(--c-amber);
  background: linear-gradient(165deg, var(--c-forest-deep), var(--c-bg-panel) 60%);
}

.package--featured::before {
  content: "Most Booked";
  position: absolute;
  top: -1px; right: -1px;
  background: var(--c-amber);
  color: #1a1a14;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
}

.package__name {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.package__tagline {
  color: var(--c-amber-light);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}

.package__price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--c-cream);
  margin-bottom: 0.3rem;
}

.package__price span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--c-text-faint);
  font-weight: 400;
}

.package__desc {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--c-line);
}

.package__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.package__list li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--c-cream-dim);
  align-items: flex-start;
}

.package__list svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  color: var(--c-amber);
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding-block: 2.5rem;
}

.stat { text-align: center; }

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--c-amber-light);
}

.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-faint);
  margin-top: 0.5rem;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-cream);
  flex-grow: 1;
  line-height: 1.5;
}

.testimonial__quote::before { content: open-quote; }
.testimonial__quote::after { content: close-quote; }

.testimonial__meta {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(20%);
}

.testimonial__name {
  font-size: 0.92rem;
  color: var(--c-cream);
}

.testimonial__role {
  font-size: 0.78rem;
  color: var(--c-text-faint);
}

.testimonial__stars {
  color: var(--c-amber);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display: block;
}

/* ---------- Process / timeline ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--c-line);
  position: relative;
}

.timeline__item:last-child { border-bottom: 1px solid var(--c-line); }

.timeline__num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--c-amber-dim);
  font-style: italic;
}

.timeline__body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.timeline__body p {
  color: var(--c-text-muted);
  max-width: 60ch;
}

/* ---------- FAQ Accordion ---------- */
.accordion {
  border-top: 1px solid var(--c-line);
}

.accordion-item {
  border-bottom: 1px solid var(--c-line);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.6rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--c-cream);
  gap: 1.5rem;
}

.accordion-trigger:hover { color: var(--c-amber-light); }

.accordion-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--c-amber);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.accordion-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 1px;
  transform: translateY(-50%);
}

.accordion-icon::after {
  left: 50%; top: 0;
  height: 100%; width: 1px;
  transform: translateX(-50%);
}

.accordion-item[data-open="true"] .accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.accordion-panel__inner {
  padding-bottom: 1.8rem;
  color: var(--c-text-muted);
  max-width: 65ch;
  font-size: 0.98rem;
}

/* ---------- Gallery / Portfolio ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--c-line-strong);
  color: var(--c-text-muted);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover { color: var(--c-cream); border-color: var(--c-amber); }

.filter-btn[aria-pressed="true"] {
  background: var(--c-amber);
  border-color: var(--c-amber);
  color: #1a1a14;
}

.masonry {
  column-count: 3;
  column-gap: var(--gap);
}

.masonry__item {
  break-inside: avoid;
  margin-bottom: var(--gap);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.masonry__item img {
  width: 100%;
  display: block;
  transition: transform 1s var(--ease);
}

.masonry__item:hover img { transform: scale(1.05); }

.masonry__caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 11, 8, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.3rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.masonry__item:hover .masonry__caption { opacity: 1; }

.masonry__caption span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-cream);
}

.masonry__item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 6, 0.96);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}

.lightbox.is-active { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.lightbox__close {
  position: absolute;
  top: 1.6rem; right: clamp(1.25rem, 5vw, 3rem);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: 1px solid var(--c-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cream);
}

.lightbox__nav:hover { border-color: var(--c-amber); color: var(--c-amber-light); }
.lightbox__nav--prev { left: clamp(1rem, 4vw, 2.5rem); }
.lightbox__nav--next { right: clamp(1rem, 4vw, 2.5rem); }

/* ---------- Forms ---------- */
.field {
  margin-bottom: 1.4rem;
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.6rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--c-line-strong);
  background: var(--c-bg-soft);
  padding: 0.85rem 1rem;
  font-size: 0.96rem;
  transition: border-color 0.3s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-amber);
}

.field textarea { min-height: 130px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.field--check input { width: auto; margin-top: 0.3rem; }
.field--check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--c-text-faint);
  margin-top: 1rem;
}

.price-disclaimer {
  max-width: 640px;
  margin: 0 auto 3rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--c-line);
  background: rgba(241, 236, 224, 0.03);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  text-align: center;
}

.price-disclaimer strong {
  color: var(--c-cream-dim);
  font-weight: 500;
}

.form-success {
  display: none;
  border: 1px solid var(--c-amber);
  padding: 1.4rem 1.6rem;
  color: var(--c-cream);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.form-success.is-active { display: block; }

/* Email capture / newsletter band */
.capture {
  background: var(--c-forest-deep);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.capture__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.capture__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.capture__text p {
  color: var(--c-text-muted);
  margin-top: 0.6rem;
  max-width: 46ch;
}

.capture-form {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  flex: 1 1 420px;
  min-width: 0;
  max-width: 100%;
}

.capture-form input {
  flex: 1 1 160px;
  border: 1px solid var(--c-line-strong);
  background: rgba(0,0,0,0.18);
  padding: 0.95rem 1.1rem;
  font-size: 0.92rem;
}

.capture-form input:focus { outline: none; border-color: var(--c-amber); }

.capture-form button { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

.footer-brand .brand__mark { font-size: 1.7rem; }

.footer-brand p {
  margin-top: 1.1rem;
  color: var(--c-text-muted);
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--c-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.footer-social a:hover { border-color: var(--c-amber); color: var(--c-amber-light); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a,
.footer-col span {
  color: var(--c-text-muted);
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--c-amber-light); }

.footer-bottom {
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--c-text-faint);
}

.footer-bottom a:hover { color: var(--c-amber-light); }

/* ---------- Misc components ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--c-line-strong);
  color: var(--c-text-muted);
}

.quote-block {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.45;
  color: var(--c-cream);
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.quote-block cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-amber-light);
  margin-top: 1.6rem;
}

.cta-band {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
  text-align: center;
  overflow: hidden;
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-band__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 8, 0.72);
}

.cta-band h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 16ch;
  margin-inline: auto;
}

.cta-band p {
  color: var(--c-cream-dim);
  max-width: 50ch;
  margin: 1.2rem auto 0;
}

.cta-band .btn-row { justify-content: center; margin-top: 2.2rem; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  justify-content: center;
}

.badge-row span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-faint);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-feature--reverse .split-feature__media { order: 2; }

.split-feature__media {
  aspect-ratio: 5/6;
  overflow: hidden;
  position: relative;
}

.split-feature__media img { width: 100%; height: 100%; object-fit: cover; }

.split-feature__body .eyebrow { margin-bottom: 1rem; }
.split-feature__body h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.split-feature__body p { color: var(--c-text-muted); margin-top: 1.1rem; }
.split-feature__body .btn { margin-top: 1.8rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.value-item {
  border-top: 1px solid var(--c-line-strong);
  padding-top: 1.6rem;
}

.value-item__num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-amber-dim);
  font-size: 1.1rem;
}

.value-item h3 { margin-top: 0.8rem; font-size: 1.25rem; }
.value-item p { margin-top: 0.7rem; color: var(--c-text-muted); font-size: 0.93rem; }

.map-frame {
  border: 1px solid var(--c-line);
  filter: grayscale(45%) invert(91%) contrast(90%);
  width: 100%;
  height: 340px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:nth-child(4) { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 6rem clamp(1.5rem, 8vw, 3rem) 3rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 550;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 1rem;
  }
  .nav__brand .brand__mark { font-size: 1.7rem; }
  .nav__link { font-size: 1.5rem; font-family: var(--font-serif); text-transform: none; letter-spacing: 0; }
  .nav__cta { margin-top: 1rem; }
  .nav-toggle { display: flex; }

  .intro-split,
  .split-feature,
  .split-feature--reverse .split-feature__media {
    grid-template-columns: 1fr;
    order: initial;
  }
  .intro-split { grid-template-columns: 1fr; }
  .intro-split__media { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature--reverse .split-feature__media { order: -1; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .footer-col:nth-child(4) { display: block; }
  .field-row { grid-template-columns: 1fr; }
  .capture__inner { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 0.6rem; }
  .package--featured::before { font-size: 0.56rem; }
  .hero h1 { max-width: 100%; }
  .hero__content { padding-top: 6.5rem; }
  .rc-note--hero { font-size: 0.8rem; }
  .lightbox__nav { width: 38px; height: 38px; }
  .capture-form { flex-direction: column; }
  .capture-form button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Designer Notes — mockup annotation layer
   Explains this is a concept mockup + the reasoning behind design choices.
   Off by default; toggled via the button below. Not part of the "live" design.
   ========================================================================== */
.dn-toggle {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  background: var(--c-amber);
  color: #1a1a14;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.dn-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45); }
.dn-toggle__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a1a14;
  opacity: 0.35;
  transition: background 0.2s, opacity 0.2s;
}
body.dn-active .dn-toggle__dot { background: #2e7d4f; opacity: 1; }

.dn-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-amber);
  color: #1a1a14;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  animation: dnPulse 2.6s ease-in-out infinite;
}
.dn-tag svg { width: 15px; height: 15px; display: block; }
body.dn-active .dn-tag { display: flex; }
.dn-tag:hover,
.dn-tag.is-open { animation: none; }
.dn-tag.dn-tag--inline { position: relative; top: auto; right: auto; margin-inline: auto; }
.dn-tag.dn-tag--below-nav { top: 6.5rem; }
.dn-anchor { position: relative; }

@keyframes dnPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(204, 143, 79, 0.55); }
  50% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 0 9px rgba(204, 143, 79, 0); }
}

.dn-tag__bubble {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px, 82vw);
  background: var(--c-bg-panel);
  border: 1px solid var(--c-line-strong);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--c-text);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.dn-tag__bubble::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 12px;
  border: 6px solid transparent;
  border-bottom-color: var(--c-bg-panel);
}
.dn-tag__bubble-label {
  display: block;
  color: var(--c-amber-light);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.45rem;
}
.dn-tag.is-open .dn-tag__bubble,
body.dn-active .dn-tag:hover .dn-tag__bubble {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .dn-toggle__label { display: none; }
  .dn-toggle { padding: 0.75rem; }
  .dn-tag__bubble { right: -1.25rem; width: min(280px, 78vw); }
  .dn-tag__bubble::before { right: 1.4rem; }
}

/* ==========================================================================
   Rooted Coast Design notes — always-visible sales captions
   Small italic asides that sit directly in the page copy, no interaction
   required. Replaces the old hidden toggle/tooltip approach.
   ========================================================================== */
.rc-note {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  max-width: 640px;
  margin-top: 0.7rem;
  margin-bottom: 0.3rem;
  padding-left: 1rem;
  border-left: 2px solid var(--c-amber);
}
.rc-note strong {
  font-style: normal;
  font-weight: 500;
  color: var(--c-amber-light);
}
.rc-note--center {
  margin-inline: auto;
  text-align: left;
}
.rc-note--hero {
  max-width: 560px;
  color: rgba(241, 236, 224, 0.82);
  border-left-color: var(--c-amber-light);
}

/* Rooted Coast Design mid-page callout, a standalone section rather than
   part of the header nav */
.rc-callout {
  max-width: 620px;
  margin: 0 auto;
  padding: 2.4rem clamp(1.6rem, 4vw, 2.8rem);
  border: 1px solid rgba(214, 158, 92, 0.32);
  background: rgba(214, 158, 92, 0.045);
  text-align: center;
}

.rc-callout__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 0.9rem;
}

.rc-callout p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--c-cream-dim);
  margin-bottom: 1.4rem;
}

.rc-callout p strong {
  font-style: normal;
  font-weight: 500;
  color: var(--c-amber-light);
}

.rc-callout a {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-amber-light);
  border-bottom: 1px solid rgba(214, 158, 92, 0.45);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.rc-callout a:hover {
  color: var(--c-amber);
  border-color: var(--c-amber);
}
