/* Maple Ridge: spec site stylesheet.
 *
 * Every color, size, and spacing value is transcribed 1:1 from the approved
 * design export (design/approved/Maple Ridge - Standalone.html): the inline
 * style attributes became the classes below, and the export's style-hover /
 * style-focus attributes became the :hover / :focus rules on those classes.
 * Links whose inline color the export pinned (which beat the base a:hover
 * rule) get an explicit :hover color so behavior stays identical.
 */

/* ---------- fonts (extracted from the export, self-hosted) ----------
 * All three families ship as Google variable fonts: the export declared one
 * @font-face per static weight, all pointing at the same file, so each
 * family+subset collapses to a single weight-range block. The export's
 * unused Newsreader italic faces are not shipped. The Newsreader and Spline
 * Sans Mono latin files are slimmed to the page's used weights and glyphs
 * (see design/tools/extract-bundle.py); Hanken Grotesk is verbatim because
 * form inputs inherit it. */

/* Hanken Grotesk 400 700 cyrillic-ext */
/* Hanken Grotesk 400 700 vietnamese */
/* Hanken Grotesk 400 700 latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/demo/maple/fonts/hanken-grotesk-vf-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Hanken Grotesk 400 700 latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/demo/maple/fonts/hanken-grotesk-vf-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Newsreader 400 600 vietnamese */
/* Newsreader 400 600 latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/demo/maple/fonts/newsreader-vf-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Newsreader 400 600 latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/demo/maple/fonts/newsreader-vf-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Spline Sans Mono 400 500 latin-ext */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/demo/maple/fonts/spline-sans-mono-vf-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Spline Sans Mono 400 500 latin */
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/demo/maple/fonts/spline-sans-mono-vf-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- base (the export's global style block) ---------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: #F4EEE3;
  color: #1E2A44;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a {
  color: #1E2A44;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .18s ease;
}
a:hover { color: #7A5A1E; }
::selection { background: #C9A24B; color: #1E2A44; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid #C9A24B;
  outline-offset: 2px;
}
@keyframes mrRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 768px) { #mr-sticky { display: none !important; } }
/* Bottom padding reserves room for the sticky bar. It only applies once the
   shared script confirms the bar can appear (html.has-stickybar), so no-JS
   visitors get neither the bar nor dead padding. */
@media (max-width: 767px) { html.has-stickybar body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }
/* Page scroll is locked while the menu is open; the shared inline script
   toggles this class from the details' open state. */
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Skip link (a11y addition, mirrors the Rowan demo's pattern) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #1E2A44;
  color: #F4EEE3;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: #F4EEE3; }

/* Horizontal overflow is clipped on body (propagates to the viewport).
   Putting it on .mr-page instead would turn that div into a scroll
   container and silently break the header's position:sticky. */
.mr-page { width: 100%; }

/* Hero entrance animation, staggered as in the export */
.mr-rise { animation: mrRise .7s cubic-bezier(.2, .7, .2, 1) both; }
.mr-rise--1 { animation-delay: .04s; }
.mr-rise--2 { animation-delay: .12s; }
.mr-rise--3 { animation-delay: .2s; }
.mr-rise--4 { animation-delay: .28s; }
.mr-rise--5 { animation-delay: .34s; }

/* Shared atoms */
.mr-kicker { display: flex; align-items: center; gap: 10px; }
.mr-kicker-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5C6472;
}
.mr-kicker-label--gold { color: #D4B063; }
.mr-diamond {
  width: 9px; height: 9px;
  background: #C9A24B;
  transform: rotate(45deg);
  border-radius: 2px;
  display: inline-block;
}
.mr-h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #1E2A44;
  margin: 16px 0 0;
}
.mr-section-head { max-width: 640px; }
.mr-img-cover {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- top spec strip ---------- */

.mr-specbar { background: #1E2A44; color: #EBE2D2; }
.mr-specbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px clamp(20px, 5vw, 56px);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  text-align: center;
}
.mr-specbar-text {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D9CDB6;
}

/* ---------- brand bar (sticky) ---------- */

.mr-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 238, 227, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 42, 68, 0.1);
}
.mr-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.mr-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.mr-brand-mark {
  width: 15px; height: 15px;
  background: #C9A24B;
  transform: rotate(45deg);
  border-radius: 3px;
  display: inline-block;
  flex: none;
}
.mr-brand-text { display: flex; flex-direction: column; line-height: 1; }
.mr-brand-name {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.03em;
  color: #1E2A44;
}
.mr-brand-sub {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5C6472;
  margin-top: 4px;
}
.mr-header-right { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); }
.mr-header-phone {
  display: flex; flex-direction: column;
  text-decoration: none;
  text-align: right;
  line-height: 1.1;
  flex: none;
  white-space: nowrap;
}
.mr-header-phone-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5C6472;
}
.mr-header-phone-number {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1E2A44;
}
#mr-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  background: #C9A24B;
  color: #1E2A44;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(201, 162, 75, .9);
  transition: transform .16s ease, background .16s ease;
}
#mr-nav-cta:hover { background: #d5ad5b; transform: translateY(-1px); }

/* ---------- primary nav (desktop) + disclosure menu (mobile) ----------
   Structure follows the Lumen demo (logo left; hamburger + primary CTA right
   on mobile; full inline nav on desktop) in Maple's own brand tokens. */

.mr-nav { display: flex; gap: clamp(18px, 2.4vw, 30px); }
.mr-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: #1E2A44;
}
.mr-nav a:hover { color: #7A5A1E; }

/* Native <details>/<summary> disclosure, same mechanism as the other demos.
   position:static makes the absolutely-positioned panel anchor to the sticky
   header, so it can run full-bleed under it. */
.mr-nav-menu { display: none; position: static; }
.mr-nav-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 13px;
  border: 1.5px solid #1E2A44;
  border-radius: 8px;
  background: transparent;
  transition: background .16s ease;
}
.mr-nav-menu > summary:hover { background: rgba(201, 162, 75, 0.18); }
.mr-nav-menu > summary::-webkit-details-marker { display: none; }
.mr-nav-menu > summary::marker { content: ""; }
.mr-menu-icon { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.mr-menu-icon span { height: 2px; background: #1E2A44; border-radius: 2px; }

.mr-nav-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #FAF6ED;
  border-bottom: 1px solid rgba(30, 42, 68, 0.12);
  box-shadow: 0 18px 34px -24px rgba(30, 42, 68, 0.45);
}
.mr-nav-panel nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 4px clamp(20px, 5vw, 56px) 14px;
}
.mr-nav-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  color: #1E2A44;
  text-decoration: none;
  border-top: 1px solid rgba(201, 162, 75, 0.35);
}
.mr-nav-panel a:hover { color: #7A5A1E; }
.mr-nav-panel-phone { color: #7A5A1E !important; }

/* Below 881px the inline nav swaps for the hamburger; the header phone moves
   into the menu panel to keep the bar one row: logo · hamburger · Get pricing. */
@media (max-width: 880px) {
  .mr-nav { display: none !important; }
  .mr-nav-menu { display: block; }
  .mr-header-phone { display: none; }
}
/* Compact row on small phones so brand + hamburger + CTA stay on one line. */
@media (max-width: 510px) {
  .mr-header-inner { gap: 10px; padding-left: 16px; padding-right: 16px; }
  #mr-nav-cta { padding: 10px 12px; font-size: 13.5px; }
  .mr-nav-menu > summary { padding: 11px 12px; }
}
@media (max-width: 440px) {
  .mr-brand-sub { display: none; }
}

/* ---------- hero ---------- */

.mr-hero { background: #F4EEE3; }
.mr-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 56px) clamp(36px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(30px, 5vw, 60px);
}
.mr-hero-copy { flex: 1 1 400px; min-width: 0; }
.mr-hero-kicker-label { font-size: clamp(9.5px, 2.7vw, 12px); }
.mr-hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(46px, 10vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: #1E2A44;
  margin: 18px 0 0;
}
.mr-hero-lede {
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.6;
  color: #464F5E;
  max-width: 44ch;
  margin: 22px 0 0;
}
.mr-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mr-cta-hero {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: #C9A24B;
  color: #1E2A44;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 26px;
  border: none;
  border-radius: 9px;
  min-height: 54px;
  cursor: pointer;
  box-shadow: 0 16px 32px -16px rgba(201, 162, 75, .95);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.mr-cta-hero:hover {
  background: #d5ad5b;
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -16px rgba(201, 162, 75, 1);
}
.mr-cta-outline {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: transparent;
  color: #1E2A44;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  border: 1.5px solid rgba(30, 42, 68, .4);
  border-radius: 9px;
  min-height: 54px;
  text-decoration: none;
  transition: all .16s ease;
}
.mr-cta-outline:hover { background: #1E2A44; color: #F4EEE3; border-color: #1E2A44; }
.mr-hero-media { flex: 1 1 440px; min-width: 0; }
.mr-hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #EAE0CE 0 13px, #E3D7C1 13px 26px);
  border: 1px solid rgba(30, 42, 68, 0.14);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 34px 70px -34px rgba(30, 42, 68, 0.55);
}
.mr-hero-img { object-position: center 45%; }

/* ---------- fact strip ---------- */

.mr-facts { background: #1E2A44; }
.mr-facts-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px) clamp(20px, 5vw, 56px);
}
.mr-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(18px, 3vw, 30px);
}
.mr-fact-value {
  font-family: 'Newsreader', serif;
  font-size: clamp(21px, 2.6vw, 28px);
  color: #F4EEE3;
  line-height: 1.1;
}
.mr-fact-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4B063;
  margin-top: 8px;
}

/* ---------- lifestyle + location proof ---------- */

.mr-hood { background: #EBE2D2; }
.mr-hood-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 56px);
  display: flex; flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.mr-hood-copy { flex: 1 1 340px; min-width: 0; }
.mr-hood-copy .mr-h2 { max-width: 16ch; }
.mr-hood-lede {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  color: #464F5E;
  max-width: 48ch;
  margin: 20px 0 0;
}
.mr-hood-stats { flex: 1 1 380px; min-width: 0; }
.mr-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mr-stat-card {
  background: #FBF7EF;
  border: 1px solid rgba(30, 42, 68, 0.1);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 20px 40px -30px rgba(30, 42, 68, 0.4);
}
.mr-stat-value {
  font-family: 'Newsreader', serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1;
  color: #1E2A44;
}
.mr-stat-label { font-size: 14px; line-height: 1.45; color: #5C6472; margin-top: 10px; }

/* ---------- floor plans ---------- */

.mr-plans { background: #F4EEE3; }
.mr-plans-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 56px);
}
.mr-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.5vw, 26px);
  margin-top: clamp(32px, 4vw, 52px);
}
.mr-plan-card {
  background: #FBF7EF;
  border: 1px solid rgba(30, 42, 68, 0.1);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 50px -34px rgba(30, 42, 68, 0.45);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mr-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 60px -34px rgba(30, 42, 68, 0.55);
  border-color: rgba(201, 162, 75, 0.6);
}
.mr-plan-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  background: repeating-linear-gradient(135deg, #EAE0CE 0 12px, #E3D7C1 12px 24px);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(30, 42, 68, 0.1);
}
.mr-plan-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.mr-plan-name {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 26px;
  color: #1E2A44;
  margin: 0;
}
.mr-plan-spec {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #5C6472;
  margin-top: 10px;
}
.mr-plan-size { font-size: 15px; color: #5C6472; margin-top: 14px; }
.mr-plan-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 42, 68, 0.1);
}
.mr-plan-price-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #736C5F;
  display: block;
}
.mr-plan-price { font-family: 'Newsreader', serif; font-size: 26px; color: #1E2A44; }
.mr-plan-link {
  background: transparent;
  border: none;
  color: #1E2A44;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #C9A24B;
  padding: 4px;
}
.mr-plans-note {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 11px;
  color: #736C5F;
  margin-top: 22px;
}

/* ---------- gallery + jobsite ---------- */

.mr-gallery { background: #EBE2D2; }
.mr-gallery-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 56px);
}
.mr-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: clamp(32px, 4vw, 52px);
}
.mr-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #E4DAC7 0 13px, #DDD1BA 13px 26px);
  border: 1px solid rgba(30, 42, 68, 0.12);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.mr-tile:hover { transform: scale(1.01); }
.mr-tile--wide { grid-column: 1/-1; aspect-ratio: 21/8; }
.mr-tile--wide:hover { transform: scale(1.006); }

.mr-jobsite {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(30, 42, 68, 0.15);
}
.mr-jobsite-head {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 16px;
}
.mr-jobsite-kicker { display: flex; align-items: center; gap: 9px; }
.mr-dot {
  width: 8px; height: 8px;
  background: #C9A24B;
  border-radius: 999px;
  display: inline-block;
}
.mr-jobsite-kicker-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E611F;
}
.mr-jobsite-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.1;
  color: #1E2A44;
  margin: 12px 0 0;
}
.mr-jobsite-lede { font-size: 15px; color: #5C6472; max-width: 34ch; margin: 0; }
.mr-jobsite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.mr-site-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #DED2BB 0 11px, #D6C9AF 11px 22px);
  border: 1px dashed rgba(138, 106, 34, 0.5);
  display: flex; align-items: center; justify-content: center;
}
.mr-site-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: 'Spline Sans Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a2f12;
  background: #C9A24B;
  padding: 5px 8px;
  border-radius: 999px;
  z-index: 1;
}

/* ---------- amenities ---------- */

.mr-amenities { background: #F4EEE3; }
.mr-amenities-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 56px);
}
.mr-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  margin-top: clamp(32px, 4vw, 52px);
}
.mr-amenity {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  transition: background .18s ease;
}
.mr-amenity:hover { background: #FBF7EF; }
.mr-amenity-icon {
  flex: none;
  width: 44px; height: 44px;
  border: 1.5px solid #C9A24B;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mr-amenity-icon .mr-diamond { width: 14px; height: 14px; }
.mr-amenity-name {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #1E2A44;
  margin: 2px 0 0;
}
.mr-amenity-desc { font-size: 14.5px; line-height: 1.5; color: #5C6472; margin: 8px 0 0; }

/* ---------- lead form ---------- */

.mr-lead {
  background: radial-gradient(120% 130% at 82% 0%, #26344f 0%, #1E2A44 44%, #172135 100%);
}
.mr-lead-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 56px);
}
.mr-lead-head { max-width: 600px; }
.mr-lead-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #F4EEE3;
  margin: 16px 0 0;
}
.mr-lead-lede {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: #C6CDD9;
  margin: 18px 0 0;
}
#lead-confirm-anchor { margin-top: clamp(30px, 4vw, 44px); }
.mr-confirm {
  display: flex; align-items: flex-start;
  gap: 14px;
  background: rgba(201, 162, 75, 0.14);
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.mr-confirm[hidden] { display: none; }
.mr-confirm-icon {
  flex: none;
  width: 28px; height: 28px;
  background: #C9A24B;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #1E2A44;
  font-weight: 700;
}
.mr-confirm-title { font-family: 'Newsreader', serif; font-size: 20px; color: #F4EEE3; }
.mr-confirm-sub { font-size: 14px; color: #C6CDD9; margin-top: 6px; }
.mr-confirm-note {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 12px;
  color: #D4B063;
}
.mr-form {
  background: rgba(255, 253, 248, 0.04);
  border: 1px solid rgba(244, 238, 227, 0.14);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
}
.mr-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.mr-field { display: flex; flex-direction: column; gap: 8px; }
.mr-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C6CDD9;
}
.mr-input {
  width: 100%;
  background: #FBF7EF;
  border: 1px solid rgba(244, 238, 227, 0.25);
  border-radius: 9px;
  padding: 14px 15px;
  font-size: 16px;
  color: #1E2A44;
  min-height: 52px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.mr-input:focus {
  border-color: #C9A24B;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .3);
  outline: none;
}
.mr-consent {
  display: flex; align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  cursor: pointer;
}
.mr-consent-box {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: #C9A24B;
}
.mr-consent-text { font-size: 13.5px; line-height: 1.55; color: #C6CDD9; }
.mr-form-foot {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.mr-cta-submit {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: #C9A24B;
  color: #1E2A44;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px;
  border: none;
  border-radius: 9px;
  min-height: 56px;
  cursor: pointer;
  box-shadow: 0 16px 34px -16px rgba(201, 162, 75, .95);
  transition: transform .16s ease, background .16s ease;
}
.mr-cta-submit:hover { background: #d5ad5b; transform: translateY(-2px); }
.mr-privacy { display: flex; align-items: center; gap: 9px; }
.mr-privacy-icon {
  width: 16px; height: 16px;
  border: 1.5px solid #D4B063;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.mr-privacy-dot { width: 5px; height: 5px; background: #D4B063; border-radius: 50%; }
.mr-privacy-text { font-size: 13px; color: #C6CDD9; max-width: 34ch; }

/* ---------- sales center + footer ---------- */

.mr-footer { background: #151E33; color: #C6CDD9; }
.mr-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 56px) clamp(28px, 4vw, 40px);
}
.mr-visit {
  display: flex; flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.mr-visit-info { flex: 1 1 300px; min-width: 0; }
.mr-visit-title {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.12;
  color: #F4EEE3;
  margin: 14px 0 0;
}
.mr-visit-details { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.mr-detail-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A93A6;
}
.mr-detail-value { font-size: 16px; color: #E7EAF0; margin-top: 5px; line-height: 1.5; }
.mr-visit-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.mr-cta-call {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: #C9A24B;
  color: #1E2A44;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 9px;
  min-height: 48px;
  text-decoration: none;
  transition: background .16s ease;
}
.mr-cta-call:hover { background: #d5ad5b; color: #1E2A44; }
.mr-cta-text {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: transparent;
  color: #F4EEE3;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 20px;
  border: 1.5px solid rgba(244, 238, 227, 0.35);
  border-radius: 9px;
  min-height: 48px;
  text-decoration: none;
  transition: all .16s ease;
}
.mr-cta-text:hover { background: #F4EEE3; color: #151E33; border-color: #F4EEE3; }
.mr-visit-map { flex: 1 1 340px; min-width: 0; }
.mr-map {
  position: relative;
  width: 100%; height: 100%;
  min-height: 260px;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #1b2740 0 12px, #212f4b 12px 24px);
  border: 1px solid rgba(201, 162, 75, 0.28);
  display: flex; align-items: center; justify-content: center;
}
.mr-map-badge {
  position: absolute; top: 14px; left: 14px;
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E2A44;
  background: #C9A24B;
  padding: 5px 9px;
  border-radius: 999px;
}
.mr-map-body { text-align: center; padding: 20px; }
.mr-map-diamond {
  display: inline-block;
  width: 32px; height: 32px;
  border: 1.5px solid #C6CDD9;
  transform: rotate(45deg);
  border-radius: 5px;
  opacity: .6;
}
.mr-map-line1 {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 12px;
  color: #C6CDD9;
  margin-top: 14px;
}
.mr-map-line2 {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 11px;
  color: #8A93A6;
  margin-top: 6px;
}

.mr-legal {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid rgba(244, 238, 227, 0.14);
}
.mr-legal-row {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start; justify-content: space-between;
}
.mr-legal-brand { flex: 1 1 420px; min-width: 0; }
.mr-legal-brand-row { display: flex; align-items: center; gap: 10px; }
.mr-legal-mark {
  width: 13px; height: 13px;
  background: #C9A24B;
  transform: rotate(45deg);
  border-radius: 3px;
  display: inline-block;
  flex: none;
}
.mr-legal-name {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.03em;
  color: #F4EEE3;
}
.mr-legal-disclaimer {
  font-size: 12.5px;
  line-height: 1.65;
  color: #8A93A6;
  margin: 16px 0 0;
  max-width: 62ch;
}
.mr-legal-license {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 11.5px;
  color: #8A93A6;
  margin: 14px 0 0;
}
.mr-legal-license-note { color: #7D859B; }
.mr-legal-side {
  flex: 0 1 auto;
  display: flex; flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.mr-eho { display: flex; align-items: center; gap: 12px; }
.mr-eho-svg { flex: none; }
.mr-eho-label {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A93A6;
  line-height: 1.4;
}
.mr-privacy-link { font-size: 13.5px; color: #C6CDD9; }
.mr-privacy-link:hover { color: #C6CDD9; }
.mr-colophon {
  margin-top: clamp(26px, 3vw, 36px);
  padding-top: 20px;
  border-top: 1px solid rgba(244, 238, 227, 0.1);
  display: flex; flex-wrap: wrap;
  gap: 12px;
  align-items: center; justify-content: space-between;
}
.mr-colophon-left {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7D859B;
}
.mr-colophon-right {
  font-family: 'Spline Sans Mono', monospace;
  font-size: 10.5px;
  color: #7D859B;
}

/* ---------- sticky mobile CTA ---------- */

/* Hidden by default; the shared script reveals it (data-visible) only after
   the hero CTAs scroll out of view, so it never duplicates them on screen. */
#mr-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(30, 42, 68, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  padding: 7px clamp(14px, 4vw, 20px) calc(7px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}
#mr-sticky[data-visible] { transform: none; visibility: visible; }
.mr-cta-sticky {
  flex: 2;
  display: inline-flex; align-items: center; justify-content: center;
  background: #C9A24B;
  color: #1E2A44;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 16px;
  border: none;
  border-radius: 9px;
  min-height: 48px;
  cursor: pointer;
}
.mr-sticky-call {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: #F4EEE3;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 12px;
  border: 1.5px solid rgba(244, 238, 227, 0.4);
  border-radius: 9px;
  min-height: 48px;
  text-decoration: none;
}
.mr-sticky-call:hover { color: #F4EEE3; }

/* ---------- anchors & disclosure (demo hosting under /demo/maple/) ----------
 * The scroll-to-form buttons are plain anchors (CSS smooth scroll above), and
 * the lead form submits to the demo-note page. One small inline script in
 * index.html closes the menu and reveals the sticky bar; everything else
 * works without it. */
:root { --header-h: 74px; }
[id] { scroll-margin-top: var(--header-h); }
#mr-nav-cta, a.mr-cta-hero, a.mr-cta-sticky { text-decoration: none; }
a.mr-cta-hero:hover, a.mr-cta-sticky:hover, a.mr-plan-link:hover { color: #1E2A44; }
