/* =========================================================
   HermitHire — Luxury Design System
   Cinzel + EB Garamond | Dark Forest Green | Warm Parchment
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ─── Custom Properties ────────────────────────────────── */
:root {
  --deep-green:    #1C2E1C;
  --forest-green:  #243524;
  --moss-green:    #2D4A2D;
  --dark-green:    #162216;
  --parchment:     #F5EDD8;
  --cream:         #EDE0C4;
  --vellum:        #E8D9B5;
  --leather:       #8B6850;
  --sienna:        #7A5C44;
  --gold:          #C9A84C;
  --gold-light:    #E0C278;
  --gold-dark:     #9A7B35;
  --gold-dim:      #8B6B2A;
  --charcoal:      #1A1A1A;
  --near-black:    #0F1A0F;
  --text-on-dark:  #F0E6CF;
  --text-muted:    #B8A88A;
  --border-gold:   rgba(201,168,76,0.3);
  --border-parch:  rgba(245,237,216,0.15);

  --font-heading:  'Cinzel', 'Trajan Pro', serif;
  --font-body:     'EB Garamond', 'Garamond', 'Georgia', serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --z-nav: 100;
  --z-modal: 200;
  --z-toast: 300;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-body);
  background-color: var(--deep-green);
  color: var(--text-on-dark);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font-body); }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--parchment);
}

h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; letter-spacing: 0.12em; }

p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-on-dark);
  max-width: 70ch;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  color: var(--parchment);
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin-top: 1rem;
}

.section-title.centered { text-align: center; }
.section-title.centered::after { margin: 1rem auto 0; }

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section--alt { background: var(--forest-green); }
.section--dark { background: var(--dark-green); }

/* ─── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease-out), padding 0.3s var(--ease-out);
}

.site-nav.scrolled {
  background: rgba(22, 34, 22, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2.5rem;
  border-bottom: 1px solid var(--border-gold);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--parchment);
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover { color: var(--parchment); }

.nav-links .nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.2rem;
  transition: background 0.2s, color 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--deep-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--parchment);
  transition: 0.3s;
}

/* ─── Gold Divider ───────────────────────────────────────── */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0;
}

.gold-rule::before, .gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-rule .rule-icon {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: brightness(0.42) saturate(0.65);
  transform: scale(1.05);
  transition: transform 10s ease;
}

.hero:hover .hero-bg { transform: scale(1.08); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22,34,22,0.15) 0%,
    rgba(22,34,22,0.45) 55%,
    rgba(22,34,22,0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 960px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-out) forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--parchment);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease-out) forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: var(--cream);
  letter-spacing: 0.05em;
  max-width: none;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s var(--ease-out) forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
  display: block;
}

/* ── New Arrival Feature (Homepage) ──────────────────── */
.new-arrival-section {
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  background: var(--forest-green);
  overflow: hidden;
}

.new-arrival-inner {
  display: grid;
  grid-template-columns: 5fr 4fr;
  min-height: 580px;
}

.new-arrival-img-side {
  position: relative;
  overflow: hidden;
}

.new-arrival-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.15) brightness(0.82) saturate(0.85);
  display: block;
  transition: filter 0.6s, transform 0.8s var(--ease-out);
}

.new-arrival-section:hover .new-arrival-img {
  filter: sepia(0.05) brightness(0.95) saturate(1);
  transform: scale(1.03);
}

.new-arrival-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4.5rem;
  border-left: 1px solid var(--border-gold);
}

.new-arrival-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: 0.1em;
  color: var(--parchment);
  margin: 0.5rem 0 0.6rem;
  line-height: 1.2;
}

.new-arrival-title {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.new-arrival-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--parchment);
  padding-left: 1.4rem;
  border-left: 2px solid rgba(201,168,76,0.5);
  margin-bottom: 2.5rem;
  max-width: none;
}

.new-arrival-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .new-arrival-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .new-arrival-img-side {
    aspect-ratio: 4/3;
  }
  .new-arrival-text-side {
    padding: 3rem 1.5rem;
    border-left: none;
    border-top: 1px solid var(--border-gold);
  }
}

/* ─── Featured Hermits Carousel (Homepage) ──────────────── */
.featured-carousel-wrapper {
  overflow: hidden;
}

.featured-carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease-out);
}

.featured-carousel-slide {
  flex: 0 0 100%;
}

.featured-section {
  padding: 7rem 0;
  background: var(--deep-green);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

/* ─── Hermit Cards ───────────────────────────────────────── */
.hermit-card {
  position: relative;
  background: var(--forest-green);
  border: 1px solid var(--border-gold);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.hermit-card:hover {
  border-color: rgba(201,168,76,0.7);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hermit-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.hermit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: sepia(0.2) brightness(0.85) saturate(0.8);
  transition: filter 0.5s, transform 0.7s var(--ease-out);
}

.hermit-card:hover .hermit-card-img {
  filter: sepia(0.08) brightness(0.98) saturate(1);
  transform: scale(1.05);
}

/* Card hover quote overlay */
.hermit-card-quote {
  position: absolute;
  inset: 0;
  background: rgba(22, 34, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.hermit-card:hover .hermit-card-quote { opacity: 1; }

.hermit-card-quote blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--parchment);
  text-align: center;
  line-height: 1.8;
  max-width: none;
}

.hermit-card-quote blockquote::before {
  content: '\201C';
  display: block;
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 0.5rem;
  font-style: normal;
}

.hermit-card-body {
  padding: 1.5rem;
  border-top: 1px solid var(--border-gold);
}

.hermit-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--parchment);
  margin-bottom: 0.3rem;
}

.hermit-card-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: none;
}

.hermit-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
}

.availability-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  display: inline-block;
}

.availability-badge.available {
  background: rgba(80, 140, 80, 0.15);
  color: #8CC88C;
  border: 1px solid rgba(80, 140, 80, 0.35);
}

.availability-badge.limited {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.availability-badge.engaged {
  background: rgba(139, 104, 80, 0.15);
  color: var(--leather);
  border: 1px solid rgba(139, 104, 80, 0.3);
}

.card-cta {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.9rem;
  border-top: 1px solid var(--border-gold);
  transition: background 0.2s, color 0.2s;
}

.card-cta:hover {
  background: var(--gold);
  color: var(--deep-green);
}

/* ── New-to-Collection ribbon badge ─────────────────── */
.hermit-card-new-badge {
  position: absolute;
  top: 1rem;
  left: 0;
  z-index: 5;
  padding: 0.3rem 0.85rem 0.3rem 0.7rem;
  background: rgba(8, 14, 8, 0.88);
  border-top: 1px solid rgba(201, 168, 76, 0.38);
  border-right: 1px solid rgba(201, 168, 76, 0.38);
  border-bottom: 1px solid rgba(201, 168, 76, 0.38);
  border-left: 2px solid rgba(201, 168, 76, 0.75);
  color: rgba(201, 168, 76, 0.92);
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

@keyframes badge-sheen {
  0%   { transform: translateX(-160%); }
  60%  { transform: translateX(-160%); }
  100% { transform: translateX(360%); }
}

.hermit-card-new-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.18), transparent);
  animation: badge-sheen 6s ease-in-out infinite;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: 0.25s var(--ease-out);
  border: none;
  text-align: center;
}

.btn-gold { background: var(--gold); color: var(--deep-green); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--deep-green); }
.btn-ghost { background: transparent; border: 1px solid var(--border-parch); color: var(--parchment); }
.btn-ghost:hover { border-color: var(--parchment); }

/* ─── The Tradition Section ──────────────────────────────── */
.tradition-section {
  padding: 8rem 0;
  background: var(--forest-green);
  position: relative;
  overflow: hidden;
}

.tradition-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/lorrain-landscape.jpg') center/cover no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.tradition-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.tradition-text p {
  margin-bottom: 1.5rem;
  color: var(--cream);
  font-size: 1.15rem;
}

.tradition-facts { display: grid; gap: 2rem; }

.tradition-fact {
  border-left: 1px solid var(--gold);
  padding-left: 1.5rem;
}

.tradition-fact .fact-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.tradition-fact p { font-size: 1rem; color: var(--text-muted); max-width: none; }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonials-section {
  padding: 8rem 0;
  background: var(--dark-green);
}

.testimonials-carousel { position: relative; overflow: hidden; }

.testimonials-track {
  display: flex;
  transition: transform 0.6s var(--ease-in-out);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 2rem;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--parchment);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-attribution {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}

.testimonial-estate {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.3rem;
  max-width: none;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.carousel-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.carousel-btn:hover { background: var(--gold); color: var(--deep-green); }

.carousel-dots { display: flex; gap: 0.5rem; }

.carousel-dot {
  width: 6px;
  height: 6px;
  background: var(--border-gold);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}

.carousel-dot.active { background: var(--gold); }

/* ─── Press Section ──────────────────────────────────────── */
.press-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.press-eyebrow {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.press-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

.press-logo {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: default;
  font-style: italic;
}

.press-logo:hover { color: var(--parchment); }

/* ─── Collections Layout ─────────────────────────────────── */
.collections-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  padding: 6rem 0;
}

.filter-sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.filter-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-gold);
}

.filter-group {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gold);
}

.filter-group h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.filter-option label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.filter-option:hover label { color: var(--parchment); }

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  align-content: start;
}

.collections-page-header {
  position: relative;
  height: 280px;
  overflow: hidden;
  margin-bottom: 0;
  padding-top: 5rem;
}

.collections-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.35) saturate(0.5);
}

.collections-header-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.join-banner {
  background: var(--forest-green);
  border: 1px solid var(--border-gold);
  padding: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.join-banner p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  max-width: none;
}

/* ─── Hermit Profile Page ────────────────────────────────── */
.profile-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  overflow: hidden;
}

.profile-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.45) saturate(0.6);
}

.profile-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22,34,22,0.1) 0%,
    rgba(22,34,22,0.55) 50%,
    rgba(22,34,22,1) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}

.profile-hero-info { max-width: 700px; }

.profile-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: var(--parchment);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.profile-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold);
  max-width: none;
}

.profile-body { padding: 4rem 0 5rem; }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
}

.profile-bio p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  color: var(--cream);
}

.profile-specialties { margin-top: 2.5rem; }

.specialties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.specialty-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  background: rgba(201, 168, 76, 0.04);
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--forest-green);
  border: 1px solid var(--border-gold);
  padding: 1.5rem;
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-gold);
}

.sidebar-meta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: none;
}

/* ─── Availability Calendar ──────────────────────────────── */
.availability-calendar { width: 100%; }

.cal-header {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day-name {
  font-family: var(--font-heading);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 0.3rem 0;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-on-dark);
}

.cal-day.empty { background: transparent; }
.cal-day.available { background: rgba(80, 140, 80, 0.18); color: #8CC88C; }
.cal-day.booked { background: rgba(139, 68, 68, 0.18); color: #b07070; text-decoration: line-through; opacity: 0.6; }
.cal-day.available:hover { background: rgba(80, 140, 80, 0.32); }

.cal-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  justify-content: center;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.cal-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cal-legend-dot.available { background: rgba(80, 140, 80, 0.5); }
.cal-legend-dot.booked { background: rgba(139, 68, 68, 0.5); }

/* ─── Testimonials on Profile ────────────────────────────── */
.profile-testimonials { margin-top: 3rem; }

.profile-testimonial {
  border-left: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(201, 168, 76, 0.03);
}

.profile-testimonial blockquote {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.75;
  max-width: none;
}

.profile-testimonial .estate-name {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.75rem;
  display: block;
  max-width: none;
}

/* ─── Profile Gallery ────────────────────────────────────── */
.profile-gallery {
  padding: 4rem 0;
  border-top: 1px solid var(--border-gold);
}

.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid-4 img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: sepia(0.2) brightness(0.82) saturate(0.75);
  transition: filter 0.35s, transform 0.45s var(--ease-out);
  cursor: pointer;
}

.gallery-grid-4 img:hover {
  filter: sepia(0.05) brightness(1) saturate(1);
  transform: scale(1.03);
}

/* ─── Profile CTA ────────────────────────────────────────── */
.profile-cta {
  background: var(--forest-green);
  border: 1px solid var(--border-gold);
  padding: 2.5rem;
  text-align: center;
  margin-top: 1.5rem;
}

.profile-cta p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 auto 1.5rem;
  font-style: italic;
  max-width: none;
}

/* ─── Join / Application Form ────────────────────────────── */
.join-page { padding: 9rem 0 6rem; min-height: 100vh; }

.join-header { text-align: center; margin-bottom: 5rem; }

.join-header p {
  margin: 1rem auto 0;
  max-width: 55ch;
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
}

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 4rem;
}

.step-wrapper { display: flex; flex-direction: column; align-items: center; }

.step-circle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: 0.3s;
}

.step-circle.active { border-color: var(--gold); background: var(--gold); color: var(--deep-green); }
.step-circle.done { border-color: var(--gold-dark); color: var(--gold-dark); }

.step-label {
  font-family: var(--font-heading);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  white-space: nowrap;
}

.step-connector {
  width: 100px;
  height: 1px;
  background: var(--border-gold);
  margin-top: 19px;
}

/* Form Styles */
.application-form { max-width: 760px; margin: 0 auto; }

.form-step { display: none; }
.form-step.active { display: block; }

.form-section-head {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-gold);
}

.form-section-head:first-child { margin-top: 0; }

.field-group { margin-bottom: 2rem; }

.field-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.field-group input[type="text"],
.field-group input[type="number"],
.field-group input[type="email"],
.field-group select,
.field-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-gold);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus { border-bottom-color: var(--gold); }

.field-group select option { background: var(--deep-green); color: var(--parchment); }
.field-group textarea { resize: vertical; min-height: 120px; line-height: 1.75; }

.char-counter {
  text-align: right;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.char-counter.warning { color: var(--gold); }
.char-counter.over { color: #c07070; }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-item label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
}

.checkbox-item:hover label { color: var(--parchment); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Stipend Slider */
.stipend-track { margin-top: 1rem; }
.stipend-track input[type="range"] { width: 100%; accent-color: var(--gold); cursor: pointer; }

.stipend-display {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.stipend-value { color: var(--gold); font-size: 0.75rem; }

/* Preview Card (Step 2) */
.preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.preview-note {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.preview-card {
  background: var(--forest-green);
  border: 1px solid rgba(201,168,76,0.6);
  padding: 2.5rem;
  width: 320px;
  text-align: center;
}

.preview-portrait-placeholder {
  width: 100px;
  height: 130px;
  background: var(--moss-green);
  border: 1px solid var(--border-gold);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-portrait-placeholder svg { opacity: 0.3; }

.preview-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--parchment);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.preview-subtitle {
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
  max-width: none;
}

/* Confirmation */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.confirmation-content { max-width: 600px; }
.confirmation-content p { text-align: center; max-width: none; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }

/* ─── Make an Offer Page ─────────────────────────────────── */
.offer-page { padding: 9rem 0 6rem; min-height: 100vh; }
.offer-form { max-width: 680px; margin: 0 auto; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-green);
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .nav-logo { font-size: 1.1rem; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 28ch; line-height: 1.75; }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--parchment); }

.footer-cta-band {
  border: 1px solid var(--border-gold);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}

.footer-cta-band p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-gold);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  max-width: none;
}

/* ─── Wax Seal ───────────────────────────────────────────── */
.wax-seal-wrap {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}

.wax-seal-anim { animation: sealPulse 4s ease-in-out infinite; }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes sealPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tradition-inner { grid-template-columns: 1fr; gap: 3rem; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    width: 280px;
    background: var(--dark-green);
    border-left: 1px solid var(--border-gold);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    z-index: calc(var(--z-nav) + 1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.8rem; }
  .nav-toggle { display: flex; z-index: calc(var(--z-nav) + 2); position: relative; }
  .featured-grid { grid-template-columns: 1fr; }
  .collections-layout { grid-template-columns: 1fr; padding: 7rem 0 4rem; }
  .filter-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta-band { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .profile-sidebar { grid-template-columns: 1fr; }
  .gallery-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .step-connector { width: 50px; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: 0.1em; }
  .gallery-grid-4 { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .press-logos { gap: 1.5rem 2.5rem; }
}
