/* Robin McCourt — pleasecallmylawyer.ca
   Palette: white + sophisticated dusty rose. Feminine, credible, calm. */

:root {
  --white:       #ffffff;
  --paper:       #fefcfd;
  --blush:       #fdf2f4;   /* alt section bg */
  --blush-deep:  #fbe6ea;   /* card surfaces, dividers */
  --pink:        #f8c4d2;   /* decorative accent */
  --rose:        #c2185b;   /* primary */
  --rose-deep:   #8e1145;   /* hover */
  --rose-soft:   #f06292;   /* lighter pink for highlights */
  --wine:        #2a0e1a;   /* headings */
  --ink:         #1f2937;   /* body */
  --muted:       #6b5560;   /* meta, captions */
  --line:        #f1d8de;   /* hairline borders */
  --shadow:      0 6px 24px rgba(194, 24, 91, 0.08);
  --shadow-lg:   0 18px 48px rgba(194, 24, 91, 0.12);
  --radius:      14px;
  --radius-sm:   8px;
  --serif:       'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--rose-deep); text-decoration: underline; }

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--wine);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.85rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }
em { font-style: italic; color: var(--rose-deep); }

.skip {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  left: 1rem; top: 1rem; width: auto; height: auto;
  padding: .5rem 1rem; background: var(--wine); color: var(--white);
  z-index: 200; border-radius: var(--radius-sm);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 760px; }

/* ----- Ribbon ----- */
.ribbon {
  background: var(--wine);
  color: var(--pink);
  text-align: center;
  font-size: .85rem;
  letter-spacing: .04em;
  padding: .55rem 1rem;
}

/* ----- Nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem; gap: 1.5rem;
}
.brand {
  display: flex; flex-direction: column; line-height: 1.1;
  color: var(--wine); text-decoration: none;
}
.brand:hover { color: var(--rose); text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.brand-sub  { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .95rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--rose); }
.nav-links .btn { font-size: .85rem; }

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--sans); font-weight: 600;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 1rem; line-height: 1;
  text-decoration: none; transition: all .18s ease;
  letter-spacing: .01em;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--rose); color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--rose-deep); color: var(--white);
  transform: translateY(-1px); box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent; color: var(--rose);
  border-color: var(--rose);
}
.btn-ghost:hover {
  background: var(--blush-deep); color: var(--rose-deep);
  border-color: var(--rose-deep);
}

/* ----- Hero ----- */
.hero {
  background:
    radial-gradient(ellipse at top right, var(--blush) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, var(--blush-deep) 0%, transparent 50%),
    var(--white);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  opacity: .55; pointer-events: none;
}
.hero-wrap { position: relative; max-width: 900px; }
.eyebrow {
  display: inline-block;
  color: var(--rose-deep); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; margin: 0 0 1.5rem;
  padding: .4rem .9rem; background: var(--blush-deep); border-radius: 999px;
}
.hero-name { margin: 0 0 .2em; }
.hero-title {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--rose); margin: 0 0 1.4rem; font-weight: 500;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 640px; color: var(--ink); margin-bottom: 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ----- Sections ----- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section-alt { background: var(--blush); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  color: var(--rose); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  font-size: .78rem; margin: 0 0 .9rem;
}

/* ----- Cards ----- */
.cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.5rem;
}
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card::before {
  content: ''; position: absolute; top: 0; left: 1.75rem; right: 1.75rem;
  height: 3px; background: linear-gradient(90deg, var(--rose), var(--rose-soft));
  border-radius: 0 0 3px 3px;
}
.card h3 { color: var(--wine); margin-top: .5rem; }
.card p { margin: 0; color: var(--ink); font-size: .96rem; }

/* ----- Contact ----- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
.contact-lede { color: var(--muted); margin-bottom: 1.6rem; }

.contact-list { margin: 0 0 1.6rem; display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; }
.contact-list dt {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding-top: .3rem;
}
.contact-list dd { margin: 0; color: var(--ink); }
.contact-list a { font-weight: 500; }
.muted-link { color: var(--muted); font-size: .9rem; }
.muted-link:hover { color: var(--rose); }

.disclaimer {
  margin-top: 2rem; padding: 1rem 1.2rem;
  border-left: 3px solid var(--rose-soft);
  background: var(--blush);
  font-size: .85rem; color: var(--muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ----- Form ----- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 540px) {
  .contact-form .row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: block; font-weight: 600; font-size: .82rem;
  color: var(--wine); margin-bottom: .35rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.contact-form .opt { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.contact-form input,
.contact-form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .err {
  color: var(--rose-deep); font-size: .85rem; margin: .3rem 0 0;
}
.contact-form .btn { margin-top: .4rem; }

.flash {
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  margin-bottom: 1.4rem;
  border: 1px solid;
}
.flash-success {
  background: #f4faf6; color: #1e6c3a; border-color: #cae6d3;
}
.flash-error,
.flash-warning {
  background: var(--blush); color: var(--rose-deep); border-color: var(--line);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--wine); color: rgba(255, 240, 245, 0.85);
  padding: 2.4rem 0;
  margin-top: 2rem;
}
.footer-wrap {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  font-size: .88rem;
}
.footer-wrap p { margin: 0; }
.footer-wrap a { color: var(--pink); }
.footer-wrap a:hover { color: var(--white); }
.footer-meta { color: rgba(255, 240, 245, 0.65); }
