/* ============================================================
   Irina Bugariu — realtybyirina.com
   Palette + type matched to candicecoppola.com
     cream #FBF8F3 · beige #F7F0E7 · coral #FC7247
     salmon #F37C7B · pale pink #FFDDDD · black text
   Type: Playfair Display (display) + Poppins (body / UI)
   Mobile-first.
   ============================================================ */

:root {
  /* palette matched to whitsellstacoma.com — olive, wine, gold on warm cream */
  --cream:      #FAF8F5;   /* page background        */
  --beige:      #FFFBEB;   /* alternating band       */
  --offwhite:   #F7F4EF;
  --gold-pale:  #F5E2B8;

  --coral:      #5C6B3C;   /* PRIMARY action — olive */
  --coral-dk:   #3D4728;   /* olive, darker          */
  --salmon:     #9B4A58;   /* wine accent            */
  --wine:       #7B2D3B;
  --gold:       #D9A441;
  --gold-dk:    #8A6516;

  --pink-pale:  #F5E2B8;   /* pale gold band         */
  --peach:      #8B6F4E;

  --ink:        #2C2420;
  --ink-soft:   #5C4F45;
  --grey:       #8C7E74;
  --line:       #E8E2DA;

  --measure: 36rem;
  --gutter: 1.5rem;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Type ---------- */

h1, h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-top: 1.6em; }

h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2.2em 0 0.75em;
  line-height: 1.5;
}

p { margin: 0 0 1.3em; max-width: var(--measure); }

a { color: var(--coral-dk); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 1.4rem;
  display: block;
  line-height: 1.6;
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }

section { padding: 4rem 0; }
section.tight { padding: 2.5rem 0; }
.band-warm  { background: var(--beige); }
.band-green { background: var(--offwhite); }
.band-pink  { background: var(--pink-pale); }

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem var(--gutter);
  max-width: 64rem; margin: 0 auto;
}
.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; font-weight: 400; color: var(--ink);
  text-decoration: none; line-height: 1.15;
}
.wordmark span {
  display: block; font-family: 'Poppins', sans-serif; font-size: 0.5625rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--grey);
  font-weight: 500; margin-top: 0.2rem;
}

.nav-toggle {
  background: none; border: 1px solid var(--ink); border-radius: 0;
  padding: 0.5rem 0.9rem; border-radius: 8px; font-family: 'Poppins', sans-serif;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.site-nav { display: none; }
.site-nav.open { display: block; }
.site-nav ul {
  list-style: none; margin: 0;
  padding: 0.25rem var(--gutter) 1.25rem;
  border-top: 1px solid var(--line);
}
.site-nav li { border-bottom: 1px solid var(--line); }
.site-nav li:last-child { border-bottom: 0; }
.site-nav a {
  display: block; padding: 0.8rem 0; text-decoration: none;
  color: var(--ink); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.site-nav a[aria-current="page"] { color: var(--coral); }

/* ---------- Hero ---------- */

.hero { padding: 4rem 0 3rem; }
.hero h1 { font-size: 2.9rem; }
.hero .lede { max-width: 33rem; }

.headshot {
  width: 100%; max-width: 24rem; aspect-ratio: 4 / 5;
  object-fit: cover; display: block; margin-bottom: 1.75rem;
  background: var(--beige);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--coral); color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2.1rem; border: 0; border-radius: var(--radius);
  cursor: pointer; line-height: 1.4;
  transition: background .18s ease;
}
.btn:hover { background: var(--coral-dk); color: #fff; }

.cta-block { margin: 2rem 0 0; }
.cta-sub { font-size: 0.9375rem; color: var(--grey); margin: 1rem 0 0; }
.cta-quiet { font-size: 0.9375rem; color: var(--grey); margin: 0.7rem 0 0; max-width: var(--measure); }

/* ---------- Cards ---------- */

.cards { display: grid; gap: 1.5rem; margin-top: 2rem; }
.card {
  background: var(--cream); border: 1px solid var(--line);
  padding: 1.9rem 1.7rem; border-radius: 14px;
}
.band-warm .card, .band-pink .card { background: var(--cream); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem; color: var(--wine);
  display: block; line-height: 1; margin-bottom: 0.6rem;
}
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--coral); }

.plainlist { padding-left: 1.2rem; max-width: var(--measure); }
.plainlist li { margin-bottom: 0.7em; }

/* ---------- Quotes ---------- */

.quote {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 2rem 0; max-width: var(--measure);
}
.quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1875rem; line-height: 1.6; font-style: italic;
  color: var(--ink); margin-bottom: 0.7rem;
}
.quote cite {
  font-style: normal; font-size: 0.6875rem; color: var(--grey);
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}

/* ---------- Form ---------- */

.form { margin-top: 2rem; max-width: 30rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.5rem; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; font-family: 'Poppins', sans-serif; font-size: 1rem;
  color: var(--ink); padding: 0.8rem 0.9rem;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--coral); outline-offset: 1px; border-color: var(--coral);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field .hint { font-size: 0.8125rem; color: var(--grey); margin: 0.4rem 0 0; }

/* ---------- Placeholder marker ---------- */

.placeholder {
  display: inline-block; background: #FFF3CD; border: 1px dashed #B8860B;
  color: #7A5B00; font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0; text-transform: none;
}
.placeholder-block {
  display: block; background: #FFF3CD; border: 1px dashed #B8860B;
  color: #7A5B00; padding: 1rem 1.1rem;
  font-size: 0.8125rem; line-height: 1.6; margin: 1.5rem 0;
  max-width: var(--measure);
}

/* ---------- Footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--beige);
  padding: 3rem 0 3.5rem; margin-top: 0;
  font-size: 0.9375rem; color: var(--grey);
}
.site-foot h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.6875rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 1rem; font-weight: 600;
}
.site-foot p { max-width: none; }
.foot-grid { display: grid; gap: 2.25rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.5rem; }
.foot-grid a { color: var(--grey); text-decoration: none; }
.foot-grid a:hover { color: var(--coral); }
.legal {
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.7;
}
.legal p { max-width: 46rem; }

.reviewed { font-size: 0.8125rem; color: var(--grey); font-style: italic; }

/* ---------- Desktop ---------- */

@media (min-width: 46rem) {
  body { font-size: 1.09375rem; }
  h1 { font-size: 4rem; }
  .hero h1 { font-size: 4.4rem; }
  h2 { font-size: 2.6rem; }
  section { padding: 6rem 0; }
  .hero { padding: 5.5rem 0 4.5rem; }

  .nav-toggle { display: none; }
  .site-nav { display: block !important; }
  .site-nav ul { display: flex; gap: 1.85rem; border: 0; padding: 0; }
  .site-nav li { border: 0; }
  .site-nav a { padding: 0; font-size: 0.6875rem; }

  .hero-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem; align-items: center;
  }
  .headshot { margin-bottom: 0; max-width: none; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3.5rem; }
}

/* step headings sit directly under their eyebrow */
h2.step { margin-top: 0; }
.eyebrow + h2 { margin-top: 0; }

/* ---------- Whitsell-style action modules ---------- */
.module {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0;
}
.module:first-of-type { border-top: 0; }
.module h2 {
  font-size: 1.75rem;
  margin: 0 0 0.6rem;
}
.module p { margin-bottom: 1.1rem; }
.module .btn { margin-top: 0.4rem; }
.module-note { font-size: 0.9375rem; color: var(--grey); margin-top: 0.9rem; }

.hero-simple { padding: 3rem 0 1rem; }
.hero-simple h1 { margin-bottom: 0.3rem; }
.hero-simple .role {
  font-family: 'Poppins', sans-serif; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 1.6rem;
}
.headshot-round {
  width: 8.5rem; height: 8.5rem; border-radius: 50%;
  object-fit: cover; object-position: center 18%;
  display: block; margin-bottom: 1.5rem; background: var(--beige);
}

@media (min-width: 46rem) {
  .module { padding: 3.5rem 0; }
  .module h2 { font-size: 2.1rem; }
  .hero-simple { padding: 4.5rem 0 1.5rem; }
  .headshot-round { width: 11rem; height: 11rem; }
}

/* ---------- Expandable modules (Whitsell-style ▾) ---------- */
.expand { margin-top: 0.4rem; }
.expand > summary {
  list-style: none; cursor: pointer; display: inline-flex;
  align-items: center; gap: 0.7rem;
  background: var(--coral); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1.1rem 2.1rem; line-height: 1.4; border-radius: var(--radius);
  transition: background .18s ease;
}
.expand > summary::-webkit-details-marker { display: none; }
.expand > summary::marker { content: ""; }
.expand > summary:hover { background: var(--coral-dk); }
.expand > summary .chev { transition: transform .2s ease; font-size: 0.9em; }
.expand[open] > summary .chev { transform: rotate(180deg); }

.expand-outline > summary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.expand-outline > summary:hover { background: var(--ink); color: #fff; }

.expand-body { padding-top: 1.75rem; }
.expand-body p:last-child { margin-bottom: 0; }

/* ---------- Self-select routing list ---------- */
.routes { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.routes a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0.2rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  font-size: 1.0625rem; line-height: 1.45;
  transition: background .15s ease, padding-left .15s ease;
}
.routes a:hover { background: var(--beige); padding-left: 0.7rem; color: var(--ink); }
.routes a .arrow { color: var(--wine); font-size: 1.1rem; flex: none; }
