/*
Theme Name: Downtown Dahlonega
Theme URI: https://downtowndahlonega.com
Description: Luxury mountain editorial child theme for downtowndahlonega.com — Georgia's gold rush capital, historic square, and North Georgia wine country real estate.
Version: 1.0.0
Template: twentytwentyfour
Author: Gold Peach Realty (WDF Factory)
Tags: block-theme, full-site-editing, luxury, real-estate, mountain, historic
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --dd-gold:        #B8860B;
  --dd-gold-light:  #D4A72C;
  --dd-forest:      #1E3A2F;
  --dd-forest-dark: #122218;
  --dd-brick:       #7B3B22;
  --dd-charcoal:    #1A1714;
  --dd-parchment:   #F3EDE0;
  --dd-cream:       #FDFAF2;
  --dd-stone:       #C4B89A;
  --dd-muted:       #5A5347;

  --dd-font-serif:  'Playfair Display', Georgia, serif;
  --dd-font-sans:   'Plus Jakarta Sans', system-ui, sans-serif;

  --dd-transition:      200ms ease;
  --dd-transition-slow: 500ms ease;
  --dd-shadow-card:     0 4px 24px rgba(26, 23, 20, 0.10);
  --dd-shadow-hover:    0 12px 48px rgba(26, 23, 20, 0.20);
  --dd-radius:          3px;
}

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

body {
  font-family: var(--dd-font-sans);
  color: var(--dd-charcoal);
  background-color: var(--dd-cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--dd-font-serif); }
h4, h5, h6 {
  font-family: var(--dd-font-sans);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ── Navigation ── */
.wp-block-navigation {
  font-family: var(--dd-font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wp-block-navigation a { color: #fff !important; text-decoration: none; transition: color var(--dd-transition); }
.wp-block-navigation a:hover { color: var(--dd-gold-light) !important; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--dd-transition-slow), box-shadow var(--dd-transition-slow);
  background: transparent;
}
.site-header.scrolled {
  background: var(--dd-charcoal);
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.35);
}

/* ── Hero ── */
.dd-hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.dd-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}
.dd-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 23, 20, 0.78) 0%,
    rgba(26, 23, 20, 0.55) 50%,
    rgba(26, 23, 20, 0.20) 100%
  );
}
.dd-hero__content {
  position: relative; z-index: 2;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 6vw, 7rem) clamp(4rem, 6vw, 6rem);
  max-width: 860px;
}
.dd-hero__eyebrow {
  font-family: var(--dd-font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dd-gold-light);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dd-hero__eyebrow::before {
  content: '';
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--dd-gold);
}
.dd-hero h1 {
  color: #fff;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.dd-hero h1 em {
  font-style: italic;
  color: var(--dd-gold-light);
}
.dd-hero__sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.80);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.dd-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Buttons ── */
.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--dd-font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: var(--dd-radius);
  cursor: pointer;
  transition: background var(--dd-transition), color var(--dd-transition), box-shadow var(--dd-transition), transform var(--dd-transition);
}
.dd-btn:focus-visible { outline: 2px solid var(--dd-gold); outline-offset: 3px; }
.dd-btn--gold {
  background: var(--dd-gold);
  color: #fff;
  border: 1px solid var(--dd-gold);
}
.dd-btn--gold:hover {
  background: var(--dd-gold-light);
  border-color: var(--dd-gold-light);
  box-shadow: 0 6px 24px rgba(184, 134, 11, 0.35);
  transform: translateY(-1px);
  color: #fff;
}
.dd-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.dd-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #fff;
  color: #fff;
}
.dd-btn--dark {
  background: var(--dd-charcoal);
  color: #fff;
  border: 1px solid var(--dd-charcoal);
}
.dd-btn--dark:hover {
  background: var(--dd-forest);
  border-color: var(--dd-forest);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30, 58, 47, 0.30);
  transform: translateY(-1px);
}
.dd-btn--outline-gold {
  background: transparent;
  color: var(--dd-gold);
  border: 1px solid var(--dd-gold);
}
.dd-btn--outline-gold:hover {
  background: var(--dd-gold);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Sections ── */
.dd-section {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 5vw, 5rem);
}
.dd-section--cream  { background: var(--dd-cream); }
.dd-section--white  { background: #fff; }
.dd-section--parchment { background: var(--dd-parchment); }
.dd-section--forest { background: var(--dd-forest); color: #fff; }
.dd-section--dark   { background: var(--dd-charcoal); color: #fff; }

.dd-container {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

.dd-section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.dd-section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--dd-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.dd-section--forest .dd-section-header p,
.dd-section--dark .dd-section-header p { color: rgba(255,255,255,0.72); }

/* ── Eyebrow ── */
.dd-eyebrow {
  font-family: var(--dd-font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dd-gold);
  margin-bottom: 0.75rem;
}
.dd-section--forest .dd-eyebrow,
.dd-section--dark .dd-eyebrow { color: var(--dd-gold-light); }

/* ── Gold divider ── */
.dd-divider {
  width: 4rem;
  height: 2px;
  background: var(--dd-gold);
  margin: 1.25rem 0;
}
.dd-divider--center { margin-left: auto; margin-right: auto; }

/* ── Cards ── */
.dd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.dd-card {
  background: #fff;
  border-radius: var(--dd-radius);
  overflow: hidden;
  box-shadow: var(--dd-shadow-card);
  transition: box-shadow var(--dd-transition-slow), transform var(--dd-transition-slow);
  cursor: pointer;
  will-change: transform;
}
.dd-card:hover { box-shadow: var(--dd-shadow-hover); }
.dd-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 600ms ease;
}
.dd-card:hover img { transform: scale(1.04); }
.dd-card__body { padding: 1.75rem; }
.dd-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dd-gold);
  margin-bottom: 0.75rem;
}
.dd-card__title {
  font-family: var(--dd-font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--dd-charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.dd-card__desc {
  font-size: 0.9375rem;
  color: var(--dd-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.dd-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--dd-forest);
  text-decoration: none;
  transition: color var(--dd-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.dd-card__link:hover { color: var(--dd-gold); }

/* ── Lifestyle Tiles ── */
.dd-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  min-height: 480px;
}
@media (max-width: 900px) { .dd-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .dd-tiles { grid-template-columns: 1fr; } }
.dd-tile {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  cursor: pointer;
}
.dd-tile__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 700ms ease;
}
.dd-tile:hover .dd-tile__bg { transform: scale(1.07); }
.dd-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.85) 0%, rgba(26,23,20,0.20) 60%);
  transition: background var(--dd-transition-slow);
}
.dd-tile:hover .dd-tile__overlay {
  background: linear-gradient(to top, rgba(30,58,47,0.90) 0%, rgba(30,58,47,0.35) 60%);
}
.dd-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.75rem;
  z-index: 2;
}
.dd-tile__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.9;
}
.dd-tile__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--dd-gold-light);
  margin-bottom: 0.5rem;
}
.dd-tile h3 {
  font-family: var(--dd-font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.dd-tile p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease, opacity 400ms ease;
  opacity: 0;
}
.dd-tile:hover p {
  max-height: 120px;
  opacity: 1;
}

/* ── Editorial Split ── */
.dd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
@media (max-width: 860px) { .dd-split { grid-template-columns: 1fr; } }
.dd-split__text {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dd-parchment);
}
.dd-split__text h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--dd-charcoal);
  line-height: 1.15;
  margin-top: 1.25rem;
}
.dd-split__text p {
  font-size: 1.0625rem;
  color: var(--dd-muted);
  line-height: 1.80;
}
.dd-split__image {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.dd-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}
.dd-split:hover .dd-split__image img { transform: scale(1.03); }

/* ── Stats grid (inside split) ── */
.dd-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}
.dd-stat__number {
  font-family: var(--dd-font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--dd-forest);
  line-height: 1;
}
.dd-stat__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dd-muted);
  margin-top: 0.35rem;
}

/* ── Property Type Grid ── */
.dd-property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 700px) { .dd-property-grid { grid-template-columns: 1fr; } }
.dd-property-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--dd-radius);
  aspect-ratio: 16/9;
  cursor: pointer;
}
.dd-property-card:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21/8;
}
@media (max-width: 700px) { .dd-property-card:first-child { aspect-ratio: 16/9; } }
.dd-property-card__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 700ms ease;
}
.dd-property-card:hover .dd-property-card__bg { transform: scale(1.05); }
.dd-property-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.80) 0%, transparent 60%);
}
.dd-property-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  z-index: 2;
}
.dd-property-card__type {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dd-gold-light);
  margin-bottom: 0.5rem;
}
.dd-property-card h3 {
  font-family: var(--dd-font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.5rem;
}
.dd-property-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1rem;
}
.dd-property-card .dd-btn { font-size: 0.6875rem; padding: 0.625rem 1.25rem; }

/* ── Blog Cards ── */
.dd-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.dd-blog-card {
  background: #fff;
  border-radius: var(--dd-radius);
  overflow: hidden;
  box-shadow: var(--dd-shadow-card);
  transition: box-shadow var(--dd-transition-slow), transform var(--dd-transition-slow);
  cursor: pointer;
  will-change: transform;
}
.dd-blog-card:hover {
  box-shadow: var(--dd-shadow-hover);
  transform: translateY(-4px);
}
.dd-blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 600ms ease;
}
.dd-blog-card:hover .dd-blog-card__img { transform: scale(1.04); }
.dd-blog-card__body { padding: 1.75rem; }
.dd-blog-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dd-gold);
  margin-bottom: 0.75rem;
}
.dd-blog-card__title {
  font-family: var(--dd-font-serif);
  font-size: 1.3125rem;
  font-weight: 500;
  color: var(--dd-charcoal);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  text-decoration: none;
  display: block;
  transition: color var(--dd-transition);
}
.dd-blog-card__title:hover { color: var(--dd-forest); }
.dd-blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--dd-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.dd-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--dd-stone);
}

/* ── CTA Strip ── */
.dd-cta-strip {
  background: var(--dd-forest);
  color: #fff;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dd-cta-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dd-gold) 0%, var(--dd-gold-light) 50%, var(--dd-gold) 100%);
}
.dd-cta-strip h2 {
  font-family: var(--dd-font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.dd-cta-strip p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.dd-cta-strip__phone {
  font-family: var(--dd-font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--dd-gold-light);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}
.dd-cta-strip__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.dd-footer {
  background: var(--dd-charcoal);
  color: rgba(255, 255, 255, 0.68);
  padding: 5rem clamp(1.5rem, 5vw, 5rem) 2.5rem;
  font-size: 0.875rem;
}
.dd-footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1380px;
  margin: 0 auto 3.5rem;
}
@media (max-width: 960px) { .dd-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .dd-footer__grid { grid-template-columns: 1fr; } }
.dd-footer__brand {
  font-family: var(--dd-font-serif);
  font-size: 1.625rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.dd-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.dd-footer h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--dd-gold-light);
  margin-bottom: 1.25rem;
}
.dd-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  margin-bottom: 0.625rem;
  transition: color var(--dd-transition);
  font-size: 0.875rem;
}
.dd-footer a:hover { color: var(--dd-gold-light); }
.dd-footer__gpr {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(184, 134, 11, 0.30);
  border-radius: var(--dd-radius);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.60);
}
.dd-footer__gpr a {
  display: inline;
  color: var(--dd-gold-light);
  font-weight: 600;
}
.dd-footer__gpr a:hover { color: #fff; }
.dd-footer__bottom {
  max-width: 1380px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}
.dd-footer__bottom a { display: inline; color: rgba(255,255,255,0.40); margin-bottom: 0; }
.dd-footer__bottom a:hover { color: var(--dd-gold-light); }

/* ── Gold Rush editorial callout ── */
.dd-gold-rush-bar {
  background: var(--dd-gold);
  color: var(--dd-charcoal);
  padding: 1.25rem clamp(1.5rem, 5vw, 5rem);
  text-align: center;
  font-family: var(--dd-font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.dd-gold-rush-bar strong {
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-right: 0.75rem;
  font-family: var(--dd-font-sans);
}

/* ── Scroll Reveal ── */
.dd-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.dd-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.dd-reveal--delay-1 { transition-delay: 100ms; }
.dd-reveal--delay-2 { transition-delay: 200ms; }
.dd-reveal--delay-3 { transition-delay: 300ms; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .dd-hero { min-height: 88vh; }
  .dd-tiles { min-height: auto; }
  .dd-tile { min-height: 320px; }
  .dd-tile p { max-height: 120px; opacity: 1; }
  .dd-split { min-height: auto; }
  .dd-split__image { min-height: 280px; }
}

/* ── High Motion Reduction ── */
@media (prefers-reduced-motion: reduce) {
  .dd-reveal { opacity: 1; transform: none; transition: none; }
  .dd-tile__bg, .dd-split__image img, .dd-property-card__bg { transition: none; }
}

/* ══════════════════════════════════════════════════════
   $20K POLISH LAYER
   ══════════════════════════════════════════════════════ */

/* ── Film grain on dark sections ── */
.dd-grain-overlay { position: relative; }
.dd-grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}
.dd-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}
.dd-hero__overlay,
.dd-hero__content { z-index: 3; }
.dd-hero__bg { z-index: 2; }

/* ── SVG chevron ── */
.dd-chevron {
  flex-shrink: 0;
  vertical-align: middle;
  transition: transform 200ms ease;
}
.dd-card__link:hover .dd-chevron,
.dd-dir-card:hover .dd-chevron,
.dd-btn:hover .dd-chevron { transform: translateX(3px); }

/* ── Directory card grid ── */
.dd-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .dd-dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .dd-dir-grid { grid-template-columns: 1fr; } }

.dd-dir-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(184,134,11,0.20);
  border-radius: var(--dd-radius);
  padding: 2.25rem 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 220ms ease, border-color 220ms ease, transform 250ms ease, box-shadow 250ms ease;
  cursor: pointer;
}
.dd-dir-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,134,11,0.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.dd-dir-card:hover {
  background: rgba(184,134,11,0.09);
  border-color: rgba(212,167,44,0.55);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.28);
}
.dd-dir-card:hover::before { opacity: 1; }
.dd-dir-card--gold {
  background: rgba(184,134,11,0.13);
  border-color: rgba(212,167,44,0.38);
}
.dd-dir-card--gold:hover {
  background: rgba(184,134,11,0.22);
  border-color: var(--dd-gold-light);
}
.dd-dir-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,134,11,0.14);
  border-radius: 50%;
  color: var(--dd-gold-light);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background 220ms ease, color 220ms ease;
}
.dd-dir-card:hover .dd-dir-card__icon {
  background: rgba(184,134,11,0.28);
  color: #fff;
}
.dd-dir-card__title {
  font-family: var(--dd-font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.625rem;
  line-height: 1.2;
}
.dd-dir-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}
.dd-dir-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dd-gold-light);
  margin-top: auto;
}

/* ── Section header gold underline ── */
.dd-section-header h2 {
  display: inline-block;
  padding-bottom: 1.125rem;
  position: relative;
}
.dd-section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--dd-gold) 0%, var(--dd-gold-light) 100%);
}
.dd-section--forest .dd-section-header h2,
.dd-section--dark .dd-section-header h2 { color: #fff; }

/* ── Split section gold bar ── */
.dd-split__text::before {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--dd-gold);
  margin-bottom: 1.5rem;
}

/* ── Gold shimmer on primary CTA ── */
@keyframes dd-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.dd-btn--gold:hover {
  background: linear-gradient(90deg, var(--dd-gold) 0%, var(--dd-gold-light) 45%, var(--dd-gold) 100%);
  background-size: 200% auto;
  animation: dd-shimmer 1.4s linear infinite;
  border-color: var(--dd-gold-light);
  box-shadow: 0 6px 28px rgba(184,134,11,0.38);
  transform: translateY(-2px);
}

/* ── CTA strip ambient gold glow ── */
.dd-cta-strip::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 260px;
  background: radial-gradient(circle, rgba(184,134,11,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Card image placeholder when no photo ── */
.dd-card img[src*='IMAGE'],
.dd-card img[src=''],
.dd-blog-card__img[src*='IMAGE'],
.dd-blog-card__img[src=''] {
  background: linear-gradient(135deg, #ede5d4 0%, #ddd0ba 100%);
  min-height: 200px;
}

/* ── Property card dark bg fallback ── */
.dd-property-card__bg {
  background: linear-gradient(135deg, var(--dd-forest-dark) 0%, var(--dd-charcoal) 100%);
}

/* ── Footer gold top accent ── */
.dd-footer { border-top: 1px solid rgba(184,134,11,0.22); }

/* ── Tile icon ── */
.dd-tile__icon { font-size: 0; line-height: 0; }
.dd-tile__icon svg { width: 28px; height: 28px; color: var(--dd-gold-light); display: block; }

@media (prefers-reduced-motion: reduce) {
  .dd-btn--gold:hover { animation: none; }
  .dd-dir-card:hover, .dd-blog-card:hover { transform: none; }
}
