/* ==========================================================================
   PayHouse homepage — "Everything under one roof"
   Shares the ink / green / paper palette of the Shopify page.
   ========================================================================== */

:root {
  --ink: #121d19;
  --ink-2: #17241f;
  --ink-3: #1f2e28;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-on-dark: #eef4f1;
  --muted-on-dark: rgba(238, 244, 241, 0.64);

  --paper: #f2f5f3;
  --paper-2: #e3eae6;
  --card: #fbfcfb;
  --line: rgba(18, 29, 25, 0.12);
  --text: #121d19;
  --muted: #55625c;

  --accent: #2ba484;
  --accent-hover: #35b893;
  --accent-strong: #1d7d63;
  --accent-glow: #7ff0c8;

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "Inter", system-ui, sans-serif;
  --legacy: #8e9c95;

  --radius: 20px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; margin: 0; letter-spacing: -0.02em; line-height: 1.04; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-stretch: normal; letter-spacing: -0.01em; color: var(--accent); }
.nowrap { white-space: nowrap; }
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 600px; margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(43, 164, 132, .7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-glass { color: var(--text-on-dark); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.btn-glass:hover { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }


/* ==========================================================================
   Hero: the house
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 150px 0 130px; background: var(--ink); color: var(--text-on-dark); }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 480px at 76% 38%, rgba(43, 164, 132, .26), transparent 70%),
    radial-gradient(600px 420px at 8% 0%, rgba(43, 164, 132, .12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--accent-glow); background: rgba(43, 164, 132, .1); border: 1px solid rgba(43, 164, 132, .4); }
.hero h1 { margin: 22px 0 22px; font-size: clamp(40px, 4.8vw, 66px); font-weight: 750; text-wrap: balance; }
.hero .serif { display: block; color: var(--accent); }
.hero .lede { color: var(--muted-on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--muted-on-dark); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--accent); flex: none; }
.hero-proof .nf { height: 22px; width: auto; }

/* house drawing */
.house { position: relative; width: 100%; max-width: 640px; justify-self: center; aspect-ratio: 640 / 600; }
.house-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.house-lines .roof { stroke: url(#roofGrad); stroke-width: 13; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
.house-lines .roof-glow { stroke: #2ba484; stroke-width: 22; opacity: 0; animation: fadeIn 1.2s ease 1.2s forwards; }
/* a soft light that runs eave to eave; the long gap keeps the dash from wrapping back around */
.house-lines .roof-sheen { stroke: rgba(230, 255, 245, .8); stroke-width: 5; stroke-linecap: butt; stroke-dasharray: .1 2; stroke-dashoffset: .1; opacity: 0; filter: blur(1.5px); animation: sheen 7s linear 2.4s infinite; }
.house-lines .wall { stroke: rgba(255, 255, 255, .26); stroke-width: 3; stroke-dasharray: 340; stroke-dashoffset: 340; animation: wall 1.2s ease .9s forwards; }
.house-lines .chimney { stroke: rgba(255, 255, 255, .3); stroke-width: 3; opacity: 0; animation: fadeIn .8s ease 1.4s forwards; }
.house-lines .ground { stroke: rgba(255, 255, 255, .45); stroke-width: 3; }
.house-lines .ground-2 { stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-dasharray: 6 8; }
.house-lines .attic { stroke: var(--accent); stroke-width: 2.5; fill: rgba(43, 164, 132, .12); opacity: 0; animation: fadeIn .8s ease 1.5s forwards; }
.attic-mark { position: absolute; left: 50%; top: 28%; width: 7%; translate: -50% -50%; opacity: 0; filter: drop-shadow(0 0 12px rgba(127, 240, 200, .7)); animation: fadeIn .8s ease 1.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wall { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes sheen { 0% { opacity: 0; stroke-dashoffset: .1; } 7% { opacity: 1; } 38% { opacity: 1; } 45%, 100% { opacity: 0; stroke-dashoffset: -1; } }

/* the room where the service cards rotate */
.house-room {
  position: absolute; left: 12.5%; right: 12.5%; top: 38%; bottom: 7.5%;
  perspective: 1100px; perspective-origin: 50% 40%; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
}
.ring { position: absolute; left: 50%; top: 50%; width: var(--cw, 180px); height: var(--ch, 220px); margin: calc(var(--ch, 220px) / -2) 0 0 calc(var(--cw, 180px) / -2); transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.6, 0, .2, 1); }
.svc {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 14px; border-radius: 18px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(160deg, rgba(43, 164, 132, .2), rgba(23, 36, 31, .96) 46%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 24px 40px -22px rgba(0, 0, 0, .8);
  transition: opacity .6s ease, border-color .6s ease, box-shadow .6s ease; opacity: .42;
}
.svc.front { opacity: 1; border-color: rgba(127, 240, 200, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(43, 164, 132, .35), 0 26px 50px -18px rgba(43, 164, 132, .55); }
.svc-top { display: flex; align-items: center; gap: 8px; }
.svc img { width: 44px; height: 44px; flex: none; margin: -4px 0 -2px -6px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.svc small { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-glow); }
.svc b { font-family: var(--font-display); font-stretch: 112%; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.1; color: #fff; }
.svc p { flex: none; margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted-on-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc em { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-style: normal; font-size: 11.5px; color: var(--muted-on-dark); }
.svc em strong { font-family: var(--font-display); font-size: 15px; color: #fff; }

.house-cap { position: absolute; left: 50%; bottom: -13%; translate: -50% 0; display: flex; align-items: center; gap: 14px; padding: 6px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.hc-text { min-width: 230px; text-align: center; line-height: 1.2; white-space: nowrap; }
.hc-text small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-glow); }
.hc-text b { font-family: var(--font-display); font-stretch: 112%; font-size: 16px; }
.hc-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s ease; }
.hc-btn:hover { background: var(--accent); color: var(--ink); }

/* ==========================================================================
   Fragmentation: vendors → one house
   ========================================================================== */
.frag-sec { background: var(--paper); }
.frag-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.frag-copy h2 { margin: 18px 0 20px; font-size: clamp(34px, 4vw, 54px); text-wrap: balance; }
.frag-copy .serif { color: var(--accent-strong); }
.frag-toggle { display: inline-flex; gap: 4px; margin: 30px 0 26px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.frag-toggle button { border: 0; border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 600; background: none; color: var(--muted); transition: background .25s ease, color .25s ease; }
.frag-toggle button[aria-selected="true"] { background: var(--ink); color: #fff; }
.frag-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.frag-points li { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-left: 26px; position: relative; font-size: 16px; color: var(--muted); }
.frag-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121d19' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.frag-points b { color: var(--text); }

.frag { position: relative; width: 100%; aspect-ratio: 560 / 420; }
.frag-house { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fh-roof { stroke: var(--ink); stroke-width: 8; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.6, 0, .2, 1) .35s; }
.fh-wall { stroke: rgba(18, 29, 25, .28); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s ease .55s; }
.fh-attic { stroke: var(--accent); stroke-width: 2.5; fill: rgba(43, 164, 132, .1); opacity: 0; transition: opacity .5s ease .9s; }
.frag-mark { position: absolute; left: 50%; top: 26.7%; width: 5%; translate: -50% -50%; opacity: 0; transition: opacity .5s ease 1s; }
.frag.housed .fh-roof, .frag.housed .fh-wall { stroke-dashoffset: 0; }
.frag.housed .fh-attic, .frag.housed .frag-mark { opacity: 1; }
.frag:not(.housed) .fh-roof, .frag:not(.housed) .fh-wall { transition-delay: 0s; }
.frag:not(.housed) .fh-attic, .frag:not(.housed) .frag-mark { transition-delay: 0s; }

.tile {
  position: absolute; left: var(--sx); top: var(--sy); width: 17.4%; height: 22%; rotate: var(--sr);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 8px; text-align: center;
  border-radius: 14px; background: #fff; border: 1px dashed rgba(18, 29, 25, .25); box-shadow: 0 10px 24px -14px rgba(18, 29, 25, .4);
  font-size: clamp(10px, 1vw, 12.5px); font-weight: 600; line-height: 1.2; color: var(--muted);
  transition: left .9s cubic-bezier(.6, 0, .2, 1), top .9s cubic-bezier(.6, 0, .2, 1), rotate .9s cubic-bezier(.6, 0, .2, 1), background .5s ease, border-color .5s ease, color .5s ease;
  transition-delay: calc(var(--d) * 60ms);
  animation: drift 6s ease-in-out calc(var(--d) * -.7s) infinite;
}
.tile img { width: 38%; filter: grayscale(1) opacity(.55); transition: filter .5s ease; }
.tile span { display: block; }
.tile .t-new { display: none; }
.frag.housed .tile { left: var(--hx); top: var(--hy); rotate: 0deg; background: #fff; border: 1px solid rgba(43, 164, 132, .45); color: var(--text); animation: none; box-shadow: 0 10px 24px -16px rgba(43, 164, 132, .7); }
.frag.housed .tile img { filter: none; }
.frag.housed .tile .t-old { display: none; }
.frag.housed .tile .t-new { display: block; }
@keyframes drift { 50% { translate: 0 -6px; } }

/* ==========================================================================
   Rooms: the floor plan
   ========================================================================== */
.rooms-sec { background: var(--paper); padding-top: 0; }
.rooms-house { max-width: 1120px; margin: 0 auto; }
.rh-roof { position: relative; height: clamp(190px, 24vw, 300px); }
.rh-roof svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rr-fill { fill: #fff; }
.rr-line { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rh-title { position: absolute; left: 50%; bottom: 10%; translate: -50% 0; width: min(560px, 62%); text-align: center; }
.rh-title h2 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 44px); text-wrap: balance; }
.rh-title .serif { display: block; color: var(--accent-strong); }

.floors { position: relative; background: #fff; border: 3px solid var(--ink); border-top: 0; margin: 0 clamp(16px, 4.6%, 52px); padding: clamp(14px, 2vw, 24px); display: grid; gap: clamp(14px, 2vw, 22px); box-shadow: 0 40px 80px -60px rgba(18, 29, 25, .5); }
.floor { position: relative; display: grid; gap: clamp(14px, 2vw, 22px); padding-top: 30px; }
.floor + .floor { border-top: 1px dashed var(--line); padding-top: 44px; }
.floor-tag { position: absolute; top: 4px; left: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.floor + .floor .floor-tag { top: 16px; }
.floor-netfi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "band band" "pay pay" "subs sb"; padding-top: 0; }
.np-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px clamp(24px, 4vw, 48px); align-items: center; }
.np-copy { display: flex; flex-direction: column; gap: 14px; }
.np-copy .room-links { margin-top: 6px; }
.netfi-band { grid-area: band; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -4px; }
.netfi-band .floor-tag { position: static; }
.netfi-band .netfi-by { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.netfi-band .netfi-by img { height: 26px; width: auto; }
.room-pay { grid-area: pay; }
.room-subs { grid-area: subs; }
.room-sb { grid-area: sb; }
.np-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14.5px; color: var(--text-on-dark); }
.np-feats li { position: relative; padding-left: 24px; line-height: 1.35; }
.np-feats li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121d19' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.np-express { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.np-express div { display: flex; flex-wrap: wrap; gap: 6px; }
.np-express i { padding: 5px 10px; border-radius: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); }
.np-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.np-row:last-child { border-bottom: 0; padding-bottom: 0; }
.np-row b { color: #fff; font-weight: 600; white-space: nowrap; }
.np-row b.up { color: var(--accent-glow); }
.subs-mini { display: grid; gap: 10px; }
.sm-top { display: flex; justify-content: space-between; gap: 10px; }
.sm-top span { color: var(--accent-glow); font-weight: 600; }
.sm-top b { color: #fff; font-weight: 600; }
.sm-row { display: flex; justify-content: space-between; }
.sm-row em { font-style: normal; color: var(--accent-glow); font-weight: 600; }
.sm-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-acts i { padding: 5px 10px; border-radius: 999px; font-style: normal; font-size: 12px; color: #fff; background: rgba(255, 255, 255, .08); }
.sm-acts i.on { background: rgba(43, 164, 132, .25); color: var(--accent-glow); }
.floor-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floor-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.room {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
/* rooms "switch the lights on" on hover */
.room::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(420px 220px at 20% 0%, rgba(43, 164, 132, .2), transparent 70%); }
.room:hover { transform: translateY(-3px); border-color: rgba(43, 164, 132, .5); box-shadow: 0 24px 40px -28px rgba(18, 29, 25, .45); background: #fff; }
.room:hover::before { opacity: 1; }
.room-head { position: relative; display: flex; align-items: center; gap: 14px; }
.room-ic { width: 58px; height: 58px; flex: none; border-radius: 14px; background: var(--ink); padding: 4px; }
.room-head small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.room h3 { margin-top: 3px; font-size: clamp(19px, 1.7vw, 23px); }
.room p { position: relative; margin: 0; color: var(--muted); font-size: 15.5px; }
.room-nf { margin-left: auto; height: 30px; width: auto; }
.room-link { position: relative; margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding-top: 4px; font-weight: 600; font-size: 15px; color: var(--accent-strong); }
.room-link svg { transition: transform .2s ease; }
.room-link:hover svg { transform: translateX(3px); }
.room-new { background: linear-gradient(160deg, rgba(43, 164, 132, .14), var(--paper) 55%); border-color: rgba(43, 164, 132, .45); }
.room-wallet { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.room-wallet:hover { background: var(--ink-2); }
.room-wallet p { color: var(--muted-on-dark); }
.room-wallet .room-ic { background: rgba(255, 255, 255, .06); }
.room-wallet small, .room-wallet .room-link { color: var(--accent-glow); }

.mini { position: relative; border-radius: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.wallet-mini { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: var(--muted-on-dark); }
.room-wallet .sb-head { margin: 2px 0 -4px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.sb-head em { font-style: normal; color: var(--accent-glow); }
.sb-rate { display: grid; grid-template-columns: 170px minmax(0, 1fr) 52px; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 13px; }
.sb-rate b { font-family: var(--font-display); font-size: 20px; color: #fff; text-align: right; }
.sb-rate b.up { color: var(--accent-glow); }
.sb-bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.sb-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-strong), var(--accent-glow)); transform-origin: left; }
.sb-bar.old i { background: linear-gradient(90deg, #6b7872, #a7b2ad); }
.reveal.in .sb-bar i { animation: growX 1s cubic-bezier(.2, .8, .2, 1) both; }
.reveal.in .sb-bar:not(.old) i { animation-delay: .25s; }
@keyframes growX { from { transform: scaleX(0); } }
.room-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; }
.room-links .room-link { margin-top: 0; }
.room-wallet .room-fine { margin: -4px 0 0; font-size: 12.5px; color: rgba(238, 244, 241, .45); }
.wm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wm-row span { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.wm-row b { display: block; margin-top: 2px; font-size: 15px; color: #fff; }
.wm-row b.up { color: var(--accent-glow); }
.rank-mini { display: flex; align-items: center; gap: 14px; }
.rank-mini svg { flex: 1; height: 54px; }
.rk b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--text); }
.ce-mini { display: grid; gap: 2px; }
.ce-mini b { font-family: var(--font-display); font-size: 26px; color: var(--text); }
.ce-mini em { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-style: normal; font-weight: 600; color: var(--accent-strong); }
.ce-mini em i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(43, 164, 132, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(43, 164, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 164, 132, 0); } }

.foundation { display: flex; align-items: center; gap: 18px; margin: 4px calc(-1 * clamp(14px, 2vw, 24px)) calc(-1 * clamp(14px, 2vw, 24px)); padding: 18px clamp(14px, 2vw, 24px); background: var(--ink); color: var(--text-on-dark); }
.foundation span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-glow); }
.foundation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foundation li { padding: 6px 12px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }

/* ==========================================================================
   Shopify wing: the before/after store slider from the Shopify page
   ========================================================================== */
.wing { background: var(--ink); color: var(--text-on-dark); overflow: hidden; }
.wing::before { content: ""; position: absolute; left: 50%; top: 30%; width: 80%; height: 70%; translate: -50% 0; background: radial-gradient(closest-side, rgba(43, 164, 132, .18), transparent); pointer-events: none; }
.wing-copy { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.wing .eyebrow { color: var(--accent); }
.wing h2 { margin: 18px 0 20px; font-size: clamp(32px, 4vw, 56px); text-wrap: balance; }
.wing .serif { display: block; }
.wing .lede { margin: 0 auto; color: var(--muted-on-dark); }
.wing .hero-ctas { justify-content: center; }

.compare-wrap { position: relative; margin: clamp(48px, 5vw, 64px) auto 0; max-width: 1100px; }
.compare-labels { display: flex; justify-content: space-between; margin-bottom: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.compare-labels span { display: inline-flex; align-items: center; gap: 8px; }
.compare-labels .old { color: var(--legacy); }
.compare-labels .new { color: var(--text-on-dark); }
.compare-labels .old::before, .compare-labels .new::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.compare-labels .new::before { background: var(--accent); }
.compare {
  --pos: 40%;
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 -1px 0 var(--line-dark), 0 40px 120px -30px rgba(0,0,0,.8);
  border: 1px solid var(--line-dark);
  border-bottom: 0;
  user-select: none;
  touch-action: pan-y;
  background: #fff;
}
.compare-stage { width: 1100px; height: 640px; transform-origin: 0 0; position: absolute; top: 0; left: 0; }
.compare-layer { position: absolute; inset: 0; }
.compare-layer.modern { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; background: var(--accent);
  pointer-events: none; z-index: 3;
}
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121d19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 6px rgba(43, 164, 132, .25);
}
.compare input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; z-index: 4;
  -webkit-appearance: none; appearance: none; touch-action: pan-y;
}

/* --- Legacy mockup (intentionally dated) --- */
.legacy { background: #d9d9d9; font-family: Verdana, Tahoma, sans-serif; color: #000; font-size: 12px; }
.legacy .ol-top { background: linear-gradient(#2a4f8f, #12306a); color: #fff; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #c7a12b; }
.legacy .ol-brand { font-family: "Times New Roman", Times, serif; font-size: 30px; font-weight: bold; letter-spacing: 1px; text-shadow: 2px 2px 0 #000; }
.legacy .ol-brand small { display: block; font-size: 11px; font-family: Verdana, sans-serif; letter-spacing: 0; text-shadow: none; color: #ffd75e; font-style: italic; }
.legacy .ol-login { font-size: 11px; text-align: right; line-height: 1.6; }
.legacy .ol-login input { width: 92px; font-size: 10px; border: 1px inset #999; padding: 1px 3px; }
.legacy .ol-nav { display: flex; background: linear-gradient(#f2f2f2, #b5b5b5); border-bottom: 1px solid #777; }
.legacy .ol-nav span { padding: 7px 16px; border-right: 1px solid #888; font-weight: bold; font-size: 11px; color: #12306a; }
.legacy .ol-marquee { background: #fff8c4; color: #b00000; font-weight: bold; font-size: 11px; padding: 5px 22px; border-bottom: 1px dashed #c9b200; white-space: nowrap; overflow: hidden; }
.legacy .ol-body { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 14px 22px; }
.legacy .ol-side { background: #fff; border: 1px solid #999; }
.legacy .ol-side h4 { margin: 0; background: #12306a; color: #fff; font-size: 11px; padding: 5px 8px; }
.legacy .ol-side a { display: block; padding: 4px 8px; color: #0000ee; text-decoration: underline; font-size: 11px; border-bottom: 1px dotted #ccc; }
.legacy .ol-side .sponsor { padding: 8px; font-size: 10px; background: #eef; border-top: 1px solid #999; }
.legacy .ol-side .sponsor input { width: 100%; margin-top: 4px; font-size: 10px; }
.legacy .ol-main { background: #fff; border: 1px solid #999; padding: 12px; }
.legacy .ol-main h3 { font-family: "Times New Roman", serif; font-size: 18px; color: #12306a; letter-spacing: 0; border-bottom: 2px solid #12306a; padding-bottom: 4px; margin-bottom: 10px; }
.legacy table { width: 100%; border-collapse: collapse; font-size: 11px; }
.legacy th { background: #e3e3e3; border: 1px solid #aaa; padding: 4px; text-align: left; }
.legacy td { border: 1px solid #ccc; padding: 6px 4px; vertical-align: middle; }
.legacy td img { width: 44px; height: 44px; object-fit: cover; }
.legacy .ol-btn { background: linear-gradient(#fdfdfd, #c9c9c9); border: 1px outset #999; font-size: 10px; padding: 2px 6px; font-weight: bold; }
.legacy .ol-note { margin-top: 10px; font-size: 10px; color: #555; }
.legacy .ol-note b { color: #b00000; }
.legacy .ol-foot { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 10px; color: #555; padding: 8px; background: #cfcfcf; border-top: 1px solid #999; }

/* --- Modern mockup --- */
.modern { background: #fff; }
.modern img { display: block; width: 1100px; height: 640px; }

/* CTA over the modern side of the compare slider */
.compare-cta {
  position: absolute; right: 18px; bottom: 18px; z-index: 5;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 36px);
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(18, 29, 25, .94); color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(43, 164, 132, .45);
  backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .2s, opacity .3s;
}
.compare-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(0, 0, 0, .6), 0 0 0 2px var(--accent); }
.compare-cta .cc-live { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--accent); color: #0d1613; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.compare-cta .cc-live i { width: 7px; height: 7px; border-radius: 50%; background: #0d1613; animation: ccPulse 1.6s ease-in-out infinite; }
.compare-cta .cc-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.compare-cta b { font-size: 16px; }
.compare-cta small { font-size: 12.5px; color: rgba(238, 244, 241, .7); }
.compare-cta .arrow { flex: none; color: var(--accent); transition: transform .2s; }
.compare-cta:hover .arrow { transform: translateX(3px); }
.compare-wrap.legacy-view .compare-cta { opacity: 0; pointer-events: none; }
@keyframes ccPulse { 50% { opacity: .3; } }
@media (max-width: 700px) {
  .compare-cta { position: relative; right: auto; bottom: auto; max-width: none; padding: 12px 14px; border-radius: 0 0 14px 14px; }
  .compare-cta small { display: none; }
  .compare-cta b { flex: 1; }
  .compare-wrap.legacy-view .compare-cta { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .compare-cta .cc-live i { animation: none; } }

/* ==========================================================================
   Operators: who built the house
   ========================================================================== */
.ops { background: var(--paper); }
.ops-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 80px); align-items: end; }
.ops-head h2 { margin-top: 16px; font-size: clamp(34px, 4.4vw, 60px); }
.ops-head .serif { display: block; color: var(--accent-strong); }
.ops-stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 200px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b { font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: clamp(40px, 4.4vw, 64px); line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--muted); }
.stat .stat-word { white-space: nowrap; font-size: clamp(34px, 3.4vw, 50px); }
.stat-hero { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); position: relative; overflow: hidden; }
.stat-hero::after { content: ""; position: absolute; right: -18%; bottom: -30%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(43, 164, 132, .45), transparent); pointer-events: none; }
.stat-hero b { color: var(--accent-glow); font-size: clamp(56px, 6.4vw, 96px); }
.stat-hero span { position: relative; color: var(--muted-on-dark); }
.ops-seats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.ops-seats article { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(43, 164, 132, .08), transparent 60%); }
.ops-seats small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.ops-seats h3 { margin: 10px 0 8px; font-size: 22px; }
.ops-seats p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ==========================================================================
   Foundation CTA + footer
   ========================================================================== */
.final { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px); text-align: center; color: var(--text-on-dark); background: radial-gradient(900px 500px at 50% 110%, rgba(43, 164, 132, .35), transparent 70%), var(--ink); border-top: 1px solid var(--line-dark); }
.final-house { position: absolute; left: 50%; top: 50%; width: min(820px, 120%); translate: -50% -52%; fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.final-in { position: relative; }
.final h2 { font-size: clamp(36px, 5vw, 68px); text-wrap: balance; }
.final .serif { display: block; }
.final .lede { margin: 22px auto 0; color: var(--muted-on-dark); }
.final .hero-ctas { justify-content: center; }
.bricks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; max-width: 860px; margin: 64px auto 0; }
.bricks i { padding: 14px 6px; border-radius: 8px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent-glow); background: linear-gradient(180deg, rgba(43, 164, 132, .22), rgba(43, 164, 132, .06)); border: 1px solid rgba(43, 164, 132, .3); }

.footer { background: var(--ink); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); padding: 40px 0 44px; font-size: 13.5px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.foot-row img { height: 28px; width: auto; }
.foot-row nav { display: flex; gap: 22px; }
.foot-row nav a:hover, .netfi-by:hover { color: var(--text-on-dark); }
.netfi-by { display: inline-flex; align-items: center; gap: 9px; }
.netfi-by img { height: 26px; }
.foot-fine { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: rgba(238, 244, 241, .45); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {

  .hero { padding-top: 120px; }
  .hero-grid, .frag-grid, .ops-head { grid-template-columns: 1fr; }
  .ops-stats { grid-template-columns: 1fr 1fr; }
  .ops-seats { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lede { margin: 0 auto; }
  .hero-ctas, .hero-proof { justify-content: center; }
  .house { max-width: 560px; margin-top: 10px; }
  .floor-3 { grid-template-columns: 1fr 1fr; }
  .floor-netfi { grid-template-columns: 1fr; grid-template-areas: "band" "pay" "subs" "sb"; }
  .np-grid { grid-template-columns: minmax(0, 1fr); }
  .floor-3 .room:last-child { grid-column: 1 / -1; }
  .bricks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 104px 0 70px; }
  .hero h1 { font-size: 40px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-proof { flex-direction: column; align-items: center; gap: 8px; }
  .house-cap { bottom: -15%; gap: 8px; }
  .hc-text { min-width: 168px; }
  .hc-text b { font-size: 14.5px; }
  .svc { padding: 12px; gap: 6px; border-radius: 14px; }
  .svc p { display: none; }
  .frag-toggle { display: flex; }
  .frag-toggle button { flex: 1; padding: 10px 8px; font-size: 13px; }
  .tile { border-radius: 10px; padding: 4px; font-size: 9.5px; }
  /* phones: a low, wide gable, with the heading just under it inside the walls */
  .rh-roof { height: auto; }
  .rh-roof svg { position: relative; inset: auto; display: block; height: 92px; }
  .rh-title { position: static; translate: none; width: auto; margin: -1px 10px 0; padding: 6px 18px 4px; background: #fff; border: solid var(--ink); border-width: 0 2px; }
  .rh-title .eyebrow { font-size: 11px; }
  .rh-title h2 { font-size: 26px; margin-top: 8px; }
  .floors { margin: 0 10px; border-width: 2px; }
  .floor-2, .floor-3, .floor-4 { grid-template-columns: 1fr; }
  .np-feats { grid-template-columns: 1fr; }
  .np-row b { white-space: normal; text-align: right; }
  .netfi-band { flex-direction: column; align-items: flex-start; }
  .floor-3 .room:last-child { grid-column: auto; }
  .room { padding: 18px; }
  .room-ic { width: 50px; height: 50px; }
  .room-nf { display: none; }
  .wm-row { grid-template-columns: 1fr 1fr; }
  .wm-row span:last-child { grid-column: 1 / -1; }
  .sb-rate { grid-template-columns: minmax(0, 1fr) 52px; gap: 6px 12px; }
  .sb-rate span { grid-column: 1 / -1; }
  .foundation { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bricks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
  .ops-stats { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .compare-labels { font-size: 10.5px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .house-lines .roof { stroke-dashoffset: 0; animation: none; }
  .house-lines .wall { stroke-dashoffset: 0; animation: none; }
  .house-lines .roof-glow, .house-lines .chimney, .house-lines .attic, .attic-mark { opacity: 1; animation: none; }
  .house-lines .roof-sheen { display: none; }
  .ring, .tile { transition: none; }
  .tile, .ce-mini em i, .reveal.in .sb-bar i { animation: none; }
}
