/*
 * Sorry, Not Sorry — Stylesheet
 * Professional Apology Copywriting Service
 * A Design Frameworks portfolio build
 *
 * Color palette (all hardcoded):
 *   Background:   #FAF7F7
 *   Text:         #1A1010
 *   Accent:       #C4556A
 *   Surface/card: #FFFFFF
 *   Muted text:   #6B5555
 *   Border:       #DDD0D0
 *
 * Fonts: Playfair Display (headings), Source Serif 4 (body)
 * Mobile-first. No external frameworks.
 */

/* ====================================================
   RESET & BASE
   ==================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #FAF7F7;
  color: #1A1010;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ====================================================
   FOCUS STYLES — keyboard accessibility
   ==================================================== */

:focus-visible {
  outline: 2.5px solid #C4556A;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ====================================================
   TYPOGRAPHY
   ==================================================== */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1A1010;
}

h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3vw + 0.5rem, 2.6rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  color: #1A1010;
  max-width: 66ch;
}

a {
  color: #C4556A;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #9e3c52;
  opacity: 0.9;
}

/* ====================================================
   UTILITY
   ==================================================== */

.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-rule {
  height: 1px;
  background-color: #DDD0D0;
  margin: 0;
}

/* ====================================================
   PORTFOLIO CREDIT BAR
   ==================================================== */

.portfolio-credit {
  background-color: #F0EAEA;
  border-bottom: 1px solid #DDD0D0;
  text-align: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.75rem;
  color: #6B5555;
  padding: 0.4rem 1rem;
  letter-spacing: 0.02em;
}

.portfolio-credit a {
  color: #6B5555;
  font-weight: 500;
}

.portfolio-credit a:hover {
  color: #C4556A;
}

/* ====================================================
   SITE HEADER & NAV
   ==================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FAF7F7;
  border-bottom: 1px solid #DDD0D0;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A1010;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Mobile hamburger */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: #1A1010;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.nav-toggle:hover {
  background-color: #F0EAEA;
}

/* Nav links */
.nav-links {
  display: none;
  list-style: none;
  gap: 0;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: #FAF7F7;
  border-bottom: 1px solid #DDD0D0;
  padding: 0.75rem 1.25rem 1rem;
  z-index: 99;
}

.nav-links--open {
  display: flex;
}

.nav-links li {
  border-bottom: 1px solid #F0EAEA;
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: #1A1010;
  text-decoration: none;
  padding: 0.65rem 0;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #C4556A;
}

.nav-cta-link {
  color: #C4556A !important;
  font-weight: 500;
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 2rem;
    align-items: center;
  }

  .nav-links li {
    border-bottom: none;
  }

  .nav-links a {
    padding: 0;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
  }
}

/* ====================================================
   BUTTONS
   ==================================================== */

.btn-primary,
.btn-secondary {
  display: inline-block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: #C4556A;
  color: #FAF7F7;
  border: 2px solid #C4556A;
}

.btn-primary:hover {
  background-color: #9e3c52;
  border-color: #9e3c52;
  color: #FAF7F7;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #C4556A;
  border: 1.5px solid #C4556A;
}

.btn-secondary:hover {
  background-color: #C4556A;
  color: #FAF7F7;
  transform: translateY(-1px);
}

/* ====================================================
   HERO
   ==================================================== */

.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-seal {
  display: flex;
  justify-content: center;
}

.hero-eyebrow {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #C4556A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  max-width: none;
}

.hero h1 {
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: #6B5555;
  margin-bottom: 1.25rem;
  max-width: 54ch;
}

.hero-sub {
  font-size: 1rem;
  color: #1A1010;
  margin-bottom: 2rem;
  max-width: 56ch;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 7rem;
  }

  .hero-inner {
    grid-template-columns: 1fr 140px;
    column-gap: 3rem;
  }

  .hero-content {
    order: -1;
  }

  .hero-seal {
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0 9rem;
  }
}

/* ====================================================
   SECTION HEADERS (shared pattern)
   ==================================================== */

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #C4556A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  max-width: none;
}

.section-subhead {
  font-size: 1rem;
  color: #6B5555;
  margin-top: 0.75rem;
  max-width: 60ch;
}

/* ====================================================
   SECTION: THE SITUATION
   ==================================================== */

.section-situation {
  padding: 5rem 0;
}

.situation-body {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  max-width: 70ch;
}

.situation-body p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.situation-pillars {
  display: grid;
  gap: 1.5rem;
}

.pillar {
  background-color: #FFFFFF;
  border: 1px solid #DDD0D0;
  border-radius: 4px;
  padding: 1.75rem;
}

.pillar-icon {
  margin-bottom: 1rem;
}

.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.9rem;
  color: #6B5555;
  line-height: 1.65;
  max-width: none;
}

@media (min-width: 640px) {
  .situation-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .section-situation {
    padding: 7rem 0;
  }
}

/* ====================================================
   SECTION: PACKAGES
   ==================================================== */

.section-packages {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid #DDD0D0;
  border-bottom: 1px solid #DDD0D0;
}

.packages-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.package-card {
  position: relative;
  background-color: #FAF7F7;
  border: 1px solid #DDD0D0;
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.package-card:hover {
  box-shadow: 0 4px 20px rgba(196, 85, 106, 0.08);
  transform: translateY(-2px);
}

.package-card--featured {
  background-color: #FFFFFF;
  border-color: #C4556A;
  border-width: 1.5px;
}

.package-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background-color: #C4556A;
  color: #FAF7F7;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 0 0 3px 3px;
}

.package-header {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #DDD0D0;
}

.package-tier {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #C4556A;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}

.package-header h3 {
  font-size: 1.25rem;
}

.package-body {
  flex: 1;
  margin-bottom: 1.5rem;
}

.package-body p {
  font-size: 0.93rem;
  color: #6B5555;
  line-height: 1.7;
  max-width: none;
  margin-top: 0.75rem;
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: #1A1010;
}

.packages-note {
  font-size: 0.8rem;
  color: #6B5555;
  font-style: italic;
  text-align: center;
  max-width: 60ch;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .section-packages {
    padding: 7rem 0;
  }
}

/* ====================================================
   SECTION: TESTIMONIALS
   ==================================================== */

.section-testimonials {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.testimonial-card {
  background-color: #FFFFFF;
  border: 1px solid #DDD0D0;
  border-radius: 4px;
  padding: 2rem 2rem 2rem;
  position: relative;
}

.testimonial-quote-mark {
  margin-bottom: 0.5rem;
}

.testimonial-card blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: #1A1010;
  margin-bottom: 1rem;
  max-width: none;
}

.testimonial-card blockquote footer {
  display: block;
}

.testimonial-card blockquote cite {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 500;
  color: #6B5555;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Trust stats row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid #DDD0D0;
  border-radius: 4px;
  background-color: #FFFFFF;
  overflow: hidden;
}

.trust-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.75rem 1rem;
  text-align: center;
}

.trust-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C4556A;
  line-height: 1;
}

.trust-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.78rem;
  color: #6B5555;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  background-color: #DDD0D0;
  align-self: stretch;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .section-testimonials {
    padding: 7rem 0;
  }
}

/* ====================================================
   SECTION: COMMISSION CTA
   ==================================================== */

.section-commission {
  padding: 5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid #DDD0D0;
}

.commission-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.commission-seal {
  opacity: 0.7;
}

.commission-content {
  max-width: 540px;
}

.commission-content h2 {
  margin: 0.5rem 0 1rem;
}

.commission-content p {
  font-size: 1rem;
  color: #6B5555;
  margin: 0 auto 1.75rem;
  max-width: 52ch;
  line-height: 1.75;
}

.commission-note {
  font-size: 0.82rem;
  color: #6B5555;
  font-style: italic;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .section-commission {
    padding: 7rem 0;
  }

  .commission-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 3rem;
  }

  .commission-content p {
    margin-left: 0;
  }

  .commission-seal {
    flex-shrink: 0;
  }
}

/* ====================================================
   PORTFOLIO CTA SECTION
   ==================================================== */

.section-portfolio-cta {
  padding: 5rem 0;
  background-color: #1A1010;
  border-top: 1px solid #DDD0D0;
}

.portfolio-cta-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.portfolio-cta-inner h2 {
  color: #FAF7F7;
  margin-bottom: 1rem;
}

.portfolio-cta-inner p {
  color: #DDD0D0;
  font-size: 1rem;
  margin: 0 auto 2rem;
  max-width: 50ch;
  line-height: 1.75;
}

.section-portfolio-cta .btn-primary {
  background-color: #C4556A;
  border-color: #C4556A;
  color: #FAF7F7;
}

.section-portfolio-cta .btn-primary:hover {
  background-color: #e06a7e;
  border-color: #e06a7e;
}

@media (min-width: 768px) {
  .section-portfolio-cta {
    padding: 7rem 0;
  }
}

/* ====================================================
   FOOTER
   ==================================================== */

.site-footer {
  background-color: #FAF7F7;
  border-top: 1px solid #DDD0D0;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A1010;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #6B5555;
  text-decoration: none;
}

.footer-links a:hover {
  color: #C4556A;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.8rem;
  color: #6B5555;
  max-width: none;
}

.footer-credit {
  display: block;
  margin-top: 0.25rem;
}

.footer-credit a {
  color: #6B5555;
  font-size: 0.8rem;
}

.footer-credit a:hover {
  color: #C4556A;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-credit {
    display: inline;
    margin-top: 0;
    margin-left: 0.75rem;
  }
}

/* ====================================================
   PRINT
   ==================================================== */

@media print {
  .portfolio-credit,
  .site-header,
  .nav-toggle {
    display: none;
  }
}
