/* archviewvr.com home page. Architectural navy and drafting white; red only for cut and dimension lines. */
:root {
  --ink: #0e1f33;       /* architectural navy */
  --paper: #f3f5f4;     /* drafting white */
  --concrete: #dde2e5;
  --blue: #0a70b5;      /* ArchviewVR blue */
  --blue-deep: #065196;
  --sky: #9fd3f5;
  --cut: #e04b3a;       /* section-cut red: only for cut and dimension lines */
  --mute: #5d6b79;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -.025em; line-height: 1.02; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: #fff; padding: 8px 14px; border-radius: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 600 15px var(--body); text-decoration: none; border: 1.5px solid currentColor; transition: background .2s, border-color .2s; }
.btn.solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.solid:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn.light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* nav sits on the hero */
.nav { position: absolute; z-index: 5; inset: 0 0 auto; padding: 22px 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav nav { display: flex; gap: 30px; font-weight: 600; font-size: 15px; color: #fff; }
.nav nav a, .nav .link { text-decoration: none; opacity: .85; color: #fff; }
.nav nav a:hover, .nav .link:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.nav .btn { padding: 10px 18px; }

.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; border-radius: 10px; cursor: pointer; place-items: center; color: inherit; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
.nav .m-only { display: none; }

/* hero: the same home, walked and in plan, split by a section line you can drag */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; background: var(--ink); color: #fff; }
.hero .pane { position: absolute; inset: 0; }
.hero .pane video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .plan { clip-path: inset(0 0 0 var(--split, 58%)); background: #cfd8de; }
/* each video is centred on its own side of the line */
.hero .walkv video { transform: translateX(-10%); }
.hero .plan video { transform: translateX(15%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,31,51,.55), rgba(14,31,51,0) 26%, rgba(14,31,51,0) 52%, rgba(14,31,51,.86)); pointer-events: none; }
.cutline { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--split, 58%); width: 0; border-left: 2px dashed var(--cut); }
.cutline .grip { position: absolute; top: 24%; left: -26px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); cursor: ew-resize; touch-action: none; }
.cutline .tag { position: absolute; top: calc(24% + 14px); font: 600 13px var(--body); color: #fff; background: rgba(14,31,51,.7); padding: 5px 11px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.cutline .tag.l { right: 40px; } .cutline .tag.r { left: 40px; }
.hero-copy { position: absolute; z-index: 4; left: 0; right: 0; bottom: 64px; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero h1 { font-size: clamp(44px, 6.4vw, 96px); }
.hero-copy p { margin-top: 20px; font-size: 20px; max-width: 46ch; color: #e6edf3; }
.hero-copy .row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* your name on it */
.brand { padding: 120px 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.brand h2 { font-size: clamp(36px, 4.4vw, 64px); }
.brand p { margin-top: 20px; color: var(--mute); font-size: 19px; max-width: 44ch; }
.kit { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.kit li { font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--concrete); }
.phones { position: relative; height: 620px; }
.phone { position: absolute; width: 270px; border-radius: 38px; border: 10px solid var(--ink); overflow: hidden; background: var(--ink); box-shadow: 0 30px 70px rgba(14,31,51,.28); }
.phone img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; }
.phone.a { left: 4%; top: 40px; transform: rotate(-4deg); }
.phone.b { right: 6%; top: 0; transform: rotate(3deg); }

/* walk */
.walk { position: relative; color: #fff; }
.walk { background: var(--ink); }
.walk .bg { display: block; width: 100%; height: 88vh; min-height: 560px; object-fit: cover; }
.walk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,31,51,.6), rgba(14,31,51,.22) 34%, rgba(14,31,51,0) 56%); pointer-events: none; }
.walk .copy { text-shadow: 0 1px 18px rgba(14,31,51,.45); }
.walk .copy { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; }
.walk h2 { font-size: clamp(38px, 4.6vw, 70px); max-width: 12ch; }
.walk p { margin-top: 20px; max-width: 38ch; font-size: 19px; color: #e1e9f0; }
.walk ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-weight: 600; }
.walk li { padding-left: 26px; position: relative; }
.walk li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; border-top: 2px solid var(--sky); }

/* 3D plan, drawn like a section */
.plan-sec { background: var(--ink); color: #fff; padding: 120px 0 130px; overflow: hidden; }
.plan-sec .head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
.plan-sec h2 { font-size: clamp(40px, 5.2vw, 80px); }
.plan-sec .head p { color: #b9c6d2; font-size: 19px; max-width: 42ch; }
.plan-fig { position: relative; margin-top: 64px; }
.plan-fig img { width: 100%; border-radius: 6px; }
.plan-fig .dim { position: absolute; left: 47%; width: 21%; bottom: 7%; border-top: 1.5px solid #fff; }
.plan-fig .dim::before, .plan-fig .dim::after { content: ""; position: absolute; top: -7px; height: 13px; border-left: 1.5px solid #fff; }
.plan-fig .dim::before { left: 0; } .plan-fig .dim::after { right: 0; }
.plan-fig .dim span { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); font: 600 13px var(--body); background: var(--ink); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.plan-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 54px; }
.plan-notes h3 { font: 600 18px var(--body); letter-spacing: 0; }
.plan-notes p { margin-top: 6px; color: #b9c6d2; font-size: 16px; }

/* off the plan, end to end */
.otp { padding: 120px 0; }
.otp h2 { font-size: clamp(36px, 4.4vw, 64px); max-width: 14ch; }
.rows { margin-top: 56px; border-top: 1.5px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: 1fr 1.4fr 300px; gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--concrete); }
.rows h3 { font: 700 22px var(--body); letter-spacing: -.01em; }
.rows p { color: var(--mute); }
.rows img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; }

/* make it, in three steps */
.steps { background: #fff; padding: 110px 0; }
.steps h2 { font-size: clamp(34px, 4vw, 58px); }
.steps ol { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; }
.step-fig { background: var(--paper); border-radius: 18px; padding: 18px 14px 10px; margin-bottom: 24px; }
.step-fig svg { display: block; width: 100%; height: auto; }
.step-txt { border-top: 2px solid var(--ink); padding-top: 20px; }
.step-txt::before { content: counter(s); font: 800 44px var(--display); color: var(--blue); display: block; margin-bottom: 12px; }
.steps h3 { font: 700 21px var(--body); letter-spacing: 0; }
.steps li p { margin-top: 8px; color: var(--mute); }
.steps .more { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn.outline { color: var(--ink); border-color: var(--concrete); background: #fff; }
.btn.outline:hover { border-color: var(--ink); }

/* price */
.price { padding: 120px 0; }
.price h2 { font-size: clamp(36px, 4.4vw, 64px); max-width: 16ch; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--concrete); border-radius: 20px; padding: 30px 28px; }
.plan-card h3 { font: 700 18px var(--body); letter-spacing: 0; color: var(--mute); }
.plan-card .amt { font: 800 52px/1 var(--display); letter-spacing: -.03em; margin-top: 14px; }
.plan-card .amt span { display: block; font: 600 15px/1.4 var(--body); letter-spacing: 0; margin-top: 10px; color: var(--mute); }
.plan-card .sub { margin-top: 14px; color: var(--mute); font-size: 16px; }
.plan-card ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 16px; }
.plan-card li { padding-left: 24px; position: relative; }
.plan-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; border-top: 2px solid var(--blue); }
.plan-card .btn { margin-top: auto; justify-content: center; }
.plan-card.main { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 30px 60px rgba(14,31,51,.22); }
.plan-card.main h3, .plan-card.main .sub, .plan-card.main .amt span { color: #b9c6d2; }
.plan-card.main li::before { border-color: var(--sky); }
.plan-card.main .amt { font-size: 72px; }

/* blog cards (home and /blog) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 110px; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); padding-bottom: 0; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--concrete); border-radius: 18px; overflow: hidden; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.post-card:hover { border-color: #c3ccd3; box-shadow: 0 18px 40px rgba(14,31,51,.08); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--concrete); }
.post-card > div { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card time { font-size: 13px; font-weight: 600; color: var(--mute); }
.post-card h3 { font: 700 20px/1.3 var(--body); letter-spacing: -.01em; }
.post-card p { color: var(--mute); font-size: 15px; }
.more-link { margin-top: auto; padding-top: 8px; color: var(--blue); font-weight: 600; font-size: 15px; }
.home-blog { padding: 0 0 120px; }
.home-blog .hb-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.home-blog h2 { font-size: clamp(36px, 4.4vw, 64px); }
.home-blog .post-grid { padding-bottom: 0; }

/* footer */
.foot { background: var(--ink); color: #b9c6d2; padding: 70px 0 40px; }
.foot h2 { color: #fff; font-size: clamp(36px, 5vw, 72px); max-width: 14ch; }
.foot .row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }

@media (max-width: 900px) {
  .nav nav, .nav .link { display: none; }
  .menu-btn { display: grid; margin-right: -8px; color: #fff; }
  .nav-cta { gap: 10px; }
  .nav.open { background: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .nav.open .wrap { flex-wrap: wrap; }
  .nav.open nav { display: flex; flex-direction: column; gap: 0; order: 3; flex-basis: 100%; padding: 8px 0 6px; }
  .nav.open nav a { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 17px; opacity: 1; }
  .nav .m-only { display: block; }
  /* phones: the two videos sit in a 60vh band, each centred on its own half, with the words below */
  .hero { height: auto; min-height: 0; --split: 50%; }
  .hero .pane, .hero::after { inset: 0 0 auto 0; height: 60svh; }
  .cutline { bottom: auto; height: 60svh; }
  .cutline .grip { top: calc(50% - 26px); }
  .cutline .tag { top: calc(50% - 12px); }
  .hero .walkv video { transform: translateX(-25%); }
  .hero .plan video { transform: translateX(25%); }
  .hero::after { background: linear-gradient(180deg, rgba(14,31,51,.5), rgba(14,31,51,0) 28%, rgba(14,31,51,0) 75%, var(--ink)); }
  .hero-copy { position: relative; bottom: auto; padding: calc(60svh + 8px) 0 48px; }
  .brand, .plan-sec .head { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .post-grid { grid-template-columns: 1fr; }
  .home-blog { padding-bottom: 80px; }
  .brand, .otp, .price { padding: 80px 0; }
  .plan-sec, .steps { padding: 80px 0; }
  .phones { height: 520px; }
  .phone { width: 220px; }
  .plan-notes, .steps ol { grid-template-columns: 1fr; gap: 26px; }
  .rows > div { grid-template-columns: 1fr; gap: 12px; }
  .rows img { height: 200px; }
  .walk::after { background: linear-gradient(180deg, rgba(14,31,51,0) 30%, rgba(14,31,51,.7) 62%, rgba(14,31,51,.85)); }
  .walk .copy { align-items: flex-end; padding-bottom: 48px; }
  .hero-copy p { font-size: 18px; }
}
@media (max-width: 480px) {
  .phones { height: 400px; }
  .phone { width: 180px; border-width: 8px; border-radius: 30px; }
  .phone.a { left: 0; }
  .phone.b { right: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero { animation: sweep 2.6s .4s ease-in-out both; }
  @keyframes sweep { 0% { --split: 82%; } 100% { --split: 58%; } }
  @keyframes sweep-m { 0% { --split: 82%; } 100% { --split: 50%; } }
  @media (max-width: 900px) { .hero { animation-name: sweep-m; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@property --split { syntax: "<percentage>"; inherits: true; initial-value: 58%; }
