/* =====================================================================
   SQUEMITA homepage: minimal, matte, with glass used sparingly
   Loaded AFTER home.css and scoped to body.sq-home (other pages untouched).
   Same roots: --color-accent (gold), brand green #1B4537, Hurme font.
   Glass appears in only three places: nav, hero chips, the m² picker.
   ===================================================================== */
body.sq-home {
  --bone: #E9EBE6;
  --ink: #0E1A15;
  --ink-dim: rgba(14, 26, 21, .66);
  --line: rgba(14, 26, 21, .16);
  --stage: #0B1410;
  --green: #1B4537;
  --gold: var(--color-accent, #CBAA7D);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--stage);
  color: var(--ink);
}
body.sq-home h1, body.sq-home h2, body.sq-home h3 { color: inherit; font-weight: 400; }
body.sq-home p { color: var(--ink-dim); margin: 0; }
body.sq-home :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body.sq-home .container { max-width: 1240px; }

/* ---------- sheets: bone cards on the dark stage ---------- */
.mn-sheet { position: relative; margin: 12px; background: var(--bone); border-radius: 32px; overflow: hidden; }
.mn-sheet-mid { margin: 12px 12px 0; border-radius: 32px 32px 0 0; padding-bottom: clamp(4rem, 8vw, 7rem); }
.mn-sheet h2 { color: var(--ink); }

/* ---------- buttons ---------- */
body.sq-home .sq-btn { background: var(--ink); color: #fff; box-shadow: none; }
body.sq-home .sq-btn:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
body.sq-home .sq-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.sq-home .sq-btn-ghost:hover { background: var(--ink); color: #fff; }
.mn-choose .sq-btn, .mn-cta .sq-btn { background: var(--gold); color: #10281F; }
.mn-choose .sq-btn:hover, .mn-cta .sq-btn:hover { background: #E3C99F; color: #10281F; }

/* ---------- nav: the first glass element ---------- */
body.sq-home .sq-nav {
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0,0,0,.18);
}
body.sq-home .sq-nav.solid { background: rgba(255,255,255,.88); }
body.sq-home .sq-logo { max-width: none; }
body.sq-home .sq-logo img { width: auto; height: 30px; }
body.sq-home .sq-links a:not(.sq-btn) { color: var(--green); }
body.sq-home .sq-links a:not(.sq-btn):hover { color: var(--ink); }
body.sq-home .sq-burger span { background: var(--green); }

/* ---------- hero ---------- */
.mn-hero {
  position: relative; min-height: calc(100svh - 24px); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 2rem;
  padding: 9rem clamp(1.5rem, 4vw, 4rem) 4.5rem;
}
.mn-boundary { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(14,26,21,.24); pointer-events: none; }
.mn-hero-copy { position: relative; z-index: 2; align-self: center; }
.mn-hero h1 {
  font-size: clamp(2.8rem, 7.4vw, 7.2rem); line-height: .93; letter-spacing: -.045em;
  text-transform: uppercase; -webkit-text-stroke: .016em currentColor; margin-bottom: 1.6rem;
}
.mn-hero-copy > p { font-size: 1.12rem; max-width: 31rem; margin-bottom: 1.8rem; }

.mn-hero-art { position: relative; z-index: 1; align-self: end; justify-self: end; width: min(100%, 460px); margin-bottom: -4.5rem; }
.mn-hero-art > img { display: block; width: 100%; height: auto; }
.mn-chip {
  position: absolute; padding: .85rem 1.2rem; min-width: 150px; border-radius: 18px; color: var(--ink);
  background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(255,255,255,.22));
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 1px 0 #fff, 0 16px 36px rgba(14,26,21,.2);
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--r, 0deg));
  transition: transform .25s ease-out;
}
.mn-chip b { display: block; font-weight: 400; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.mn-chip span { font-size: .82rem; color: var(--ink-dim); }
.mn-chip-a { --r: -6deg; left: -18%; top: 26%; }
.mn-chip-b { --r: 5deg; right: -8%; top: 58%; }

.mn-corner { position: absolute; bottom: 1.3rem; z-index: 2; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(14,26,21,.6); }
.mn-corner-l { left: clamp(1.5rem, 4vw, 4rem); }
.mn-corner-r { right: clamp(1.5rem, 4vw, 4rem); }

/* ---------- statement: words darken on scroll ---------- */
.mn-statement { padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 6vw, 6rem) clamp(3rem, 7vw, 5rem); }
body.sq-home .mn-scrub { color: var(--ink); font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1.08; letter-spacing: -.03em; max-width: 17em; }
.mn-scrub span { color: rgba(14,26,21,.16); transition: color .3s; }
.mn-scrub span.on { color: var(--ink); }
.mn-statement-sub { margin-top: 2rem; max-width: 30rem; font-size: 1.1rem; }

/* ---------- ways in: two staggered photos ---------- */
.mn-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); padding: 0 clamp(1.5rem, 6vw, 6rem); align-items: start; }
.mn-way-low { margin-top: clamp(3rem, 9vw, 8rem); }
.mn-photo { margin: 0 0 1.4rem; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #cfd5cf; }
.mn-photo picture, .mn-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mn-photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mn-way:hover .mn-photo img { transform: scale(1.035); }
.mn-way h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.025em; margin-bottom: .5rem; }
.mn-way p { max-width: 28rem; font-size: 1.05rem; }

.mn-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 6rem) 0; border-top: 1px solid var(--line); padding-bottom: clamp(3rem, 6vw, 5rem); }
.mn-facts > div { padding: 1.8rem 1.6rem 0 0; }
.mn-facts > div + div { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.mn-facts h3 { font-size: 1.2rem; margin-bottom: .5rem; letter-spacing: -.01em; }

/* ---------- choose: dark, the land and the picker ---------- */
.mn-choose { position: relative; isolation: isolate; overflow: hidden; margin: 12px; border-radius: 32px; background: var(--stage); color: #fff; padding: clamp(4rem, 9vw, 8rem) 0; }
.mn-choose-bg { position: absolute; inset: 0; z-index: -1; }
.mn-video { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .55; }
.mn-choose-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,20,16,.9) 0%, rgba(11,20,16,.45) 55%, rgba(11,20,16,.25) 100%); }
.mn-gridlines { --cell: clamp(46px, 6vw, 84px); position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 70%); mask-image: linear-gradient(90deg, transparent 25%, #000 70%); }
.mn-choose-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mn-choose h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.1rem; }
body.sq-home .mn-choose-copy p { color: rgba(255,255,255,.76); max-width: 30rem; font-size: 1.1rem; }

/* glass primitive: used by the picker only */
.lg-glass {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.26); border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.07), 0 26px 60px rgba(0,0,0,.4);
}
.lg-glass::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(440px circle at var(--mx, 18%) var(--my, 0%), rgba(255,255,255,.22), transparent 56%); }
.mn-picker { padding: 1.5rem; color: #fff; }
.mn-picker h3 { font-size: 1.4rem; margin-bottom: .25rem; color: #fff; }
body.sq-home .mn-picker > p { color: rgba(255,255,255,.76); font-size: .92rem; margin-bottom: 1rem; }
.mn-plot { display: grid; grid-template-columns: repeat(var(--cols, 8), minmax(0, 1fr)); gap: 6px; padding: 10px; border-radius: 18px; background: rgba(5,20,15,.4); box-shadow: inset 0 2px 10px rgba(0,0,0,.35); }
.mn-tile { aspect-ratio: 1; padding: 0; cursor: pointer; border-radius: 9px; background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); transition: transform .18s, background .18s, box-shadow .18s; }
.mn-tile:hover:not(:disabled) { transform: translateY(-3px); background: linear-gradient(160deg, rgba(255,255,255,.34), rgba(255,255,255,.1)); }
.mn-tile[aria-pressed="true"] { background: linear-gradient(160deg, #F0D9B0, var(--gold)); border-color: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 #fff, 0 0 18px rgba(203,170,125,.6); transform: translateY(-2px) scale(1.04); }
.mn-tile.own { cursor: not-allowed; position: relative; background: rgba(27,69,55,.85); border-color: rgba(203,170,125,.55); box-shadow: none; }
.mn-tile.own::after { content: ""; position: absolute; inset: 0; margin: auto; width: 30%; height: 30%; border-radius: 50%; background: var(--gold); opacity: .85; }
.mn-picker-row { display: flex; align-items: center; justify-content: space-between; margin: 1rem 0 .8rem; }
.mn-count { display: flex; align-items: baseline; gap: .4rem; }
.mn-count b { font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--gold); }
.mn-count span { font-size: .9rem; color: rgba(255,255,255,.75); }
.mn-clear { background: none; border: 0; color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: .4rem; }
.mn-clear:hover { color: #fff; }
.mn-loc { width: 100%; margin-bottom: .8rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .85rem 1.2rem; background: rgba(255,255,255,.12); color: #fff; font: inherit; font-size: .95rem; outline: 0; }
.mn-loc::placeholder { color: rgba(255,255,255,.6); }
.mn-loc:focus { background: rgba(255,255,255,.2); box-shadow: 0 0 0 3px rgba(203,170,125,.5); }
.mn-go { width: 100%; text-align: center; }

/* ---------- how it works ---------- */
.mn-how { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.5rem, 6vw, 6rem) 0; }
.mn-how h2, .mn-learn h2, .mn-together h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -.035em; }
.mn-steps { list-style: none; margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.mn-steps li { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.mn-n { display: block; font-size: clamp(3.4rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 1.2rem; }
.mn-steps h3 { font-size: 1.35rem; margin-bottom: .5rem; letter-spacing: -.01em; }
.mn-steps p { max-width: 22rem; }

/* ---------- own together ---------- */
.mn-together { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mn-together-copy p { margin: 1.1rem 0 1.8rem; max-width: 29rem; font-size: 1.08rem; }
.mn-pool { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.mn-pool span { aspect-ratio: 1; border-radius: 8px; background: rgba(14,26,21,.07); }
.mn-pool .g-a { background: var(--gold); }
.mn-pool .g-b { background: var(--green); }
.mn-pool .g-c { background: var(--ink); }

/* ---------- FAQ ---------- */
.mn-learn { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 6rem) 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.mn-learn-head { position: sticky; top: 7rem; }
.mn-learn-head p { margin-top: 1rem; max-width: 22rem; }
.mn-faq details { border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.mn-faq details:first-child { border-top: 1px solid var(--line); }
.mn-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.mn-faq summary::-webkit-details-marker { display: none; }
.mn-faq summary::after { content: "+"; font-size: 1.7rem; line-height: 1; transition: transform .25s; }
.mn-faq details[open] summary::after { transform: rotate(45deg); }
.mn-faq summary h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -.015em; }
.mn-faq details p { margin-top: .9rem; max-width: 60ch; line-height: 1.7; }

/* ---------- waitlist: green, angled top ---------- */
.mn-cta { position: relative; z-index: 2; margin: -7vw 0 0; padding: calc(7vw + 4.5rem) 0 clamp(4rem, 8vw, 7rem); background: var(--green); color: #fff; clip-path: polygon(0 7vw, 100% 0, 100% 100%, 0 100%); }
.mn-cta h2 { color: #fff; font-size: clamp(2.4rem, 6.4vw, 5.4rem); line-height: 1; letter-spacing: -.04em; max-width: 12em; margin-bottom: 1rem; }
body.sq-home .mn-cta p { color: rgba(255,255,255,.76); font-size: 1.1rem; }
.mn-cta .sq-wait { display: flex; gap: .8rem; max-width: 560px; margin: 2rem 0 0; padding: 0 0 .7rem; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); border-radius: 0; }
.mn-cta .sq-wait input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: .7rem 0; font: inherit; font-size: 1.15rem; outline: 0; }
.mn-cta .sq-wait input::placeholder { color: rgba(255,255,255,.55); }
.mn-cta .sq-wait input:focus { box-shadow: none; background: transparent; }
body.sq-home .sq-msg { color: var(--gold); min-height: 1.6rem; margin-top: 1rem; }

/* ---------- footer ---------- */
body.sq-home .sq-footer { background: transparent; color: rgba(255,255,255,.6); padding: clamp(2rem, 5vw, 4rem) 0 1.4rem; }
.mn-wordmark { font-size: clamp(3.6rem, 19vw, 17rem); line-height: .85; letter-spacing: -.045em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(203,170,125,.5); white-space: nowrap; overflow: hidden; user-select: none; margin-bottom: 1.6rem; }
.mn-foot-row { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
body.sq-home .sq-footer a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  body.sq-home .sq-links { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 28px; }
  .mn-hero { grid-template-columns: 1fr; padding-top: 8rem; min-height: auto; }
  .mn-hero-art { justify-self: center; width: min(78%, 400px); margin-bottom: -3.5rem; margin-top: 1rem; }
  .mn-chip-a { left: -6%; }
  .mn-chip-b { right: -4%; }
  .mn-corner { display: none; }
  .mn-hero { padding-bottom: 0; }
  .mn-choose-inner, .mn-together, .mn-learn { grid-template-columns: 1fr; }
  .mn-learn-head { position: static; }
  .mn-steps { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .mn-ways { grid-template-columns: 1fr; }
  .mn-way-low { margin-top: 0; }
  .mn-facts { grid-template-columns: 1fr; }
  .mn-facts > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; margin-top: 1.6rem; }
  .mn-choose-bg::after { background: linear-gradient(180deg, rgba(11,20,16,.8), rgba(11,20,16,.5)); }
  .mn-gridlines { -webkit-mask-image: none; mask-image: none; }
  .mn-chip { min-width: 0; padding: .6rem .9rem; }
  .mn-chip b { font-size: 1.3rem; }
}
@media (max-width: 575px) {
  .mn-picker { padding: 1rem; }
  .mn-plot { gap: 4px; padding: 8px; }
  .mn-cta .sq-wait { flex-direction: column; align-items: stretch; border-bottom: 0; gap: .6rem; }
  .mn-cta .sq-wait input[type=email] { border-bottom: 1px solid rgba(255,255,255,.5); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lg-glass { background: rgba(27,69,55,.88); }
  .mn-chip, body.sq-home .sq-nav { background: rgba(255,255,255,.92); }
}
@media (prefers-reduced-motion: reduce) {
  .mn-chip, .mn-photo img, .mn-tile, .mn-faq summary::after, .mn-scrub span { transition: none; }
}