/* =========================================================
   Sofia's Solutions — site styles
   Colors and fonts live in :root below. Change them there
   and the whole site updates.
   ========================================================= */

:root {
  /* Brand colors (from the logo files) */
  --plum: #904979;
  --plum-deep: #6e3159;      /* darker plum for small text on blush + hover */
  --plum-ink: #4a1f3b;       /* deepest plum for overlays */
  --rose: #c17194;
  --blush: #f2c9da;
  --blush-soft: #fbecf2;
  --cream: #fff9f5;
  --white: #ffffff;
  --charcoal: #3d2e38;     /* body text: dark plum-gray, easy to read on cream */
  --muted: #5a4a54;
  --line: rgba(144, 73, 121, 0.18);

  /* Type */
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing + shape */
  --gutter: 1.25rem;
  --section-y: 5rem;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 40px -22px rgba(74, 31, 59, 0.35);
  --shadow-card: 0 10px 30px -18px rgba(74, 31, 59, 0.28);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--plum);
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
}

p { margin: 0 0 1em; }

a {
  color: var(--plum);
  text-decoration-color: var(--rose);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--plum-deep); text-decoration-color: var(--plum); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.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 {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--plum); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Small type pieces ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--plum-deep);
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: var(--rose); flex: none;
  align-self: flex-start; margin-top: 0.8em; /* lines up with the first line when text wraps */
}
.eyebrow-light { color: var(--white); }
.eyebrow-light::before { background: var(--blush); }
.eyebrow-small { margin-bottom: 0.4rem; }

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2.25rem, 4.5vw + 1rem, 3.75rem); }
.section-lead { font-size: 1.075rem; color: var(--muted); max-width: 560px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.6rem;
  border-radius: 999px; border: 0;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s var(--ease-out), color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform 0.25s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover {
  background: var(--plum-deep); color: var(--white);
  box-shadow: 0 0 0 4px rgba(193, 113, 148, 0.35);
}

.btn-light { background: var(--cream); color: var(--plum); }
.btn-light:hover {
  background: var(--blush); color: var(--plum-deep);
  box-shadow: 0 0 0 4px rgba(242, 201, 218, 0.35);
}

.btn-outline { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--white); }

.btn-lg { min-height: 56px; padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 0.95rem; color: var(--plum);
  text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 1.5px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 245, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(74, 31, 59, 0.45);
}

.header-inner {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: var(--header-h);
}

.brand { display: block; padding: 0.5rem 0; margin-right: auto; }
.brand img { width: 140px; height: auto; }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--plum); cursor: pointer;
}
.menu-toggle svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu panel */
.main-nav {
  /* absolute, not fixed: the header's backdrop blur would trap a fixed panel */
  position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: var(--plum);
  padding: 2.5rem var(--gutter) 3rem;
  display: flex; flex-direction: column; gap: 2rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  overflow-y: auto;
}
.main-nav.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li + li { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.main-nav ul a {
  display: block; padding: 0.9rem 0;
  font-family: var(--font-serif); font-size: 2.25rem; font-weight: 500;
  color: var(--white); text-decoration: none;
}
.main-nav ul a:hover { color: var(--blush); }
.main-nav .nav-cta { background: var(--cream); color: var(--plum); align-self: flex-start; }
.main-nav .nav-cta:hover { background: var(--blush); color: var(--plum-deep); }
.main-nav :focus-visible { outline-color: var(--blush); }

body.nav-open { overflow: hidden; }

@media (max-width: 359px) {
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 2.5rem 0 4rem; position: relative; isolation: isolate; overflow-x: clip; }
.hero::before {
  /* soft blush glow behind the photo */
  content: ""; position: absolute; z-index: -1;
  width: 70vw; max-width: 720px; aspect-ratio: 1;
  right: -20vw; top: 10%;
  background: radial-gradient(closest-side, rgba(242, 201, 218, 0.75), rgba(242, 201, 218, 0));
}

/* one long line across the top of the hero */
.hero-eyebrow { display: flex; width: 100%; margin-bottom: 1.75rem; }
.hero-eyebrow::after {
  content: ""; flex: 1 1 2rem; height: 1.5px; background: var(--rose);
  align-self: flex-start; margin-top: 0.8em; min-width: 2rem;
}

.hero-grid { display: grid; gap: 3rem; align-items: center; }

.hero h1 {
  font-size: clamp(2.75rem, 7vw + 1rem, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero-sub { font-size: 1.125rem; max-width: 34ch; color: var(--charcoal); margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }

.hero-visual {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 0 1.25rem 1.25rem 0;
}

.arch-frame { position: relative; }
.arch-frame::before {
  /* thin rose outline offset behind the photo */
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1.5px solid var(--rose);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.arch-frame img {
  position: relative;
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 48% 30%;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--blush);
}

.sticker {
  position: absolute;
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: 1.3rem; line-height: 1;
  color: var(--plum-deep); background: var(--blush);
  padding: 0.65rem 1.1rem; border-radius: 999px;
  box-shadow: var(--shadow-card);
  transform: rotate(-8deg);
  white-space: nowrap;
}
.hero-visual .sticker { top: 1.5rem; left: -0.5rem; }

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  background: var(--white); color: var(--charcoal);
  font-size: 0.78rem; font-weight: 600;
  border-radius: 999px; box-shadow: var(--shadow-card);
  white-space: nowrap;
}
.float-chip .icon {
  width: 28px; height: 28px; padding: 6px;
  border-radius: 50%; background: var(--plum); color: var(--white);
  stroke-width: 2.4;
}
.chip-inbox { right: -0.25rem; top: 46%; }
.chip-guest { left: -0.5rem; bottom: 2.5rem; }
.chip-guest .icon { background: var(--rose); }
.chip-graphics { right: -0.25rem; bottom: 5.5rem; }
.chip-graphics .icon { background: var(--plum-deep); }

/* ---------- Ribbon (one fixed line of services) ---------- */
.ribbon {
  background: var(--plum); color: var(--white);
  padding: 1rem var(--gutter);
  border-block: 1px solid var(--plum-deep);
}
.ribbon-line {
  margin: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 0.25rem;
}
.ribbon span {
  display: inline-flex; align-items: center;
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; font-weight: 500;
  white-space: nowrap;
}
.ribbon span + span::before {
  content: "\00B7"; /* middle dot */
  font-style: normal; color: var(--blush);
  margin-inline: 0.9rem;
}

/* ---------- Pain points ---------- */
.pain-grid { display: grid; gap: 3rem; align-items: center; }

.pain-photo { margin: 0; position: relative; padding: 0 1rem 1rem 0; }
.pain-photo::before {
  content: ""; position: absolute; inset: 1rem 0 0 1rem;
  background: var(--blush); border-radius: var(--radius);
}
.pain-photo img {
  position: relative;
  width: 100%; aspect-ratio: 4 / 3.4;
  object-fit: cover; object-position: 55% 35%;
  border-radius: var(--radius);
}

.pain-copy h2 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }

.pain-list { list-style: none; margin: 2rem 0; padding: 0; }
.pain-list li {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 0.75rem;
  padding: 1.25rem 0; border-top: 1px solid var(--line);
}
.pain-list li:last-child { border-bottom: 1px solid var(--line); }
.pain-num {
  font-family: var(--font-serif); font-style: italic; font-size: 2.1rem; line-height: 1;
  color: var(--rose);
}
.pain-list h3 { font-size: 1.55rem; margin-bottom: 0.3rem; }
.pain-list p { margin: 0; color: var(--muted); }

.pain-relief {
  font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; line-height: 1.3;
  color: var(--plum-deep); margin: 0;
}

/* ---------- Services ---------- */
.services { background: var(--plum); color: var(--white); overflow: hidden; }
.services::before {
  /* large decorative S mark */
  content: ""; position: absolute; right: -4rem; top: -3rem;
  width: 24rem; height: 24rem; opacity: 0.09;
  background: url("../images/logos/sofias-solutions-submark-plum.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.services h2 { color: var(--white); }
.services h2 em { color: var(--blush); }
.services .section-lead { color: var(--white); font-size: 1.0625rem; }

.service-grid { display: grid; gap: 1.25rem; }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--charcoal);
  border-radius: var(--radius); padding: 2rem 1.6rem 1.75rem;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--rose);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.45);
}
.service-card h3 { font-size: 1.85rem; margin-bottom: 0.5rem; }

.service-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blush); color: var(--plum);
  margin-bottom: 1.25rem;
}
.service-icon svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.service-pain {
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem;
  color: var(--plum-deep); margin-bottom: 0.75rem;
}

.check-list { list-style: none; padding: 0; margin: 0.25rem 0 1.75rem; }
.check-list li {
  position: relative; padding-left: 1.9rem; margin-bottom: 0.55rem; font-size: 0.95rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23904979' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

.service-price {
  margin-top: auto; padding-top: 1.25rem;
  border-top: 1px dashed rgba(144, 73, 121, 0.35);
  display: flex; align-items: baseline; gap: 0.6rem;
}
.price-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.price {
  font-family: var(--font-serif); font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: var(--plum); font-variant-numeric: tabular-nums;
}

.price-unit {
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
  color: var(--muted); margin-left: 0.15rem;
}
.service-price { flex-wrap: wrap; row-gap: 0.4rem; }
.price-extra { flex-basis: 100%; font-size: 0.85rem; color: var(--muted); }
.price-extra strong { color: var(--plum); font-weight: 600; }

.service-card-wide {
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: 1.75rem 1.6rem;
}
.service-card-wide:hover { border-color: var(--blush); box-shadow: none; }
.service-card-wide h3 { color: var(--white); font-size: 1.75rem; margin-bottom: 0.3rem; }
.service-card-wide p { color: var(--white); }
.service-card-wide .eyebrow { color: var(--white); }
.service-card-wide .eyebrow::before { background: var(--blush); }
.service-card-wide .service-icon { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.service-card-wide .service-price { border-top-color: rgba(255, 255, 255, 0.3); }
.service-card-wide .price-label { color: var(--white); }
.service-card-wide .price { color: var(--white); }
.service-card-wide .price-unit { color: var(--white); }

/* Featured package: deepest plum so it stands out on the plum section */
.package-card {
  position: relative; overflow: hidden;
  margin-top: 1.25rem;
  display: grid; gap: 1.75rem;
  background: var(--plum-ink); color: var(--white);
  border: 1.5px solid var(--blush);
  border-radius: var(--radius);
  padding: 2.25rem 1.6rem 2rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.package-card::before {
  /* soft blush glow in the corner */
  content: ""; position: absolute; right: -6rem; top: -6rem;
  width: 18rem; height: 18rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 201, 218, 0.22), rgba(242, 201, 218, 0));
  pointer-events: none;
}
.package-badge {
  display: inline-block; margin-bottom: 1rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--plum-ink); background: var(--blush);
  padding: 0.35rem 0.85rem; border-radius: 999px;
}
.package-card h3 { color: var(--white); font-size: clamp(2rem, 3vw + 1rem, 2.75rem); margin-bottom: 0.6rem; }
.package-card p { color: var(--white); margin: 0; max-width: 56ch; }
.package-side { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.package-price { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.package-price .price-label { color: var(--white); }
.package-price .price { color: var(--white); font-size: 3rem; }
.package-price .price-unit { color: var(--white); }
.package-note {
  flex-basis: 100%; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--blush);
}
.package-card :focus-visible { outline-color: var(--blush); }

.pricing-note {
  margin-top: 3rem;
  display: grid; gap: 1.25rem; justify-items: start;
  background: var(--blush); color: var(--charcoal);
  border-radius: var(--radius); padding: 2rem 1.6rem;
}
.pricing-note h3 { font-size: 1.9rem; margin-bottom: 0.4rem; color: var(--plum-deep); }
.pricing-note p { margin: 0; max-width: 60ch; }
.pricing-mark { width: 56px; height: 56px; }

/* ---------- How it works ---------- */
.steps { padding-top: calc(var(--section-y) + 28px); }
.stripes {
  position: absolute; top: 0; left: 0; right: 0; height: 28px;
  background: repeating-linear-gradient(90deg, var(--blush) 0 22px, var(--cream) 22px 44px);
  border-bottom: 1px solid var(--line);
}

.steps-grid { display: grid; gap: 3rem; align-items: center; }
.steps-copy h2 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }

.step-list { list-style: none; margin: 2rem 0 2.5rem; padding: 0; counter-reset: none; }
.step-list li {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 0.75rem;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.step-list li:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  /* same look as the pain point numbers */
  font-family: var(--font-serif); font-style: italic; font-size: 2.1rem; line-height: 1;
  color: var(--rose);
}
.step-list h3 { font-size: 1.7rem; margin-bottom: 0.35rem; }
.step-list p { margin: 0; color: var(--muted); }

.steps-photo { margin: 0; position: relative; width: min(100%, 380px); margin-inline: auto; }
.steps-photo::after {
  content: ""; position: absolute; inset: -0.9rem;
  border: 1.5px solid var(--rose); border-radius: 220px 220px var(--radius) var(--radius);
  pointer-events: none;
}
.steps-photo img {
  width: 100%; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: 50% 50%;
  border-radius: 200px 200px var(--radius) var(--radius);
}

/* ---------- Portfolio ---------- */
.portfolio { background: var(--white); }
.section-head-split { max-width: none; display: grid; gap: 1rem; align-items: end; }
.section-head-split h2 { margin-bottom: 0; }
.section-head-split .section-lead { margin: 0; }

/* wide, short photo banner at the top of Recent work */
.work-banner { margin: 0; border-radius: var(--radius); overflow: hidden; }
.work-banner img {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: 50% 35%;
}

/* Business card samples */
.card-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.card-item {
  margin: 0; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
  aspect-ratio: 1050 / 600;
}
.card-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-item { position: relative; }

/* marks practice/concept work that wasn't made for a real client;
   the label sits under the artwork so it never covers the design */
.concept-item { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.concept-tag {
  align-self: flex-start;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--plum-deep); background: var(--blush);
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.card-grid, .social-grid { align-items: start; }

/* Social media graphics: real client samples */
.social-work { margin-top: 3rem; }
.social-work-title { font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem); margin-bottom: 1.25rem; }
.social-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.social-item {
  position: relative; margin: 0;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--plum-ink); box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
}
.social-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.social-item.tall { aspect-ratio: 3 / 4; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--blush-soft); }
.quote-grid { display: grid; gap: 1.25rem; }
.quote-card {
  margin: 0; background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.quote-mark {
  font-family: var(--font-serif); font-size: 5rem; line-height: 0.6;
  color: var(--rose); height: 2.2rem; display: block;
}
.quote-card blockquote { margin: 0 0 1.5rem; }
.quote-card blockquote p {
  font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.4; color: var(--charcoal); margin: 0;
}
.quote-card figcaption {
  margin-top: auto; display: flex; flex-direction: column; font-size: 0.9rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.quote-card figcaption strong { color: var(--plum); }
.quote-card figcaption span { color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 3.5rem; align-items: center; }

.about-visual { position: relative; width: min(100%, 400px); margin-inline: auto; }
.stamp-frame {
  /* scalloped "postage stamp" edge */
  --r: 9px;
  background: var(--white);
  padding: calc(2 * var(--r));
  -webkit-mask:
    radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  mask:
    radial-gradient(var(--r), #0000 98%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}
.about-visual { filter: drop-shadow(0 16px 26px rgba(74, 31, 59, 0.22)); }
.stamp-frame img {
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 30%;
}
.sticker-about { bottom: 2rem; right: -0.75rem; transform: rotate(6deg); background: var(--plum); color: var(--white); }

.about-copy h2 { font-size: clamp(2.5rem, 5vw + 1rem, 4rem); }
.about-lead {
  /* a bit smaller on phones, full size from tablets up */
  font-family: var(--font-serif); font-size: clamp(1.2rem, 0.6rem + 2.4vw, 1.6rem); line-height: 1.3; color: var(--plum-deep);
}
.value-list { list-style: none; margin: 1.75rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.value-list li {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.45rem 1rem; border-radius: 999px;
  background: var(--blush); color: var(--plum-deep);
}
.signoff { display: flex; align-items: center; gap: 0.9rem; margin: 0; line-height: 1.35; }
.signoff img { width: 40px; height: 40px; }
.signoff strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--plum); font-style: italic; }

/* ---------- FAQ ---------- */
.faq { background: var(--blush-soft); }
.faq-grid { display: grid; gap: 1rem; }
.faq-grid .section-head { margin-bottom: 1.5rem; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  min-height: 44px; padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; line-height: 1.25;
  color: var(--plum);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  /* plus sign that turns into a minus */
  content: ""; position: absolute; right: 0.25rem; top: 50%;
  width: 2rem; height: 2rem; margin-top: -1rem; border-radius: 50%;
  background:
    linear-gradient(var(--plum), var(--plum)) center / 0.75rem 1.5px no-repeat,
    linear-gradient(var(--plum), var(--plum)) center / 1.5px 0.75rem no-repeat,
    var(--white);
  transition: transform 0.3s var(--ease-out), background-size 0.3s var(--ease-out);
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-size: 0.75rem 1.5px, 1.5px 0, auto;
}
.faq-item summary:hover { color: var(--plum-deep); }
.faq-answer { padding: 0 3rem 1.5rem 0; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-tools { margin: 0 0 1rem; padding-left: 1.1rem; }
.faq-tools li { margin-bottom: 0.35rem; }
.faq-tools li::marker { color: var(--rose); }
.faq-tools strong { color: var(--plum); font-weight: 600; }

/* ---------- Final call to action ---------- */
.final-cta {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white); text-align: center;
  padding: 6rem 0;
}
.final-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(74, 31, 59, 0.78), rgba(74, 31, 59, 0.88)),
    radial-gradient(ellipse at 50% 40%, rgba(144, 73, 121, 0.3), transparent 70%);
}
.final-inner { max-width: 720px; }
.final-inner .eyebrow { justify-content: center; }
.final-cta h2 { color: var(--white); font-size: clamp(2.6rem, 6vw + 1rem, 4.75rem); font-weight: 500; }
.final-cta h2 em { color: var(--blush); }
.final-cta p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.92); max-width: 46ch; margin-inline: auto; margin-bottom: 2rem; }
.final-cta .final-alt { font-size: 0.95rem; margin: 1.5rem auto 0; }

/* Contact form (on the dark final section) */
.contact-form {
  max-width: 560px; margin: 3rem auto 0; text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  display: grid; gap: 1.1rem;
}
.final-cta .contact-form .form-intro { margin: 0; font-size: 1rem; text-align: center; max-width: none; }
.form-row { display: grid; gap: 1.1rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.form-field input, .form-field select {
  width: 100%; min-height: 48px; padding: 0.7rem 1rem;
  font: inherit; font-size: 1rem; color: var(--charcoal);
  background: var(--cream); border: 1.5px solid transparent; border-radius: var(--radius-sm);
}
.form-field input:focus-visible, .form-field select:focus-visible { outline: 3px solid var(--blush); outline-offset: 2px; }
.contact-form .btn { justify-self: center; margin-top: 0.4rem; }
.hp-field { position: absolute; left: -9999px; }

.btn-outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--plum); }
.final-cta a:not(.btn) { color: var(--white); text-decoration-color: var(--blush); overflow-wrap: anywhere; }
.final-cta a:not(.btn):hover { color: var(--blush); }
.final-cta :focus-visible { outline-color: var(--blush); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: var(--white); padding: 4rem 0 2rem; }
.site-footer :focus-visible { outline-color: var(--blush); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.9); max-width: 36ch; font-size: 0.95rem; }
.footer-title {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--white);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  color: var(--white); text-decoration: none; overflow-wrap: anywhere;
}
.site-footer li a:hover { color: var(--blush); text-decoration: underline; text-decoration-color: var(--rose); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.9);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--white); text-decoration-color: var(--blush); }

/* ---------- Phone booking bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 249, 245, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  /* hidden bar is also invisible to keyboards and screen readers */
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.is-visible {
  transform: none; visibility: visible;
  transition: transform 0.35s var(--ease-out), visibility 0s;
}

/* ---------- Scroll reveal (only when JavaScript runs) ---------- */
/* starts partly visible, so content still shows if the animation never runs */
.js .reveal {
  opacity: 0.3; transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Larger screens
   ========================================================= */
@media (max-width: 959px) {
  .site-footer { padding-bottom: 6.5rem; } /* room for the phone booking bar */
  html { scroll-padding-bottom: 5.5rem; } /* keep focused items above the bar */
}

@media (min-width: 640px) {
  :root { --gutter: 2rem; --section-y: 6rem; }
  .brand img { width: 168px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid .service-card:last-child { grid-column: 1 / -1; }
  /* same price-area height on every card so the dotted lines line up */
  .service-grid .service-price { min-height: 6rem; align-content: flex-start; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid .quote-card:last-child { grid-column: 1 / -1; }
  .pricing-note { grid-template-columns: auto 1fr; align-items: center; padding: 2.25rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  :root { --section-y: 7.5rem; --header-h: 84px; }
  body { font-size: 1.125rem; } /* 18px on desktop, 16px on phones */

  .menu-toggle, .header-cta, .mobile-cta { display: none; }
  .brand img { width: 196px; }

  .main-nav {
    position: static; inset: auto; height: auto; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: 2rem;
    opacity: 1; visibility: visible; transform: none; overflow: visible;
    transition: none; /* the fade is only for the phone menu */
  }
  .main-nav ul { display: flex; gap: 0.25rem; }
  .main-nav li + li { border: 0; }
  .main-nav ul a {
    font-family: var(--font-sans); font-size: 0.92rem; font-weight: 500;
    color: var(--charcoal); padding: 0.6rem 0.9rem; position: relative;
  }
  .main-nav ul a::after {
    content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem;
    height: 1.5px; background: var(--rose);
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out);
  }
  .main-nav ul a:hover { color: var(--plum); }
  .main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
  .main-nav ul a.is-active { color: var(--plum); }
  .main-nav .nav-cta { background: var(--plum); color: var(--white); align-self: auto; min-height: 46px; }
  .main-nav .nav-cta:hover { background: var(--plum-deep); color: var(--white); }
  .main-nav :focus-visible { outline-color: var(--rose); }

  .hero { padding: 4rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .hero-visual { width: 100%; max-width: 440px; margin-right: 0; }
  .hero::before { right: -8vw; top: 0; width: 55vw; }
  .chip-inbox { right: -2.5rem; }
  .chip-graphics { right: -2rem; }
  .chip-guest { left: -3rem; }

  .pain-grid { grid-template-columns: 0.95fr 1.05fr; gap: 5rem; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid .service-card:last-child { grid-column: auto; }
  .service-card { padding: 2.25rem 2rem 2rem; }
  .service-card-wide {
    display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
    padding: 2rem 2.25rem;
  }
  .service-card-wide .service-icon { margin-bottom: 0; }
  .service-card-wide p { margin: 0; }
  .service-card-wide .service-price { margin-top: 0; padding: 0 0 0 2rem; border-top: 0; border-left: 1px dashed rgba(255, 255, 255, 0.3); flex-direction: column; gap: 0.3rem; }

  .package-card {
    grid-template-columns: 1fr auto; align-items: center; gap: 3rem;
    padding: 2.75rem 3rem;
  }
  .package-side {
    align-items: stretch; padding-left: 3rem;
    border-left: 1px dashed rgba(242, 201, 218, 0.4);
  }

  .pricing-note { gap: 2rem; padding: 2.5rem 3rem; }

  .steps-grid { grid-template-columns: 1.2fr 0.8fr; gap: 6rem; }
  .steps-photo { margin-right: 1rem; }

  .section-head-split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .work-banner img { aspect-ratio: 3 / 1; }
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .social-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid .quote-card:last-child { grid-column: auto; }

  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: start; }

  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 6rem; }
  .about-copy { max-width: 600px; }

  .final-cta { padding: 9rem 0; }

  .footer-grid { grid-template-columns: 1.3fr 0.7fr 1.5fr; gap: 3rem; }
  .footer-brand { grid-column: auto; }
  .site-footer { padding-bottom: 2rem; }
}

@media (min-width: 1100px) {
  .hero-eyebrow { white-space: nowrap; margin-bottom: 2.5rem; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 5.5rem; }
}

/* =========================================================
   Respect "reduce motion" settings
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .service-card:hover { transform: none; }
}
