/*
Theme Name: kingdavidcs
Theme URI: https://kingdavidcs.com
Author: Rafiat Daniju
Author URI: https://rafiatdaniju.netlify.app/
Description: A modern, animated WordPress theme. Fully responsive and accessible.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kingdavidcs

*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-ink: #20160C;
  --color-surface: #ffffff;
  --color-mid: #f3f3f3;
  --color-accent: #c8a96e;
  --color-accent-dk: #a6833e;
  --color-muted: #6b6b6b;
  --color-border: #e2ddd5;
  --color-hero-overlay: rgba(10, 10, 10, 0.52);

  --font-display: 'Optima', Georgia, serif;
  --font-body: 'Raleway', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.13);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-h: 90px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-surface);
  line-height: 1.7;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ============================================================
   SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--color-ink);
  color: var(--color-surface);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  max-width: 68ch;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section-pad {
  padding-block: var(--space-md);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-ink);
  color: var(--color-surface);
  border-color: var(--color-ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-muted);
  border-color: var(--color-muted);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 169, 110, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.65);
  border-radius: 0px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 4%;
  line-height: 1;
  padding: 1rem 3rem;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-surface);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
}

.spacer {
  width: 100%;
  height: 2px;
  border: none;
  background: linear-gradient(to right,
      transparent 0%,
      #EFB16F 18%,
      #EFB16F 80%,
      transparent 90%);
  opacity: 0.22;
  border-radius: 1px;
  margin: 3rem 0;
}

/* ============================================================
   HEADER
   ============================================================ */
   #masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
  }
  
  #masthead.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }
  
  /* Branding */
  .site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 1002;
  }
  
  
  .site-title-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-surface);
    transition: color var(--transition);
  }
  
  #masthead.scrolled .site-title-text {
    color: var(--color-ink);
  }
  
  /* ── Primary nav ── */
  .primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .primary-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
  }
  .primary-nav a:hover{
    color: var(--color-muted);
  }
  
  /* Underline track */
  .primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: width var(--transition);
  }
  
  /* Hover */
  .primary-nav a:hover::after,
  .primary-nav a:focus-visible::after {
    width: 100%;
  }
  
  /* Active page — WordPress adds .current-menu-item on the <li> */
  .primary-nav .current-menu-item > a::after,
  .primary-nav .current_page_item > a::after {
    width: 100%;
  }
  
  /* Scrolled state */
  #masthead.scrolled .primary-nav a {
    color: var(--color-muted);
  }
  
  #masthead.scrolled .primary-nav a:hover,
  #masthead.scrolled .primary-nav a:focus-visible {
    color: var(--color-ink);
  }
  
  /* ── Hamburger button ── */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 5px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1002;
  }
  
  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background var(--transition);
    transform-origin: center;
    width: 100%;
  }
  
  #masthead.scrolled .nav-toggle span,
  .nav-toggle.open span {
    background: var(--color-ink);
  }
  
  /* X animation */
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

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

.hero-tagline {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-mid);
  margin-bottom: 1.25rem;
  transform: translateY(20px);
  animation: fadeUp 0.7s 0.2s ease forwards;
  letter-spacing: 4%;
  line-height: 1;
}


.hero-title {
  color: var(--color-mid);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.4s ease forwards;
  font-weight: 900;
  font-size: 96px;
}

.hero-desc {
  color: var(--color-mid);
  margin-bottom: 1rem;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.6s ease forwards;
  font-weight: 400;
  font-size: 48px;
  letter-spacing: 37%;
  line-height: 1;
}

.hero-actions {
  margin-top: 2rem;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.8s ease forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2.2s infinite;
}

.hero-scroll-hint svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   SCROLL ANIMATIONS (Intersection Observer driven)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.stagger.visible>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s;
}

.stagger.visible>*:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}

.stagger.visible>*:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
#process {
  position: relative;
  overflow: hidden;
}

#process::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.process-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.process-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 10%;
  text-align: center;


}


.craftsmanship {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: baseline;
  gap: 0;
  max-width: 1400px;
  width: 100%;
}

/* ── Left: Text ── */
.craftsmanship__text {
  padding-right: 4rem;
  max-width: 540px;
}

.craftsmanship__heading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.craftsmanship__body {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

.craftsmanship__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
  display: inline-block;
}

.craftsmanship__link:hover {
  opacity: 0.55;
}

/* ── Right: Images ── */
.craftsmanship__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.craftsmanship__img-wrap {
  overflow: hidden;
}

/* First image: taller, starts lower */
.craftsmanship__img-wrap:first-child {
  aspect-ratio: 4 / 3;
}

/* Second image: taller, bleeds higher */
.craftsmanship__img-wrap:last-child {
  aspect-ratio: 4 / 7;
}

.craftsmanship__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.craftsmanship__img-wrap:hover img {
  transform: scale(1.03);
}




/* ============================================================
   STORE SECTION
   ============================================================ */
.showroom {
  display: flex;
}

.showroom-location {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  max-width: 33.333%;
}

/* Dark overlay — deepens on hover */
.showroom-location::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.15) 100%);
  transition: background 0.4s ease;
}

.showroom-location:hover::after {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.48) 50%,
      rgba(0, 0, 0, 0.22) 100%);
}

/* Image zoom on hover */
.showroom-location img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showroom-location:hover img {
  transform: scale(1.06);
}

/* Text block — centered over image */
.store-location {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showroom-location:hover .store-location {
  transform: translateY(-6px);
}

/* Store name — spacing widens on hover */
.store-header {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  transition: letter-spacing 0.4s ease;
}

.showroom-location:hover .store-header {
  letter-spacing: 0.26em;
}

/* Address */
.store-address {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s ease;
  order: 3;
}

.showroom-location:hover .store-address {
  color: rgba(255, 255, 255, 0.95);
}



/* ============================================================
   Location page
   ============================================================ */
/* ── Wrapper ─────────────────────────────────────────────── */

.location-container,
.location-container .img-container {
  display: flex;
  align-items: stretch;

}


/* IMAGES */
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.location-name {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 48px;
  letter-spacing: 10%;
  text-transform: uppercase;
  text-align: left;
  line-height: 1;
  margin-bottom: 1rem;
}

.location-contact {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 10%;
  text-align: left;
  line-height: 1;
  margin-bottom: 1rem;
}

.location-phone-no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 10%;
  align-self: start;
  margin-bottom: 1rem;
}

.store-location .btn {
  padding: 1rem 2rem;
  align-self: baseline;
}

/* Dark overlay — deepens on hover */
.sherman .showroom-location::after {
  background: linear-gradient(to top,
      rgba(99, 11, 105, 0.7) 0%,
      rgba(99, 11, 105, 0.7) 45%,
      rgba(99, 11, 105, 0.7) 100%);
}

.sherman,
.canoga {
  margin-bottom: 5rem;
}

.canoga .showroom-location::after {
  background: rgba(145, 44, 45, 0.7);

}



/* ============================================================
   Process page
   ============================================================ */
.process-page {
  padding: 50px 20px;
}

.process-page h1 {
  text-align: center;
  /* margin-bottom: 70px; */
  font-size: 1.5rem;
  letter-spacing: 50%;
  text-transform: uppercase;
  line-height: 1;
}

.process-page-cards .content {
  width: 53%;
  font-family: var(--font-display);

}

.process-page-cards .content h2 {
  text-align: left;
  font-size: 1.5rem;
  letter-spacing: 50%;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-page-cards .content p {
  font-size: 1rem;
  letter-spacing: 10%;
  line-height: 1;
}

.process-page-card {
  display: flex;
  gap: 20px;
  margin-bottom: 2rem;
  align-items: center;
}

.process-page-card .image {
  width: 70vw;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.process-page-card .image:hover img {
  transform: scale(1.06);
}
.process-page-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ============================================================
   Membership page
   ============================================================ */
  .membership-page h1 {
    font-size: 20px;
    letter-spacing: 10%;
    text-align: center;
    margin: 2rem 0;
  }
  .membership-desc{
    font-size: 14px;
    letter-spacing: 10%;
    line-height: 1;
    text-align: center;
    margin: 0.2rem auto;
    transform: translateY(20px);
    animation: fadeUp 0.7s 0.2s ease forwards;
  }
  .membership-tier h2 {
    font-size: 20px;
    letter-spacing: 10%;
    text-align: center;
    margin: 5rem auto;
  }
  .membership-tier-cards{
    display: flex;
    justify-content: space-between;
    padding-bottom: 3rem;
  }
  .membership-tier-card {
    width: 30%;
    border: 1px solid #000;
    font-family: var(--font-display);

  }
  .membership-tier-card p{
    text-align: center;
  }
  .membership-tier-card ul {
    text-align: center;
    margin: 1rem 0 3rem;
    list-style: disc;
    list-style-position: inside;
  }
  .membership-tier-card li {
    text-decoration: dotted;
  }
  .tier-name{
    background-color: #160F08;
    color: var(--color-surface);
    text-align: center;
    font-size: 1rem;
    letter-spacing: 10%;
    padding: 10px 0;
  }
  .tier-price {
    margin: 2rem auto;
    font-size: 36px;
    font-weight: 700;
  }




.brand-section {
  position: relative;
  font-family: var(--font-body);
  color: #F5F5F5;

  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  overflow: hidden;
}

/* ───────────────── IMAGE SIDE ───────────────── */
.brand-image-wrap {
  position: relative;
  background: #1c1008;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding-top: 3rem;
}

.brand-image-wrap img {
  width: 60%;
  max-width: 520px;
  height: auto;
  object-fit: cover;
  display: block;
  position: absolute;
  left: 30%;
}


/* ───────────────── CONTENT SIDE ───────────────── */
.brand-content {
  background: #1c1008;

  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* texture */
.brand-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.012) 3px,
      rgba(255, 255, 255, 0.012) 4px);
  pointer-events: none;
}

.brand-content>div {
  max-width: 620px;
}

/* ───────────────── TITLE ───────────────── */
.brand-name {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;

  text-transform: uppercase;
  letter-spacing: 50%;

  color: #f0ebe3;
  transform: translateY(20px);
  animation: fadeUp 0.7s 0.2s ease forwards;
}

/* ───────────────── DESCRIPTION ───────────────── */
.brand-description {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  line-height: 1;
  color: rgba(240, 235, 227, 0.72);
  letter-spacing: 10%;
  max-width: 44ch;
  margin-bottom: 1rem;
  transform: translateY(24px);
  animation: fadeUp 0.7s 0.4s ease forwards;
}

/* ───────────────── CTA ───────────────── */
.brand-section .cta-section {
  display: flex;
  /* align-items: center; */
  padding: 2rem 0rem;
  grid-column: 2
}

.btn-container {
  width: 100%;
}

.brand-section .cta-section .btn-outline {
  color: #20160C;
  border-color: #20160C;
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 4%;
}


/* =========================
   HOUSE OF KING DAVID
========================= */

.house-of-david {
  /* background: #efefef; */
  overflow: hidden;
}

.house-container {
  display: flex;
  gap: 50px;
  
}

/* IMAGE SIDE */

.house-image {
  flex: 1;
  min-height: 1000px;
  height: 100vh;
  overflow: hidden;
}

.house-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.05);
  transition: transform 0.8s ease;
}

.house-image:hover img {
  transform: scale(1);
}
.process-flow{
  display: flex;
  justify-content: center;
  padding: 4rem 0;
}

/* CONTENT SIDE */

.house-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  padding: 60px 20px;
  color: rgba(32, 22, 12, 1);
  font-size: 15px;
  letter-spacing: 10%;
  line-height: 1;
  gap: 5rem;
}

/* TYPOGRAPHY */
.intro-block {
  font-size: 15px;
  letter-spacing: 10%;
  line-height: 1;
  /* margin-bottom: 80px; */
}

.house-content h1 {
  font-size: 24px;
  letter-spacing: 12px;
  line-height: 1.3;
  margin-bottom: 40px;
  font-weight: 700;
  /* color: #222; */
}

.intro-block h3 {
  font-size: 20px;
  margin-bottom: 25px;
  /* color: #222; */
}

.house-content p {
  margin-bottom: 25px;
  font-family: var(--font-display);
}

.house-content a {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 5rem;
  text-decoration: underline;
  transition: opacity 0.3s ease;

}

.house-content a:hover {
  opacity: 0.7;
  color: var(--color-muted);
}
.house-process-section {
  padding: 80px 40px;
}
.process-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 60px;
}

.process-svg--mobile { display: none; }


/* SPACING */





/* ANIMATION */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  padding-bottom: var(--space-md);
  font-family: var(--font-display);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .site-title-text {
  color: var(--color-surface);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 30ch;
  line-height: 1.7;
}

.footer-social-list {
  display: flex;
  gap: 5px;
  margin-top: 1.2rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  border-color: var(--color-muted);
  color: var(--color-muted);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-widget h4 {
  /* color: var(--color-surface); */
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
}

.footer-widget ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: disc;
}

.footer-widget ul a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-widget ul a:hover,
.footer-widget ul a:focus-visible {
  color: var(--color-muted);
}
.footer-col-content{
  line-height: 1;
  letter-spacing: 4%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.footer-bottom a {
  text-decoration: underline;
}

/* ============================================================
   PAGE / BLOG
   ============================================================ */
.site-main {
  padding-top: var(--header-h);
  min-height: 60vh;
}

.content-area {
  padding-block: var(--space-xl);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}



/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger>* {
    opacity: 1;
    transform: none;
  }
}


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

/* ───────────────── TABLET ───────────────── */
@media (max-width: 1024px) {

  .brand-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand-image-wrap {
    padding: 0;
  }

  .brand-image-wrap img {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: 0;
  }

  .brand-content {
    padding: 4rem 2rem;
  }

  .brand-name {
    font-size: 2.3rem;
    letter-spacing: 0.2em;
  }

  .brand-description {
    max-width: 100%;
  }

  .brand-section .cta-section {
    padding: 3rem 2rem 5rem;
    grid-column: 1;
  }

  .location-container .img-container {
    display: none;
  }

  .location-container .showroom-location {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .craftsmanship {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 3rem;
  }

  .craftsmanship__body {
    max-width: 100%;
  }

  .craftsmanship__text {
    padding-right: 0;
    max-width: none;
    order: 2;
  }

  .craftsmanship__img-wrap:last-child {
    aspect-ratio: 4 / 6;
  }
}


/* ───────────────── MOBILE ───────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 80vw);
    height: 80vh;
    background: #fff;
    padding: 2rem 2rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.35s;
    z-index: 1001;
  }

  .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* Stagger nav items on open */
  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .primary-nav ul li {
    width: 100%;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .primary-nav.open ul li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger delays */
  .primary-nav.open ul li:nth-child(1) { transition-delay: 0.05s; }
  .primary-nav.open ul li:nth-child(2) { transition-delay: 0.1s;  }
  .primary-nav.open ul li:nth-child(3) { transition-delay: 0.15s; }
  .primary-nav.open ul li:nth-child(4) { transition-delay: 0.2s;  }
  .primary-nav.open ul li:nth-child(5) { transition-delay: 0.25s; }

  .primary-nav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
    color: var(--color-ink);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .primary-nav a::after {
    bottom: 0;
    height: 2px;
  }

  /* Dim overlay behind drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .nav-overlay.open {
    display: block;
    opacity: 1;
  }
  .brand-image-wrap {
    padding: 1.5rem 1rem 0;
  }

  .brand-content {
    padding: 3rem 1.5rem;
  }

  .brand-name {
    font-size: 1.7rem;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }

  .brand-description {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .brand-section .cta-section {
    padding: 2rem 1.5rem 4rem;
  }

  .brand-section .cta-section .btn-outline {
    width: 100%;
    min-width: unset;
    min-height: 64px;

    font-size: 1rem;
  }

  .location-name {
    font-size: 36px;
  }

  .store-location .btn {
    padding: 1rem 1rem;
  }

  .location-contact {
    font-size: 20px;
  }

  .process-page {
    padding: 20px;
  }

  .process-page h1 {
    font-size: 1.2rem;
  }

  .process-page-cards {
    margin: 2rem 0;
  }

  .process-page-card {
    flex-direction: column;
  }

  .process-page-card:nth-child(odd) {
    flex-direction: column-reverse;
  }

  .process-page-cards .content {
    width: 100%;
    padding: 0 20px;
  }

  .process-page-card .image {
    width: 100%;
  }
  .process-page-cards .content h2 {
    font-size: 1.2rem;
  }
  .membership-tier-cards {
    flex-direction: column;
    gap: 2rem;
  }
  .membership-tier-card {
    width: 100%;
  }
  .membership-tier-card p {
    max-width: 100%;
  }
  .membership-tier h2 {
    margin: 3rem auto;
  }
  .house-container {
    flex-direction: column;
    gap: 30px;
  }

  .house-image {
    min-height: 500px;
  }
  .house-content {
    padding: 40px;
    gap: 2rem;
  }
  .house-content h1 {
    font-size: 1.8rem;
    letter-spacing: 5px;
  }

  .house-content h3 {
    font-size: 1.4rem;
  }

  .house-content p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 100%;
  }
  .house-content a {
    margin-bottom: 0rem;
  }
  .house-process-section{
    padding: 0 40px 40px;
  }
  .process-svg--desktop { display: none; }
  .process-svg--mobile  { display: block; }

}

@media (max-width: 600px) {
  :root {
    --space-xl: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .store-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-desc {
    font-size: 38px;
  }

  .hero-tagline {
    font-size: 15px;
  }

  .showroom {
    flex-direction: column;
    gap: 3px;
  }

  .showroom-location {
    max-width: 100%;
  }

}

/* ───────────────── Smaller phones ───────────────── */

@media (max-width: 480px) {
  .house-image {
    min-height: 400px;
  }

  .house-content h1 {
    font-size: 1.4rem;
    letter-spacing: 3px;
  }

  .house-content h3 {
    font-size: 1.2rem;
  }

  .house-content p {
    font-size: 0.95rem;
  }
}

