/* ============================================
   MELANIE DEFRIES PR — style.css (v4 editorial)
   ============================================

   Contrast ratios (WCAG 2.1 AA):
   --ink   #141414 / white:        18.42:1
   --ink   #141414 / --off:        17.05:1
   --mid   #5C5C58 / white:         6.72:1
   --mid   #5C5C58 / --off:         6.21:1
   --light #767672 / white:         4.56:1  (large/UI text only)
   --accent #A63D4E / white:        6.18:1
   --accent #A63D4E / --off:        5.72:1
   --accent-dk #E8A0A8 / --ink:     8.79:1
   --pov-body #A8A8A2 / --ink:      7.71:1
   white / --ink:                  18.42:1
   ============================================ */

/* ── TOKENS ── */
:root {
  --white:     #FFFFFF;
  --off:       #F7F6F3;
  --ink:       #141414;
  --mid:       #5C5C58;
  --light:     #767672;
  --rule:      #E2E0DA;
  --accent:    #A63D4E;
  --accent-dk: #E8A0A8;
  --pov-body:  #A8A8A2;
  --max:       1080px;
  --sans:      'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif:     Georgia, 'Times New Roman', serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── FOCUS ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── SCROLL MARGIN ── */
[id] { scroll-margin-top: 72px; }

/* ── SR ONLY ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%; left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav-name {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a:not(.nav-cta) {
  font-size: 13px; color: var(--mid);
  transition: color 0.15s; padding: 6px 0;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 10px 36px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.3px; white-space: nowrap;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--ink) !important; }

/* ── HERO ── */
.hero {
  padding: 104px 0 88px;
  border-bottom: 1px solid var(--rule);
}
.hero-headline {
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 48px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-intro {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 20px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  max-width: 640px;
}
.hero-sub {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 640px;
}
.hero-sub:last-of-type { margin-bottom: 0; }
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 13px 48px; min-height: 44px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--accent); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── PROOF STRIP ── */
.proof {
  border-top: 1px solid var(--rule);
  background: var(--off);
}
.proof-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  border-left: 1px solid var(--rule);
}
.proof-item {
  padding: 28px 28px 28px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.proof-stat {
  font-size: 28px; font-weight: 800;
  letter-spacing: -1px; line-height: 1;
  color: var(--ink); margin-bottom: 6px;
}
.proof-stat span { color: var(--accent); }
.proof-label { font-size: 13px; color: var(--mid); line-height: 1.5; }

/* Featured proof item — Media + AI */
.proof-item--featured {
  background: var(--accent);
  border-right: none;
  border-bottom: 1px solid var(--accent);
}
.proof-item--featured .proof-stat {
  font-size: 36px;
  color: var(--white);
}
.proof-item--featured .proof-stat span { color: var(--white); opacity: 0.7; }
.proof-item--featured .proof-label { color: rgba(255,255,255,0.8); font-size: 14px; }

/* ── SERVICES ── */
.services { padding: 96px 0 80px; }
.services-header {
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 40px;
}
.services-header h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -1px; line-height: 1.05;
  white-space: nowrap;
}
.services-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 52px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-name {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800; letter-spacing: -0.5px; line-height: 1.15;
  color: var(--ink);
}
.service-body { font-size: 15px; color: var(--mid); line-height: 1.85; }
.service-body p { margin-bottom: 12px; }
.service-body p:last-child { margin-bottom: 0; }

/* ── EXPERIENCE ── */
.experience {
  padding: 96px 0;
  background: var(--off);
  border-top: 1px solid var(--rule);
}
.experience-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.experience-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(8%);
}
.experience-right h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; letter-spacing: -0.5px; line-height: 1.1;
  margin-bottom: 48px;
}
.experience-items { display: flex; flex-direction: column; }
.experience-item {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.experience-item:last-child { border-bottom: 1px solid var(--rule); }
.experience-item-label {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.3px; color: var(--ink);
}
.experience-item-body { font-size: 15px; color: var(--mid); line-height: 1.8; }

/* ── POV / AI SECTION ── */
.pov {
  padding: 0;
  background: var(--ink);
}
.pov-inner {
  max-width: var(--max); margin: 0 auto;
}
.pov-lede {
  padding: 80px 40px 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pov-lede-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 24px;
  display: block;
}
.pov-lede h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800; color: var(--white);
  letter-spacing: -2px; line-height: 1;
  max-width: 800px;
}
.pov-body {
  padding: 48px 40px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.pov-body p {
  font-size: 15px; color: var(--pov-body); line-height: 1.85;
}

/* ── TESTIMONIALS ── */
.testimonials { padding: 96px 0; border-top: 1px solid var(--rule); }
.testimonials h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 56px; padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.testimonials-layout { display: flex; flex-direction: column; }
.testimonial {
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 48px;
  align-items: start;
}
.testimonial:last-child { border-bottom: none; }
.testimonial-quote {
  font-family: var(--serif);
  font-size: 19px; line-height: 1.75;
  color: var(--ink);
  font-style: italic;
}
.testimonial-quote::before {
  content: '\201C';
  color: var(--accent);
  font-size: 32px; line-height: 0;
  vertical-align: -10px; margin-right: 3px;
  font-style: normal;
}
.testimonial-quote::after {
  content: '\201D';
  color: var(--accent);
  font-size: 32px; line-height: 0;
  vertical-align: -10px; margin-left: 3px;
  font-style: normal;
}
.testimonial-attr { padding-top: 6px; }
.testimonial-name {
  font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 3px;
}
.testimonial-role { font-size: 13px; color: var(--mid); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 40px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
footer p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-link {
  font-size: 13px; color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.footer-link:hover { color: var(--white); border-color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Proof */
  .proof-inner {
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid var(--rule);
  }
  .proof-item--featured {
    grid-column: 1 / -1;
    border-right: none;
  }

  /* Services */
  .service-row { grid-template-columns: 1fr; gap: 16px; }

  /* Experience */
  .experience-inner { grid-template-columns: 1fr; gap: 40px; }
  .experience-photo { max-width: 240px; }

  /* POV */
  .pov-body { grid-template-columns: 1fr; gap: 24px; }

  /* Testimonials */
  .testimonial { grid-template-columns: 1fr; gap: 16px; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .hero { padding: 64px 0 56px; }
  .hero-headline { letter-spacing: -2px; }
  .proof-inner { padding: 0; }
  .pov-lede { padding: 56px 24px 40px; }
  .pov-body { padding: 32px 24px 56px; }
  footer { padding: 24px 24px; }
  .nav-links { gap: 16px; }
}

@media (max-width: 380px) {
  .nav-name { letter-spacing: 1px; }
  .nav-links { gap: 10px; }
  .nav-cta { padding: 8px 14px; }
  .nav-links .nav-hide-xs { display: none; }
}

@media (max-width: 320px) {
  .nav-links .nav-hide-xxs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ── CONTACT (definitive override — must remain last) ── */
.contact.contact--burgundy {
  width: 100%;
  margin: 0;
  padding: clamp(72px, 8vw, 104px) 0;
  background: var(--accent);
  color: var(--white);
}

.contact.contact--burgundy > .container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.contact.contact--burgundy .contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0;
}

@media (max-width: 760px) {
  .contact.contact--burgundy {
    padding: 64px 0;
  }

  .contact.contact--burgundy > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact.contact--burgundy .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── CONTACT CONTENT STYLES ── */
.contact.contact--burgundy h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 700px;
}
.contact-body {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 560px;
}
.contact-availability {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: var(--off); }
.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
