/* ------------------------------------------------------------------ *
 * The Local Alchemist — site styles (wireframe build)
 * ------------------------------------------------------------------ */

:root {
  --bg:           #06030c;
  --bg-card:      rgba(255, 255, 255, 0.035);
  --bg-card-h:    rgba(255, 255, 255, 0.06);

  --text:         #ffffff;
  --text-muted:   rgba(255, 255, 255, 0.60);
  --text-soft:    rgba(255, 255, 255, 0.75);
  --text-subtle:  rgba(255, 255, 255, 0.85);
  --text-faint:   rgba(255, 255, 255, 0.40);

  --border:       rgba(255, 255, 255, 0.10);
  --border-h:     rgba(255, 255, 255, 0.20);

  --purple-200:   #e9d5ff;
  --purple-300:   #d8b4fe;
  --purple-400:   #c084fc;
  --purple-500:   #a855f7;
  --purple-600:   #9333ea;
  --pink-300:     #f0abfc;
  --pink-400:     #f472b6;

  --font-sans:  'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', ui-serif, Georgia, serif;

  --max-w: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { display: block; max-width: 100%; height: auto; }

/* ------------------------------------------------------------------ *
 * Scene + stars
 * ------------------------------------------------------------------ */

.scene {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1100px 800px at 26% 30%, rgba(126, 34, 206, 0.24), transparent 65%),
    radial-gradient(900px 700px at 78% 75%, rgba(126, 34, 206, 0.16), transparent 65%),
    radial-gradient(700px 600px at 22% 50%, rgba(168, 85, 247, 0.10), transparent 70%),
    var(--bg);
}
.scene-page {
  background:
    radial-gradient(1200px 900px at 70% 18%, rgba(126, 34, 206, 0.22), transparent 65%),
    radial-gradient(900px 700px at 12% 90%, rgba(168, 85, 247, 0.14), transparent 70%),
    var(--bg);
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.stars-inner {
  position: absolute;
  inset: -20px;
  animation: star-drift 22s ease-in-out infinite alternate;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 0 6px 1.5px rgba(255, 255, 255, 0.95);
  opacity: 0;
  animation: twinkle var(--d, 2.2s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.star.purple {
  background: var(--pink-300);
  box-shadow:
    0 0 6px 1.5px rgba(244, 114, 182, 0.95),
    0 0 14px 4px rgba(217, 70, 239, 0.55);
}
.star.lg { width: 3px; height: 3px; box-shadow: 0 0 8px 2px rgba(255,255,255,0.95); }
.star.xl { width: 4px; height: 4px; box-shadow: 0 0 10px 3px rgba(255,255,255,0.95), 0 0 20px 6px rgba(217,70,239,0.35); }

/* Faster, more dramatic twinkle */
@keyframes twinkle {
  0%, 100% { opacity: 0;    transform: scale(0.3); }
  35%      { opacity: 1;    transform: scale(1.15); }
  55%      { opacity: 0.45; transform: scale(0.85); }
  75%      { opacity: 0.15; transform: scale(0.6); }
}
@keyframes star-drift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-14px, -10px, 0); }
}

/* ------------------------------------------------------------------ *
 * Layout helpers
 * ------------------------------------------------------------------ */

.wrap {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .wrap { padding: 0 2.5rem; } }

.section {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem;
}
.section--lg { padding: 6rem 1.5rem; }
@media (min-width: 768px) {
  .section    { padding: 5rem 2.5rem; }
  .section--lg { padding: 7rem 2.5rem; }
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-300);
  font-weight: 600;
  margin: 0 0 1rem;
}

.h1, .h2, .h3 { font-family: var(--font-serif); font-weight: 500; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
.h1 { font-size: 40px; line-height: 1.05; }
.h2 { font-size: 32px; line-height: 1.1; }
.h3 { font-size: 21px; line-height: 1.25; }
@media (min-width: 768px) {
  .h1 { font-size: 52px; }
  .h2 { font-size: 40px; }
  .h3 { font-size: 22px; }
}
@media (min-width: 1280px) {
  .h1 { font-size: 60px; }
  .h2 { font-size: 48px; }
}

.lead { font-size: 16px; line-height: 1.7; color: var(--text-soft); margin: 1.25rem 0 0; max-width: 38rem; text-wrap: pretty; }
.body { font-size: 15px; line-height: 1.75; color: var(--text-muted); margin: 0; text-wrap: pretty; }

/* ------------------------------------------------------------------ *
 * Nav
 * ------------------------------------------------------------------ */

/* Nav actions cluster — phone link in a chip + Talk to Chris button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.nav-phone:hover {
  color: #f4d073;
  border-color: rgba(244, 208, 115, 0.4);
  background: rgba(244, 208, 115, 0.06);
}
.nav-phone svg { width: 12px; height: 12px; flex-shrink: 0; }

/* On narrow screens, collapse the phone chip to icon-only so the
   button + brand still fit the nav. The whole link is still tap-to-dial. */
@media (max-width: 600px) {
  .nav-phone { padding: 0.5rem 0.6rem; }
  .nav-phone span { display: none; }
}

.nav {
  position: relative;
  z-index: 30;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) { .nav { padding: 1.5rem 2.5rem; gap: 2rem; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(168, 85, 247, 0.55));
}
.site-footer .brand-mark { width: 32px; height: 32px; }
.brand-text { line-height: 1.05; display: block; }
.brand-text > p { margin: 0; font-family: var(--font-serif); }
.brand-text .top { font-size: 14px; color: var(--text-subtle); }
.brand-text .bot { font-size: 17px; margin-top: 1px; color: var(--purple-300); }

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  font-size: 14px;
  color: var(--text-soft);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active { color: var(--purple-300); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  border: 0;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-ghost {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.625rem 1.25rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--border-h); }

.btn-primary {
  border-radius: 9999px;
  background: var(--purple-600);
  padding: 0.75rem 1.25rem;
  font-size: 14px;
  color: var(--text);
  gap: 0.75rem;
  box-shadow: 0 14px 45px -12px rgba(168, 85, 247, 0.85);
}
.btn-primary:hover { background: var(--purple-500); }
.btn-primary .arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 0.2s;
}
.btn-primary:hover .arrow { transform: translateX(2px); }

.btn-line {
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--border-h);
  padding: 0.75rem 1.25rem;
  font-size: 14px;
  color: var(--text-subtle);
}
.btn-line:hover { background: var(--bg-card); color: var(--text); }

/* ------------------------------------------------------------------ *
 * Hero (home)
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem 1.5rem 6rem;
}
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 2.5rem 2.5rem 7rem;
  }
}

.flask-stage {
  position: relative;
  order: 2;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .flask-stage { order: 1; } }

.flask-halo {
  position: absolute;
  inset: 10% 6%;
  background: radial-gradient(closest-side,
    rgba(168, 85, 247, 0.30),
    rgba(126, 34, 206, 0.10) 50%,
    transparent 80%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: halo-pulse 5.5s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { opacity: 0.85; filter: blur(50px); }
  50%      { opacity: 1.05; filter: blur(62px); }
}

.flask-img {
  position: relative;
  z-index: 10;
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 30px 70px rgba(168, 85, 247, 0.45));
}

.copy {
  position: relative;
  z-index: 10;
  order: 1;
  max-width: 28rem;
  animation: fade-up 0.9s ease-out 0.15s both;
}
@media (min-width: 768px) { .copy { order: 2; } }
.copy h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
  max-width: 14ch;
}
@media (min-width: 768px) { .copy h1 { font-size: 56px; } }
@media (min-width: 1280px) { .copy h1 { font-size: 64px; } }

/* Mobile hero: flask shrinks to a brand chip floated left of the H1,
   so it reads as a visual anchor instead of eating half the viewport.
   Halo blur and drop-shadow are scaled to the smaller flask. */
@media (max-width: 767px) {
  .hero {
    display: block;
    padding: 1.25rem 1.5rem 4rem;
  }
  .flask-stage {
    float: left;
    width: 96px;
    max-width: 96px;
    margin: 0.25rem 1rem 0 0;
    display: block;
  }
  .flask-halo {
    inset: -8%;
    filter: blur(18px);
    animation: halo-pulse-sm 5.5s ease-in-out infinite;
  }
  .flask-img {
    filter: drop-shadow(0 6px 14px rgba(168, 85, 247, 0.45));
  }
  .copy { max-width: none; }
  .copy h1 { max-width: none; font-size: 34px; }
  .cta-row { clear: both; }
}
@keyframes halo-pulse-sm {
  0%, 100% { opacity: 0.7;  filter: blur(18px); }
  50%      { opacity: 0.95; filter: blur(24px); }
}
/* "digital gold" — actual gold, with a slow travelling shimmer.
   The gradient is wider than the text (background-size 220%) so the
   highlight band can sweep across; the text is the clipping mask.
   Used on h1 hero accents and on the nav "Talk to Chris" CTA. */
.accent {
  background: linear-gradient(
    100deg,
    #b88742 0%,
    #d8a64f 18%,
    #f4d073 36%,
    #fff5d1 50%,
    #f4d073 64%,
    #d8a64f 82%,
    #b88742 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 7s ease-in-out infinite;
}

@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .accent {
    animation: none;
    background-position: 50% 50%;
  }
}
.copy p {
  margin: 1.5rem 0 0;
  max-width: 26rem;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  text-wrap: pretty;
}
.cta-row { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }

/* ------------------------------------------------------------------ *
 * Inner-page header (used on services / process / work / about / contact)
 * ------------------------------------------------------------------ */

.page-header {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
}
@media (min-width: 768px) { .page-header { padding: 4rem 2.5rem 3rem; } }

.page-header h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
}
@media (min-width: 768px) { .page-header h1 { font-size: 52px; } }
@media (min-width: 1280px) { .page-header h1 { font-size: 60px; } }
.page-header .lead { margin-top: 1.25rem; }

/* ------------------------------------------------------------------ *
 * Cards (services, work, etc.)
 * ------------------------------------------------------------------ */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}
.card:hover { background: var(--bg-card-h); border-color: var(--border-h); transform: translateY(-2px); }
.card .card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.16);
  color: var(--purple-300);
  margin-bottom: 1.25rem;
}
.card h3 { margin: 0 0 0.5rem; font-family: var(--font-serif); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); text-wrap: pretty; }

/* Work-grid uses larger cards with a hero strip */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}
.work-card:hover { background: var(--bg-card-h); border-color: var(--border-h); transform: translateY(-2px); }
.work-thumb {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(800px 400px at 30% 30%, rgba(168,85,247,0.35), transparent 60%),
    radial-gradient(800px 400px at 70% 70%, rgba(217,70,239,0.25), transparent 60%),
    linear-gradient(135deg, #1a0c2e 0%, #0a0414 100%);
  position: relative;
}
.work-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 32px 32px;
  opacity: 0.5;
}
.work-meta { padding: 1.25rem 1.5rem 1.5rem; }
.work-meta .work-cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-300); }
.work-meta h3 { margin: 0.5rem 0 0.4rem; font-family: var(--font-serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.work-meta p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; text-wrap: pretty; }

/* ------------------------------------------------------------------ *
 * Process steps
 * ------------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 1.25rem;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1;
  color: var(--purple-400);
  font-feature-settings: "tnum";
}
.step h3 { margin: 0 0 0.4rem; font-family: var(--font-serif); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); text-wrap: pretty; }

/* ------------------------------------------------------------------ *
 * About
 * ------------------------------------------------------------------ */

/* About-page prose: tighter section rhythm than the global defaults
   so the page reads as one cohesive piece, not loosely spaced blocks.
   Values now render as a separate cards grid below the prose. */
.about-h2 {
  margin: 0 0 0.6rem;
  line-height: 1.15;
}
.about-h2:not(:first-child) {
  margin-top: 1.5rem;
}
.about-p {
  margin: 0 0 0.65rem;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-subtle);
}
.about-p-end { margin-bottom: 1.5rem; }
.about-p .text-link,
.text-link {
  color: var(--purple-300);
  border-bottom: 1px solid rgba(192, 132, 252, 0.35);
  transition: color 0.2s, border-color 0.2s;
}
.about-p .text-link:hover,
.text-link:hover {
  color: #f4d073;
  border-bottom-color: rgba(244, 208, 115, 0.6);
}

/* About-page header: two columns on desktop, mirroring the about-grid
   below so the portrait sits above the values column. */
.about-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .about-header {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}
.about-header .chris-portrait {
  justify-self: center;
}
@media (min-width: 768px) {
  .about-header .chris-portrait { justify-self: center; }
}

/* Starter-page header: text on the left, offer card on the right.
   Mirrors .about-header so the eyebrow/h1/lead and the price card sit
   in one row on desktop and stack cleanly on mobile. */
.starter-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .starter-header {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}
.starter-header .starter-offer { margin: 0; max-width: 460px; width: 100%; }
@media (min-width: 768px) {
  .starter-header .starter-offer { justify-self: end; }
}

/* Chris portrait, square, rounded corners, glowing purple border */
.chris-portrait {
  margin: 0;
  display: inline-block;
}
.chris-portrait picture { display: block; }
.chris-portrait img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1rem;
  border: 2px solid var(--purple-500);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.18),
    0 18px 48px rgba(168, 85, 247, 0.25),
    0 4px 18px rgba(0, 0, 0, 0.45);
}
.chris-portrait figcaption {
  margin-top: 0.65rem;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------ *
 * Contact form
 * ------------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }

.form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 1.25rem;
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
.form label .optional {
  margin-left: 0.4em;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--purple-500);
  background: rgba(255, 255, 255, 0.04);
}
.form textarea { resize: vertical; min-height: 8rem; }

.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  min-height: 1.4em;
  transition: color 0.2s;
}
.form-status.is-error { color: #f87171; }

.contact-info {
  display: grid;
  gap: 1.5rem;
}
.contact-block { padding-top: 1.25rem; border-top: 1px solid var(--border); }
.contact-block:first-child { border-top: 0; padding-top: 0; }
.contact-block .label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 0.4rem;
}
.contact-block a, .contact-block p { font-size: 16px; color: var(--text-subtle); margin: 0; }
.contact-block a:hover { color: var(--purple-300); }

/* Click-to-call block — phone number visible, button below for tap-to-dial */
.contact-call .contact-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
  margin: 0.15rem 0 0.85rem;
  font-variant-numeric: tabular-nums;
}
.contact-call .contact-phone:hover { color: #f4d073; }
.contact-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px !important;
}
.contact-call-btn svg { stroke: currentColor; }

/* ------------------------------------------------------------------ *
 * CTA strip
 * ------------------------------------------------------------------ */

.cta-strip {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto 4rem;
  padding: 3rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background:
    radial-gradient(600px 240px at 80% 20%, rgba(168,85,247,0.18), transparent 70%),
    radial-gradient(600px 240px at 0% 100%, rgba(217,70,239,0.10), transparent 70%),
    rgba(255,255,255,0.02);
  text-align: center;
}
@media (min-width: 768px) { .cta-strip { padding: 4rem 2.5rem; margin-bottom: 5rem; } }
.cta-strip h2 { font-family: var(--font-serif); font-weight: 500; font-size: 30px; margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
@media (min-width: 768px) { .cta-strip h2 { font-size: 40px; } }
.cta-strip .lead { margin: 1rem auto 0; }
.cta-strip .cta-row { justify-content: center; margin-top: 1.75rem; }

/* Pricing panel */
.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
.price-card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.07), rgba(255, 255, 255, 0.02));
  transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}
.price-card h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--text);
}
.price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.price-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1;
}
.price-unit {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.price-sub {
  margin: 0.4rem 0 1.1rem;
  font-size: 16px;
  color: var(--text-subtle);
}
.price-desc {
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.65;
  margin: 0;
}
.price-fineprint {
  margin: 1.5rem 0 0;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* Three-ingredients list inside the home cta-strip.
   Each li is an inline-flex pill that's center-justified within
   the grid track, so the rendered list reads as three centered
   one-liners with a small leading gold dot on each. Wraps cleanly
   on narrow viewports because the li is allowed to shrink to its
   content width up to the cta-strip max. */
.ingredients {
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-subtle);
}
.ingredients li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  justify-self: center;
  text-align: left;
  max-width: 100%;
}
.ingredients li::before {
  content: "";
  flex-shrink: 0;
  align-self: center;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4d073, #d8a64f);
  box-shadow: 0 0 8px rgba(244, 208, 115, 0.55);
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 3rem 1.5rem 2rem;
}
@media (min-width: 768px) { .site-footer { padding: 4rem 2.5rem 2rem; } }
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
/* min-width:0 stops a long unbreakable string (e.g. an email or phone
   in the "Get in touch" column) from auto-expanding its grid track and
   pulling space from the first column — that previously caused the
   "Local-first websites…" paragraph to wrap differently between UK
   and US because the two domains have different lengths. */
.footer-col { min-width: 0; }
.footer-col a { overflow-wrap: anywhere; }
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1rem;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 14px; color: var(--text-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-col p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
  color: var(--text-muted);
  border-bottom: 1px solid rgba(192, 132, 252, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.footer-bottom a:hover {
  color: var(--purple-300);
  border-bottom-color: var(--purple-300);
}

/* ------------------------------------------------------------------ *
 * Animations
 * ------------------------------------------------------------------ */

@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.a-fade { animation: fade-in 1.2s ease-out both; }
.a-fade-up { animation: fade-up 0.9s ease-out 0.15s both; }

@media (prefers-reduced-motion: reduce) {
  .star, .stars-inner, .flask-halo, .flask-img, .copy, .a-fade, .a-fade-up {
    animation: none !important;
  }
}
