/* interactivehouse.ca home page. Direction A (dark), approved 17 Nov 2026. The hero runs the live viewer (viewer.js) after the drawn opening (landing.js). */
:root { --bg: #0F1720; --bg2: #121B25; --card: #17212C; --line: #27323E; --line2: #3A4757; --ink: #F3F5F7; --ink2: #C6CFD8; --ink3: #A9B4C0; --amber: #FFB547; --amber2: #FFD08A; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Archivo, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--amber); } a:hover { color: var(--amber2); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.hp-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--amber); color: var(--bg); padding: 10px 16px; border-radius: 4px; }
.hp-skip:focus { left: 16px; }
.hp-todo { background: #FFB54733; color: var(--amber); border-radius: 3px; padding: 0 4px; font: inherit; }
.hp-band.cta .hp-todo { background: #0F172022; color: inherit; }

/* header */
.hp-nav { max-width: 1320px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; }
.hp-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.hp-logo:hover { color: var(--ink); }
.hp-nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.hp-nav nav a:not(.hp-btn) { color: var(--ink2); text-decoration: none; }
.hp-nav nav a:not(.hp-btn):hover { color: var(--ink); }

/* buttons */
.hp-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; background: var(--amber); color: var(--bg) !important; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.hp-btn:hover { background: var(--amber2); }
.hp-btn.ghost { background: transparent; border: 1px solid var(--line2); color: var(--ink) !important; }
.hp-btn.ghost:hover { border-color: var(--ink3); }
.hp-btn.outline { background: transparent; border: 1px solid var(--amber); color: var(--amber) !important; align-self: flex-start; }
.hp-btn.dark { background: var(--bg); color: var(--ink) !important; min-height: 56px; padding: 0 28px; font-size: 17px; }
.hp-btn.dark:hover { background: #1C2732; }

/* hero: the live viewer, trimmed to its floor buttons and 3D stage */
.hp-hero { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hp-hero .ih { min-height: 0; }
.hp-hero .ih-title, .hp-hero .ih-prompt, .hp-hero .ih-promptline, .hp-hero .ih-gallery, .hp-hero .ih-details { display: none !important; }
.hp-hero .ih > :not(.ih-header):not(.ih-stage):not(.ih-viewer):not(.ih-strip) { display: none !important; }   /* the strip: phones' photo row (the viewer shows it only on narrow screens) */
.hp-hero .ih-header { position: absolute; z-index: 6; right: 0; top: 0; border: 0; padding: 16px 24px; transition: opacity 500ms ease; }
.hp-hero.opening .ih-header { opacity: 0; pointer-events: none; }
.hp-hero .ih:has(.ih-stage.photo) .ih-header { opacity: 0; pointer-events: none; }   /* a photo is open: its own Back button owns the corner */
.hp-copy { position: absolute; z-index: 5; left: max(24px, calc((100vw - 1320px) / 2 + 24px)); top: 64px; max-width: 430px; display: flex; flex-direction: column; gap: 18px; pointer-events: none; }
.hp-copy > * { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.85,.25,1); }
.hp-copy.in > * { opacity: 1; transform: none; pointer-events: auto; }
.hp-copy.in.away > * { opacity: 0; transform: translateY(-10px); pointer-events: none; transition-delay: 0ms; }   /* exploring: the tour gets the whole stage */
.hp-copy.in > :nth-child(2) { transition-delay: 150ms; } .hp-copy.in > :nth-child(3) { transition-delay: 300ms; } .hp-copy.in > :nth-child(4) { transition-delay: 450ms; }
.hp-copy h1 { margin: 0; font-size: 48px; line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; }
.hp-copy p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink2); }
.hp-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-mono, .hp-num, .hp-eyebrow { font-family: 'IBM Plex Mono', monospace; }
.hp-mono { font-size: 14px; color: var(--ink3); }
/* the opening: a drawn neighbourhood over the stage, a question, then a dive into one house */
.hp-aerial { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; pointer-events: none; display: block; }
.hp-q { position: absolute; z-index: 8; left: 50%; top: 50%; width: min(880px, calc(100% - 32px)); transform: translate(-50%, -46%); margin: 0; text-align: center;
  font-size: clamp(34px, 5.2vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); text-shadow: 0 4px 40px rgba(15,23,32,.85), 0 1px 3px rgba(15,23,32,.9);
  opacity: 0; transition: opacity 700ms ease, transform 900ms cubic-bezier(.2,.85,.25,1); pointer-events: none; }
.hp-q.in { opacity: 1; transform: translate(-50%, -50%); }
.hp-q em { font-style: normal; color: var(--amber); }

/* sections */
.hp-band { border-top: 1px solid var(--line); }
.hp-band.alt { background: var(--bg2); }
.hp-wrap { max-width: 1200px; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 32px; box-sizing: border-box; }
.hp-wrap.narrow { max-width: 900px; gap: 8px; }
.hp-band h2 { margin: 0; font-size: 36px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }
.hp-band h2.big { font-size: 40px; letter-spacing: -0.02em; }
.hp-band h3 { margin: 0; font-size: 20px; font-weight: 700; }
.hp-band p { margin: 0; }
.hp-num { margin: 0; font-size: 13px; color: var(--amber); }
.hp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hp-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.hp-card.hi { border-color: var(--amber); }
.hp-card p:not(.hp-num) { font-size: 15px; line-height: 1.55; color: var(--ink2); }
.hp-split { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: center; }
.hp-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hp-text p { font-size: 17px; line-height: 1.6; color: var(--ink2); }
.hp-shots { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hp-shots img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; display: block; background: var(--card); }
.hp-shots img.wide { grid-column: span 2; height: 300px; }

/* pricing */
.hp-intro { display: flex; flex-direction: column; gap: 12px; max-width: 46em; }
.hp-eyebrow { font-size: 13px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.hp-intro p:not(.hp-eyebrow) { font-size: 17px; line-height: 1.6; color: var(--ink2); }
.hp-prices { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.hp-price { flex: 2 1 320px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.hp-price.main { flex: 3 1 520px; border-color: var(--amber); }
.hp-price-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.hp-price-head h3 { font-size: 24px; }
.hp-price-head span { font-size: 14px; color: var(--ink3); }
.hp-price dl { margin: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.hp-price dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; }
.hp-price dt { color: var(--ink2); }
.hp-price dd { margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hp-price dd.words { font-family: inherit; font-size: 16px; text-align: right; }
.hp-note { font-size: 14px; line-height: 1.55; color: var(--ink3); }

/* fit */
.hp-fit { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.hp-fit > div { flex: 1 1 380px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.hp-fit h3 { font-size: 22px; }
.hp-fit ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.55; color: var(--ink2); }

/* steps */
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.hp-steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 2px solid var(--amber); }
.hp-steps .hp-num { font-size: 14px; }
.hp-steps li > p:not(.hp-num) { font-size: 15px; line-height: 1.55; color: var(--ink2); }

/* questions */
.hp-wrap.narrow h2 { margin-bottom: 16px; }
.hp-faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.hp-faq details:last-child { border-bottom: 1px solid var(--line); }
.hp-faq summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.hp-faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink2); }

/* booking band and footer */
.hp-band.cta { background: var(--amber); color: var(--bg); border-top-color: var(--amber); }
.hp-cta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.hp-cta > div { display: flex; flex-direction: column; gap: 8px; }
.hp-cta h2 { font-weight: 800; letter-spacing: -0.02em; }
.hp-cta p { font-size: 17px; }
.hp-foot { border-top: 1px solid var(--line); }
.hp-foot .hp-wrap { padding-top: 28px; padding-bottom: 28px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink3); }

@media (max-width: 959px) {
  .hp-hero .ih-header { position: static; padding: 12px 16px; }
  .hp-copy { position: static; max-width: none; padding: 24px 16px 40px; }
  .hp-copy h1 { font-size: 38px; }
}
@media (max-width: 640px) {
  .hp-nav { padding: 14px 16px; }
  .hp-nav nav { gap: 6px 16px; font-size: 14px; }
  .hp-wrap { padding: 52px 16px; }
  .hp-band h2, .hp-band h2.big { font-size: 30px; }
  .hp-price { padding: 22px 18px; }
  .hp-shots img.wide { height: 220px; } .hp-shots img { height: 130px; }
  .hp-copy h1 { font-size: 34px; }
}

/* shoot request form (Greg, 18 Nov 2026) */
.hp-book { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.hp-book-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.hp-book-side p:not(.hp-eyebrow) { font-size: 17px; line-height: 1.6; color: var(--ink2); }
.hp-book-price { font-family: 'IBM Plex Mono', monospace; font-size: 15px !important; color: var(--ink) !important; min-height: 1.6em; }
.hp-book-price b { color: var(--amber); font-weight: 500; font-size: 20px; }
.hp-form { flex: 2 1 520px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-sizing: border-box; }
.hp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.hp-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.hp-form input:not([type=radio]), .hp-form select, .hp-form textarea { font: 400 16px Archivo, system-ui, sans-serif; color: var(--ink); background: var(--bg); border: 1px solid var(--line2); border-radius: 4px; padding: 0 12px; min-height: 48px; box-sizing: border-box; width: 100%; color-scheme: dark; }
.hp-form textarea { padding: 12px; resize: vertical; min-height: 110px; }
.hp-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink3) 50%), linear-gradient(135deg, var(--ink3) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.hp-form input:focus, .hp-form select:focus, .hp-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.hp-form [aria-invalid=true] { border-color: #FF7A6B !important; }
.hp-form small { font-weight: 400; font-size: 13px; color: var(--ink3); }
.hp-opt { font-weight: 400; color: var(--ink3); }
.hp-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hp-form legend { font-size: 14px; font-weight: 600; color: var(--ink2); margin-bottom: 8px; padding: 0; }
.hp-form .hp-radio { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 4px; cursor: pointer; font-weight: 400; }
.hp-form .hp-radio:has(input:checked) { border-color: var(--amber); background: #FFB5470F; }
.hp-form .hp-radio input { accent-color: var(--amber); width: 18px; height: 18px; margin: 0; flex: none; }
.hp-form .hp-radio span { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: var(--ink3); }
.hp-form .hp-radio b { color: var(--ink); font-weight: 600; }
.hp-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hp-form-msg { margin: 0; font-size: 15px; line-height: 1.5; min-height: 0; }
.hp-form-msg.bad { color: #FF9A8E; }
.hp-form button { align-self: flex-start; border: 0; cursor: pointer; font: 600 16px Archivo, system-ui, sans-serif; }
.hp-form button[disabled] { opacity: .6; cursor: wait; }
.hp-form.done > :not(.hp-form-msg) { display: none; }
.hp-form.done .hp-form-msg { font-size: 18px; color: var(--ink); }
.hp-form.done .hp-form-msg b { display: block; font-size: 24px; margin-bottom: 6px; color: var(--amber); }
@media (max-width: 640px) { .hp-form { padding: 20px 16px; } .hp-book-side { position: static; } }

/* "Click any floor to try it out" with a curved arrow to the main floor (Greg, 18 Nov 2026) */
.hp-hint { margin: 6px 0 0; font-size: 17px !important; font-weight: 600; color: var(--amber) !important; }
.hp-hint-touch { display: none; }
@media (hover: none) { .hp-hint-mouse { display: none; } .hp-hint-touch { display: inline; } }
.hp-arrow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 400ms ease; }
.hp-arrow.on { opacity: 1; }
.hp-arrow path { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hp-arrow .line { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.hp-arrow.on .line { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms cubic-bezier(.4,0,.2,1) 200ms; }
.hp-arrow .head { opacity: 0; }
.hp-arrow.on .head { opacity: 1; transition: opacity 200ms ease 1000ms; }
@media (max-width: 959px) {
  .hp-copy .hp-hint { order: -1; margin: 0 0 8px; }      /* phones: the hint sits right under the house, the arrow points up to it */
}
@media (prefers-reduced-motion: reduce) { .hp-arrow.on .line { transition: none; } .hp-arrow.on .head { transition: none; } }

/* weekday-only date picker (Greg, 18 Nov 2026: no weekend shoots) */
.hp-form .hp-field { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.hp-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 0 12px; box-sizing: border-box; background: var(--bg); border: 1px solid var(--line2); border-radius: 4px; color: var(--ink3); font: 400 16px Archivo, system-ui, sans-serif; text-align: left; cursor: pointer; }
.hp-date.set { color: var(--ink); }
.hp-date svg { flex: none; color: var(--ink3); }
.hp-date[aria-expanded=true], .hp-date:focus-visible { outline: none; border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.hp-cal { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: 300px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 14px; background: #1B2632; border: 1px solid var(--line2); border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.45); font-weight: 400; }
.hp-cal[hidden] { display: none; }
.hp-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--ink); font-size: 15px; }
.hp-cal-head button { width: 36px; height: 36px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.hp-cal-head button[disabled] { opacity: .3; cursor: default; }
.hp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.hp-cal-grid .dow { font: 500 11px 'IBM Plex Mono', monospace; color: var(--ink3); padding: 4px 0; text-transform: uppercase; }
.hp-cal-grid .dow.we { opacity: .45; }
.hp-cal-grid button { height: 36px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: 500 14px Archivo, system-ui, sans-serif; cursor: pointer; }
.hp-cal-grid button:hover:not([disabled]):not([aria-disabled=true]) { background: #FFB54722; }
.hp-cal-grid button:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.hp-cal-grid button[disabled], .hp-cal-grid button[aria-disabled=true] { color: #56636F; cursor: default; }
.hp-cal-grid button.we { text-decoration: line-through; text-decoration-color: #56636F; }
.hp-cal-grid button.on { background: var(--amber); color: var(--bg); }

/* address suggestions (Greg, 18 Nov 2026: like L3T) */
.hp-addr { position: relative; }
.hp-addr > label { font-size: 14px; font-weight: 600; color: var(--ink2); }
.hp-addr-list { position: absolute; z-index: 20; left: 0; right: 0; top: 76px; margin: 0; padding: 6px; list-style: none; background: #1B2632; border: 1px solid var(--line2); border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.45); max-height: 300px; overflow: auto; }
.hp-addr-list[hidden] { display: none; }
.hp-addr-list li { padding: 11px 12px; border-radius: 4px; font-size: 15px; font-weight: 400; color: var(--ink); cursor: pointer; }
.hp-addr-list li[aria-selected=true], .hp-addr-list li:hover { background: #FFB54722; }
.hp-addr-list li b { color: var(--amber); font-weight: 600; }
.hp-legal { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.5; color: #7C8894; }
.hp-form .hp-date { border: 1px solid var(--line2); align-self: stretch; font-weight: 400; }   /* the form's button rule would otherwise strip its outline */
.hp-form .hp-cal-head button { border: 1px solid var(--line2); }
.hp-book-side .hp-book-final { font-size: 14px !important; line-height: 1.55; color: var(--ink3) !important; }
.hp-form fieldset[hidden] { display: none; }

/* pricing: "from" prices, the piece-by-piece comparison and what's never extra (22 Nov 2026) */
.hp-from { font-size: 15px; color: var(--ink3); margin-top: -8px !important; }
.hp-from b { font-family: 'IBM Plex Mono', monospace; font-weight: 500; color: var(--amber); font-size: 17px; }
.hp-compare { display: flex; flex-wrap: wrap; gap: 20px; }
.hp-cmp { flex: 1 1 360px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.hp-cmp dl { margin: 6px 0 0; display: flex; flex-direction: column; }
.hp-cmp dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.hp-cmp dt { color: var(--ink2); }
.hp-cmp dd { margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--ink2); }
.hp-cmp .sum dt, .hp-cmp .sum dd { color: var(--ink); font-weight: 600; }
.hp-cmp .us { border-top: 1px solid var(--amber); }
.hp-cmp .us dt { color: var(--amber); font-weight: 700; }
.hp-cmp .us dd { color: var(--amber); font-size: 20px; font-weight: 600; }
.hp-incl { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; }
.hp-incl li { padding: 11px 0 11px 30px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink2); position: relative; }
.hp-incl li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
