/* Ralfs Perfumes theme: color overrides only. Layout, type and spacing come from style.css.
   Palette: light blue #DCECF7 · blue #477FA9 · slate #293846 · soft gray #E5E7EB · warm off-white bg.
   #41769F (a hair deeper than #477FA9) is used where white or small text sits on/in blue,
   so it meets the 4.5:1 readability standard (#477FA9 measures 4.31:1 with white). */
:root {
  --bg: #FAF7F2;            /* existing warm off-white */
  --surface: #FFFFFF;
  --text: #293846;          /* dark slate */
  --muted: #5E6B78;         /* slate gray, 5.4:1 on white */
  --line: #E5E7EB;
  --line-strong: #D3D9E0;
  --accent: #41769F;        /* buttons, small blue text (4.86:1 with white) */
  --accent-ink: #FFFFFF;
  --accent-soft: #DCECF7;   /* light blue */
  --brand-blue: #477FA9;    /* exact brand blue for large/decorative use */
  --hover-gray: #E5E7EB;
}

/* Circular initials: light blue fill, brand blue letters (large text, 3.6:1, passes) */
.avatar {
  background: var(--accent-soft);
  color: var(--brand-blue);
  border-color: #C7DDEE;
}

/* Primary button: smooth, slightly deeper on hover */
.btn-primary { transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn-primary:hover { filter: none; background: #3F729A; border-color: #3F729A; }
.btn-primary:active { background: #386689; border-color: #386689; }

/* Soft gray hover on secondary buttons and contact rows */
.btn:not(.btn-primary) { transition: background-color .2s ease, border-color .2s ease; }
.btn:not(.btn-primary):hover { background: var(--hover-gray); border-color: var(--line-strong); }
.link-row { border-radius: 12px; transition: background-color .2s ease; }
.link-row:hover, .link-row:active { background: var(--hover-gray); }
.link-row:hover .link-ico, .link-row:active .link-ico { background: var(--surface); }
.link-ico { transition: background-color .2s ease; }

/* Footer wordmark */
.brand { color: var(--accent); opacity: 1; letter-spacing: .14em; }
.edit-link:hover { color: var(--text); }

/* Form focus states in blue */
.field input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(71, 127, 169, .18); }
.slug-input:focus-within { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(71, 127, 169, .18); }
:focus-visible { outline-color: var(--brand-blue); }
.switch input { accent-color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .btn, .link-row, .link-ico { transition: none !important; } }
