/* =========================================================
   Dogwood Homes — Theme Styles
   Design tokens and component styles ported from the
   Claude Design HTML/JSX prototype.
   ========================================================= */

:root {
  /* ---------- Brand palette ---------- */
  --dw-ink:        #353535;
  --dw-mist:       #e3e1df;
  --dw-white:      #ffffff;
  --dw-olive:      #545842;
  --dw-clay:       #695148;
  --dw-taupe:      #9a857b;

  /* ---------- Extended neutrals ---------- */
  --dw-ink-90:     #4a4a4a;
  --dw-ink-70:     #6b6b6b;
  --dw-ink-50:     #8f8f8f;
  --dw-ink-30:     #b8b8b8;
  --dw-mist-soft:  #efeeec;
  --dw-cream:      #f7f5f1;

  /* ---------- Olive scale ---------- */
  --dw-olive-dark: #3f4232;
  --dw-olive-soft: #7a7d65;
  --dw-olive-tint: #d9dbc9;

  /* ---------- Semantic ---------- */
  --fg-1: var(--dw-ink);
  --fg-2: var(--dw-ink-70);
  --fg-3: var(--dw-ink-50);
  --fg-on-dark: var(--dw-white);
  --fg-brand: var(--dw-olive);

  --bg-canvas: var(--dw-white);
  --bg-muted:  var(--dw-mist);
  --bg-soft:   var(--dw-cream);
  --bg-dark:   var(--dw-olive);

  --border-hair:   rgba(53,53,53,0.10);
  --border-rule:   rgba(53,53,53,0.18);
  --border-strong: var(--dw-ink);
  --border-brand:  var(--dw-olive);

  --shadow-sm:    0 1px 2px rgba(53,53,53,0.06);
  --shadow-md:    0 4px 18px rgba(53,53,53,0.08);
  --shadow-lg:    0 18px 48px -12px rgba(53,53,53,0.22);

  --radius-xs:   2px;
  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   10px;

  /* ---------- Type families ---------- */
  --font-display: 'DM Serif Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-serif:   'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-script:  'Parisienne', 'Homemade Apple', 'Dancing Script', cursive;
  --font-body:    var(--font-sans);

  /* ---------- Tracking ---------- */
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide:  0.12em;
  --tracking-wider: 0.22em;
  --tracking-max:   0.32em;

  /* ---------- Transitions ---------- */
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:      140ms;
  --dur-base:      240ms;
  --dur-slow:      420ms;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-canvas);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg-1);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--dw-olive-tint); }

.dw-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.dw-rule {
  border: 0;
  height: 1px;
  background: var(--border-hair);
  margin: 0 0 72px;
}

/* =========================================================
   Typography helpers
   ========================================================= */
.dw-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-max);
  text-transform: uppercase;
  color: var(--fg-2);
}
.dw-eyebrow--ondark { color: rgba(255,255,255,0.75); }

.dw-script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--dw-taupe);
  line-height: 1.2;
  font-size: 28px;
}
.dw-script--lg { font-size: 30px; }
.dw-script--ondark { color: rgba(255,255,255,0.92); }

.dw-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--fg-1);
}
.dw-display--xl  { font-size: 64px; letter-spacing: 0.06em; }
.dw-display--xxl { font-size: 88px; letter-spacing: 0.08em; line-height: 0.95; }
.dw-display--ondark { color: var(--fg-on-dark); }

.dw-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 25px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 28px;
  max-width: 480px;
}
.dw-lede--ondark { color: rgba(255,255,255,0.94); font-size: 30px; line-height: 1.45; }

.dw-body {
  font-size: 19px;
  line-height: 1.85;
  color: var(--fg-1);
  margin: 0 0 36px;
  max-width: 480px;
}

/* =========================================================
   Sections
   ========================================================= */
.dw-section {
  padding: 140px 48px 160px;
  background: var(--bg-canvas);
  position: relative;
}

.dw-section__header {
  margin-bottom: 68px;
}
.dw-section__header--center { text-align: center; }
.dw-section__header--ondark .dw-display { color: var(--fg-on-dark); }
.dw-section__rule {
  display: block;
  height: 1px;
  width: 80px;
  background: var(--dw-olive);
  margin: 24px auto 0;
}
.dw-section__rule--ondark { background: rgba(255,255,255,0.5); }

.dw-section__subhead {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dw-section__subhead-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.dw-section__subhead-meta {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
}
.dw-section__subhead-meta--mb { margin-bottom: 28px; }
.dw-section__subhead--center { flex-direction: column; align-items: center; text-align: center; gap: 6px; }

/* =========================================================
   Buttons
   ========================================================= */
.dw-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 30px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: all 220ms var(--ease-standard);
}
.dw-btn--primary { background: var(--dw-olive); color: #fff; }
.dw-btn--primary:hover { background: var(--dw-olive-dark); color: #fff; }
.dw-btn--outline { background: transparent; color: var(--dw-olive); border-color: var(--dw-olive); }
.dw-btn--outline:hover { background: var(--dw-olive); color: #fff; }
.dw-btn--ondark { background: #fff; color: var(--dw-olive); }
.dw-btn--ondark:hover { background: var(--dw-mist); color: var(--dw-olive); }
.dw-btn--secondary { background: transparent; color: var(--fg-1); border-color: var(--fg-1); }
.dw-btn--secondary:hover { background: var(--fg-1); color: #fff; }
.dw-btn--ghost {
  background: transparent;
  color: var(--dw-olive);
  padding: 6px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--dw-olive);
}
.dw-btn--ghost:hover { opacity: 0.65; color: var(--dw-olive); }
.dw-btn--block { width: 100%; padding: 18px 32px; }

/* =========================================================
   Nav
   ========================================================= */
.dw-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(53,53,53,0.08);
  padding: 24px 48px 0;
  transition: padding 320ms var(--ease-standard);
}
.dw-nav.is-scrolled { padding-top: 14px; }
.site-main { padding-top: var(--dw-nav-height, 153px); }
.site-main--fullbleed { padding-top: 0; }
.dw-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}
.dw-nav__meta {
  font-size: 10px;
  letter-spacing: var(--tracking-max);
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
  width: 200px;
}
.dw-nav__meta--right { text-align: right; }
.dw-nav__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.dw-nav__contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 200ms;
}
.dw-nav__contact-link:hover { color: var(--dw-olive); }
.dw-nav__contact-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.dw-nav__contact-label {
  font-size: 13px;
  letter-spacing: var(--tracking-max);
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.dw-nav__brand { display: block; text-align: center; border: 0; }
.dw-nav__logo {
  height: 78px;
  margin: 0 auto;
  transition: height 320ms var(--ease-standard);
}
.dw-nav.is-scrolled .dw-nav__logo { height: 44px; }
.dw-nav__links {
  display: flex;
  justify-content: center;
  gap: 54px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.dw-nav__link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: var(--tracking-max);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-1);
  text-decoration: none;
  border: 0;
  padding-bottom: 6px;
  transition: color 200ms ease;
}
.dw-nav__link:hover,
.dw-nav__link.is-active { color: var(--dw-olive); }
.dw-nav__underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--dw-olive);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms var(--ease-standard);
}
.dw-nav__link.is-active .dw-nav__underline { transform: scaleX(1); }

/* =========================================================
   Hero
   ========================================================= */
.dw-hero {
  position: relative;
  min-height: 92vh;
  background-image: var(--dw-hero-bg);
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.dw-hero--video {
  background: var(--dw-cream);
  background-image: none;
  overflow: hidden;
  position: relative;
  height: 100vh;
  min-height: 500px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.dw-hero--video::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.52));
  pointer-events: none;
  z-index: 1;
}
.dw-hero--video::after {
  display: none !important;
}
.dw-hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.15);
  z-index: 0;
}
.dw-hero__top {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  display: flex;
  justify-content: center;
}
.dw-hero__vlogo {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.35));
}
.dw-hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 120px;
  gap: 12px;
}
.dw-hero__vtitle {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.dw-hero__vscript {
  font-size: 28px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  margin: 0;
}
.dw-hero__vctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.dw-btn--outline-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--dw-ink);
  background: var(--dw-cream);
  border: 1.5px solid var(--dw-cream);
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all var(--dur-base) var(--ease-standard);
}
.dw-btn--outline-light:hover {
  background: var(--dw-mist);
  border-color: var(--dw-mist);
}
.dw-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--dw-cream));
  pointer-events: none;
}
.dw-hero__caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 72px 56px;
  max-width: 680px;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
}
.dw-hero__logo {
  height: 90px;
  width: auto;
  margin-bottom: 20px;
}
.dw-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--fg-1);
  line-height: 1;
  margin: 0 0 8px;
}
.dw-hero__script {
  font-size: 24px;
  color: var(--dw-clay);
  margin-bottom: 32px;
}
.dw-hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.dw-btn--ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.dw-btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

/* =========================================================
   Buying
   ========================================================= */
.dw-section--buying { background: #fff; }
.dw-buying__lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
  margin-bottom: 96px;
}
.dw-buying__copy .dw-eyebrow { margin-bottom: 18px; }
.dw-buying__copy .dw-display { font-size: 68px; letter-spacing: 0.04em; margin-bottom: 22px; }
.dw-buying__copy .dw-script { font-size: 28px; margin-bottom: 30px; }
.dw-buying__copy .dw-lede { font-size: 26px; line-height: 1.5; }
.dw-buying__ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.dw-buying__cover {
  position: relative;
  text-align: center;
}
.dw-buying__cover img {
  max-width: 100%;
  max-height: 620px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(53,53,53,0.32);
}
.dw-buying__cover-script {
  position: absolute;
  bottom: -28px;
  right: 36px;
  font-family: var(--font-script);
  font-size: 42px;
  color: var(--dw-taupe);
  transform: rotate(-4deg);
}

/* Steps */
.dw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.dw-step {
  background: #fff;
  padding: 36px 32px 32px;
  border-top: 1px solid var(--dw-olive);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dw-step__num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--dw-olive);
}
.dw-step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--fg-1);
  margin: 0;
}
.dw-step__body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg-2);
  margin: 0;
}

/* =========================================================
   Selling
   ========================================================= */
.dw-section--selling {
  background: var(--dw-olive);
  color: #fff;
  overflow: hidden;
}
.dw-selling__watermark {
  position: absolute;
  height: 280px;
  filter: brightness(0) invert(1);
  opacity: 0.06;
  pointer-events: none;
}
.dw-selling__watermark--tl { top: -40px; left: -40px; transform: rotate(-18deg); }
.dw-selling__watermark--br { bottom: -60px; right: -60px; height: 320px; transform: rotate(25deg); }

.dw-selling__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: start;
  margin-top: 40px;
}
.dw-selling__intro .dw-lede { max-width: 520px; margin-bottom: 40px; }
.dw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.dw-stat {
  border-top: 1px solid rgba(255,255,255,0.28);
  padding-top: 18px;
}
.dw-stat__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.dw-stat__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.dw-selling__list-head { margin-bottom: 22px; }
.dw-included {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dw-included__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.dw-included__item:last-child { border-bottom: 0; }
.dw-included__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  padding-top: 3px;
}
.dw-included__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dw-included__body {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

/* =========================================================
   Downsizing
   ========================================================= */
.dw-section--downsizing { background: var(--dw-mist); }
.dw-downsizing__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: start;
}
.dw-downsizing__col--sticky {
  position: sticky;
  top: 180px;
}
.dw-downsizing__col .dw-display { font-size: 64px; }
.dw-downsizing__col .dw-lede { font-size: 24px; max-width: none; }
.dw-downsizing__col .dw-body { max-width: none; margin-bottom: 36px; }

.dw-partners {
  background: #fff;
  padding: 32px 32px 28px;
  box-shadow: 0 4px 18px rgba(53,53,53,0.06);
}
.dw-partners__head {
  color: var(--dw-olive);
  margin-bottom: 14px;
  font-weight: 500;
}
.dw-partners__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 18px;
  color: var(--fg-1);
}
.dw-partners__list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.dw-partners__bullet {
  color: var(--dw-olive);
  font-family: var(--font-display);
  font-size: 18px;
}

/* FAQ */
.dw-faq { border-top: 1px solid var(--border-rule); }
.dw-faq__item { border-bottom: 1px solid var(--border-rule); }
.dw-faq__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-1);
  line-height: 1.25;
}
.dw-faq__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dw-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dw-olive);
  font-size: 18px;
  font-family: var(--font-sans);
  font-weight: 300;
  background: transparent;
  transition: transform 280ms var(--ease-standard), background 220ms;
}
.dw-faq__item.is-open .dw-faq__icon {
  transform: rotate(45deg);
  background: var(--dw-olive-tint);
}
.dw-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-standard);
}
.dw-faq__item.is-open .dw-faq__panel { grid-template-rows: 1fr; }
.dw-faq__panel > .dw-faq__a {
  overflow: hidden;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  padding-bottom: 28px;
  padding-right: 60px;
  max-width: 620px;
}

/* Callout */
.dw-callout {
  margin-top: 56px;
  padding: 40px 44px;
  background: var(--dw-olive);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dw-callout__watermark {
  position: absolute;
  right: -20px;
  bottom: -30px;
  height: 180px;
  filter: brightness(0) invert(1);
  opacity: 0.1;
  transform: rotate(15deg);
  pointer-events: none;
}
.dw-callout__inner { position: relative; }
.dw-callout__title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.2;
  margin: 14px 0 18px;
  max-width: 520px;
}
.dw-callout__body {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
  max-width: 520px;
}

/* =========================================================
   Contact
   ========================================================= */
.dw-section--contact { background: #fff; }
.dw-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 112px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.dw-contact__copy .dw-display { font-size: 72px; line-height: 1; }
.dw-contact__copy .dw-script { font-size: 30px; margin-bottom: 32px; }
.dw-contact__copy .dw-lede { font-size: 25px; max-width: 440px; margin-bottom: 44px; }
.dw-contact__info {
  display: grid;
  gap: 28px;
  max-width: 440px;
  margin: 0;
}
.dw-contact__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-hair);
}
.dw-contact__row dt { padding-top: 4px; margin: 0; }
.dw-contact__row dd {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--fg-1);
  line-height: 1.5;
  margin: 0;
}

.dw-contact__card {
  background: var(--dw-cream);
  border: 1px solid rgba(53,53,53,0.08);
  padding: 56px 56px 52px;
  position: relative;
}
.dw-contact__mark {
  position: absolute;
  top: 28px;
  right: 32px;
  height: 38px;
  opacity: 0.85;
}
.dw-contact__title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}
.dw-contact__sub { margin-bottom: 36px; }

.dw-contact__topics { margin-bottom: 28px; }
.dw-contact__topics-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
  margin-bottom: 14px;
}
.dw-contact__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dw-chip {
  background: transparent;
  color: var(--fg-1);
  border: 1px solid rgba(53,53,53,0.3);
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 180ms;
}
.dw-chip.is-active {
  background: var(--dw-olive);
  color: #fff;
  border-color: var(--dw-olive);
}

.dw-form {
  display: grid;
  gap: 24px;
}
.dw-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dw-field__label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
}
.dw-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dw-input,
.dw-textarea {
  font-family: var(--font-sans);
  font-size: 19px;
  color: var(--fg-1);
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(53,53,53,0.25);
  border-radius: 0;
  background: transparent;
  outline: none;
  transition: border-color 180ms ease;
  width: 100%;
}
.dw-textarea {
  resize: none;
  min-height: 90px;
}
.dw-input:focus,
.dw-textarea:focus { border-bottom-color: var(--dw-olive); }
.dw-form__error {
  font-size: 17px;
  color: #b04a3a;
  min-height: 1em;
}

.dw-contact__sent { text-align: center; padding: 40px 0 24px; }
.dw-contact__sent-mark {
  height: 56px;
  margin: 0 auto 28px;
}
.dw-contact__sent-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.dw-contact__sent-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 23px;
  color: var(--fg-2);
  margin: 0 auto 32px;
  max-width: 420px;
  line-height: 1.5;
}

/* =========================================================
   About
   ========================================================= */
/* =========================================================
   IDX Search + Showcase section
   ========================================================= */
.dw-section--idx {
  background: var(--dw-cream);
  overflow-x: hidden;
}
.dw-section--idx .dw-section__header {
  margin-bottom: 48px;
}
.dw-section--idx .dw-display--xl {
  margin-bottom: 10px;
}
.dw-idx__omnibar {
  max-width: 780px;
  margin: 0 auto 56px;
}
.dw-idx__omnibar .impress-omnibar,
.dw-idx__omnibar form {
  width: 100%;
}
.dw-idx__rule {
  margin: 0 auto 56px;
}
.dw-idx__showcase {
  max-width: 1180px;
  margin: 0 auto;
}
.dw-idx__map {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 520px;
}
.dw-idx__map > div,
.dw-idx__map iframe {
  width: 100% !important;
  min-height: 520px;
}

/* =========================================================
   About section
   ========================================================= */
.dw-section--about { background: var(--dw-cream); }
.dw-section--about .dw-section__header { margin-bottom: 72px; }
.dw-section--about .dw-display--xxl { margin-bottom: 14px; }
.dw-section--about .dw-script { font-size: 32px; }

.dw-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 96px;
}
.dw-member {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: auto auto;
  column-gap: 64px;
  row-gap: 0;
  width: 100%;
  max-width: 1080px;
  align-items: start;
}
.dw-member__portrait-col {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}
.dw-member__bio-col {
  grid-column: 2;
  grid-row: 1;
  padding-top: 4px;
}
.dw-member__creds {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-hair);
}
.dw-member__cred {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 24px;
}
.dw-member__cred-divider {
  width: 1px;
  height: 48px;
  background: var(--border-hair);
  flex-shrink: 0;
}
.dw-member__cred-num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--dw-olive);
  line-height: 1;
}
.dw-member__cred-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-3);
}
.dw-member__portrait-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.dw-member__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.dw-member__id {
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
}
.dw-member__name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--fg-1);
  margin-bottom: 5px;
}
.dw-member__role {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-3);
}
.dw-member__bio-p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.9;
  color: var(--fg-2);
  margin: 0 0 1.5em;
}
.dw-member__bio-p:last-child { margin-bottom: 0; }

.dw-pullquote {
  border-top: 1px solid var(--border-rule);
  border-bottom: 1px solid var(--border-rule);
  padding: 72px 0;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.dw-pullquote__mark {
  height: 40px;
  margin: 0 auto 28px;
}
.dw-pullquote__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
  color: var(--fg-1);
}
.dw-pullquote__cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* =========================================================
   Footer
   ========================================================= */
.dw-footer {
  background: var(--dw-olive);
  color: #fff;
  padding: 80px 48px 40px;
}
.dw-footer .dw-container { max-width: 1180px; }
.dw-footer__brand { text-align: center; margin-bottom: 64px; }
.dw-footer__logo {
  height: 110px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}
.dw-footer__tagline {
  font-family: var(--font-script);
  font-size: 26px;
  color: rgba(255,255,255,0.85);
  margin-top: 12px;
}
.dw-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.dw-footer__head {
  margin-bottom: 14px;
  opacity: 0.75;
  color: #fff;
}
.dw-footer__lines {
  font-size: 18px;
  line-height: 1.95;
}
.dw-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 2.1;
}
.dw-footer__links a {
  color: #fff;
  text-decoration: none;
  border: 0;
}
.dw-footer__links a:hover { opacity: 0.7; }
.dw-footer__social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.dw-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  border: 0;
  text-decoration: none;
  transition: color 200ms var(--ease-standard), opacity 200ms var(--ease-standard);
}
.dw-footer__social-link:hover { color: #fff; }
.dw-footer__fineprint {
  opacity: 0.7;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.dw-footer__compliance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.dw-footer__compliance-logo {
  height: 56px;
  width: auto;
  opacity: 0.85;
}
.dw-footer__legal {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Hamburger button (hidden on desktop)
   ========================================================= */
.dw-nav__mobile-icons {
  display: none;
  align-items: center;
  gap: 14px;
}
.dw-nav__mobile-icon-link {
  display: flex;
  align-items: center;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 200ms;
}
.dw-nav__mobile-icon-link:hover { color: var(--dw-olive); }
.dw-nav__mobile-icon-link svg {
  width: 17px;
  height: 17px;
}
.dw-nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--fg-1);
  -webkit-tap-highlight-color: transparent;
}
.dw-nav__burger-icon {
  display: block;
  transition: opacity 180ms;
}

/* Footer social icons */
.dw-footer__social {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.dw-footer__social-link {
  color: #fff;
  opacity: 0.85;
  transition: opacity 200ms;
}
.dw-footer__social-link:hover { opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .dw-buying__lead,
  .dw-selling__grid,
  .dw-downsizing__grid,
  .dw-contact__grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .dw-downsizing__col--sticky { position: static; }
  .dw-steps { grid-template-columns: repeat(2, 1fr); }
  .dw-team   { justify-content: center; }
  .dw-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .dw-display--xl  { font-size: 52px; }
  .dw-display--xxl { font-size: 64px; }
  .dw-buying__copy .dw-display { font-size: 52px; }
  .dw-contact__copy .dw-display { font-size: 56px; }
}

@media (max-width: 720px) {
  /* -- Global -- */
  body { font-size: 17px; }
  .dw-section { padding: 72px 20px 80px; }
  .dw-section__header { margin-bottom: 44px; }
  .dw-container { padding: 0; }
  .dw-lede { font-size: 22px; }
  .dw-body { font-size: 17px; }

  /* -- Nav: hamburger -- */
  .dw-nav { padding: 16px 24px 16px; }
  .dw-nav__row { gap: 0; margin-bottom: 0; }
  .dw-nav__meta { width: auto; }
  .dw-nav__meta--left { display: flex; }
  .dw-nav__mobile-icons { display: flex; }
  .dw-nav__brand { flex: 1; }
  .dw-nav__contact .dw-nav__contact-link { display: none; }
  .dw-nav__burger { display: flex; }
  .dw-nav__logo { height: 72px; }
  .dw-nav.is-scrolled { padding: 12px 24px 12px; }
  .dw-nav.is-scrolled .dw-nav__logo { height: 48px; }

  .dw-nav__links {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0 20px;
    border-top: 1px solid var(--border-hair);
    margin-top: 12px;
  }
  .dw-nav__links.is-open { display: flex; }
  .dw-nav__link {
    font-size: 13px;
    padding: 14px 0;
    width: 100%;
    text-align: center;
  }
  .dw-nav__link .dw-nav__underline { display: none; }

  /* -- Hero -- */
  .dw-hero { min-height: 80vh; padding: 24px; }
  .dw-hero__caption { padding: 40px 28px 36px; }
  .dw-hero__logo { height: 100px; margin-bottom: 20px; }
  .dw-hero__title { font-size: 30px; }
  .dw-hero__script { font-size: 24px; margin-bottom: 28px; }

  /* -- Display typography -- */
  .dw-display--xl  { font-size: 36px; }
  .dw-display--xxl { font-size: 42px; }
  .dw-buying__copy .dw-display,
  .dw-contact__copy .dw-display { font-size: 36px; }

  /* -- Buying -- */
  .dw-buying__copy .dw-script { font-size: 24px; }
  .dw-buying__copy .dw-lede { font-size: 22px; }
  .dw-buying__cover-script { font-size: 32px; right: 12px; bottom: -20px; }
  .dw-steps { grid-template-columns: 1fr; }
  .dw-step { padding: 28px 24px 24px; }

  /* -- Selling -- */
  .dw-selling__grid { gap: 48px; }
  .dw-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .dw-stat__num { font-size: 36px; }
  .dw-included__title { font-size: 17px; }
  .dw-included__body { font-size: 16px; }

  /* -- Downsizing -- */
  .dw-downsizing__col .dw-display { font-size: 36px; }
  .dw-downsizing__col .dw-lede { font-size: 20px; }
  .dw-downsizing__col .dw-body { font-size: 17px; }
  .dw-faq__btn { font-size: 18px; gap: 12px; }
  .dw-faq__panel > .dw-faq__a { padding-right: 12px; font-size: 19px; }
  .dw-callout { padding: 28px 20px; }
  .dw-callout__title { font-size: 26px; }
  .dw-callout__body { font-size: 17px; }

  /* -- Contact -- */
  .dw-contact__copy .dw-script { font-size: 24px; }
  .dw-contact__copy .dw-lede { font-size: 21px; }
  .dw-contact__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .dw-contact__row dd {
    font-size: 17px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  .dw-contact__card { padding: 32px 20px 28px; }
  .dw-contact__title { font-size: 24px; }
  .dw-field-row { grid-template-columns: 1fr; }
  .dw-input, .dw-textarea { font-size: 16px; }

  /* -- IDX -- */
  .dw-idx__omnibar { margin-bottom: 36px; }
  .dw-idx__map { display: none; }
  .dw-idx__rule { display: none; }
  .dw-section__subhead--map { display: none; }

  /* Force IDX Broker widget elements to stay within viewport */
  .dw-idx__omnibar *,
  .dw-idx__map * { max-width: 100%; box-sizing: border-box; }
  .dw-idx__omnibar input[type="text"],
  .dw-idx__omnibar input[type="search"] {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 16px; /* prevents iOS zoom on focus */
  }
  .dw-idx__omnibar form,
  .dw-idx__omnibar table,
  .dw-idx__omnibar .omnibar-form { width: 100% !important; }

  /* -- About -- */
  .dw-team { flex-direction: column; align-items: center; }
  .dw-member { grid-template-columns: 1fr; max-width: 100%; }
  .dw-member__portrait-col { grid-column: 1; grid-row: 1; }
  .dw-member__bio-col { grid-column: 1; grid-row: 2; margin-top: 32px; }
  .dw-member__creds { grid-row: 3; margin-top: 40px; gap: 0; }
  .dw-member__portrait-wrap { aspect-ratio: 4 / 3; }
  .dw-member__cred-num { font-size: 32px; }
  .dw-member__cred { padding: 0 12px; }
  .dw-pullquote__text { font-size: 26px; }

  /* -- Footer -- */
  .dw-footer { padding: 48px 20px 28px; }
  .dw-footer__logo { height: 80px; }
  .dw-footer__tagline { font-size: 22px; }
  .dw-footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .dw-footer__lines {
    font-size: 16px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }
  .dw-footer__links { font-size: 16px; }
  .dw-footer__legal { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
