/* The first look in the preview frame, starting from the sample site (Maple Creek Family Dental, made up).
   Everything is scoped under .mc. Colors and fonts arrive as custom properties set by
   preview.js; every shade is derived with color-mix() so edits restyle it instantly.
   data-phase on .mc (wire, shell, hero, full) decides which parts show. */

@font-face { font-family: 'Merriweather'; font-weight: 400; font-style: normal; font-display: swap; src: url('/preview/fonts/merriweather-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Merriweather'; font-weight: 700; font-style: normal; font-display: swap; src: url('/preview/fonts/merriweather-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 400; font-style: normal; font-display: swap; src: url('/preview/fonts/lato-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-style: normal; font-display: swap; src: url('/preview/fonts/lato-latin-700-normal.woff2') format('woff2'); }

.mc {
  --mc-primary: #1F5E63;
  --mc-bg: #EFE6D6;
  --mc-accent: #D4A437;
  --mc-head: 'Merriweather', Georgia, serif;
  --mc-body: 'Lato', system-ui, sans-serif;

  /* Derived shades */
  --mc-panel: color-mix(in srgb, var(--mc-primary) 91%, white);
  --mc-tile: color-mix(in oklab, var(--mc-primary) 76%, white);
  --mc-card: color-mix(in srgb, var(--mc-bg) 32%, white);
  --mc-on-accent: color-mix(in srgb, var(--mc-accent) 14%, #1d1b18);
  --mc-text: #5B6066;
  --mc-green: #3F7D58;

  /* Wireframe grays, swapped for brand-tinted values once the shell lands */
  --mc-nav-bg: var(--mc-bg);
  --mc-hero-bg: var(--mc-primary);
  --mc-sk: rgb(255 255 255 / .14);
  --mc-sk-line: rgb(255 255 255 / .26);
  --mc-hatch-a: rgb(255 255 255 / .075);
  --mc-hatch-b: rgb(255 255 255 / .035);
  --mc-tint: var(--mc-card);
  --mc-skl: color-mix(in srgb, var(--mc-primary) 12%, color-mix(in srgb, var(--mc-bg) 70%, white));
  --mc-line: color-mix(in srgb, var(--mc-primary) 14%, white);
  --mc-disc: color-mix(in srgb, var(--mc-bg) 55%, white);
  --mc-eb: color-mix(in srgb, var(--mc-accent) 56%, #3b3122);
  --mc-ink: #3F454B;
  --mc-ease: cubic-bezier(.2, .7, .2, 1);

  --pad: clamp(18px, 3.8cqi, 36px);
  container-type: inline-size;
  position: relative;
  min-height: 100%;
  background: #fff;
  font: 400 14px/1.55 var(--mc-body);
  color: var(--mc-text);
  -webkit-font-smoothing: antialiased;
}
/* On a desktop the first look sits in part of the window, so it is drawn smaller, like a
   thumbnail of the whole page, so more of it shows at once. */
@media (min-width: 901px) {
  .mc { zoom: .72; }
}
/* 1280px laptops: a little smaller still, so the hero keeps its picture beside the words. */
@media (min-width: 901px) and (max-width: 1360px) {
  .mc { zoom: .66; }
}
@supports (color: oklch(from red l c h)) {
  .mc {
    --mc-panel: oklch(from var(--mc-primary) calc(l + .04) c h);
    --mc-tile: oklch(from var(--mc-primary) calc(l + .14) calc(c * 1.2) h);
  }
}
.mc[data-phase="wire"] {
  --mc-nav-bg: #fff;
  --mc-hero-bg: #F5F5F3;
  --mc-sk: #E4E6E3;
  --mc-sk-line: #DADDD7;
  --mc-hatch-a: #ECEDEA;
  --mc-hatch-b: #F4F5F2;
  --mc-tint: #F9F9F7;
  --mc-skl: #E6E8E5;
  --mc-line: #ECEDEA;
  --mc-disc: #F0F1EE;
}
/* Light sections draw their placeholders from the page, not from the dark hero. */
.mc-sec { --mc-hatch-a: color-mix(in srgb, var(--mc-primary) 9%, #F3F0EA); --mc-hatch-b: color-mix(in srgb, var(--mc-primary) 4%, #F8F6F2); }
.mc[data-phase="wire"] .mc-sec { --mc-hatch-a: #ECEDEA; --mc-hatch-b: #F4F5F2; }

.mc * { box-sizing: border-box; }
.mc :where(h2, h3, h4, p, ul, ol, li) { margin: 0; padding: 0; letter-spacing: 0; }
.mc :where(ul, ol) { list-style: none; }
.mc em { font-style: normal; }
.mc button, .mc input { font: inherit; pointer-events: none; }

/* ---------- Which parts show in which phase. Newly shown parts rise in. ---------- */

.mc[data-phase="wire"] :is(.v-real, .v-sh, .v-type, .v-full),
.mc[data-phase="shell"] :is(.v-wire, .v-type, .v-full),
.mc[data-phase="hero"] :is(.v-wire, .v-sh, .v-full),
.mc[data-phase="full"] :is(.v-wire, .v-skel, .v-sh) { display: none; }

.mc :is(.v-wire, .v-real, .v-skel, .v-sh, .v-type, .v-full) { animation: mc-in .55s var(--mc-ease) both; }
.mc :is(.mc-card, .mc-fact, .mc-step, .mc-list li):nth-child(2) > * { animation-delay: .08s; }
.mc :is(.mc-card, .mc-fact, .mc-step, .mc-list li):nth-child(3) > * { animation-delay: .16s; }
.mc .mc-hrow:nth-child(n+3) > * { animation-delay: .08s; }
.mc .mc-hero__copy > .v-full:nth-child(n+3) { animation-delay: .1s; }

@keyframes mc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mc-blink { 50% { opacity: 0; } }

/* Skeleton bars */
.mc-sk {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: var(--mc-sk);
  transition: background-color .6s ease;
}

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

.mc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 10px var(--pad);
  background: var(--mc-nav-bg);
  border-bottom: 1px solid #ECEDEA;
  transition: background-color .6s ease, border-color .6s ease;
}
.mc:not([data-phase="wire"]) .mc-nav { border-bottom-color: transparent; }

.mc-wirelogo {
  display: inline-grid;
  place-items: center;
  width: 110px;
  height: 34px;
  border: 1.5px dashed #CDD1CA;
  border-radius: 8px;
  font-size: 12px;
  color: #8E949B;
}
.mc-pills { display: flex; align-items: center; gap: clamp(12px, 2.2cqi, 22px); }
.mc-pills .mc-sk { width: clamp(36px, 6.4cqi, 54px); height: 8px; }
.mc-pills .mc-sk--cta { width: clamp(72px, 12.4cqi, 100px); height: 32px; border-radius: 8px; margin-left: 4px; }

.mc-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--mc-primary); }
.mc-brand .leafmark { width: 30px; height: 30px; flex: none; }
.mc-brand .leafmark__disc { fill: var(--mc-primary); }
.mc-brand .leafmark__vein { stroke: var(--mc-primary); }
.mc-brand .monogram { width: 30px; height: 30px; flex: none; display: block; }
.mc-brand .monogram circle { fill: var(--mc-primary); transition: fill .4s ease; }
.mc-brand__name { display: grid; font-family: var(--mc-head); line-height: 1.12; }
.mc-brand__name b { font-weight: 700; font-size: 15.5px; }
.mc-brand__name span { font-size: 13px; }

.mc-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4cqi, 24px);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--mc-primary);
  white-space: nowrap;
}
.mc-links .mc-btn { margin-left: 4px; }

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

.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 99px;
  font-family: var(--mc-body);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: default;
}
.mc-btn--sm { height: 34px; padding: 0 16px; font-size: 13px; }
.mc-btn--accent { background: var(--mc-accent); color: var(--mc-on-accent); }
.mc-btn--line { background: transparent; border-color: color-mix(in srgb, var(--mc-on-primary, #fff) 55%, transparent); color: var(--mc-on-primary, #fff); }
.mc-btn--block { display: flex; width: 100%; }

/* ---------- Hero ---------- */

.mc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5cqi, 48px);
  padding: clamp(28px, 4.6cqi, 44px) var(--pad);
  background: var(--mc-hero-bg);
  transition: background-color .7s ease;
}

.mc-h1 {
  min-height: 2.3em;
  font-family: var(--mc-head);
  font-weight: 700;
  font-size: clamp(24px, 4.1cqi, 36px);
  line-height: 1.17;
  color: var(--mc-on-primary, #fff);
}
.mc[data-phase="wire"] .mc-h1 { color: #8B919A; }
.mc-h1__sk { display: grid; gap: .42em; padding-top: .2em; }
.mc-h1__sk .mc-sk { height: .62em; width: 92%; }
.mc-h1__sk .mc-sk + .mc-sk { width: 58%; }
.mc-caret {
  display: inline-block;
  width: 2px;
  height: .95em;
  margin-left: 2px;
  vertical-align: -.1em;
  background: currentColor;
  animation: mc-blink 1s steps(1) infinite;
}
.mc[data-phase="full"] .mc-caret { display: none; }

.mc-sub__sk { display: grid; gap: 12px; margin-top: 22px; }
.mc-sub__sk .mc-sk { width: 100%; }
.mc-sub__sk .mc-sk + .mc-sk { width: 68%; }
.mc-sub {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(14px, 1.95cqi, 16px);
  line-height: 1.7;
  color: color-mix(in srgb, var(--mc-on-primary, #fff) 86%, transparent);
}

.mc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mc-skbtn {
  display: block;
  width: clamp(110px, 16cqi, 148px);
  height: 44px;
  border: 1.5px solid transparent;
  border-radius: 99px;
  background: var(--mc-sk);
  transition: background-color .6s ease, border-color .6s ease, border-radius .6s ease;
}
.mc-skbtn--line { background: transparent; border-color: var(--mc-sk-line); }
.mc[data-phase="wire"] .mc-skbtn { border-radius: 10px; }

/* Placeholder and illustration share one box, so the swap doesn't move anything. */
.mc-media { position: relative; aspect-ratio: 1.62; }
.mc-ph, .mc-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}
.mc-ph { background: repeating-linear-gradient(135deg, var(--mc-hatch-a) 0 11px, var(--mc-hatch-b) 11px 24px); }
/* The dots in the sketch's picture (js/sketch-motion.js): a small mountain range in points over
   the stripes while the first look is a sketch, gone once the real site draws. Without WebGL the
   stripes stay. */
.mc-dots { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; transition: opacity .7s ease; }
.mc-dots [data-particle-art], .mc-dots canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-dots canvas { display: block; opacity: 0; transition: opacity .9s ease; }
.mc-dots.is-gl canvas { opacity: 1; }
.mc-dots.is-nogl, .mc-dots.is-leaving { opacity: 0; }
.mc-dots__sky { position: absolute; inset: 0 0 auto; height: 24%; visibility: hidden; }
.mc-dots__sky i { display: block; height: 50%; }
@media (prefers-reduced-motion: reduce) { .mc-dots, .mc-dots canvas { transition: none; } }
.mc-art { display: block; overflow: hidden; }
.mc-art__panel { fill: var(--mc-panel); }
.mc-art__ring { fill: none; stroke: var(--mc-accent); stroke-width: 19; }
.mc-art__arch { fill: var(--mc-bg); }
.mc-art__tile { fill: var(--mc-tile); }
.mc-art :is(.mc-art__panel, .mc-art__ring, .mc-art__arch, .mc-art__tile) { transition: fill .4s ease, stroke .4s ease; }

/* ---------- Shared section parts ---------- */

.mc-sec {
  --sec: clamp(36px, 6.8cqi, 64px);
  padding: var(--sec) var(--pad);
  background: #fff;
  transition: background-color .6s ease;
}
.mc-sec--tint { background: var(--mc-tint); }
.mc-sec .mc-sk, .mc-trust .mc-sk { background: var(--mc-skl); }

/* Line icons: primary strokes with one accent detail. */
.mc-i {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--mc-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mc-i .a { stroke: color-mix(in srgb, var(--mc-accent) 88%, #000); }
.mc-i path { transition: stroke .4s ease; }

/* The small round seat an icon sits in, and its placeholder dot. */
.mc-disc {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mc-disc);
  transition: background-color .6s ease;
}
.mc-disc .mc-i { width: 18px; height: 18px; }
.mc-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--mc-skl); }
.mc-disc .mc-dot { grid-area: 1 / 1; }

.mc-head { max-width: 30em; margin-bottom: clamp(22px, 4cqi, 34px); }
.mc-head__sk { display: grid; gap: 10px; }
.mc-head__sk .mc-sk { width: 84%; height: 8px; }
.mc-head__sk .mc-sk--eb { width: 64px; height: 7px; margin-bottom: 2px; }
.mc-head__sk .mc-sk--h { width: 58%; height: 15px; margin-bottom: 4px; }
.mc-head__sk .mc-sk:last-child:not(.mc-sk--h) { width: 60%; }
.mc-eb {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 10.5px/1.2 var(--mc-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mc-eb);
}
.mc-eb::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.mc-h2 {
  margin-top: 12px;
  font-family: var(--mc-head);
  font-weight: 700;
  font-size: clamp(20px, 3.4cqi, 28px);
  line-height: 1.22;
  color: var(--mc-primary);
  text-wrap: balance;
}
.mc-lede { margin-top: 12px; font-size: 14px; line-height: 1.7; }

/* ---------- Trust bar ---------- */

.mc-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(16px, 2.8cqi, 22px) var(--pad);
  background: #fff;
  border-bottom: 1px solid var(--mc-line);
  transition: border-color .6s ease;
}
.mc-fact {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 0 clamp(10px, 2.4cqi, 22px);
  border-left: 1px solid var(--mc-line);
}
.mc-fact:first-child { padding-left: 0; border-left: 0; }
.mc-fact__sk { display: grid; flex: 1; gap: 7px; }
.mc-fact__sk .mc-sk { height: 7px; width: 80%; }
.mc-fact__sk .mc-sk + .mc-sk { width: 55%; }
.mc-fact__t { display: grid; min-width: 0; font-size: 12px; line-height: 1.38; }
.mc-fact__t b { font-weight: 700; font-size: 12.5px; color: var(--mc-ink); }

/* ---------- Services ---------- */

.mc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4cqi, 40px);
}
.mc-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid color-mix(in srgb, var(--mc-accent) 55%, white);
  border-radius: 50%;
  background: #fff;
  transition: background-color .6s ease, border-color .6s ease;
}
.mc[data-phase="wire"] .mc-ico { border-color: transparent; background: #EDEEEB; }
.mc[data-phase="full"] .mc-ico { border: 1px solid var(--mc-line); }
.mc-card > .v-skel { display: grid; gap: 9px; margin-top: 18px; }
.mc-card .mc-sk { height: 9px; width: 82%; }
.mc-card .mc-sk + .mc-sk { width: 56%; }
.mc-card h4 {
  margin-top: 18px;
  font-family: var(--mc-head);
  font-weight: 700;
  font-size: clamp(15px, 2.1cqi, 17px);
  line-height: 1.3;
  color: var(--mc-primary);
}
.mc-card p { margin-top: 7px; font-size: 13.5px; line-height: 1.62; }

/* ---------- Gentle with nervous patients ---------- */

.mc-gentle {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5.6cqi, 56px);
}
.mc-gentle__art { position: relative; aspect-ratio: .86; }
.mc-gentle__art :is(.mc-ph, .mc-art2) { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; }
.mc-art2 { display: block; overflow: hidden; }
.mc-g__panel { fill: var(--mc-bg); }
.mc-g__sun { fill: none; stroke: var(--mc-accent); stroke-width: 14; }
.mc-g__dot { fill: var(--mc-tile); }
.mc-g__arch { fill: var(--mc-primary); }
.mc-g__line { fill: none; stroke: color-mix(in srgb, var(--mc-bg) 40%, transparent); stroke-width: 1.4; }
.mc-g__tile { fill: var(--mc-tile); }
.mc-art2 > * { transition: fill .4s ease, stroke .4s ease; }
.mc-gentle .mc-head { margin-bottom: 20px; }
.mc-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  border-top: 1px solid var(--mc-line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mc-ink);
}
.mc-list li:last-child { border-bottom: 1px solid var(--mc-line); }
.mc-list__sk { flex: 1; }
.mc-list__sk .mc-sk { width: 78%; height: 8px; }
.mc-list li:nth-child(2) .mc-list__sk .mc-sk { width: 64%; }

/* ---------- Your first visit ---------- */

.mc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4cqi, 40px);
}
.mc-step__top { display: flex; align-items: center; gap: 14px; height: 34px; }
.mc-step__top .mc-dot { width: 26px; height: 26px; }
.mc-step__n {
  font-family: var(--mc-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--mc-accent);
  transition: color .4s ease;
}
.mc-step__rule { flex: 1; height: 1px; background: var(--mc-line); }
.mc-step > .v-skel { display: grid; gap: 9px; margin-top: 18px; }
.mc-step .mc-sk { height: 9px; width: 78%; }
.mc-step .mc-sk + .mc-sk { width: 52%; }
.mc-step h4 {
  margin-top: 16px;
  font-family: var(--mc-head);
  font-weight: 700;
  font-size: clamp(14.5px, 2cqi, 16.5px);
  line-height: 1.3;
  color: var(--mc-primary);
}
.mc-step p { margin-top: 7px; font-size: 13.5px; line-height: 1.62; }

/* ---------- Hours and location ---------- */

.mc-where {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
  gap: clamp(24px, 5.6cqi, 56px);
}
.mc-hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 8px 0;
  border-bottom: 1px solid var(--mc-line);
  font-size: 13px;
  line-height: 1.4;
  color: var(--mc-ink);
}
.mc-hrow:first-child { border-top: 1px solid var(--mc-line); }
.mc-hrow > .v-full + .v-full { color: var(--mc-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-hrow__sk { display: flex; flex: 1; justify-content: space-between; gap: 24px; }
.mc-hrow__sk .mc-sk { height: 8px; width: 40%; }
.mc-hrow__sk .mc-sk + .mc-sk { width: 24%; }
.mc-hrow:nth-child(2) .mc-hrow__sk .mc-sk:first-child { width: 56%; }
.mc-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--mc-accent) 20%, white);
  color: var(--mc-eb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.mc-addr { display: flex; align-items: flex-start; gap: 13px; margin-top: 22px; }
.mc-addr__sk { display: grid; flex: 1; gap: 8px; padding-top: 6px; }
.mc-addr__sk .mc-sk { height: 8px; width: 60%; }
.mc-addr__sk .mc-sk + .mc-sk { width: 44%; }
.mc-addr__t { display: grid; gap: 1px; font-size: 13px; line-height: 1.5; }
.mc-addr__t b { font-family: var(--mc-head); font-weight: 700; font-size: 14.5px; color: var(--mc-primary); }
.mc-addr__ph { margin-top: 3px; color: var(--mc-ink); font-weight: 700; }

.mc-map { position: relative; min-height: 240px; border-radius: 14px; overflow: hidden; }
.mc-map :is(.mc-ph, .mc-mapsvg) { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; }
.mc-mapsvg { display: block; }
.mc-map::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--mc-line);
  pointer-events: none;
}
.mc-map__land { fill: color-mix(in srgb, var(--mc-bg) 62%, white); }
.mc-map__water { fill: color-mix(in srgb, var(--mc-primary) 20%, white); }
.mc-map__shore { fill: none; stroke: color-mix(in srgb, var(--mc-primary) 32%, white); stroke-width: 1.2; }
.mc-map__river { fill: none; stroke: color-mix(in srgb, var(--mc-primary) 20%, white); stroke-width: 7; stroke-linecap: round; }
.mc-map__park { fill: color-mix(in srgb, var(--mc-tile) 22%, var(--mc-bg)); }
.mc-map__st { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; }
.mc-map__st--main { stroke-width: 9; }
.mc-map__st--thin { stroke-width: 2.5; opacity: .85; }
.mc-map__label { font: 700 8.5px var(--mc-body); letter-spacing: .14em; fill: color-mix(in srgb, var(--mc-primary) 55%, white); }
.mc-map__halo { fill: color-mix(in srgb, var(--mc-primary) 22%, transparent); }
.mc-map__pin { fill: var(--mc-accent); stroke: color-mix(in srgb, var(--mc-accent) 70%, #000); stroke-width: 1; }
.mc-map__pindot { fill: var(--mc-primary); }
.mc-mapsvg > * { transition: fill .4s ease, stroke .4s ease; }

/* ---------- Closing band ---------- */

.mc-close {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7.4cqi, 68px) var(--pad);
  background: var(--mc-hero-bg);
  transition: background-color .7s ease;
}
.mc-close__art { position: absolute; right: 0; bottom: 0; width: 42%; height: 100%; }
.mc-close__ring { stroke-width: 10; }
.mc-close__arch { fill: var(--mc-panel); transition: fill .4s ease; }
.mc-close__copy { position: relative; max-width: 60%; }
.mc-close h3 {
  font-family: var(--mc-head);
  font-weight: 700;
  font-size: clamp(21px, 3.7cqi, 30px);
  line-height: 1.22;
  color: var(--mc-on-primary, #fff);
  text-wrap: balance;
}
.mc-close p { margin-top: 12px; max-width: 30em; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--mc-on-primary, #fff) 84%, transparent); }
.mc-close .mc-btns { margin-top: 24px; }
.mc-close__sk { display: grid; gap: 12px; }
.mc-close__sk .mc-sk { height: 16px; width: 82%; }
.mc-close__sk .mc-sk + .mc-sk { height: 9px; width: 62%; margin-top: 6px; }

/* ---------- Callback section (HIPAA-safe contact form add-on) ---------- */

.mc-cbwrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .42s var(--mc-ease), opacity .3s ease;
}
.mc-cbwrap.is-open { grid-template-rows: 1fr; opacity: 1; }
.mc-cbclip { min-height: 0; overflow: hidden; }

.mc-cb {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(20px, 3.4cqi, 32px);
  margin: 0;
  padding: clamp(26px, 3.4cqi, 32px) calc(var(--pad) - 2px) clamp(22px, 3cqi, 28px);
  background: var(--mc-bg);
  transition: background-color .4s ease;
}
/* The dashed outline sits just within the band, with the tag riding on its top edge. */
.mc-cb::before {
  content: "";
  position: absolute;
  inset: 11px 8px 8px;
  border: 2px dashed var(--mc-green);
  pointer-events: none;
}
.mc-cb__tag {
  position: absolute;
  top: 1px;
  right: 18px;
  padding: 3px 11px;
  border-radius: 99px;
  background: var(--mc-green);
  color: #fff;
  font: 700 11.5px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.mc-cb h3 {
  font-family: var(--mc-head);
  font-weight: 700;
  font-size: clamp(17px, 2.5cqi, 20px);
  line-height: 1.3;
  color: var(--mc-primary);
}
.mc-cb__copy p { margin-top: 8px; font-size: 13.5px; line-height: 1.65; }
.mc-cb__form { display: grid; gap: 10px; align-content: start; }
.mc-cb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc-cb input {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--mc-bg) 70%, #8f8574);
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
  color: var(--mc-text);
}
.mc-cb input::placeholder { color: #8C9096; }
.mc-cb__note { font-size: 12px; line-height: 1.4; color: var(--mc-text); }
.mc-cb .mc-btn { height: 40px; margin-top: 2px; }

/* ---------- Narrow frames: the preview reflows by its own width. ---------- */

@container (max-width: 700px) {
  .mc-links > span { display: none; }
  .mc-cb { grid-template-columns: 1fr; }
}
@container (max-width: 520px) {
  .mc-hero { grid-template-columns: 1fr; }
  .mc-cards, .mc-steps { grid-template-columns: 1fr; gap: 28px; }
  .mc-pills .mc-sk:not(.mc-sk--cta) { display: none; }
  .mc-gentle, .mc-where { grid-template-columns: 1fr; }
  .mc-gentle__art { aspect-ratio: 1.35; }
  .mc-map { min-height: 0; aspect-ratio: 1.35; }
  .mc-close__copy { max-width: none; }
  .mc-close__art { display: none; }
  .mc-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; }
  .mc-card > .mc-ico { grid-row: span 2; }
  .mc-card > :not(.mc-ico) { grid-column: 2; }
  .mc-card h4, .mc-card > .v-skel { margin-top: 2px; }
}
@container (max-width: 440px) {
  .mc-trust { grid-template-columns: 1fr; gap: 12px; }
  .mc-fact { padding: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mc *, .mc *::before { animation: none !important; transition: none !important; }
  .mc-cbwrap { transition: none; }
}

/* Footer: fills the bottom of the first look, so it reads as a whole page. */
.mc { display: flex; flex-direction: column; }
.mc-foot {
  margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding: calc(var(--pad) * .8) var(--pad);
  background: var(--mc-primary); color: color-mix(in srgb, var(--mc-bg) 82%, transparent);
  font-size: 12.5px; line-height: 1.5;
  transition: background-color .4s var(--mc-ease);
}
.mc[data-phase="wire"] .mc-foot { background: #E9EBE7; }
.mc:not([data-phase="wire"]) .mc-foot { box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); }
.mc-foot__col { display: flex; flex-direction: column; }

.mc-foot b { color: var(--mc-bg); font-family: var(--mc-head); font-size: 14px; }
.mc-foot__sk { display: grid; gap: 6px; width: 40%; }
.mc-foot__sk .mc-sk { height: 7px; }
.mc[data-phase="wire"] .mc-foot__sk .mc-sk { background: #D9DCD6; }

/* The live first look: their own logo in the nav, in place of the sample leaf. */
.mc-brand [hidden] { display: none; }
.mc-logo { display: block; flex: none; width: auto; height: 32px; max-width: 168px; object-fit: contain; }
