/* ==========================================================================
   The Miranda Method — shared styles
   Quiet luxury · warm · intentional · sophisticated · earthy
   ========================================================================== */

:root {
  /* Primary */
  --sage: #7d9d8c;
  --sage-deep: #5c7a68;
  --sage-darker: #445c4d;
  --sage-mist: #e6ece8;
  --cream: #f7f4ef;
  --sand: #dccebb;
  --sand-light: #ede4d8;
  --walnut: #6e5846;
  --walnut-deep: #4c3d30;
  --white: #ffffff;

  /* Accents — used sparingly */
  --rose: #d8b5ae;
  --rose-tint: #f2e6e3;
  --rose-deep: #b08b83;
  --gold: #c0a875;
  --gold-deep: #a68d5b;

  /* Text */
  --ink: #2e2823;
  --ink-soft: #6b6058;
  --ink-faint: #9a9089;

  /* Theming — overridden per room */
  --accent: var(--sage-deep);
  --accent-soft: var(--sage-mist);
  --accent-deep: var(--sage-darker);

  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(46, 40, 35, 0.03), 0 10px 30px rgba(46, 40, 35, 0.05);
  --shadow-lift: 0 2px 4px rgba(46, 40, 35, 0.04), 0 22px 48px rgba(46, 40, 35, 0.09);
  --line: rgba(110, 88, 70, 0.16);
  --maxw: 1200px;

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Parisienne", "Snell Roundhand", cursive;
}

/* Room themes ------------------------------------------------------------ */
.theme-financial {
  --accent: var(--sage-deep);
  --accent-soft: var(--sage-mist);
  --accent-deep: var(--sage-darker);
}

.theme-healing {
  --accent: var(--rose-deep);
  --accent-soft: var(--rose-tint);
  --accent-deep: #8f6c65;
}

.theme-services {
  --accent: var(--walnut);
  --accent-soft: var(--sand-light);
  --accent-deep: var(--walnut-deep);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin: 0 0 0.55em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.06;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}
h3 {
  font-size: 1.28rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.15em;
}

em {
  font-style: italic;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.narrow {
  max-width: 780px;
}

section {
  padding: 96px 0;
}

/* Small caps label ------------------------------------------------------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.kicker {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 2.1;
  margin-bottom: 22px;
}

.rule-gold {
  width: 56px;
  height: 1.5px;
  background: var(--gold);
  border: 0;
  margin: 0 0 26px;
}

.center .rule-gold {
  margin-left: auto;
  margin-right: auto;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.center {
  text-align: center;
}

.center .lede,
.center .eyebrow,
.center .kicker {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--sage-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--sage-darker);
  color: var(--white);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.btn-ghost:hover {
  border-color: var(--walnut);
  color: var(--walnut);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.center .btn-row {
  justify-content: center;
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(110, 88, 70, 0.1);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  color: var(--walnut);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav a.active {
  color: var(--ink);
}

.nav .btn {
  padding: 13px 26px;
  font-size: 0.7rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  width: 44px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  background: var(--cream);
  padding: 92px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 72px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 30px;
}

.hero-body {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}

.center .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Photo frame ------------------------------------------------------------ */
.photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand-light);
  aspect-ratio: 1 / 1;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  background: linear-gradient(155deg, var(--sand-light), var(--sage-mist));
  color: var(--ink-faint);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 2;
  height: 100%;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  pointer-events: none;
}

/* Service icon strip ----------------------------------------------------- */
.services-strip {
  background: var(--white);
  padding: 66px 0;
  border-top: 1px solid rgba(110, 88, 70, 0.08);
  border-bottom: 1px solid rgba(110, 88, 70, 0.08);
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.icon-item {
  text-align: center;
  color: var(--ink);
}

.icon-item:hover {
  text-decoration: none;
}

.icon-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: var(--sand-light);
  color: var(--walnut);
  transition: background 0.25s ease, color 0.25s ease;
}

.icon-item:nth-child(even) .icon-badge {
  background: var(--sage-mist);
  color: var(--sage-darker);
}

.icon-item:hover .icon-badge {
  background: var(--sage-deep);
  color: var(--white);
}

.icon-badge svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-item span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Script band ------------------------------------------------------------ */
.script-band {
  background: var(--sage);
  padding: 34px 0;
  text-align: center;
}

.script-band p {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--white);
  margin: 0;
  line-height: 1.4;
}

.script-band .dot {
  font-family: var(--font-body);
  font-size: 0.6em;
  opacity: 0.6;
  padding: 0 0.35em;
  vertical-align: middle;
}

/* Cards / doors ---------------------------------------------------------- */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid rgba(110, 88, 70, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(110, 88, 70, 0.24);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.card .card-link {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.card .card-link::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.card:hover .card-link::after {
  width: 32px;
}

/* Door cards */
.door {
  position: relative;
  overflow: hidden;
  color: inherit;
}

.door:hover {
  text-decoration: none;
}

.door::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--door-accent, var(--accent));
}

.door .door-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.door .card-link {
  color: var(--door-accent, var(--accent));
}

.door-financial {
  --door-accent: var(--sage-deep);
}

.door-healing {
  --door-accent: var(--rose-deep);
}

.door-services {
  --door-accent: var(--walnut);
}

/* Product cards ---------------------------------------------------------- */
.product {
  background: var(--white);
  border: 1px solid rgba(110, 88, 70, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product:hover {
  border-color: rgba(110, 88, 70, 0.24);
  box-shadow: var(--shadow);
}

.product-cover {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  background: linear-gradient(150deg, var(--sand-light), var(--sage-mist));
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--walnut);
  line-height: 1.7;
}

.theme-healing .product-cover {
  background: linear-gradient(150deg, var(--rose-tint), var(--sand-light));
}

.product-cover.has-image {
  display: block;
  padding: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(110, 88, 70, 0.08);
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  margin-bottom: 10px;
}

.product-body p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.product-foot {
  margin-top: auto;
  padding-top: 22px;
}

.product-foot .btn {
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sage-mist);
  color: var(--sage-darker);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.badge-soon {
  background: var(--sand-light);
  color: var(--walnut);
}

/* Bands ------------------------------------------------------------------ */
.band {
  background: var(--white);
}

.band-sand {
  background: var(--sand-light);
}

.band-accent {
  background: var(--sage-darker);
  color: rgba(255, 255, 255, 0.82);
}

.band-accent h2,
.band-accent h3 {
  color: var(--white);
}

.band-accent p {
  color: rgba(255, 255, 255, 0.82);
}

.band-accent .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.band-accent .rule-gold {
  background: var(--gold);
}

.band-accent .btn-primary {
  background: var(--white);
  color: var(--sage-darker);
}

.band-accent .btn-primary:hover {
  background: var(--cream);
  color: var(--sage-darker);
}

.band-accent .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.band-accent .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Lists ------------------------------------------------------------------ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 26px;
}

.steps li {
  position: relative;
  padding-left: 62px;
  color: var(--ink-soft);
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-deep);
}

.steps li strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

/* Quote ------------------------------------------------------------------ */
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.5;
  color: var(--ink);
  border-left: 1.5px solid var(--gold);
  padding: 4px 0 4px 30px;
  margin: 0;
  max-width: 32ch;
}

/* Testimonial ------------------------------------------------------------ */
.stars {
  color: var(--gold);
  letter-spacing: 0.35em;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.testimonial {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 auto 32px;
  max-width: 26ch;
}

.testimonial::before {
  content: "\201C";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--rose);
  margin-bottom: 18px;
}

/* Split ------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 64px;
  align-items: center;
}

.panel {
  background: var(--white);
  border: 1px solid rgba(110, 88, 70, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.band .panel {
  background: var(--cream);
}

/* Forms ------------------------------------------------------------------ */
.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 9px;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-top: 16px;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--walnut-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 76px 0 34px;
  font-size: 0.93rem;
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 500;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 46px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 11px;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1040px) {
  .nav {
    gap: 20px;
  }

  .icon-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 26px 32px 32px;
  }

  .nav.open {
    display: flex;
  }

  .nav .btn {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .photo {
    aspect-ratio: 3 / 2;
    max-width: 520px;
  }

  section {
    padding: 68px 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .split {
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 22px;
  }

  .icon-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .btn {
    width: 100%;
  }

  .photo {
    aspect-ratio: 4 / 5;
  }
}
