:root {
  --bg: #f5efe6;
  --bg-deep: #e2d4c1;
  --surface: rgba(255, 250, 243, 0.84);
  --surface-strong: #fff9f1;
  --ink: #241b18;
  --muted: #6b5d58;
  --line: rgba(64, 38, 26, 0.14);
  --accent: #8a4b3a;
  --accent-dark: #5d2d25;
  --sage: #667461;
  --gold: #b58a52;
  --shadow: 0 24px 70px rgba(71, 42, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(250, 245, 237, 0.4), rgba(245, 239, 230, 0.48)),
    url("https://www.thespruce.com/thmb/EKQq_yymrdnVFbCxGatwIHbNxF8=/750x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/MomokoMortonnaka-interiors.com-994a2b4b2def490f97386faf429fe824.jpg") center center / cover fixed no-repeat;
}

body.site-background {
  background:
    linear-gradient(180deg, rgba(248, 242, 234, 0.36), rgba(241, 233, 223, 0.44)),
    url("./living-room-background.png") center center / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.18), rgba(239, 229, 215, 0.28)),
    linear-gradient(rgba(181, 138, 82, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 138, 82, 0.02) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.brand-block {
  display: flex;
  flex-direction: column;
}

.brand,
.nav a {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.brand-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(86, 58, 33, 0.12));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-text-wrap .eyebrow,
.brand-text-wrap .brand {
  margin: 0;
}

.brand-text-wrap .eyebrow {
  font-size: 1.18rem;
  color: var(--ink);
}

.brand-text-wrap .brand {
  font-size: 1.15rem;
  color: var(--muted);
}

.eyebrow,
.hero-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  color: var(--muted);
  padding-bottom: 10px;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(100% - 4px);
  max-width: 68px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(181, 138, 82, 0.2), rgba(181, 138, 82, 0.95), rgba(181, 138, 82, 0.2));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  translate: -50% 0;
  box-shadow: 0 1px 0 rgba(255, 248, 236, 0.7);
  transition: transform 220ms ease, opacity 220ms ease;
}

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

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c44d8a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.social-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero,
.assistant-layout,
.contact-section {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  margin-bottom: 36px;
}

.hero-copy,
.hero-card,
.assistant-panel,
.contact-card,
.journey-copy,
.journey-panel,
.intake-card,
.form-embed-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 52px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 138, 82, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.92;
  font-weight: 700;
}

.hero-text,
.section-heading p,
.contact-copy p,
.assistant-header p,
.notes-list li,
.intake-card label,
.contact-card label {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pathways {
  margin-top: 22px;
}

.path-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px 20px;
  background: rgba(255, 252, 248, 0.62);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.path-card:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 75, 58, 0.34);
  background: rgba(255, 249, 241, 0.9);
}

.path-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path-card strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.02;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

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

.button-secondary {
  background: rgba(255, 250, 242, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.94) 0%, rgba(231, 220, 206, 0.9) 100%);
}

.hero-portrait {
  overflow: hidden;
  border-radius: 24px;
  min-height: 360px;
  border: 1px solid rgba(77, 50, 32, 0.08);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.stat-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(102, 116, 97, 0.15);
  margin-bottom: 18px;
}

.stat-label,
.mini-grid span,
.assistant-header strong {
  display: block;
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 1.8rem;
  font-family: "Cormorant Garamond", serif;
}

.simple-card p {
  margin: 12px 0 0;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 6px;
}

.hero-card-footer p,
.hero-card-footer span {
  margin: 0;
}

.hero-card-footer p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.hero-card-footer span {
  color: var(--muted);
  font-size: 0.92rem;
}

.assistant-section,
.contact-section,
.instagram-showcase {
  margin-top: 32px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.assistant-layout {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.assistant-panel {
  padding: 20px;
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding-bottom: 16px;
}

.status-pill {
  position: relative;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 999px;
  background: #d6a43f;
  box-shadow:
    0 0 0 6px rgba(214, 164, 63, 0.14),
    0 0 18px rgba(214, 164, 63, 0.4);
  flex: 0 0 auto;
}

.status-pill::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.38);
}

.status-pill.is-live {
  background: #5f9f5f;
  box-shadow:
    0 0 0 6px rgba(95, 159, 95, 0.14),
    0 0 18px rgba(95, 159, 95, 0.42);
}

.status-pill.is-fallback,
.status-pill.is-checking {
  background: #d6a43f;
  box-shadow:
    0 0 0 6px rgba(214, 164, 63, 0.14),
    0 0 18px rgba(214, 164, 63, 0.4);
}

.status-pill.is-offline {
  background: #b85b4f;
  box-shadow:
    0 0 0 6px rgba(184, 91, 79, 0.14),
    0 0 18px rgba(184, 91, 79, 0.38);
}

.chat-window {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 400px;
  max-height: 480px;
  overflow-y: auto;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.78);
  border: 1px solid var(--line);
}

.message {
  max-width: 86%;
  padding: 14px 16px;
  border-radius: 22px;
  animation: riseIn 280ms ease;
}

.message p {
  margin: 0;
  line-height: 1.55;
}

.message.assistant {
  align-self: start;
  background: #fef7ee;
  border-bottom-left-radius: 6px;
}

.message.user {
  align-self: end;
  background: rgba(157, 95, 63, 0.12);
  border-bottom-right-radius: 6px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 16px;
}

.chat-form input,
.contact-card input,
.contact-card select {
  width: 100%;
  border: 1px solid rgba(77, 50, 32, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.chat-form input:focus,
.contact-card input:focus,
.contact-card select:focus {
  outline: 2px solid rgba(157, 95, 63, 0.18);
  border-color: rgba(157, 95, 63, 0.4);
}

.contact-section {
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  padding: 18px 0 24px;
}

.instagram-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 18px;
}

.instagram-copy,
.instagram-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.instagram-copy {
  padding: 32px;
}

.instagram-copy h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  line-height: 0.98;
}

.instagram-card {
  padding: 24px;
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(236, 225, 211, 0.92)),
    radial-gradient(circle at top right, rgba(181, 138, 82, 0.12), transparent 28%);
}

.instagram-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.instagram-card-head strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
}

.instagram-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(138, 75, 58, 0.1);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 132px;
  gap: 12px;
}

.instagram-tile {
  position: relative;
  text-decoration: none;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(77, 50, 32, 0.08);
  background:
    linear-gradient(160deg, rgba(81, 66, 58, 0.18), rgba(181, 138, 82, 0.04)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 45%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.8), rgba(230, 217, 203, 0.88));
  padding: 18px;
  display: flex;
  align-items: end;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.instagram-tile-visual {
  position: relative;
  min-height: 128px;
  margin: -2px -2px 18px;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(138, 75, 58, 0.22), rgba(181, 138, 82, 0.1)),
    linear-gradient(180deg, rgba(243, 231, 220, 0.94), rgba(214, 196, 180, 0.92));
  overflow: hidden;
}

.instagram-tile-visual::before,
.instagram-tile-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.instagram-tile-visual::before {
  width: 160px;
  height: 160px;
  right: -24px;
  bottom: -42px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 66%);
}

.instagram-tile-visual::after {
  width: 120px;
  height: 120px;
  left: -10px;
  top: -14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}

.instagram-play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.88);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(71, 42, 27, 0.08);
}

.instagram-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 75, 58, 0.24);
  box-shadow: 0 18px 34px rgba(71, 42, 27, 0.12);
}

.instagram-tile::after {
  content: "";
  position: absolute;
  inset: auto -12% -20% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 138, 82, 0.18), transparent 68%);
  pointer-events: none;
}

.instagram-tile span {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.instagram-tile.is-warm {
  background:
    linear-gradient(160deg, rgba(138, 75, 58, 0.18), rgba(181, 138, 82, 0.08)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 45%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.8), rgba(230, 217, 203, 0.88));
}

.instagram-tile.is-soft {
  background:
    linear-gradient(160deg, rgba(102, 116, 97, 0.16), rgba(181, 138, 82, 0.06)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.34), transparent 45%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(223, 231, 223, 0.88));
}

.instagram-tile.is-deep {
  background:
    linear-gradient(160deg, rgba(64, 38, 26, 0.18), rgba(138, 75, 58, 0.08)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(180deg, rgba(250, 246, 241, 0.82), rgba(221, 209, 198, 0.9));
}

.instagram-tile-feature {
  grid-column: span 2;
  grid-row: span 2;
  align-items: end;
}

.instagram-tile-feature strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 12ch;
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 0.96;
}

.instagram-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.journey-hero,
.intake-section {
  margin-bottom: 36px;
}

.journey-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.journey-copy,
.journey-panel,
.intake-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.journey-copy,
.journey-panel,
.intake-card,
.form-embed-card {
  padding: 32px;
}

.journey-copy h1 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 0.95;
}

.contact-portrait {
  overflow: hidden;
  margin: -6px 0 24px;
  border-radius: 24px;
  border: 1px solid rgba(77, 50, 32, 0.08);
  min-height: 420px;
  background: rgba(255, 255, 255, 0.52);
}

.contact-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.journey-panel h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.notes-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.intake-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.intake-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.intake-card input,
.intake-card select {
  width: 100%;
  border: 1px solid rgba(77, 50, 32, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.intake-card .button {
  grid-column: 1 / -1;
}

.form-embed-card iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.contact-card label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.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;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .assistant-layout,
  .contact-section,
  .instagram-showcase,
  .pathways,
  .journey-hero,
  .intake-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .instagram-tile-feature {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar,
  .chat-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar {
    justify-content: start;
  }

  .nav {
    gap: 14px;
  }

  .social-link {
    justify-self: start;
  }

  .brand-with-logo {
    align-items: flex-start;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .message {
    max-width: 100%;
  }

}
