/* =========================================================
   Mowichat — marketing site styles
   Warm, modern, premium. Built for a 35yo heritage learner.
   ========================================================= */

:root {
  /* Color tokens */
  --cream: #fbf6ec;
  --cream-2: #f3ecdc;
  --paper: #ffffff;
  --ink: #1a1320;
  --ink-2: #3a2a3e;
  --muted: #6b5d68;
  --line: #e7dcc7;

  --berry: #c44880; /* primary — coral-pink from logo gradient */
  --berry-deep: #6b35a8; /* purple from logo gradient */
  --berry-soft: #f2e0f5;
  --amber: #f07040; /* warm orange from logo gradient */
  --amber-soft: #fde8d8;
  --moss: #4f6b3a;

  /* Surfaces */
  --bg: var(--cream);
  --surface: var(--paper);

  /* Type */
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(26, 19, 32, 0.06),
    0 2px 6px rgba(26, 19, 32, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 19, 32, 0.08),
    0 2px 6px rgba(26, 19, 32, 0.05);
  --shadow-lg: 0 24px 60px rgba(26, 19, 32, 0.18),
    0 8px 20px rgba(26, 19, 32, 0.08);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(
      1200px 600px at 80% -200px,
      rgba(240, 112, 64, 0.18),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at -10% 10%,
      rgba(196, 72, 128, 0.08),
      transparent 60%
    );
}

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

a {
  color: var(--berry-deep);
  text-decoration: none;
  transition: color 160ms ease;
}
a:hover {
  color: var(--berry);
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.4em;
}

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

p {
  margin: 0 0 1em;
}

.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: -9999px;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}

/* -------------------- Layout -------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  margin-bottom: 16px;
}

.lede {
  font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem);
  color: var(--muted);
  line-height: 1.55;
}

/* -------------------- Eyebrows -------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--berry-deep);
  margin: 0 0 18px;
}
.eyebrow-light {
  color: var(--moss);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(196, 72, 128, 0.12);
}

/* -------------------- Buttons -------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid transparent;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 160ms ease,
    background 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.btn-primary {
  --bg: var(--berry);
  --fg: #fff;
  box-shadow: 0 6px 18px rgba(196, 72, 128, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  --bg: var(--berry-deep);
  transform: translateY(-1px);
  color: #fff;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 16px 28px;
  font-size: 1.02rem;
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 246, 236, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand:hover {
  color: var(--berry-deep);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 72, 128, 0.35);
}
.brand-name {
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--berry-deep);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* -------------------- Hero -------------------- */
.hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  background: #0a0410;
}

.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  right: -8%;
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
  user-select: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      #0a0410 0%,
      #0a0410 33%,
      transparent 52%
    ),
    linear-gradient(
      to top,
      rgba(8, 4, 14, 0.60) 0%,
      transparent 25%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}


/* Header full logo */
.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-title {
  font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--berry-deep);
  white-space: nowrap;
}
.hero-title .accent {
  color: var(--berry-deep);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.22rem);
  color: var(--ink-2);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.hero-sub em {
  font-style: italic;
  color: var(--berry-deep);
}

.hero-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-form .form-note {
  grid-column: 1 / -1;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 4px 0 0;
}

.hero-form input,
.cta-form input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  min-width: 0;
}
.hero-form input::placeholder,
.cta-form input::placeholder {
  color: #a89a90;
}
.hero-form input:focus,
.cta-form input:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 4px rgba(196, 72, 128, 0.15);
}
.hero-form input[aria-invalid="true"],
.cta-form input[aria-invalid="true"] {
  border-color: var(--berry);
  box-shadow: 0 0 0 4px rgba(196, 72, 128, 0.18);
}

@media (max-width: 520px) {
  .hero-form {
    grid-template-columns: 1fr;
  }
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.94rem;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg {
  color: var(--moss);
}

/* Hero visual — phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.phone-glow {
  position: absolute;
  inset: 10% 5% 5% 5%;
  background: radial-gradient(
    closest-side,
    rgba(196, 72, 128, 0.22),
    transparent 70%
  );
  filter: blur(20px);
  z-index: 0;
}

.phone {
  position: relative;
  width: 320px;
  height: 580px;
  background: linear-gradient(180deg, #20131e 0%, #0e0710 100%);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 1;
  transform: rotate(-2deg);
}

@media (max-width: 920px) {
  .phone {
    transform: rotate(-1.5deg) scale(0.95);
  }
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #0a0408;
  border-radius: 999px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fff8ee 0%, #ffeedd 100%);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 48px 18px 14px;
  border-bottom: 1px solid rgba(196, 72, 128, 0.08);
  background: rgba(255, 255, 255, 0.6);
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-serif);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  box-shadow: 0 3px 10px rgba(196, 72, 128, 0.3);
}
.chat-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.chat-status {
  font-size: 0.74rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chat-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #5ab06a;
  box-shadow: 0 0 0 3px rgba(90, 176, 106, 0.2);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.85); opacity: 0.7; }
}

.chat-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.86rem;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(26, 19, 32, 0.06);
  word-break: break-word;
}
.bubble em {
  font-style: italic;
  color: var(--berry-deep);
  font-weight: 600;
}
.bubble-ai {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.bubble-coach {
  background: #fff3df;
  border: 1px dashed rgba(240, 112, 64, 0.55);
}
.bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble-user.typing {
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  padding: 12px 16px;
  display: inline-flex;
  gap: 4px;
}
.bubble-user.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  animation: typing 1.2s ease-in-out infinite;
}
.bubble-user.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble-user.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-3px); opacity: 1; }
}

.chat-mic {
  padding: 14px 16px 24px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mic-btn {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(196, 72, 128, 0.4);
  display: grid;
  place-items: center;
  transition: transform 140ms ease;
}
.mic-btn:hover {
  transform: scale(1.05);
}
.chat-mic span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* -------------------- Strip -------------------- */
.strip {
  background: var(--ink);
  color: var(--cream);
  padding-block: 22px;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.strip p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #f6e9d5;
}
.strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.strip li {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cdbfa0;
  font-weight: 600;
}
.strip li::before {
  content: "·";
  margin-right: 18px;
  color: #806e4c;
}
.strip li:first-child::before {
  content: "";
  margin: 0;
}

/* -------------------- Problem -------------------- */
.section-problem {
  background: var(--bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 860px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.problem-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--berry-deep);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.problem-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.problem-card p {
  color: var(--muted);
  margin: 0;
}

/* -------------------- Solution / Steps -------------------- */
.section-solution {
  background:
    linear-gradient(180deg, #fff8ee 0%, #fbf6ec 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(196, 72, 128, 0.3);
}
.step h3 {
  margin-top: 14px;
  font-size: 1.25rem;
}
.step p {
  color: var(--muted);
  margin: 0;
}

/* -------------------- Why / Feature grid -------------------- */
.section-why {
  background: var(--bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 920px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 200ms ease, box-shadow 200ms ease,
    border-color 200ms ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 72, 128, 0.25);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--berry-soft);
  color: var(--berry-deep);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.feature p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}

/* -------------------- Quote -------------------- */
.section-quote {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      600px 280px at 20% 30%,
      rgba(196, 72, 128, 0.35),
      transparent 70%
    ),
    radial-gradient(
      600px 280px at 80% 70%,
      rgba(240, 112, 64, 0.18),
      transparent 70%
    );
  pointer-events: none;
}

/* -------------------- Café scene image -------------------- */
.cafe-img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: clamp(36px, 6vw, 56px);
}
.quote-wrap {
  position: relative;
  max-width: 820px;
  text-align: center;
}
.quote-mark {
  color: var(--berry);
  opacity: 0.7;
  margin: 0 auto 16px;
}
.section-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.05rem);
  line-height: 1.35;
  color: #fff8ee;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.section-quote blockquote em {
  font-style: italic;
  color: #f3c4ca;
}
.section-quote figcaption {
  font-size: 0.95rem;
  color: #d8c8a7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.section-quote figcaption strong {
  color: #fff8ee;
}

/* -------------------- CTA -------------------- */
.section-cta {
  background:
    radial-gradient(
      900px 400px at 50% 0%,
      rgba(240, 112, 64, 0.22),
      transparent 70%
    ),
    var(--bg);
  text-align: center;
}
.cta-wrap {
  max-width: 720px;
  text-align: center;
}
.cta-wrap h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-form {
  margin: 32px auto 0;
  max-width: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.cta-form input {
  text-align: center;
}
.cta-form .btn {
  width: 100%;
}
.cta-form .form-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 4px 0 0;
}

/* -------------------- FAQ -------------------- */
.section-faq {
  background: var(--bg);
}
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.faq details[open] {
  border-color: rgba(196, 72, 128, 0.3);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p {
  margin: 0 14px 16px;
  color: var(--muted);
}
.chev {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--berry-soft);
  color: var(--berry-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  transition: transform 200ms ease, background 200ms ease;
}
.chev::before,
.chev::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.chev::before {
  width: 10px;
  height: 2px;
}
.chev::after {
  width: 2px;
  height: 10px;
  transition: transform 200ms ease;
}
.faq details[open] .chev::after {
  transform: scaleY(0);
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--ink);
  color: #d8c8a7;
  padding-block: 56px 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
.footer-brand .brand-footer {
  color: #fff8ee;
  font-size: 1.15rem;
}
.footer-brand .brand-mark {
  background: linear-gradient(135deg, var(--berry), var(--berry-deep));
}
.footer-brand p {
  margin-top: 10px;
  color: #b9a883;
  max-width: 280px;
  font-size: 0.95rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 520px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer-nav h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f3d7a8;
  margin: 0 0 12px;
}
.footer-nav a {
  display: block;
  color: #d8c8a7;
  font-size: 0.95rem;
  padding: 4px 0;
}
.footer-nav a:hover {
  color: #fff8ee;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #9e8c66;
}
.footer-bottom p { margin: 0; }
.footer-bottom .pl {
  font-family: var(--font-serif);
  font-style: italic;
  color: #d8c8a7;
}

/* -------------------- Hero overrides (logo variant) -------------------- */
/* End of file — guaranteed cascade win over base definitions */
.hero-inner { grid-template-columns: 1fr; }
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: #e8c8f5; }
.hero .eyebrow-dot { box-shadow: 0 0 0 4px rgba(232, 200, 245, 0.2); }
.hero .hero-title { color: #ffffff; }
.hero .hero-title em,
.hero .hero-title .accent { color: var(--berry); }
.hero .hero-sub { color: rgba(255, 255, 255, 0.93); }
.hero .hero-sub em { color: var(--berry); }
.hero .hero-form .form-note { color: rgba(255, 255, 255, 0.70); }
.hero .hero-trust { color: rgba(255, 255, 255, 0.90); }
.hero .hero-trust svg { color: #7ec87e; }
.hero .hero-title { max-width: 500px; }
.hero .hero-sub { max-width: 420px; }

/* -------------------- Hero — mobile layout -------------------- */
@media (max-width: 680px) {
  /* Photo fills full width, faces show at top */
  .hero {
    padding-block: 0 clamp(40px, 8vw, 56px);
  }
  .hero-bg {
    left: 0;
    right: 0;
    width: 100%;
    object-position: center 15%;
  }
  /* Swap to bottom-up dark gradient so photo is visible at top */
  .hero::before {
    background: linear-gradient(
      to top,
      #0a0410 0%,
      #0a0410 38%,
      rgba(8, 4, 14, 0.50) 62%,
      transparent 100%
    );
  }
  /* Push content down below the photo area */
  .hero-inner {
    padding-top: 54vw;
    align-items: end;
  }
  /* Let text go full width on small screens */
  .hero .hero-copy,
  .hero .hero-title,
  .hero .hero-sub { max-width: 100%; }
}

/* -------------------- Motion preferences -------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
