/* =========================================================
   Megan Moxon — static S3 site
   No framework, no external font dependency, no JavaScript.
   ========================================================= */

:root {
  --ink: #1c1a21;
  --ink-soft: #57515f;
  --paper: #fffdf9;
  --paper-warm: #f6f0e8;
  --paper-deep: #ede3d7;
  --accent: #7e3f67;
  --accent-dark: #552643;
  --accent-soft: #efe1ea;
  --dark: #201b24;
  --dark-soft: #2c2532;
  --line: rgba(28, 26, 33, 0.12);
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(37, 28, 35, 0.10);
  --radius: 22px;
  --radius-small: 14px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name {
  font-family:
    Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 1rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 249, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-role {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.7rem 0.85rem;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--paper-warm);
}

.site-nav .nav-cta {
  margin-left: 0.3rem;
  padding-inline: 1rem;
  color: var(--white);
  background: var(--accent);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--accent-dark);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(126, 63, 103, 0.11), transparent 30%),
    linear-gradient(180deg, var(--paper), #faf6f0);
}

.hero::after {
  position: absolute;
  right: -10rem;
  bottom: -13rem;
  width: 30rem;
  height: 30rem;
  content: "";
  border: 1px solid rgba(126, 63, 103, 0.15);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy > h2 {
  max-width: 680px;
  margin-bottom: 1.7rem;
  color: var(--ink-soft);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero-questions {
  padding: 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.66);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.hero-questions p {
  margin: 0;
  font-weight: 650;
}

.hero-questions p + p {
  margin-top: 0.5rem;
}

.hero-lead {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(126, 63, 103, 0.35);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--accent-dark);
  background: transparent;
  border-color: rgba(126, 63, 103, 0.35);
}

.button-secondary:hover {
  background: var(--accent-soft);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -1rem;
  right: -1rem;
  bottom: 1rem;
  left: 1rem;
  content: "";
  background: var(--accent-soft);
  border-radius: var(--radius);
  transform: rotate(3deg);
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sections */

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-light {
  background: var(--paper-warm);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(126, 63, 103, 0.5), transparent 30%),
    var(--dark);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-light .section-kicker {
  color: #d9a8ca;
}

.section-intro {
  max-width: 650px;
  margin: -0.3rem auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.prose {
  max-width: 760px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose-large {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

/* Services */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.info-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(28, 26, 33, 0.055);
}

.info-card-featured {
  border-color: rgba(126, 63, 103, 0.3);
  box-shadow: 0 18px 45px rgba(126, 63, 103, 0.12);
}

.card-number {
  position: absolute;
  top: 0.55rem;
  right: 1.25rem;
  color: rgba(126, 63, 103, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.6rem;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(28, 26, 33, 0.07);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

/* Testimonials */

.testimonial-grid {
  columns: 2 430px;
  column-gap: 1.25rem;
}

.testimonial-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 2rem;
  break-inside: avoid;
  color: #eee8ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.testimonial-card p {
  color: #e1dce4;
}

.testimonial-card footer {
  margin-top: 1.25rem;
  color: var(--white);
  font-weight: 850;
}

.quote-mark {
  height: 2.2rem;
  color: #d9a8ca;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  line-height: 0.8;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 26, 33, 0.055);
}

.price-card-featured {
  border: 2px solid rgba(126, 63, 103, 0.45);
  transform: translateY(-0.5rem);
}

.popular {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  margin: 0;
  padding: 0.32rem 0.75rem;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.price-label {
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.price {
  margin-bottom: 1.25rem;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.delivery {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.3rem 0.7rem;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.custom-order {
  max-width: 780px;
  margin: 2rem auto 0;
  padding: 1.1rem 1.25rem;
  color: var(--ink-soft);
  background: var(--paper-warm);
  border-radius: var(--radius-small);
  text-align: center;
}

/* Contact */

.contact-section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  color: var(--white);
  background: var(--accent);
}

.contact-section .section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.contact-section h2 {
  margin-bottom: 0.5rem;
}

.contact-section p:last-child {
  margin-bottom: 0;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-actions {
  flex-shrink: 0;
  margin-top: 0;
}

.button-light {
  color: var(--accent-dark);
  background: var(--white);
}

.button-light:hover {
  background: var(--paper-warm);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */

.site-footer {
  padding: 1.5rem 0;
  color: #cfc8d1;
  background: #161219;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-inner p {
  margin: 0;
}

/* Responsive */

@media (max-width: 980px) {
  .header-inner {
    padding-block: 0.75rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    padding-left: 0;
    padding-right: 1rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    padding-left: 1rem;
  }

  .hero-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    max-width: 780px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-card-featured {
    grid-column: span 2;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card-featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.3rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .info-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .info-card-featured {
    grid-column: auto;
  }

  .testimonial-grid {
    columns: 1;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .contact-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
