/* ROSEGOLD Residential — design tokens */

:root {
  /* Gold accent ramp — warm gold with rose undertones */
  --rg-50:  #f7f1e8;
  --rg-100: #ecddc6;
  --rg-200: #ddc09a;
  --rg-300: #cba27a;
  --rg-400: #ba8a62;  /* primary — gold leaning rose */
  --rg-500: #9d6f4a;
  --rg-600: #7d5638;
  --rg-700: #5d3f29;

  /* Secondary rose-gold accent — used sparingly for warmth */
  --rose-200: #e8c8b8;
  --rose-300: #d4a896;
  --rose-400: #c08a78;

  /* Warm stone neutrals — neutral, sex-agnostic */
  --cream-50:  #fafaf7;
  --cream-100: #f4f3ee;
  --cream-200: #ebe9e1;
  --cream-300: #ddd9cd;
  --cream-400: #c3beb0;

  /* Ink — cool-warm balanced charcoal */
  --ink-900: #232323;
  --ink-800: #333231;
  --ink-700: #4a4845;
  --ink-600: #65625d;
  --ink-500: #888578;
  --ink-400: #aba89a;
  --ink-300: #c8c5b8;

  /* Surfaces */
  --hairline: rgba(35, 35, 35, 0.12);
  --hairline-soft: rgba(35, 35, 35, 0.07);

  /* Radii — small, refined */
  --r-sm: 2px;
  --r-md: 3px;
  --r-lg: 4px;

  /* Type */
  --font-display: "Inter Tight", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter Tight", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;
}

/* Base */
.rg-screen {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}

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

/* Type utilities */
.rg-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink-600);
}
.rg-eyebrow-rg { color: var(--rg-500); }

.rg-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.rg-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Hairlines */
.rg-rule { height: 1px; background: var(--hairline); width: 100%; }
.rg-rule-soft { background: var(--hairline-soft); }

/* Buttons */
.rg-btn {
  appearance: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 11px 18px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.rg-btn-primary {
  background: var(--ink-900);
  color: var(--cream-50);
}
.rg-btn-primary:hover { background: var(--ink-800); }

.rg-btn-rose {
  background: var(--rg-400);
  color: white;
}
.rg-btn-rose:hover { background: var(--rg-500); }

.rg-btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--hairline);
}
.rg-btn-ghost:hover {
  border-color: var(--ink-900);
  background: var(--cream-50);
}

.rg-btn-link {
  background: transparent;
  padding: 4px 0;
  color: var(--ink-900);
  position: relative;
}
.rg-btn-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--ink-900);
}
.rg-btn-link:hover { color: var(--rg-500); }
.rg-btn-link:hover::after { background: var(--rg-500); }

/* Tag */
.rg-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 9px 4px;
  background: var(--cream-200);
  color: var(--ink-700);
  border-radius: 999px;
  font-weight: 500;
}
.rg-tag-rose {
  background: var(--rg-100);
  color: var(--rg-700);
}
.rg-tag-dot::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* Heart icon container */
.rg-heart {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
}
.rg-heart:hover { background: white; transform: scale(1.06); }
.rg-heart.is-saved { background: var(--rg-400); color: white; }

/* Inputs */
.rg-input {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-900);
  outline: none;
  width: 100%;
  padding: 0;
}
.rg-input::placeholder { color: var(--ink-400); }

.rg-field {
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rg-field-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-500);
  font-weight: 500;
}

/* Card */
.rg-card-img {
  width: 100%;
  background: var(--cream-300);
  position: relative;
  overflow: hidden;
}

/* Striped placeholder */
.rg-placeholder {
  background: repeating-linear-gradient(
    135deg,
    var(--cream-200),
    var(--cream-200) 12px,
    var(--cream-300) 12px,
    var(--cream-300) 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

/* Scrollbar suppression inside artboards */
.rg-screen *::-webkit-scrollbar { display: none; }
.rg-screen * { scrollbar-width: none; }

/* ── Tweak-driven runtime overrides ─────────────────────── */
/* Always-show hamburger (forces mobile nav at desktop too) */
html[data-hamburger-always="true"] .rg-nav-desktop,
html[data-hamburger-always="true"] .rg-nav-cta-desktop {
  display: none !important;
}
html[data-hamburger-always="true"] .rg-nav-toggle {
  display: inline-flex !important; align-items: center;
}

/* Eyebrow accent toggle */
html[data-header-accent="false"] .rg-eyebrow-rg {
  color: var(--ink-700) !important;
}
html[data-header-accent="false"] .rg-eyebrow-rg::before {
  display: none !important;
}
