/* ==========================================================================
   Two Mittens Custom Woodworks & Crafts
   Color palette drawn from logo: walnut, honey, turtle green, mitten blue
   ========================================================================== */

/* --- Tokens --- */
:root {
  --walnut:      #3d2b1f;
  --walnut-deep: #2a1a0e;
  --wood:        #6b4226;
  --honey:       #c49a3c;
  --honey-light: #dbb96a;
  --turtle:      #5a6e3c;
  --turtle-light:#7a9450;
  --mitten-blue: #5f7d99;
  --cream:       #faf5ed;
  --cream-dark:  #f0e6d6;
  --warm-white:  #fffaf3;
  --text:        #3d2b1f;
  --text-light:  #faf5ed;

  --ff-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-hand:     'Caveat', 'Brush Script MT', cursive;
  --ff-body:     'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --nav-h: 72px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.hidden { display: none !important; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--walnut);
  color: var(--cream);
  padding: .5rem 1.5rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 700; line-height: 1.2; }

/* --- Section Cut (angled "saw cut" dividers) --- */
.section-cut {
  position: relative;
  z-index: 1;
  height: 60px;
  margin-bottom: -1px;  /* prevent subpixel gap */
}
.section-cut--cream {
  background: linear-gradient(to right bottom, transparent 49.7%, var(--cream) 50%);
}
.section-cut--warm {
  background: linear-gradient(to right bottom, transparent 49.7%, var(--cream-dark) 50%);
}
.section-cut--dark {
  background: linear-gradient(to right bottom, transparent 49.7%, var(--walnut-deep) 50%);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background:
    repeating-linear-gradient(
      92deg,
      transparent 0px, transparent 50px,
      rgba(0,0,0,.04) 50px, rgba(0,0,0,.04) 51px
    ),
    linear-gradient(175deg, #2a1a0e, #3d2b1f);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform .3s var(--ease);
}
.nav-logo:hover img { transform: scale(1.08); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--text-light);
  position: relative;
  padding: .25rem 0;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--honey);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { width: 100%; }
.nav-links a:hover { color: var(--honey-light); }

.nav-fb {
  display: flex;
  align-items: center;
  opacity: .85;
  transition: opacity .3s, transform .3s;
}
.nav-fb:hover { opacity: 1; transform: scale(1.12); }
.nav-fb::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
  color: var(--text-light);
  overflow: hidden;
  /* Layered wood surface background */
  background:
    /* Warm spotlight */
    radial-gradient(ellipse at 50% 42%, rgba(196,154,60,.12) 0%, transparent 55%),
    /* Wood knots */
    radial-gradient(circle at 12% 25%, rgba(80,50,30,.25) 0%, rgba(80,50,30,.25) 6px, transparent 6px),
    radial-gradient(circle at 12% 25%, rgba(80,50,30,.12) 0%, rgba(80,50,30,.12) 14px, transparent 14px),
    radial-gradient(circle at 82% 72%, rgba(80,50,30,.2) 0%, rgba(80,50,30,.2) 5px, transparent 5px),
    radial-gradient(circle at 82% 72%, rgba(80,50,30,.08) 0%, rgba(80,50,30,.08) 11px, transparent 11px),
    radial-gradient(circle at 55% 85%, rgba(80,50,30,.15) 0%, rgba(80,50,30,.15) 4px, transparent 4px),
    /* Grain lines */
    repeating-linear-gradient(
      94deg,
      transparent 0px, transparent 45px,
      rgba(0,0,0,.05) 45px, rgba(0,0,0,.05) 46px,
      transparent 46px, transparent 90px,
      rgba(0,0,0,.025) 90px, rgba(0,0,0,.025) 91px
    ),
    /* Base */
    linear-gradient(175deg, #1e120a 0%, #2c1a10 35%, #3d2b1f 60%, #2c1a10 100%);
}

/* Subtle animated grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-logo-wrap {
  display: inline-block;
  margin-bottom: 1.5rem;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(196,154,60,.3);
  box-shadow:
    0 0 0 8px rgba(196,154,60,.06),
    0 20px 60px rgba(0,0,0,.5);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: .15em;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero-subtitle {
  font-family: var(--ff-hand);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--honey);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-tagline {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: .85;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: .85rem 2.5rem;
  border: 2px solid rgba(250,245,237,.6);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-light);
  transition: all .35s var(--ease);
}
.hero-cta:hover {
  background: rgba(250,245,237,.12);
  border-color: var(--honey);
  color: var(--honey-light);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  opacity: .5;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity .3s;
}
.hero-scroll:hover { opacity: .9; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   OUR STORY
   ========================================================================== */
.story {
  position: relative;
  background: var(--cream);
  padding: 0 2rem 5rem;
}

.story-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-top: 4rem;
}

.story-eyebrow {
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--turtle);
  margin-bottom: .5rem;
}

.story h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--walnut);
}

.story-lead {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.story-text p { margin-bottom: 1.1rem; }

/* Story aside: image + quote */
.story-aside { padding-top: .5rem; }

.story-image-wrap {
  position: relative;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  overflow: hidden;
  box-shadow:
    0 8px 30px rgba(0,0,0,.12),
    0 2px 8px rgba(0,0,0,.06);
  transform: rotate(1.5deg);
  transition: transform .5s var(--ease);
}
.story-image-wrap:hover { transform: rotate(0); }

.story-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-quote {
  font-family: var(--ff-hand);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--wood);
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--honey);
  font-style: italic;
}

.story-bottom {
  max-width: 1120px;
  margin: 2.5rem auto 0;
  font-size: 1.1rem;
  text-align: center;
  padding: 0 1rem;
}

/* ==========================================================================
   WHAT WE CREATE
   ========================================================================== */
.craft {
  position: relative;
  background: var(--cream-dark);
  padding: 0 2rem 6rem;
}

.craft-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}

.craft-eyebrow {
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--turtle);
  margin-bottom: .5rem;
}

.craft h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--walnut);
  margin-bottom: 3rem;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  text-align: left;
}

/* Craft card */
.craft-card {
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  text-decoration: none;
  color: var(--text);
}
.craft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

.craft-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.craft-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.craft-card:hover .craft-card-img img { transform: scale(1.06); }

.craft-card-body {
  padding: 1.5rem 1.5rem 1.8rem;
}
.craft-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
  color: var(--walnut);
}
.craft-card-body p {
  font-size: .97rem;
  line-height: 1.65;
  color: #5a4a3e;
}

/* Stagger the cards for visual interest */
.craft-card:nth-child(2) { margin-top: 1.5rem; }
.craft-card:nth-child(4) { margin-top: 1.5rem; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery {
  position: relative;
  background: var(--cream);
  padding: 0 2rem 6rem;
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}

.gallery-eyebrow {
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--turtle);
  margin-bottom: .5rem;
}

.gallery h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--walnut);
  margin-bottom: 2rem;
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 2.5rem;
}
.gallery-filter {
  padding: .55rem 1.4rem;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--wood);
  background: transparent;
  border: 2px solid var(--cream-dark);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transition: all .3s var(--ease);
}
.gallery-filter:hover {
  border-color: var(--honey);
  color: var(--walnut);
}
.gallery-filter.active {
  background: var(--walnut);
  border-color: var(--walnut);
  color: var(--text-light);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

/* Gallery items: photos on a workbench */
.gallery-item {
  position: relative;
  cursor: pointer;
  background: var(--warm-white);
  padding: .6rem;
  box-shadow:
    0 3px 12px rgba(0,0,0,.08),
    0 1px 3px rgba(0,0,0,.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .4s var(--ease);
}
/* Slight rotations for that "scattered on workbench" feel */
.gallery-item:nth-child(5n+1) { transform: rotate(-1.2deg); }
.gallery-item:nth-child(5n+2) { transform: rotate(0.8deg); }
.gallery-item:nth-child(5n+3) { transform: rotate(-0.4deg); }
.gallery-item:nth-child(5n+4) { transform: rotate(1.1deg); }
.gallery-item:nth-child(5n+5) { transform: rotate(-0.7deg); }

.gallery-item:hover {
  transform: rotate(0) translateY(-4px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0,0,0,.15);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Caption under photo (visible) */
.gallery-item::after {
  content: attr(data-caption);
  display: block;
  padding: .5rem .2rem .15rem;
  font-family: var(--ff-hand);
  font-size: 1rem;
  color: var(--wood);
  text-align: center;
}

/* Filter animation */
.gallery-item.hiding {
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
}
.gallery-item.hidden-filter {
  display: none;
}

/* ==========================================================================
   SOCIAL CTA
   ========================================================================== */
.social-cta {
  position: relative;
  background: var(--walnut-deep);
  color: var(--text-light);
  padding: 0 2rem 5rem;
  text-align: center;
  /* Wood grain on dark surface */
  background:
    repeating-linear-gradient(
      93deg,
      transparent 0px, transparent 55px,
      rgba(255,255,255,.015) 55px, rgba(255,255,255,.015) 56px,
      transparent 56px, transparent 110px,
      rgba(255,255,255,.008) 110px, rgba(255,255,255,.008) 111px
    ),
    linear-gradient(175deg, #1e120a, #2c1a10 40%, #3d2b1f 70%, #2c1a10);
}

.social-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 5rem;
}

.social-cta-icon {
  color: var(--honey);
  margin-bottom: 1.5rem;
}

.social-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.social-cta p {
  font-size: 1.1rem;
  opacity: .8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-social {
  display: inline-block;
  padding: .9rem 2.5rem;
  background: #1877F2;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  letter-spacing: .02em;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 4px 16px rgba(24,119,242,.35);
}
.btn-social:hover {
  background: #166ad8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24,119,242,.4);
}

/* ==========================================================================
   QUOTE / CONTACT
   ========================================================================== */
.quote {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196,154,60,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(90,110,60,.04) 0%, transparent 40%),
    var(--cream);
  padding: 0 2rem 6rem;
}

.quote-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-top: 4rem;
}

.quote-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--walnut);
  margin-bottom: 1rem;
}
.quote-info > p {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  color: #5a4a3e;
}

.quote-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  color: var(--wood);
}
.quote-detail svg { flex-shrink: 0; color: var(--turtle); }
.quote-detail a {
  color: var(--wood);
  text-decoration: underline;
  text-decoration-color: var(--honey);
  text-underline-offset: 3px;
  transition: color .3s;
}
.quote-detail a:hover { color: var(--walnut); }

/* Form */
.quote-form {
  background: var(--warm-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .4rem;
  color: var(--walnut);
}
.optional {
  font-weight: 400;
  color: #8a7b6e;
  font-size: .85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(196,154,60,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0a090;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b4226' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 110px; }

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

/* Submit button */
.btn-submit {
  width: 100%;
  padding: .9rem 2rem;
  background: var(--turtle);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  letter-spacing: .02em;
  transition: background .3s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  background: var(--turtle-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(90,110,60,.25);
}
.btn-submit:active { transform: translateY(0); }

.btn-sending, .btn-sent { display: none; }
.btn-submit.sending .btn-text { display: none; }
.btn-submit.sending .btn-sending { display: inline; }
.btn-submit.sent .btn-text { display: none; }
.btn-submit.sent .btn-sent { display: inline; }
.btn-submit.sent { background: var(--turtle); pointer-events: none; }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--warm-white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.form-success.visible { display: block; }
.form-success h3 {
  font-size: 1.6rem;
  color: var(--turtle);
  margin: 1rem 0 .5rem;
}
.form-success p { color: #5a4a3e; }
.form-success a {
  color: var(--turtle);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background:
    repeating-linear-gradient(
      91deg,
      transparent 0px, transparent 60px,
      rgba(255,255,255,.012) 60px, rgba(255,255,255,.012) 61px
    ),
    var(--walnut-deep);
  color: var(--text-light);
  padding: 3.5rem 2rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  opacity: .9;
}

.footer-tagline {
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  color: var(--honey);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-size: .9rem;
  opacity: .7;
  transition: opacity .3s;
}
.footer-links a:hover { opacity: 1; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.footer-social a {
  opacity: .6;
  transition: opacity .3s, transform .3s;
}
.footer-social a:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-copy {
  font-size: .8rem;
  opacity: .4;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26,15,8,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: flex; }
.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.2rem;
  color: var(--text-light);
  opacity: .7;
  transition: opacity .3s, transform .3s;
  z-index: 210;
  line-height: 1;
}
.lightbox-close:hover { opacity: 1; transform: scale(1.1); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  opacity: .6;
  padding: 1rem;
  transition: opacity .3s;
  z-index: 210;
}
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: .5rem; }
.lightbox-next { right: .5rem; }

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  transition: opacity .3s var(--ease);
}

.lightbox-caption {
  margin-top: 1rem;
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  color: var(--honey);
  text-align: center;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .25s; }
.reveal:nth-child(5) { transition-delay: .3s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 900px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .story-aside { order: -1; }
  .story-image-wrap { transform: rotate(0); }

  .quote-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .craft-card:nth-child(2),
  .craft-card:nth-child(4) { margin-top: 0; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    z-index: 105;
    background:
      repeating-linear-gradient(
        92deg,
        transparent 0px, transparent 50px,
        rgba(0,0,0,.04) 50px, rgba(0,0,0,.04) 51px
      ),
      linear-gradient(175deg, #2a1a0e, #3d2b1f);
    transition: right .35s var(--ease);
    box-shadow: -8px 0 30px rgba(0,0,0,.3);
  }
  .nav-links.active { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: .9rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links a::after { display: none; }
  .nav-fb { padding: 1rem 0 !important; }

  .hero-logo {
    width: 160px;
    height: 160px;
  }

  .section-cut { height: 40px; }

  .craft-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
  }
  /* Reduce rotations on mobile */
  .gallery-item:nth-child(n) { transform: rotate(0); }
  .gallery-item:hover { transform: translateY(-3px); }

  .gallery-filters { gap: .4rem; }
  .gallery-filter {
    padding: .45rem 1rem;
    font-size: .82rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-form { padding: 1.5rem; }

  .lightbox-prev { left: .2rem; }
  .lightbox-next { right: .2rem; }
  .lightbox-prev svg,
  .lightbox-next svg { width: 22px; height: 22px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-h) + 1rem); }
  .hero-logo { width: 130px; height: 130px; }
  .hero-tagline br { display: none; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
  }
  .gallery-item { padding: .35rem; }
  .gallery-item::after { font-size: .85rem; }

  .social-cta-inner { padding-top: 3.5rem; }
}

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

/* ==========================================================================
   MULTI-PAGE ADDITIONS
   ========================================================================== */

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Active Nav State --- */
[data-page="about"]  .nav-links a[href="about.html"],
[data-page="gallery"] .nav-links a[href="gallery.html"],
[data-page="contact"] .nav-links a[href="contact.html"] {
  color: var(--honey);
}
[data-page="about"]  .nav-links a[href="about.html"]::after,
[data-page="gallery"] .nav-links a[href="gallery.html"]::after,
[data-page="contact"] .nav-links a[href="contact.html"]::after {
  width: 100%;
}

/* --- Page Header (inner pages) --- */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + 3.5rem) 2rem 3.5rem;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(196,154,60,.1) 0%, transparent 55%),
    repeating-linear-gradient(
      94deg,
      transparent 0px, transparent 45px,
      rgba(0,0,0,.05) 45px, rgba(0,0,0,.05) 46px
    ),
    linear-gradient(175deg, #1e120a 0%, #2c1a10 35%, #3d2b1f 60%, #2c1a10 100%);
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: .5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.page-header-sub {
  font-family: var(--ff-hand);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--honey);
  opacity: .9;
}

/* --- Breadcrumbs --- */
.breadcrumb {
  margin-bottom: 1.5rem;
}
.breadcrumb ol {
  display: flex;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  font-size: .88rem;
  opacity: .7;
}
.breadcrumb a {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 3px;
  transition: opacity .3s;
}
.breadcrumb a:hover { opacity: 1; }
.breadcrumb li + li::before {
  content: '/';
  margin-right: .5rem;
  opacity: .5;
}

/* --- Intro Section (home) --- */
.intro {
  position: relative;
  background: var(--cream);
  padding: 0 2rem 2rem;
}
.intro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}
.intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #5a4a3e;
}
.intro-text strong {
  color: var(--walnut);
  font-weight: 600;
}

/* --- Featured Section (home) --- */
.featured {
  position: relative;
  background: var(--cream);
  padding: 0 2rem 5rem;
}
.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}
.featured h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--walnut);
  margin-bottom: 2.5rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.featured-item {
  background: var(--warm-white);
  padding: .5rem;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.featured-item:nth-child(odd) { transform: rotate(-0.8deg); }
.featured-item:nth-child(even) { transform: rotate(0.6deg); }
.featured-item:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.featured-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.featured-item figcaption {
  padding: .6rem .2rem .2rem;
  font-family: var(--ff-hand);
  font-size: 1.05rem;
  color: var(--wood);
  text-align: center;
}
.featured-cta {
  margin-top: 2.5rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: .85rem 2.2rem;
  background: var(--turtle);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  letter-spacing: .02em;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary:hover {
  background: var(--turtle-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90,110,60,.25);
}

.btn-outline {
  display: inline-block;
  padding: .85rem 2.2rem;
  border: 2px solid var(--walnut);
  color: var(--walnut);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  letter-spacing: .02em;
  transition: all .3s var(--ease);
}
.btn-outline:hover {
  background: var(--walnut);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* --- Story Teaser (home) --- */
.story-teaser {
  position: relative;
  background: var(--cream-dark);
  padding: 0 2rem 5rem;
}
.story-teaser-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
}
.story-teaser-eyebrow {
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  color: var(--turtle);
  margin-bottom: .5rem;
}
.story-teaser h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--walnut);
  margin-bottom: 1rem;
}
.story-teaser p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #5a4a3e;
  margin-bottom: 1.2rem;
}
.story-teaser-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

.link-arrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--turtle);
  transition: color .3s, gap .3s;
}
.link-arrow:hover { color: var(--turtle-light); }

/* --- Quote CTA (home/about/gallery) --- */
.quote-cta {
  position: relative;
  background: var(--cream-dark);
  padding: 0 2rem 5rem;
}
.quote-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}
.quote-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--walnut);
  margin-bottom: 1rem;
}
.quote-cta p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #5a4a3e;
  margin-bottom: 2rem;
}
.quote-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Values (about page) --- */
.values {
  position: relative;
  background: var(--cream-dark);
  padding: 0 2rem 5rem;
}
.values-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding-top: 4rem;
}
.values h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--walnut);
  margin-bottom: 2.5rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  text-align: left;
}
.values-item {
  background: var(--warm-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.values-icon {
  color: var(--turtle);
  margin-bottom: 1rem;
}
.values-item h3 {
  font-size: 1.2rem;
  color: var(--walnut);
  margin-bottom: .6rem;
}
.values-item p {
  font-size: .97rem;
  line-height: 1.65;
  color: #5a4a3e;
}

/* --- FAQ --- */
.faq {
  position: relative;
  background: var(--cream);
  padding: 0 2rem 5rem;
}
.faq-inner {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 4rem;
}
.faq h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--walnut);
  margin-bottom: 2rem;
  text-align: center;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--warm-white);
  border-radius: 10px;
  border: 2px solid var(--cream-dark);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item[open] {
  border-color: var(--honey);
}
.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--walnut);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--honey);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover { color: var(--wood); }
.faq-item p {
  padding: 0 1.5rem 1.3rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #5a4a3e;
}
.faq-item a {
  color: var(--turtle);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Gallery Intro --- */
.gallery-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #5a4a3e;
}

/* --- Quote Intro (contact page) --- */
.quote-intro {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #5a4a3e;
  margin-bottom: 2rem;
}

/* --- Hero dual CTAs --- */
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-cta--fill {
  background: rgba(250,245,237,.12);
  border-color: var(--honey);
  color: var(--honey-light);
}
.hero-cta--fill:hover {
  background: rgba(250,245,237,.22);
}

/* --- Footer Contact --- */
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: .9rem;
  opacity: .6;
}
.footer-contact a {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 3px;
}
.footer-contact a:hover { opacity: 1; }

/* --- Story closer (about page) --- */
.story-closer {
  font-size: 1.15rem;
  margin-top: 1rem;
  font-style: italic;
  color: var(--wood);
}

/* ==========================================================================
   MULTI-PAGE RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .story-teaser-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .story-teaser-image { order: -1; }
}

@media (max-width: 768px) {
  .page-header {
    padding: calc(var(--nav-h) + 2rem) 1.5rem 2.5rem;
  }
  .page-header h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .featured-item:nth-child(n) { transform: rotate(0); }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-cta { width: 100%; max-width: 280px; text-align: center; }
}

@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .quote-cta-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
}

/* ==========================================================================
   STICKY MOBILE CTA BAR
   ========================================================================== */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 200;
    background: var(--walnut-deep);
    box-shadow: 0 -2px 12px rgba(0,0,0,.3);
    border-top: 2px solid var(--honey);
  }

  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem .5rem;
    font-family: var(--ff-body);
    font-size: .85rem;
    font-weight: 600;
    color: var(--cream);
    text-decoration: none;
    transition: background .2s var(--ease);
  }

  .mobile-cta-bar a:first-child {
    border-right: 1px solid rgba(255,255,255,.12);
  }

  .mobile-cta-bar a:active {
    background: rgba(255,255,255,.08);
  }

  .mobile-cta-bar svg {
    flex-shrink: 0;
  }

  /* prevent content from being hidden behind the bar */
  .footer {
    padding-bottom: 5rem;
  }
}
