/* ==========================================================================
   Dastkar Ranthambhore — Static Site Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #F9F7F1;
  --bg-secondary: #E8DCC4;
  --text-primary: #3A2415;
  --text-secondary: #5A3A22;
  --text-muted: #8A7360;
  --brand-terracotta: #B4513A;
  --brand-terracotta-dark: #9C432E;
  --brand-mustard: #D4A24C;
  --brand-warm-brown: #5A3A22;
  --brand-sand: #E8DCC4;
  --border-soft: rgba(90, 58, 34, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: var(--brand-terracotta);
  color: var(--bg-primary);
}

/* Layout helpers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.hairline {
  height: 1px;
  background: var(--border-soft);
  width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  color: var(--brand-terracotta);
  margin-bottom: 1rem;
}

.label-caps {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
}

.italic {
  font-style: italic;
}

.muted {
  color: var(--text-muted);
}

.secondary-text {
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--brand-terracotta);
  color: var(--bg-primary);
  border-color: var(--brand-terracotta);
}

.btn-primary:hover {
  background-color: var(--brand-terracotta-dark);
  border-color: var(--brand-terracotta-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--bg-primary);
  border-color: rgba(249, 247, 241, 0.8);
}

.btn-ghost:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 247, 241, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0.75rem;
}

.site-header .brand-logo img {
  height: 64px;
  width: auto;
}

@media (min-width: 640px) {
  .site-header .brand-logo img {
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .site-header .logo-row {
    justify-content: center;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 1rem 0 1rem;
  border-top: 1px solid var(--border-soft);
  margin-top: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  padding: 0.5rem 0;
  color: var(--text-primary);
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-terracotta);
}

.nav-link.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.25rem;
  min-width: 260px;
  background: var(--bg-primary);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: none;
  z-index: 60;
}

.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.85rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-primary);
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--bg-secondary);
  color: var(--brand-terracotta);
}

.mobile-toggle {
  display: inline-flex;
  color: var(--text-primary);
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-primary);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-nav .nav-link {
  display: block;
  padding: 0.6rem 0;
}

.mobile-nav .mnav-label {
  padding: 0.5rem 0 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--text-muted);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 450px;
  overflow: hidden;
  background: var(--brand-warm-brown);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 10;
}

.slide-image {
  position: absolute;
  inset: 0;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(58, 36, 21, 0.85), rgba(58, 36, 21, 0.55) 50%, rgba(58, 36, 21, 0.2));
}

.slide-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--bg-primary);
}

/* Slide right layout modifiers */
.slide.slide-right .slide-content {
  justify-content: flex-end;
}

.slide.slide-right .slide-image::after {
  background: linear-gradient(to left, rgba(58, 36, 21, 0.85), rgba(58, 36, 21, 0.55) 50%, rgba(58, 36, 21, 0.2));
}

@media (min-width: 640px) {
  .slide-content {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .slide-content {
    padding: 0 3rem;
  }
}

.slide-text {
  max-width: 640px;
}

.slide-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.72rem;
  color: var(--brand-mustard);
  margin-bottom: 1.5rem;
}

.slide h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .slide h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .slide h1 {
    font-size: 3.75rem;
  }
}

.slide-sub {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--brand-sand);
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .slide-sub {
    font-size: 1.3rem;
  }
}

.slide-body {
  max-width: 560px;
  color: rgba(249, 247, 241, 0.9);
  margin-bottom: 2.25rem;
}

.slide-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(249, 247, 241, 0.4);
  color: var(--bg-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-control:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

@media (min-width: 640px) {
  .hero-prev {
    left: 2rem;
  }

  .hero-next {
    right: 2rem;
  }
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 20;
}

.hero-dots button {
  height: 2px;
  width: 24px;
  background: rgba(249, 247, 241, 0.4);
  transition: all 0.5s ease;
}

.hero-dots button.active {
  background: var(--brand-mustard);
  width: 48px;
}

/* ==========================================================================
   Page Hero (for sub-pages)
   ========================================================================== */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
}

.page-hero.small {
  height: 50vh;
  min-height: 360px;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 36, 21, 0.85), rgba(58, 36, 21, 0.4) 60%, transparent);
}

.page-hero-content {
  position: relative;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 3.5rem;
  display: flex;
  align-items: flex-end;
  color: var(--bg-primary);
}

@media (min-width: 640px) {
  .page-hero-content {
    padding: 0 2rem 3.5rem;
  }
}

@media (min-width: 1024px) {
  .page-hero-content {
    padding: 0 3rem 3.5rem;
  }
}

.page-hero-content h1 {
  font-size: 2.25rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .page-hero-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .page-hero-content h1 {
    font-size: 3.75rem;
  }
}

.page-hero .slide-eyebrow {
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  padding: 5rem 1rem 6rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-soft);
}

.section-header.plain {
  background: var(--bg-primary);
}

.section-header h1 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .section-header h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-header h1 {
    font-size: 3.75rem;
    padding-top: 6rem;
  }
}

.section-header p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.section-header .blurb {
  font-style: normal;
  font-size: 1rem;
  margin-top: 1.5rem;
  max-width: 760px;
}

/* ==========================================================================
   About Intro (home)
   ========================================================================== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-image-stack {
  position: relative;
}

.about-image-stack .main {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-image-stack .main img,
.about-image-stack .small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image-stack:hover .main img {
  transform: scale(1.04);
}

.about-image-stack .small {
  display: none;
  position: absolute;
  bottom: -2rem;
  right: 2rem;
  width: 50%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 8px solid var(--bg-primary);
}

@media (min-width: 640px) {
  .about-image-stack .small {
    display: block;
  }
}

.about-intro h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .about-intro h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .about-intro h2 {
    font-size: 3rem;
  }
}

.about-intro p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.about-intro .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.stats .num {
  font-size: 1.75rem;
  color: var(--brand-terracotta);
}

@media (min-width: 640px) {
  .stats .num {
    font-size: 2.25rem;
  }
}

.stats .lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Craft Pillars
   ========================================================================== */
.pillars-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.pillars-head h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .pillars-head h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .pillars-head h2 {
    font-size: 2.75rem;
  }
}

.pillars-head .accent {
  width: 64px;
  height: 1px;
  background: var(--brand-terracotta);
  margin: 1.5rem auto 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.pillar {
  border-top: 1px solid var(--border-soft);
  padding-top: 2rem;
}

.pillar .icon {
  color: var(--brand-terracotta);
  margin-bottom: 1.5rem;
}

.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Feature Blocks
   ========================================================================== */
.feature-blocks-section {
  background: var(--bg-secondary);
}

.feature-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-blocks {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-block {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
  color: var(--bg-primary);
}

.feature-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.feature-block:hover img {
  transform: scale(1.04);
}

.feature-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 36, 21, 0.85), rgba(58, 36, 21, 0.3) 60%, transparent);
}

.feature-block .body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.feature-block h3 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

@media (min-width: 640px) {
  .feature-block h3 {
    font-size: 2rem;
  }
}

.feature-block .sub {
  font-size: 0.85rem;
  color: rgba(232, 220, 196, 0.9);
}

.feature-block .arrow svg {
  transition: transform 0.5s ease;
}

.feature-block:hover .arrow svg {
  transform: rotate(45deg);
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial-section {
  background: var(--brand-warm-brown);
  color: var(--bg-primary);
  padding: 6rem 1rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .testimonial-section {
    padding: 8rem 1rem;
  }
}

.testimonial-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 12c-12 0-22 10-22 22 0 10 6 18 16 21 1-6 5-10 11-12 7-2 12-7 12-15 0-9-7-16-17-16z' fill='none' stroke='%23E8DCC4' stroke-width='0.5' opacity='0.18'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.testimonial-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-inner svg {
  color: var(--brand-mustard);
  margin: 0 auto 2rem;
  opacity: 0.85;
}

.testimonial-inner blockquote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .testimonial-inner blockquote {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .testimonial-inner blockquote {
    font-size: 2.25rem;
  }
}

.testimonial-inner .meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--brand-mustard);
}

/* ==========================================================================
   Visit Studio
   ========================================================================== */
.visit-studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .visit-studio-grid {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
}

.visit-studio-img {
  position: relative;
  /*aspect-ratio: 4/3;*/
  /*overflow: hidden;*/
}

.visit-studio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.visit-studio-img:hover img {
  transform: scale(1.03);
}

.visit-tag {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  background: var(--brand-mustard);
  color: var(--brand-warm-brown);
  padding: 0.85rem 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  display: none;
}

@media (min-width: 640px) {
  .visit-tag {
    display: inline-block;
  }
}

.visit-studio h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .visit-studio h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .visit-studio h2 {
    font-size: 2.75rem;
  }
}

.visit-studio .lead {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.visit-info {
  margin-bottom: 2.5rem;
}

.visit-info li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.visit-info .k {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.visit-info .v {
  text-align: right;
  white-space: pre-line;
}

/* ==========================================================================
   About page – Mission/Vision
   ========================================================================== */
.about-long {
  max-width: 720px;
  margin: 0 auto;
}

.about-long p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.mission-vision-grid h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .mission-vision-grid h2 {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Our Motifs (About page)
   ========================================================================== */
.motifs-head {
  max-width: 720px;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .motifs-head {
    margin-bottom: 5rem;
  }
}

.motifs-head h2 {
  font-size: 1.875rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .motifs-head h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .motifs-head h2 {
    font-size: 2.75rem;
  }
}

.motifs-gallery {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .motifs-gallery {
    gap: 5rem;
  }
}

.motifs-item {
  margin: 0;
  border: 1px solid var(--border-soft);
  background: var(--bg-primary);
  box-shadow: 0 8px 32px rgba(58, 36, 21, 0.06);
  overflow: hidden;
}

.motifs-item img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Archives — Timeline
   ========================================================================== */
.archive-timeline-image {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 0;
}

.responsive-timeline-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(58, 36, 21, 0.08);
}

.timeline-wrap {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 1024px) {
  .timeline-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-soft);
  }
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .timeline-item {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 7rem;
  }

  .timeline-item.reverse {
    direction: rtl;
  }

  .timeline-item.reverse>* {
    direction: ltr;
  }
}

.timeline-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.timeline-image:hover img {
  transform: scale(1.04);
}

.timeline-text {
  position: relative;
}

@media (min-width: 1024px) {
  .timeline-item:not(.reverse) .timeline-text {
    padding-left: 3rem;
  }

  .timeline-item.reverse .timeline-text {
    padding-right: 3rem;
  }

  .timeline-item:not(.reverse) .timeline-image {
    padding-right: 3rem;
  }

  .timeline-item.reverse .timeline-image {
    padding-left: 3rem;
  }

  .timeline-text::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    width: 12px;
    height: 12px;
    background: var(--brand-terracotta);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-primary);
  }

  .timeline-item:not(.reverse) .timeline-text::before {
    left: -26px;
  }

  .timeline-item.reverse .timeline-text::before {
    right: -26px;
  }
}

.timeline-year {
  font-size: 3rem;
  color: var(--brand-mustard);
  line-height: 1;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .timeline-year {
    font-size: 3.75rem;
  }
}

.timeline-text h3 {
  font-size: 1.625rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .timeline-text h3 {
    font-size: 2rem;
  }
}

.timeline-text p {
  color: var(--text-secondary);
}

/* ==========================================================================
   Artisans grid
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
  }
}

.artisan-card .img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.artisan-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.artisan-card:hover .img-wrap img {
  transform: scale(1.04);
}

.artisan-card .craft-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: var(--brand-terracotta);
  margin-bottom: 0.5rem;
}

.artisan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.artisan-card .years {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.artisan-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Craft Stories
   ========================================================================== */
.story-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .story-featured {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.story-featured .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.story-featured .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-featured .img-wrap:hover img {
  transform: scale(1.04);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-terracotta);
  margin-bottom: 1.5rem;
}

.story-meta .dash {
  width: 32px;
  height: 1px;
  background: var(--brand-terracotta);
}

.story-meta .read {
  color: var(--text-muted);
}

.story-featured h2 {
  font-size: 1.875rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .story-featured h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .story-featured h2 {
    font-size: 2.75rem;
  }
}

.story-featured p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.story-card .img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.story-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-card:hover .img-wrap img {
  transform: scale(1.04);
}

.story-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.story-card:hover h3 {
  color: var(--brand-terracotta);
}

.story-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.story-card .story-meta {
  margin-bottom: 0.75rem;
}

.story-card .story-meta .read {
  margin-left: 0.25rem;
}

/* ==========================================================================
   Gratitude & Spotlight — poster galleries
   ========================================================================== */
.gratitude-gallery,
.spotlight-gallery,
.craft-stories-gallery {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 768px) {

  .gratitude-gallery,
  .spotlight-gallery,
  .craft-stories-gallery {
    gap: 5rem;
  }
}

.gratitude-item,
.spotlight-item,
.craft-stories-item {
  margin: 0;
  border: 1px solid var(--border-soft);
  background: var(--bg-primary);
  box-shadow: 0 8px 32px rgba(58, 36, 21, 0.06);
  overflow: hidden;
}

.gratitude-item img,
.spotlight-item img,
.craft-stories-item img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.contact-info h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .contact-info h2 {
    font-size: 2.25rem;
  }
}

.contact-info .lead {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.contact-info ul li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
}

.contact-info ul svg {
  color: var(--brand-terracotta);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info .studio-img {
  overflow: hidden;
  margin-top: 2.5rem;
}

.contact-info .studio-img img {
  width: 100%;
  transition: transform 0.8s ease;
}

.contact-info .studio-img:hover img {
  transform: scale(1.03);
}

.contact-form-card {
  background: var(--bg-secondary);
  padding: 2.5rem 2rem;
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 3rem;
  }
}

.contact-form-card h2 {
  font-size: 1.875rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-form-card h2 {
    font-size: 2.25rem;
  }
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(58, 36, 21, 0.4);
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-row textarea {
  border: 1px solid rgba(58, 36, 21, 0.3);
  padding: 0.75rem;
  min-height: 130px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--brand-terracotta);
}

#contact-success {
  display: none;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--brand-terracotta);
  background: var(--bg-primary);
  color: var(--brand-terracotta);
  font-style: italic;
  font-size: 0.9rem;
}

#contact-success.show {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-warm-brown);
  color: var(--bg-primary);
  margin-top: 6rem;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }
}

.footer-brand .brand-mark {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-brand h4 {
  font-size: 1.25rem;
}

.footer-brand .small {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-sand);
  margin-top: 0.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(232, 220, 196, 0.9);
}

.footer-col h5 {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-mustard);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--brand-mustard);
}

.footer-col li.flex {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-col li.flex svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.newsletter {
  display: flex;
  border: 1px solid rgba(232, 220, 196, 0.4);
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  color: var(--bg-primary);
  outline: none;
}

.newsletter input::placeholder {
  color: rgba(232, 220, 196, 0.6);
}

.newsletter button {
  padding: 0 1rem;
  background: var(--brand-mustard);
  color: var(--brand-warm-brown);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.socials a:hover {
  color: var(--brand-mustard);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(232, 220, 196, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(232, 220, 196, 0.8);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom .made {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.62rem;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-20 {
  margin-top: 5rem;
}

.cta-strip {
  padding: 5rem 1rem;
  text-align: center;
}

.cta-strip h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cta-strip h3 {
    font-size: 2rem;
  }
}

.cta-strip .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   Timeline Image Cards (with hover overlay text)
   ========================================================================== */
.timeline-section {
  padding-bottom: 2rem;
  /* tighter gap towards gallery below */
}

.archive-gallery-section {
  padding-top: 2rem;
  /* tighter gap from timeline above */
  background: var(--bg-primary);
}

.timeline-img-card {
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
}

.timeline-img-card .responsive-timeline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-img-card:hover .responsive-timeline-img {
  transform: scale(1.04);
}

.timeline-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(58, 36, 21, 0.88) 0%,
      rgba(58, 36, 21, 0.45) 55%,
      rgba(58, 36, 21, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2rem 2rem;
  color: var(--bg-primary);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-img-card:hover .timeline-img-overlay {
  opacity: 1;
  transform: translateY(0);
}

.timeline-img-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.65rem;
  color: var(--brand-mustard);
  margin-bottom: 0.5rem;
}

.timeline-img-title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--bg-primary);
}

@media (min-width: 640px) {
  .timeline-img-title {
    font-size: 1.875rem;
  }
}

.timeline-img-caption {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(249, 247, 241, 0.85);
  line-height: 1.55;
  max-width: 360px;
}

/* Make the timeline-image wrapper use flex so both cards sit side by side */
.archive-timeline-image {
  display: flex;
  gap: 1rem;
}

@media (max-width: 639px) {
  .archive-timeline-image {
    flex-direction: column;
  }
}

/* ==========================================================================
   Archive Gallery Grid
   ========================================================================== */
.archive-gallery-section {
  background: var(--bg-primary);
}

.archive-gallery-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.archive-gallery-sub {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.archive-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .archive-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .archive-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}


.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(58, 36, 21, 0) 50%,
      rgba(58, 36, 21, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(249, 247, 241, 0.85);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-size: 1.5rem;
  line-height: 1;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
  transform: scale(1);
  opacity: 1;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 12, 7, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-image-wrap {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(249, 247, 241, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  color: rgba(249, 247, 241, 0.75);
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
  background: none;
  border: none;
  padding: 0.5rem;
}

.lightbox-close:hover {
  color: var(--bg-primary);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(249, 247, 241, 0.3);
  color: rgba(249, 247, 241, 0.8);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(58, 36, 21, 0.4);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--brand-terracotta);
  border-color: var(--brand-terracotta);
  color: var(--bg-primary);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(249, 247, 241, 0.5);
}