/* ===============================
   H&H — Custom Theme Styles (mobile-first)
   =============================== */

/* ---------- 1) Design tokens ---------- */
:root {
  --sage: #4d6b5c;
  --darksage: #33473d;
  --leather: #a35325;
  --darkgrey: #807a73;
  --stone: #bfb7ac;
  --teal: #a3c4bf;
  --charcoal: #232323;
  --linen: #efebe7;
  --offwhite: #d9d9d9;
  --white: #fff;
  --black: #000;
  --darklinen: #5f6368;
  --c-overlay: rgba(51, 71, 61, 0.85);
  --c-overlay-strong: rgba(51, 71, 61, 1);

  --r-lg: 5px;
  --z-search: 9999;
  --z-nav: 9998;

  --t-fast: 0.2s ease;
  --t-med: 0.4s ease;
  --t-slow: 0.6s ease;
}

/* ---------- 2) Base ---------- */
html {
  box-sizing: border-box;
}

html {
  overflow-y: auto;
}
body {
  overflow-x: hidden;
} /* keep horizontal hidden if needed */
.site,
#page {
  overflow: visible;
} /* ensure these aren't scrollers */

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--charcoal);
  background: white;
  margin: 0;
  font-weight: 300;
}

p {
  line-height: 1.75;
}

b,
strong {
  font-weight: 600;
}

/* Links (don’t fight Bootstrap colors unless you want to) */
a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

/* Accessibility */
a.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}
a.skip-link:focus {
  left: 0;
  width: auto;
  height: auto;
  background: var(--stone);
  color: var(--charcoal);
  padding: 1rem;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  top: 5px;
  width: auto;
  z-index: 100000;
}
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Focus outline */
a,
button,
.btn,
.nav-link {
  outline: none !important;
}
a:focus,
button:focus,
.btn:focus,
.nav-link:focus {
  outline: 2px dashed var(--leather);
  outline-offset: 2px;
}

/* ---------- 3) Typography (mobile-first) ---------- */
h1,
h2,
h3 {
  font-family: "Platypi", serif;
  font-weight: 300;
}

/* Smaller by default (mobile) */
h1 {
  font-size: 1.75rem;
}
h2 {
  font-size: 1.55rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.2;
}
h5 {
  font-size: 1.125rem;
  font-weight: 300;
}
h6 {
  font-size: 1rem;
  font-weight: 300;
}

.section-title-form {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
}

/* Hero headline */
.main-home h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
} /* reduced overall */

/* Font utility classes */
.font-platypi {
  font-family: "Platypi", serif;
  font-weight: 300;
}

.font-jakarta,
.gsection_title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 300;
}

li {
  padding: 0.25rem 0;
}

.single-perspectives {
  font-size: 2.5rem;
}
/* Step up at md+ */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4,
  .section-title-form,
  .gsection_title {
    font-size: 1.25rem;
  }
}

/* Step up more at lg+ */
@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.35rem;
  }
  h3 {
    font-size: 2rem;
  }
  .single-perspectives {
    font-size: 3.5rem;
  }
}

/* ---------- 4) Buttons (scoped look; won’t fight .btn variants) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  font-weight: 300;
}
.btn .btn-text {
  transition: transform 0.3s;
}
.btn .btn-arrow {
  opacity: 0;
  transform: translateX(5px);
  margin-left: -1rem;
  font-size: 1rem;
  transition: opacity 0.3s, transform 0.3s;
}
.btn:hover .btn-arrow,
.btn:focus .btn-arrow {
  opacity: 1;
  margin-left: 0;
  transform: translateX(0);
}
.btn:hover .btn-text,
.btn:focus .btn-text {
  transform: translateX(-10px);
}

.btn-o-white {
  color: var(--white) !important;
  border: 1px solid var(--white);
}
.btn-f-white {
  color: var(--charcoal) !important;
  background: var(--white);
}
.btn-o-black {
  color: var(--charcoal) !important;
  border: 1px solid var(--charcoal);
}
.btn-f-sage {
  color: var(--white) !important;
  background: var(--sage);
}
.btn-o-white:hover,
.btn-o-white:focus {
  background: var(--white);
  color: var(--charcoal) !important;
}
.btn-f-white:hover,
.btn-f-white:focus {
  background: var(--stone);
  color: var(--charcoal) !important;
}
.btn-o-black:hover,
.btn-o-black:focus {
  background: var(--charcoal);
  color: var(--white) !important;
}
.btn-f-sage:hover,
.btn-f-sage:focus {
  background: var(--darksage);
  color: var(--white) !important;
}

/* ---------- 5) Header / Nav ---------- */
#main-header {
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  background: transparent;
  font-size: 0.85rem;
}
#main-header.sticky {
  background: var(--teal);
  min-height: 65px;
  box-shadow: 0 2px 10px rgba(77, 107, 92, 0.14);
}

#main-banner {
  position: relative;
  background: var(--charcoal);
  min-height: 40px;
  color: var(--white);
  overflow: hidden;
  font-size: 0.7rem;
  transition: min-height 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}
#main-banner .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: 1;
}
#main-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: left;
  margin: 3px 0px;
  text-align: center;
}
#main-banner a {
  padding: 1px 8px;
  transition: all 0.5s ease;
  letter-spacing: 4px;
}

.main-nav {
  background: transparent;
  transition: background 0.45s;
  text-align: center;
}
#main-header.sticky .main-nav {
  background: var(--teal);
}

.main-nav .nav-item {
  min-width: 120px;
}

.logo-stack {
  position: relative;
  display: inline-block;
  /* height: 56px; */
  width: 120px;
}
.logo-stack img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  transition: opacity 0.3s ease;
  width: 120px;
}
.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.navbar-nav .nav-link {
  font-weight: 300;
  color: var(--white);
  padding: 1rem;
  transition: color 0.2s ease;
  font-size: 1.05rem;
}

.navbar-nav .nav-link:hover,
#main-banner a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: white;
}

.navbar-nav .dropdown-menu {
  border-radius: 0;
}

.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.breadcrum a .text-hover-a,
footer a,
.icons a i {
  transition: all 0.5s ease;
}
.breadcrum a:hover,
.text-hover-a:hover,
.icons a:hover i,
footer a:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
@media (min-width: 768px) {
  #main-banner {
    font-size: 0.85rem;
    min-height: 50px;
  }

  #main-banner a {
    padding: 5px 8px;
  }

  #main-banner .banner-content {
    text-align: left;
  }

  .banner-content .banner-link:not(:last-child) {
    border-right: 1px solid #fff;
    padding-right: 1rem !important;
    margin-right: -1rem;
  }
}

/* widen logo on larger screens */
@media (min-width: 992px) {
  .logo-stack {
    /*height: 50px; */
    width: 150px;
  }
  .logo-stack img {
    width: 150px;
  }

  #main-header.sticky .navbar-nav .nav-link {
    color: var(--charcoal);
  }
  #main-header {
    font-size: 0.9rem;
  }
}

/* ---------- 6) Sections / Utilities ---------- */
.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--leather);
  font-family: "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.bg-sage {
  background: var(--sage);
  color: var(--white);
}
.bg-leather {
  background: var(--leather);
  color: var(--white);
}
.bg-stone {
  background: var(--stone);
}
.bg-linen {
  background: var(--linen);
}
.bg-charcoal {
  background: var(--charcoal);
  color: var(--white);
}
.bg-teal {
  background: var(--teal);
  color: var(--charcoal);
}
.bg-white {
  background: var(--white);
}

.bg-offwhite {
  background: var(--offwhite);
}

.text-sage {
  color: var(--sage);
}
.text-leather {
  color: var(--leather);
}
.text-stone {
  color: var(--stone);
}
.text-linen {
  color: var(--linen);
}
.text-charcoal {
  color: var(--charcoal);
}
.text-teal {
  color: var(--teal);
}
.text-white {
  color: var(--white);
}

.gform-theme--framework .gf_progressbar .percentbar_blue {
  background-color: var(--sage) !important;
}

.gform_button,
.gform_next_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0 !important;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  font-weight: 300;
}

.gform_button {
  color: var(--white) !important;
  background: var(--sage) !important;
}

.gform_next_button {
  background-color: white !important;
  color: var(--charcoal) !important;
  border: 1px solid var(--charcoal) !important;
}

.gform-theme--framework
  input[type="radio"]:where(
    :not(.gform-theme__disable):not(.gform-theme__disable *):not(
        .gform-theme__disable-framework
      ):not(.gform-theme__disable-framework *)
  )::before {
  background-color: var(--sage) !important;
}

.gform-theme--framework
  input[type="checkbox"]:where(
    :not(.gform-theme__disable):not(.gform-theme__disable *):not(
        .gform-theme__disable-framework
      ):not(.gform-theme__disable-framework *)
  )::before {
  accent-color: var(--sage) !important;
  color: var(--sage) !important;
}

.kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hh-excellence .media-wrapper {
  min-height: clamp(420px, 75vh, 650px);
}
.object-fit-cover {
  object-fit: cover;
}

footer .footer-links a {
  color: var(--white);
  display: block;
  padding: 0.5rem 0rem;
}

.text-underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-link:hover {
  color: inherit;
}

.underline-linen {
  border-bottom: 4px solid var(--linen);
  width: fit-content;
  padding-bottom: 2rem;
}
.navbar-brand img {
  transition: height 0.2s ease;
}
.bottom-25 {
  bottom: 25px;
}

.equal-collection-cat {
  min-height: 50px;
}

.hh-material-tile {
  cursor: pointer;
}

/* Background image base styles */
.hh-material-tile__bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.45s ease;
}

/* Zoom on hover + keyboard focus */
.hh-material-tile:hover .hh-material-tile__bg,
.hh-material-tile:focus-within .hh-material-tile__bg {
  transform: scale(1.1);
}

/* Move heavy overlaps to desktop only */
@media (min-width: 992px) {
  #collections .collection-con,
  #craft .container {
    margin-bottom: -8rem;
    z-index: 10;
    position: relative;
  }

  .equal-collection-cat {
    min-height: 250px;
  }
}

/* ---------- 7) Carousels ---------- */
/* Slick dots as thin lines */
.slick-dots li button:before {
  content: "";
  display: block;
  width: 20px;
  height: 3px;
  background: #ccc;
  border-radius: 0;
  opacity: 0.6;
  transition: all 0.3s ease;
}
.slick-dots li.slick-active button:before {
  background: #000;
  opacity: 1;
  width: 20px;
}

/* Product carousel hover */
.product-carousel .slick-slide .card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
  border: none;
}

.product-carousel .slick-list {
  padding-right: 96px;
}
@media (min-width: 992px) {
  .product-carousel .slick-list {
    padding-right: 0;
  }

  .product-carousel .slick-slide:hover .card {
    transform: translateY(-15px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
  }
}

/* Stories carousel: equal heights + peeking next slide */
.stories-carousel .slick-track {
  display: flex !important;
}
.stories-carousel .slick-slide {
  display: flex;
  height: auto;
  margin-right: 24px;
  opacity: 0.3;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.96);
}
.stories-carousel .slick-active {
  opacity: 0.6;
}
.stories-carousel .slick-current {
  opacity: 1;
  transform: scale(1);
}
.stories-carousel .card {
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.stories-carousel .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stories-carousel .slick-list {
  padding-right: 100px;
}
@media (min-width: 992px) {
  .stories-carousel .slick-list {
    padding-right: 250px;
  }
}
@media (max-width: 576px) {
  .stories-carousel .slick-list {
    padding-right: 100px;
  }
}

/* ---------- 8) Decorative cross lines ---------- */
/* Mobile-first (base) */
.cross-lines {
  --size: 90px; /* mobile size */
  --line-color: var(--stone);
  --thickness: 0.75px;
  --h-duration: 1.2s;
  --v-duration: 1.2s;
  --stagger: calc(var(--h-duration) * 0.5);
  position: absolute;
  width: var(--size);
  height: var(--size);
  pointer-events: none;
}

/* elements */
.cross-lines__h,
.cross-lines__v {
  position: absolute;
  background: var(--line-color);
  transform: scale(0);
  transition-property: transform;
}
.cross-lines.aos-animate .cross-lines__h {
  transform: scaleX(1);
}
.cross-lines.aos-animate .cross-lines__v {
  transform: scaleY(1);
}

/* Positions (same as before) */
.cross-lines--tl {
  top: 20%;
  left: 0%;
  transform: translate(-50%, -50%);
}
.cross-lines--tl .cross-lines__h {
  top: 20%;
  left: 0;
  right: 0;
  height: var(--thickness);
  transform-origin: left;
  transition-duration: var(--h-duration);
}
.cross-lines--tl .cross-lines__v {
  left: 20%;
  top: 0;
  bottom: 0;
  width: var(--thickness);
  transform-origin: top;
  transition-duration: var(--v-duration);
  transition-delay: var(--stagger);
}

.cross-lines--br {
  right: 0%;
  bottom: 20%;
  transform: translate(50%, 50%);
}
.cross-lines--br .cross-lines__h {
  bottom: 20%;
  left: 0;
  right: 0;
  height: var(--thickness);
  transform-origin: right;
  transition-duration: var(--h-duration);
}
.cross-lines--br .cross-lines__v {
  right: 20%;
  top: 0;
  bottom: 0;
  width: var(--thickness);
  transform-origin: bottom;
  transition-duration: var(--v-duration);
  transition-delay: var(--stagger);
}

.cross-lines--bl {
  left: 0%;
  bottom: 20%;
  transform: translate(-50%, 50%);
}
.cross-lines--bl .cross-lines__h {
  bottom: 20%;
  left: 0;
  right: 0;
  height: var(--thickness);
  transform-origin: left;
  transition-duration: var(--h-duration);
}
.cross-lines--bl .cross-lines__v {
  left: 20%;
  top: 0;
  bottom: 0;
  width: var(--thickness);
  transform-origin: bottom;
  transition-duration: var(--v-duration);
  transition-delay: var(--stagger);
}

/* Scale UP on larger screens (Bootstrap breakpoints) */
@media (min-width: 768px) {
  /* md */
  .cross-lines {
    --size: 140px;
    --thickness: 1px;
  }
}
@media (min-width: 992px) {
  /* lg */
  .cross-lines {
    --size: 180px;
  } /* your original desktop size */
}

/* ---------- 9) Small helpers ---------- */
.border-line {
  border: 1px solid var(--charcoal);
  margin: 1rem 0;
}

.w-md-80 {
  width: 90% !important;
}

/* Responsive width helpers (only where you used them) */
@media (min-width: 768px) {
  .w-md-80 {
    width: 80% !important;
  }

  /* Base */
  .cross-lines {
    --size: 200px;
  }

  .cross-lines--bl {
    left: 2%;
  }

  .cross-lines--br {
    right: 2%;
  }

  .cross-lines--tl {
    left: 2%;
  }
}
@media (min-width: 992px) {
  .w-lg-50 {
    width: 50% !important;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================
   HERO (improved mobile-first)
   ========================= */

.hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);

  /* more mobile-friendly than 100vh */
  min-height: 70vh;
  display: grid;
  align-items: center;
}

/* progressive height increase */
@media (min-width: 768px){
  .hero{ min-height: 85vh; }
}
@media (min-width: 1200px){
  .hero{ min-height: 98vh; }
}

/* background image */
.hero__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: none; /* important: don’t darken via filter */
}

/* overlay for readability (matches your palette) */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(51, 71, 61, 0.25) 0%,
    rgba(51, 71, 61, 0.55) 55%,
    rgba(51, 71, 61, 0.80) 100%
  );
}

/* content spacing */
.hero__content{
  position: relative;
  padding-top: clamp(1.25rem, 3vw, 3.25rem);
  padding-bottom: clamp(1.75rem, 4vw, 4.5rem);
}

/* inner wrapper (replaces w-65 / w-lg-50 on mobile) */
.hero__inner{
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding-inline: 0.75rem;
}

@media (min-width: 992px){
  .hero__inner{
    max-width: 48rem;
    text-align: left;
    margin: 0;
  }
}

/* responsive hero type */
.hero__title{
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.hero__sub{
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* CTA better for thumbs */
.hero__cta{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.15rem;
}

@media (max-width: 575.98px){
  .hero__cta{
    width: 100%;
    justify-content: center;
  }
}


/* =========================
   Utilities
   ========================= */
.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky {
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Prevent body scroll when overlays are open */
body.search-active,
body.mobile-nav-open {
  overflow: hidden;
}

.ls-1 {
  letter-spacing: 1px;
}
.ls-2 {
  letter-spacing: 2px;
}
.ls-3 {
  letter-spacing: 3px;
}

/* =========================
   Search Overlay
   ========================= */
.search-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--c-overlay);
  display: flex; /* keep layout; use opacity/visibility for transitions */
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-med), visibility var(--t-med);
  z-index: var(--z-search);
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay-content {
  text-align: center;
  width: 80%;
  max-width: 500px;
}
.search-form {
  position: relative;
  width: 100%;
}

.search-field {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  font-size: 1.2rem;
  border: none;
  border-radius: var(--r-lg);
  outline: none;
}

.search-submit {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 1.2rem;
  line-height: 0;
}

/* Keyboard focus */
.search-field:focus-visible,
.search-submit:focus-visible,
.close-mobile-nav:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* =========================
   Fullscreen Mobile Nav
   ========================= */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--c-overlay-strong);
  display: flex; /* keep layout for centering; transition via opacity/visibility */
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-slow), visibility var(--t-slow);
  z-index: var(--z-nav);
  overflow: auto;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-overlay .nav-link {
  display: block;
  padding: 1rem;
  font-size: 1.5rem;
  color: var(--white) !important;
  transition: color var(--t-fast);
}
.mobile-nav-overlay .nav-link:hover {
  color: #c4d4c8;
}

.close-mobile-nav {
  position: absolute;
  top: 45px;
  right: 25px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 0;
}

/* =========================
   Mobile Logo Stack (no hover swap)
   ========================= */
.logo-mobile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.logo-mobile img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  transition: opacity var(--t-fast);
}

.logo-mobile .logo-default {
  height: 60px;
}
.logo-mobile .logo-scroll {
  height: 40px;
  opacity: 0;
}

/* Activate smaller logo when scrolled on mobile */
body.mobile-sticky .logo-mobile .logo-scroll {
  opacity: 1;
}
body.mobile-sticky .logo-mobile .logo-default {
  opacity: 0;
}

/* =========================
   Mobile Header Controls + Bar
   ========================= */
.mobile-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-controls .icon-btn {
  background: none;
  border: 0;
  padding: 0;
  line-height: 0;
  transition: color var(--t-fast);
}
/* Homepage — icons WHITE */
body.home .mobile-controls .fa-solid,
body.front-page .mobile-controls .fa-solid {
  color: var(--white);
}

/* All other pages — icons BLACK */
body:not(.home):not(.front-page) .mobile-controls .fa-solid {
  color: var(--black) !important;
}

/* =========================
   Vision Section Container
   ========================= */
.hh-vision {
  position: relative;
  overflow: hidden;
  min-height: 650px;
}

/* =========================
   TEXT — initial state
   - hidden
   - lower
   - centered
   ========================= */
.hh-vision-text {
  opacity: 0;
  transform: translateY(40px);
  text-align: center;
  transition: opacity 0.7s ease, transform 0.7s ease, text-align 0.5s ease;
}

/* =========================
   IMAGE — initial state
   - hidden
   - off-screen RIGHT
   ========================= */
.hh-vision-image {
  opacity: 0;
  transform: translateX(120px); /* ✅ from RIGHT */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* =========================
   STEP 1 — text appears
   ========================= */
.hh-vision.is-visible .hh-vision-text {
  opacity: 1;
  transform: translateY(0);
}

/* Keep image hidden during step 1 */
.hh-vision.is-visible .hh-vision-image {
  opacity: 0;
  transform: translateX(120px);
}

/* =========================
   STEP 2 — image arrives
   ========================= */
.hh-vision.is-shifted .hh-vision-image {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   STEP 2 — text gets "pushed"
   (desktop only)
   ========================= */
@media (min-width: 768px) {
  .hh-vision.is-shifted .hh-vision-text {
    text-align: left;
    transform: translateY(0) translateX(-32px); /* ✅ push LEFT */
  }
}

/* =========================
   Mobile safety
   ========================= */
@media (max-width: 767.98px) {
  .hh-vision-text,
  .hh-vision.is-shifted .hh-vision-text {
    text-align: center;
    transform: translateY(0);
  }
}

.navbar-toggler {
  border: 0;
  color: black;
}
.navbar-toggler-icon {
  width: 1.6rem;
  height: 1.6rem;
}

/* Mobile bar layout: center logo, controls right */
.mobile-bar {
  position: relative;
  min-height: 56px;
}
.mobile-bar .logo-mobile {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.mobile-bar .mobile-controls {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* Homepage – white links */
.home .navbar .nav-link {
  color: var(--white);
}

/* All other pages – black links */
body:not(.home) .navbar .nav-link {
  color: var(--black);
}

/* Flip icon color after scroll on mobile */
body.mobile-sticky .mobile-controls .fa-solid {
  color: var(--black);
}

/* =========================
   Desktop Sticky Logo Fade
   ========================= */
#main-logo,
#scroll-logo {
  transition: opacity var(--t-fast);
}

#scroll-logo {
  max-width: 50px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: transparent;
  text-decoration: underline;
}

.nav-pills .nav-link {
  color: var(--charcoal) !important;
  border-radius: 0;
  transition: all 0.3s;
}

.nav-pills .nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/*Craft Video*/

.media-wrapper {
  position: relative;
}

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(120, 153, 146, 0.725);
  pointer-events: none; /* keeps it “invisible” to clicks */
  z-index: 0;
}

.blockquote-footer {
  color: var(--charcoal);
}

.craft-gradient {
  height: 250px;
}

@media (min-width: 992px) {
  .craft-gradient {
    height: 400px;
  }
}

/*FAQ Page*/

/* Centered intro copy */
.intro-paragraph {
  max-width: 600px;
}

/* FAQ accordion: single stacked cards, no default Bootstrap blue */
.accordion-faq {
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-focus-border-color: transparent;
  --bs-accordion-active-bg: var(--white);
  --bs-accordion-active-color: var(--charcol);
}

.accordion-faq .accordion-item {
  border: none;
  margin-bottom: 1.75rem;
}

/* Question row */
.accordion-faq .accordion-button {
  background-color: var(--white);
  color: var(--charcol);
  padding: 1.75rem 2rem;
  font-family: "Platypi", serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.4;
  box-shadow: none;
}

.accordion-faq .accordion-button:not(.collapsed) {
  color: var(--charcol);
  background-color: var(--white);
  box-shadow: none;
}

/* Remove colored focus ring */
.accordion-faq .accordion-button:focus {
  box-shadow: none;
}

/* Answer area with subtle top border */
.accordion-faq .accordion-body {
  padding: 0 2rem 2rem;
  font-size: 1rem;
  line-height: 1.7;
  background-color: var(--white);
}

/* Neutral caret icon */
.accordion-faq .accordion-button::after {
  filter: grayscale(1);
  opacity: 0.7;
}

.faq-line {
  width: 100%; /* adjust: 75%, 80%, etc. */
  margin: 0 auto 1.25rem; /* centered */
  border-top: 2px solid var(--charcoal);
  padding-bottom: 1.5rem;
}

#faq-accordion-main {
  max-width: 1000px;
  margin: 0 auto;
}

/*Swatch page*/
.swatch-img-pair {
  width: 100%;
}

.swatch-img-half {
  width: 48%;
  aspect-ratio: 1 / 1;
}

.swatch-card img {
  display: block;
}

.letter-spacing-1 {
  letter-spacing: 0.08em;
}

.hh-swatch-tabs {
  display: flex;
  width: 100%;
  border-bottom: none;
  gap: 1rem; /* spacing between tabs ONLY */
  background: white;
}

.hh-swatch-tabs .nav-item {
  margin: 0;
  flex: 1;
}

.hh-swatch-tabs .nav-link {
  border-radius: 0;
  border: none;
  background-color: var(--stone);
  color: var(--charcoal);
  padding: 1rem 0;
  font-size: 1.15rem;
}

.hh-swatch-tabs .nav-link.active {
  background-color: var(--linen);
  color: var(--charcoal);
}

.swatch-category-divider {
  border: 0;
  border-top: 1px solid rgba(var(--greycolor), 0.8);
}

.swatch-card {
  background: none;
}

.swatch-card .card-body {
  padding: 1rem 0;
}

.swatch-img-pair {
  display: flex;
  gap: 1rem; /* adjust spacing here */
}

/*Collections Page*/
/* Sticky left image, centered nicely */
.hh-left-sticky {
  position: sticky;
  top: 96px; /* adjust for your header/admin bar */
}
body.admin-bar .hh-left-sticky {
  top: 25px;
} /* if admin bar overlaps */
.hh-hero-box {
  /* centers sofa image */
  background: var(--white);
  border-radius: var(--r-lg);
}

.card {
  border-radius: 0;
}

.hh-related-carousel .hh-related-slide {
  padding: 0 0.5rem;
}

#consultation-form,
#contact-form {
  scroll-margin-top: 120px; /* adjust to your header height */
}
/* Right column scrolls independently */
.hh-right-scroll {
  max-height: calc(100vh - 140px); /* viewport minus header/padding */
  overflow-y: auto;
  padding-right: 0.25rem; /* avoid scrollbar hugging text */
}

/*Single Collection*/
/* Wrapper around the control */
.hh-size-select-wrapper {
  max-width: 320px !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: var(--stone);
}
/* "Closed" control */
.hh-size-select-shell .choices__inner {
  background-color: var(--linen); /* linen */
  border: 1px solid var(--stone);
  border-radius: 0px;
  padding: 0.5rem 0.75rem;
  min-height: 2.5rem;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-size: 0.95rem;
  color: #232323;
}

/* Focus ring */
.hh-size-select-shell .choices__inner.is-focused,
.hh-size-select-shell .choices__inner.is-open {
  border-color: var(--stone);
}

/* Dropdown panel */
.hh-size-select-shell .choices__list--dropdown {
  background-color: #f5eee6; /* slightly lighter linen */
  border: 1px solid #d6d0c9;
}

/* Items in dropdown */
.hh-size-select-shell .choices__list--dropdown .choices__item--selectable {
  color: #232323;
}

/* Hover / highlighted option */
.hh-size-select-shell
  .choices__list--dropdown
  .choices__item--selectable.is-highlighted {
  background-color: var(--stone); /* warm hover */
}

/* Arrow color tweak */
.hh-size-select-shell .choices__inner::after {
  border-color: #6f6a63 transparent transparent transparent;
}

.hh-size-select-shell .choices__list--dropdown .choices__list,
.hh-size-select-shell .choices__list[aria-expanded] .choices__list {
  background-color: var(--linen) !important;
}

.hh-size-select-shell .is-focused .choices__inner,
.is-open .choices__inner {
  background-color: var(--white); /* warm hover */
}

.hh-size-select-shell .is-open .choices__inner {
  border-radius: 0;
}
.hh-size-select-shell
  .choices__list--dropdown
  .choices__item--selectable.is-highlighted,
.hh-size-select-shell
  .choices__list[aria-expanded]
  .choices__item--selectable.is-highlighted {
  background-color: var(--stone); /* warm hover */
}

@media (max-width: 991.98px) {
  .hh-right-scroll {
    max-height: none; /* normal flow on mobile */
    overflow: visible;
  }
}

.hh-hero-box {
  min-height: 300px; /* taller box so image can grow */
}

@media (min-width: 767.98px) {
  .hh-hero-box {
    min-height: 450px; /* taller box so image can grow */
  }
}

.hh-product-image {
  max-width: 110%; /* “zoom” a bit */
  height: auto;
  object-fit: contain; /* keep full image visible */
}

/* Light linen back for accordion button (matches mock) */
.accordion-button:not(.collapsed) {
  background: var(--linen);
  color: var(--charcoal);
}

.accordion-button {
  border-radius: 0px !important;
  box-shadow: none !important;
}
.accordion-button::after {
  /* keep default chevron behavior */
  filter: grayscale(1) contrast(2);
}

/* Hide scrollbar (keep scroll behavior) */
.hh-right-scroll {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.hh-right-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.hh-left-sticky {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding-top: 5rem;
}

.hh-hero-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}
.hh-hero-box img {
  max-height: 90vh;
  object-fit: contain;
  object-position: center;
}

.hh-right-scroll > * {
  max-width: 100%;
}

/* Mobile: make hero image less tall */
@media (max-width: 767.98px) {
  .hh-hero-box.ratio-4x3::before {
    /* default is 75%; lower = less tall */
    padding-top: 55%;
  }

  .hh-hero-box {
    margin: 0 auto 1.5rem; /* center image, add bottom space */
  }

  .hh-hero-box img {
    object-fit: contain;
  }
}

/* Desktop: sticky */
@media (min-width: 992px) {
  .hh-left-sticky {
    position: sticky;
    top: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 250px);
  }
}

/* Mobile: normal flow, no sticky */
@media (max-width: 991.98px) {
  .hh-left-sticky {
    position: static;
  }
}

/* Wrapper around each swatch image */
.swatch-img-wrapper {
  position: relative;
  overflow: hidden;
}

/* Skeleton loader */
.swatch-img-loader {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e4ddd4 0%, #f1ebe3 40%, #e4ddd4 80%);
  background-size: 200% 100%;
  animation: swatch-shimmer 1.2s infinite;
}

/* Hide loader when loaded */
.swatch-img-wrapper.is-loaded .swatch-img-loader {
  opacity: 0;
  visibility: hidden;
}

/* Fade the image in */
.swatch-img-wrapper img {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.swatch-img-wrapper.is-loaded img {
  opacity: 1;
}

/* Shimmer animation */
@keyframes swatch-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/*Collections*/

.collection-card {
  transition: transform 0.3s ease;
}

.collection-card:hover {
  transform: translateY(-10px);
}

.image-wrapper {
  overflow: hidden;
}

.collection-image {
  transition: transform 0.4s ease;
}

/* Mobile: border on bottom */
.contact-divider {
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
}

/* Desktop: border on right */
@media (min-width: 992px) {
  .contact-divider {
    border-bottom: none;
    border-right: 1px solid #ddd;
    padding-right: 2rem;
    padding-bottom: 0;
  }
}

/* Custom Page**/

.custom-img {
  max-width: 320px;
}

@media (min-width: 992px) {
  .custom-img {
    max-width: 520px;
  }
}

/* Perspectives Page*/

/* Featured article container */
.featured-article {
  position: relative;
  cursor: pointer;
}

/* Gradient overlay */
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

/* Hover affordance */
.featured-article h2 {
  text-decoration: none;
  transition: text-decoration-color 0.2s ease;
}

.featured-article:hover h2 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Default (desktop/tablet): inline row */
.perspectives-category-row .nav {
  display: flex; /* .nav already is flex in Bootstrap, but this is safe */
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile: one category per line */
@media (max-width: 767.98px) {
  .perspectives-category-row .nav {
    flex-direction: column;
    align-items: stretch; /* full width */
  }

  .perspectives-category-row .nav-item {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .perspectives-category-row .nav-link {
    width: 100%;
    text-align: center;
  }
}

/**********Home page********/
/* Amount of next-card peek */
.stories-carousel .slick-list {
  /* let the next slide show */
  padding-right: 250px; /* <-- controls how much you see */
}

/* Space between slides */
.stories-carousel .slick-slide {
  margin-right: 24px;
}

/* (Optional) adjust peek on smaller screens */
@media (max-width: 992px) {
  .stories-carousel .slick-list {
    padding-right: 96px;
  }
}
@media (max-width: 576px) {
  .stories-carousel .slick-list {
    padding-right: 56px;
  }
}

/* Prevent image drag/select fighting swipe */
.stories-carousel img {
  -webkit-user-drag: none;
  user-select: none;
}

.stories-carousel .slick-slide {
  opacity: 0.3;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.96); /* subtle shrink */
}

/* Active (in view) slides */
.stories-carousel .slick-active {
  opacity: 0.6;
}

/* Center or main/current slide */
.stories-carousel .slick-current {
  opacity: 1;
  transform: scale(1); /* bring to front */
}

/* Make all slides the same height */
.stories-carousel .slick-track {
  display: flex !important;
  align-items: stretch; /* ensure equal height */
}

.stories-carousel .slick-slide {
  display: flex; /* flex child of track */
  height: auto; /* let it grow */
}

/* IMPORTANT: flex the inner wrapper that Slick adds */
.stories-carousel .slick-slide > div {
  display: flex; /* allow its child to stretch */
  width: 100%;
  min-height: 250px;
}

/* Make the card fill the slide */
.stories-carousel .card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%; /* stretch to equal height */
}

.stories-carousel .card-body {
  flex: 1 1 auto; /* fill the card */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* keep footer line aligned */
}

.hh-feature-card {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  color: #ffffff;
}

.hh-feature-card__img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Gradient overlay sits at the bottom, slides up a bit on hover */
.hh-feature-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    var(--hh-card-color, #244c43),
    rgba(0, 0, 0, 0)
  );
  transform: translateY(4%); /* slightly down initially */
  opacity: 0.95;
  transition: transform 0.45s ease, height 0.45s ease, opacity 0.45s ease;
}

/* Text on top of gradient */
.hh-feature-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 2rem 2.1rem;
  z-index: 2;
  pointer-events: none; /* whole card clickable via <a> */
}

.hh-feature-card__title {
  line-height: 1.2;
}

.hh-feature-card__link-label {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hover effects: card lifts, image scales, gradient slides up, link appears */
.hh-feature-card:hover {
  transform: translateY(-10px);
}

.hh-feature-card:hover .hh-feature-card__img {
  transform: scale(1.03);
}

.hh-feature-card:hover .hh-feature-card__overlay {
  height: 55%; /* more coverage */
  transform: translateY(0);
  opacity: 1;
}

.hh-feature-card:hover .hh-feature-card__link-label {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
  .hh-feature-card__content {
    padding: 1.8rem 1.5rem 1.6rem;
  }

  .hh-feature-card__title {
    font-size: 1.5rem;
  }
}

/* Gallery base */
.hh-gallery__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Masonry: CSS columns */
.hh-gallery--masonry {
  column-gap: 1rem;
}
.hh-gallery--masonry .hh-gallery__item {
  break-inside: avoid;
  margin: 0 0 1rem;
}
.hh-gallery--masonry.hh-gallery--cols-2 {
  column-count: 1;
}
.hh-gallery--masonry.hh-gallery--cols-3 {
  column-count: 1;
}
.hh-gallery--masonry.hh-gallery--cols-4 {
  column-count: 1;
}

@media (min-width: 768px) {
  .hh-gallery--masonry.hh-gallery--cols-2 {
    column-count: 2;
  }
  .hh-gallery--masonry.hh-gallery--cols-3 {
    column-count: 3;
  }
  .hh-gallery--masonry.hh-gallery--cols-4 {
    column-count: 3;
  }
}
@media (min-width: 992px) {
  .hh-gallery--masonry.hh-gallery--cols-4 {
    column-count: 4;
  }
}
