:root {
  --bg: #f6f0ea;
  --surface: #fffcf8;
  --text: #1e1b18;
  --muted: #6b625c;
  --line: #d9cdc2;
  --taupe: #b79a85;
  --taupe-deep: #9e7f6b;
  --taupe-light: #dccfc4;
  --cream: #f3eae1;

  --max: 1100px;
  --radius: 20px;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(100, 70, 40, 0.05);
  --shadow-hover: 0 20px 30px -12px rgba(90, 60, 40, 0.2);
  --transition: 220ms ease;
  --focus: 2px solid var(--taupe);
  --focus-offset: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* Subtle background texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgdmlld0JveD0iMCAwIDgwIDgwIj48cGF0aCBkPSJNMzAgMTBhMTAgMTAgMCAwIDEgMjAgMCAxMCAxMCAwIDAgMS0yMCAweiIgZmlsbD0iI2NjY2NjYyIgb3BhY2l0eT0iMC4wMjUiLz48cGF0aCBkPSJNNTAgMzBhMTAgMTAgMCAwIDEgMjAgMCAxMCAxMCAwIDAgMS0yMCAweiIgZmlsbD0iI2NjY2NjYyIgb3BhY2l0eT0iMC4wMjUiLz48cGF0aCBkPSJNMTAgNTBhMTAgMTAgMCAwIDEgMjAgMCAxMCAxMCAwIDAgMS0yMCAweiIgZmlsbD0iI2NjY2NjYyIgb3BhY2l0eT0iMC4wMTUiLz48L3N2Zz4=");
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 999;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--taupe);
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: var(--focus);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 32px;
  position: relative;
  z-index: 2;
}

/* Header */
header {
  background: rgba(255, 252, 248, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185, 150, 130, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
}

.logo-mark {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--taupe-deep);
  text-decoration: none;
  border-right: 1.5px solid var(--taupe-light);
  padding-right: 22px;
  line-height: 1.2;
  transition: color var(--transition);
}
.logo-mark:hover {
  color: #7f6250;
}

/* Hamburger button – hidden on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--taupe-light);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  cursor: pointer;
  position: relative;
  color: var(--taupe-deep);
  font-size: 1.8rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
  touch-action: manipulation;
}
.menu-toggle:hover {
  background: var(--cream);
  border-color: var(--taupe);
}
.menu-toggle[aria-expanded="true"] .menu-icon::before {
  content: "✕";
}
.menu-icon::before {
  content: "☰";
  font-size: 2rem;
  font-weight: 300;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.83rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text);
  text-decoration: none; /* default */
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: transparent;
  padding: 6px 0;
  transition: color var(--transition), text-decoration-color var(--transition);
  white-space: nowrap;
}

.nav-links a + a::before {
  content: "|";
  color: var(--taupe-light);
  margin-right: 16px;
  font-weight: 300;
  display: inline-block;
  text-decoration: none !important; /* keep separator clean */
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--taupe-deep);
  text-decoration-line: underline; /* underline word only */
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: var(--focus);
  outline-offset: var(--focus-offset);
  border-radius: 6px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--taupe-light);
  color: var(--taupe-deep);
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  z-index: 45;
  backdrop-filter: blur(4px);
  line-height: 1;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: #fff;
}

.social-icons { display: flex; gap: 10px; margin-top: 2px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); text-decoration: none; transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition); }
.social-icon svg { width: 15px; height: 15px; }
.social-icon:hover { color: var(--taupe-deep); border-color: var(--taupe); background: var(--cream); transform: translateY(-2px); }

/* Mobile menu styles */
@media (max-width: 700px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--taupe-light);
    backdrop-filter: blur(8px);
    gap: 14px;
  }

  .main-nav.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a + a::before {
    display: none; /* remove separators in mobile menu */
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .logo-mark {
    border-right: none; /* already removed for mobile, but ensure */
  }
}

/* Premium full-width slideshow */
.slideshow-container {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  z-index: 5;
  isolation: isolate;
  border-top: 1px solid rgba(185, 150, 130, 0.25);
  border-bottom: 1px solid rgba(185, 150, 130, 0.25);
  background:
    radial-gradient(1200px 520px at 50% -10%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.02)),
    #ddd1c6;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
  touch-action: pan-y pinch-zoom;
}

.slides {
  display: flex;
  height: min(74vh, 760px);
  transition: transform 820ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  overflow: hidden;
  outline: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.045);
  transform-origin: center;
  filter: brightness(0.97) saturate(1.02) contrast(1.02);
  transition: transform 6.8s cubic-bezier(0.2, 0.65, 0.25, 1), filter 260ms ease;
}

.slide.active img {
  transform: scale(1.115);
  filter: brightness(1) saturate(1.04) contrast(1.03);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20, 15, 11, 0.02) 0%, rgba(20, 15, 11, 0.11) 45%, rgba(20, 15, 11, 0.42) 100%);
}

/* Luxury caption card */
.slide-caption {
  position: absolute;
  z-index: 12;
  left: clamp(16px, 5.5vw, 84px);
  bottom: clamp(76px, 14vh, 132px);
  max-width: min(700px, calc(100% - 32px));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  padding: 18px 20px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.slide-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 640;
}

.slide-caption h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.slide-caption p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.93rem, 1.5vw, 1.03rem);
  max-width: 58ch;
  line-height: 1.52;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  color: #2a1f18;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.slide-cta:hover {
  transform: translateY(-2px);
  background: #fffdfb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  cursor: pointer;
  z-index: 22;
  opacity: 0;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), opacity 220ms ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  touch-action: manipulation;
}

.slideshow-container:hover .slider-arrow,
.slideshow-container:focus-within .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.34);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.arrow-left { left: 24px; }
.arrow-right { right: 24px; }

/* Meta + dots */
.slide-meta {
  position: absolute;
  right: clamp(12px, 2.5vw, 24px);
  bottom: clamp(58px, 8vw, 76px);
  z-index: 23;
}

.slide-count {
  color: #fff;
  background: rgba(23, 18, 14, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 6px 12px;
  min-width: 70px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  font-weight: 650;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dots-container {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 23;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(24, 18, 14, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
  padding: 0;
  touch-action: manipulation;
}

.dot.active {
  width: 24px;
  background: #fff;
}

/* Thumbnail strip */
.thumbs-container {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 23;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(92vw, 860px);
  overflow-x: auto;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(23, 18, 14, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  scrollbar-width: thin;
}

.thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 52px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  padding: 0;
  opacity: 0.74;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb.active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Progress */
.carousel-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  z-index: 24;
  background: rgba(255, 255, 255, 0.24);
}

#carouselProgress {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f3eae1, #b79a85);
}

@media (max-width: 980px) {
  .slides { height: 64vh; }
  .slide-caption { bottom: 90px; }
  .thumb { width: 76px; height: 46px; }
}

@media (max-width: 700px) {
  .slides { height: 54vh; }

  /* Soft dark gradient on the image — keeps photo visible, makes text readable */
  .slide::after {
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(20, 14, 10, 0.18) 0%,
      rgba(20, 14, 10, 0.32) 45%,
      rgba(20, 14, 10, 0.78) 100%
    );
    z-index: 11;
  }

  /* Caption is now clean text on the gradient — no glass panel covering image */
  .slide-caption {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 56px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .slide-kicker {
    font-size: 0.62rem;
    margin-bottom: 8px;
    padding: 3px 9px;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .slide-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  }

  .slide-caption p {
    font-size: 0.86rem;
    margin-bottom: 14px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  }

  .slide-cta {
    padding: 9px 16px;
    font-size: 0.66rem;
  }

  .slider-arrow { display: none; }

  .slide-meta {
    right: 10px;
    bottom: 46px;
  }

  .dots-container {
    bottom: 10px;
  }

  .thumbs-container {
    display: none; /* cleaner mobile UI */
  }

  .carousel-progress {
    height: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slides,
  .slide img,
  .slider-arrow,
  .dot,
  .thumb,
  #carouselProgress {
    transition: none !important;
  }

  .slide.active img {
    transform: none !important;
  }
}

/* === Carousel visibility rules === */

/* Desktop/tablet default */
.dots-container {
  display: none; /* hide dots on desktop */
}

.thumbs-container {
  display: flex; /* show thumbnails on desktop */
}

/* Hide slide count on all devices */
.slide-meta {
  display: none !important;
}

/* Mobile only */
@media (max-width: 700px) {
  .dots-container {
    display: flex; /* show dots on mobile */
  }

  .thumbs-container {
    display: none; /* hide thumbnails on mobile */
  }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.15, 0.85, 0.35, 1), transform 0.7s cubic-bezier(0.15, 0.85, 0.35, 1);
  will-change: opacity, transform;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
main section {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
section:last-of-type { border-bottom: none; }

h1, h2, h3 {
  color: #1e1b18;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.2;
  max-width: 900px;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

p {
  margin-bottom: 1.15rem;
  color: #2c2824;
  font-size: 1.03rem;
  font-weight: 370;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-muted {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-muted::before {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--taupe-light);
  flex-shrink: 0;
}

/* Image placeholders */
.img-placeholder {
  overflow: hidden;
  border-radius: 24px;
  background: #e2d6cc;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3) sepia(0.1) brightness(1.02);
  mix-blend-mode: multiply;
  opacity: 0.92;
  transition: transform 0.4s ease;
}
.img-placeholder:hover img {
  transform: scale(1.02);
}

.hero-img {
  width: 100%;
  max-height: 260px;
  margin: 30px 0 14px;
  border-radius: 30px;
}

.card-img {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  margin-bottom: 16px;
  background: var(--taupe-light);
}

.blockquote-img {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  flex-shrink: 0;
}

.reset-img {
  width: 100%;
  max-height: 180px;
  border-radius: 30px;
  margin: 24px 0 14px;
}

.quote-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

blockquote {
  margin: 0;
  flex: 1;
  padding: 20px 28px;
  background: var(--cream);
  border-left: 5px solid var(--taupe);
  border-radius: 0 36px 36px 0;
  color: #2f2a25;
  font-style: italic;
  font-size: 1.12rem;
  font-weight: 360;
  box-shadow: var(--shadow-sm);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 40px 0 14px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(185, 150, 130, 0.15);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(2px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--taupe-light);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 8px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 650;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
  border: 1.5px solid var(--taupe-deep);
  color: var(--text);
  background: transparent;
  backdrop-filter: blur(2px);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--taupe-deep);
  color: #fff;
  border-color: var(--taupe-deep);
  box-shadow: 0 4px 10px rgba(158, 127, 107, 0.3);
}

.btn-primary:hover {
  background: #8c6f5c;
  border-color: #8c6f5c;
  box-shadow: 0 8px 18px rgba(140, 111, 92, 0.25);
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background: var(--cream);
  border-color: var(--taupe);
  color: #2f2a25;
  transform: translateY(-2px);
}

ul {
  list-style: none;
  margin: 28px 0 14px;
  padding: 0;
}

li {
  margin: 14px 0;
  padding-left: 32px;
  color: #312c27;
  font-weight: 420;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b79a85' stroke-width='2'><circle cx='12' cy='12' r='6'/></svg>") left center no-repeat;
  background-size: 18px;
}

li strong {
  color: var(--taupe-deep);
  font-weight: 620;
}

footer {
  margin-top: 24px;
  padding: 30px 0 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-symbol {
  color: var(--taupe);
  font-size: 1.15rem;
}

::selection {
  background: var(--taupe);
  color: #fff;
}

@media (max-width: 700px) {
  .wrap {
    padding: 16px 20px;
  }

  .logo-mark {
    border-right: none;
    border-bottom: none;
    padding-right: 0;
    padding-bottom: 0;
    width: auto;
  }

  .btn-row .btn {
    width: 100%;
    text-align: center;
  }

  .quote-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slides,
  .fade-up,
  .card,
  .btn,
  .slider-arrow,
  .dot,
  .back-to-top {
    transition: none !important;
  }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }

  .back-to-top {
    transition: opacity 0.1s, visibility 0.1s;
  }
}

/* 404 page-specific styles (works on top of shared styles.css) */

.error-box {
  background: var(--surface);
  border: 1px solid rgba(185, 150, 130, 0.25);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 44px 0 16px;
  box-shadow: var(--shadow-sm);
}

.error-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  background: var(--cream);
  border: 1px solid var(--taupe-light);
}

.error-box h1 {
  margin-bottom: 12px;
}

.error-box p {
  max-width: 72ch;
}

.error-links {
  margin-top: 10px;
}

.error-actions {
  margin-top: 14px;
}

.error-code {
  margin-top: 6px;
}

@media (max-width: 700px) {
  .error-box {
    padding: 20px 16px;
    margin-top: 28px;
  }
}
