/* AZed Hospitality public page only. No dependencies or shared app styles.
   Motion = CSS transforms and transitions driven by a few custom properties
   that landing.js sets (--mx, --my, --sy, --enter, --day-progress). Without
   JavaScript, or with reduced motion, every element sits in its resting place. */

:root {
  color-scheme: light;
  --accent: #00b8d4;          /* the app's brand cyan */
  --accent-dark: #006a7b;     /* same hue, dark enough for text and buttons on white */
  --accent-deep: #005363;
  --accent-soft: #e7f7fa;
  --accent-line: #c7e8ee;
  --ink: #152c36;
  --ink-soft: #445a64;
  --ink-mute: #5d727c;
  --bg: #ffffff;
  --soft: #f5f8f9;
  --soft-2: #eef5f7;
  --line: #e0e8eb;
  --line2: #c8d5da;
  --shell: #ffffff;
  --sea: #107a80;
  --sea-deep: #0b565b;
  --display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .75, .25, 1);
  --shadow-lg: 0 45px 70px -30px rgba(30, 75, 101, .35);
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
body { background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
::selection { background: #c5edf4; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 120px; }
.skip-link { position: fixed; inset-block-start: 10px; inset-inline-start: 20px; transform: translateY(-160%); z-index: 200; padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.skip-link:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 12px; letter-spacing: .14em; font-weight: 650; line-height: 1.6; color: var(--accent-dark); }
.accent-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 184, 212, .14); }

/* ---------- Header ---------- */
.site-header { height: 80px; position: sticky; inset-block-start: 0; z-index: 90; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 28px rgba(21, 44, 54, .05); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; line-height: 1.2; }
.brand img { width: 48px; height: auto; }
.brand small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--ink-mute); margin-top: 2px; } /* never uppercase: the name is "AZed" */
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 550; }
.nav-links > a { transition: color .2s; }
.nav-links > a:hover { color: var(--accent-dark); }
.nav-signin { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line2); padding: 10px 16px; border-radius: 8px; margin-inline-start: 6px; background: #fff; transition: border-color .2s, background .2s; }
.nav-signin:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.nav-signin span { font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; padding: 14px 22px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.2; min-height: 52px; transition: transform .3s var(--ease), box-shadow .3s, background .25s, border-color .25s; }
.button svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover svg { transform: translateX(3px); }
[dir="rtl"] .button svg { transform: scaleX(-1); }
[dir="rtl"] .button:hover svg { transform: scaleX(-1) translateX(3px); }
.button-primary { color: #fff; background: var(--accent-dark); box-shadow: 0 10px 24px -8px rgba(0, 106, 123, .45); }
.button-primary:hover { background: var(--accent-deep); box-shadow: 0 14px 30px -10px rgba(0, 106, 123, .55); }
.button-secondary { background: #fff; color: var(--ink); border-color: var(--line2); }
.button-secondary:hover { background: var(--accent-soft); border-color: var(--accent-line); }

/* ---------- Hero ---------- */
.hero { --mx: 0; --my: 0; --sy: 0; position: relative; background: linear-gradient(180deg, #fff 0%, #f6fafb 72%, #f7fafb 100%); isolation: isolate; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); align-items: center; gap: 24px; min-height: 680px; padding-block: 56px 104px; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .eyebrow { margin-bottom: 26px; }
h1 { font-family: var(--display); font-size: clamp(46px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 650; }
h1 .line { display: block; }
h1 .accent-line { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: .9em; letter-spacing: -.035em; color: var(--accent-dark); white-space: nowrap; margin-top: .06em; }
.hero-description { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 420px; margin-top: 26px; }
.hero-actions, .closing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-orbit { position: absolute; inset-block-start: -380px; inset-inline-end: -310px; width: 1100px; height: 1100px; border-radius: 50%; border: 1px solid rgba(0, 184, 212, .09); pointer-events: none; z-index: -1; transform: translate3d(0, calc(var(--sy) * .12px), 0); }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 80px; border: 1px solid rgba(0, 184, 212, .07); border-radius: 50%; }
.hero-orbit::after { inset: 160px; }

.hero-scene { position: relative; min-height: 440px; perspective: 1800px; isolation: isolate; margin-inline-start: 12px; }
/* Parallax layers: each moves by its own depth (--d) with the pointer and scroll. */
.layer { --lx: calc(var(--mx) * var(--d) * 16px); --ly: calc(var(--my) * var(--d) * 16px - var(--sy) * var(--d) * .05px); transform: translate3d(var(--lx), var(--ly), 0); transition: transform .8s var(--ease); will-change: transform; }
.scene-halo { position: absolute; inset: -80px -40px -50px -30px; background: radial-gradient(ellipse at 55% 45%, rgba(189, 233, 240, .55), transparent 64%); z-index: -2; }
.scene-base { position: absolute; z-index: -1; inset: 110px -20px 0 40px; transform: rotateX(62deg) rotateZ(-9deg) translateY(96px); background: rgba(176, 196, 205, .14); border: 1px solid rgba(176, 196, 205, .22); border-radius: 22px; }
.hero-screen {
  --rx0: 8deg; --ry0: -13deg; --rz0: 2deg;
  position: relative; z-index: 1; background: #fff; border: 1px solid #cddce2; border-radius: 12px; overflow: hidden;
  box-shadow: -4px 5px 0 #e3ecef, -8px 10px 0 #d3e1e7, -13px 17px 0 -2px #c6d6dd, var(--shadow-lg);
  transform: rotateX(calc(var(--rx0) - var(--my) * 5deg - var(--sy) * .006deg)) rotateY(calc(var(--ry0) + var(--mx) * 7deg)) rotateZ(var(--rz0)) translateY(calc(var(--sy) * -.03px));
  transform-style: preserve-3d; transition: transform .8s var(--ease); backface-visibility: hidden; will-change: transform;
}
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #f9fbfc; font-size: 12px; font-weight: 500; color: var(--ink-mute); }
.window-bar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-bar b { font-weight: 400; color: #a9bcc4; margin: 0 8px; }
.window-dots { display: flex; gap: 6px; flex-shrink: 0; }
.window-dots i { width: 7px; height: 7px; background: #cfdade; border-radius: 50%; }
.window-status { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px rgba(0, 184, 212, .16); }
.hero-screen-image { aspect-ratio: 1280 / 840; overflow: hidden; background: #fff; }
.hero-screen-image img { width: 100%; height: 100%; object-fit: cover; }
.screen-bottom { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 10px 16px; color: var(--ink-mute); font-size: 12px; }
.screen-bottom .accent-dot { width: 5px; height: 5px; flex-basis: 5px; box-shadow: none; }

.float-card { position: absolute; z-index: 2; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 22px 50px -18px rgba(40, 69, 87, .3); }
.float-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; margin-bottom: 10px; color: var(--ink); }
.float-label svg { width: 15px; height: 15px; color: var(--accent-dark); transform: rotate(-45deg); }
.detail-card { width: 270px; inset-inline-start: -6px; inset-block-end: -40px; transform: translate3d(var(--lx), var(--ly), 0) rotate(-3deg); }
.detail-card img { aspect-ratio: 2.4; object-fit: cover; object-position: top; border-radius: 5px; border: 1px solid var(--line); }
.ticket-card { width: 156px; inset-inline-end: -14px; inset-block-start: -34px; transform: translate3d(var(--lx), var(--ly), 0) rotate(4deg); }
.ticket-crop { aspect-ratio: 1; overflow: hidden; border-radius: 5px; border: 1px solid var(--line); background: #fff; }
.ticket-crop img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scene figcaption { position: absolute; inset-block-end: -78px; inset-inline-end: 40px; color: var(--ink-mute); font-size: 12px; }

.bridge { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 96px; border-top: 1px solid var(--line); }
.bridge > p { font-family: var(--serif); font-size: 20px; letter-spacing: -.01em; }
.bridge > div { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.bridge > div span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

/* Page-load entrance for the first screen, CSS only, so nothing flashes. */
@media (prefers-reduced-motion: no-preference) {
  .intro-in { animation: introIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
}
@keyframes introIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Section intro ---------- */
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.section-intro .eyebrow { margin-bottom: 18px; }
h2 { font-family: var(--display); font-weight: 620; font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -.035em; line-height: 1.1; }
.intro-text { max-width: 380px; flex-shrink: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; padding-bottom: 4px; }

/* ---------- Screen reel ---------- */
.showcase-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 4px 2px 18px; scroll-padding-inline: 12px; scrollbar-color: #c5d8de transparent; }
.screen-tab { position: relative; overflow: hidden; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; min-height: 46px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--ink-soft); transition: background .25s, border-color .25s, color .25s; }
.screen-tab:hover { background: var(--soft); color: var(--ink); }
.screen-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-line); }
.tab-number { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.tab-progress { position: absolute; inset-inline: 14px; inset-block-end: 6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; opacity: 0; }
[dir="rtl"] .tab-progress { transform-origin: right; }
.is-playing .screen-tab[aria-selected="true"] .tab-progress { opacity: 1; animation: tabFill var(--reel-ms, 6500ms) linear forwards; }
@keyframes tabFill { to { transform: scaleX(1); } }

/* --pad keeps the framed screen at most ~980px wide, so the screen and its caption fit a laptop display together. */
.reel-stage { --enter: 1; --pad: max(40px, calc((100% - 980px) / 2)); position: relative; padding: 46px var(--pad) 0; background: linear-gradient(150deg, #e8f4f6, #f6f9fa 60%, #eef6f8); border: 1px solid #e1ecef; border-radius: 18px 18px 0 0; overflow: hidden; perspective: 1800px; }
.reel-ghost { position: absolute; inset-block: 0 -2px; background: rgba(255, 255, 255, .7); border: 1px solid #d3e2e8; border-radius: 12px 12px 0 0; box-shadow: 0 10px 30px rgba(40, 85, 99, .06); transition: transform .9s var(--ease); }
.ghost-far { inset-inline: calc(var(--pad) + 80px); inset-block-start: 14px; transform: translateY(calc((1 - var(--enter)) * 40px)); }
.ghost-near { inset-inline: calc(var(--pad) + 36px); inset-block-start: 28px; transform: translateY(calc((1 - var(--enter)) * 24px)); }
.browser-frame { position: relative; border: 1px solid #d0dfe5; border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 18px 50px -12px rgba(40, 85, 99, .22); transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--enter)) * 10deg)) translateY(calc((1 - var(--enter)) * 30px)); transition: transform .9s var(--ease); }
.browser-frame .window-bar { height: 42px; }
.frame-mark { width: 30px; height: auto; opacity: .85; }
.screen-viewport, .day-viewport { --dir: 1; position: relative; aspect-ratio: 1280 / 840; overflow: hidden; background: #fff; }
.screen-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(calc(var(--dir) * 6%), 0, 0) scale(.985); transition: opacity .5s var(--ease), visibility 0s .5s; }
.screen-slide.is-leaving { transform: translate3d(calc(var(--dir) * -6%), 0, 0) scale(.985); transition: opacity .6s var(--ease), transform .9s var(--ease), visibility 0s .9s; }
.screen-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s; }
.screen-slide img, .day-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-slide img { object-fit: contain; object-position: top center; }

.reel-caption { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 32px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; background: #fff; }
.caption-copy h3 { font-size: 21px; font-weight: 620; letter-spacing: -.02em; line-height: 1.35; }
.caption-copy p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-top: 6px; max-width: 640px; }
.caption-copy.is-new { animation: captionIn .6s var(--ease) both; }
@keyframes captionIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reel-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-button { height: 46px; min-width: 46px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 19px; line-height: 1; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.icon-button:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: #b2dfe8; }
.icon-button:active { transform: scale(.95); }
.screen-count { font-size: 13px; color: var(--ink-mute); min-width: 58px; text-align: center; font-variant-numeric: tabular-nums; }
.playback { margin-inline-start: 6px; font-size: 14px; }
.reel-footnote { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--ink-mute); margin-top: 16px; padding-inline: 4px; }
.reel-footnote a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.reel-footnote a span { margin-inline-start: 4px; }

/* ---------- How a day flows ---------- */
.day-section { background: var(--soft); border-block: 1px solid #edf1f3; }
.day-grid { display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 38fr); justify-content: space-between; gap: 40px; align-items: start; position: relative; }
.day-sticky { position: sticky; inset-block-start: 120px; padding-block: 40px 30px; perspective: 1500px; }
.day-card { border: 1px solid #d4e2e7; border-radius: 16px; background: #fff; box-shadow: 0 34px 60px -30px rgba(31, 71, 91, .3); transform: rotateY(4deg) rotateX(2deg); overflow: hidden; }
.day-card-top { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-size: 13px; font-weight: 550; color: var(--ink-soft); }
.day-card-top > span:last-child { margin-inline-start: auto; font-size: 12px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.day-browser { margin: 0 16px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.day-image { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .8s; }
.day-image.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s; }
.day-image img { object-fit: contain; object-position: top center; }
.day-card-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 16px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.day-card-bottom > span:last-child { font-size: 22px; color: var(--accent-dark); }
.day-meter { height: 3px; margin: 0 20px 18px; background: var(--soft-2); border-radius: 3px; overflow: hidden; }
.day-meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transform: scaleX(var(--day-fill, .1667)); transform-origin: left; transition: transform .7s var(--ease); }
[dir="rtl"] .day-meter i { transform-origin: right; }
.day-note { color: var(--ink-mute); text-align: center; font-size: 12px; margin-top: 18px; }
.day-connection { font-family: var(--serif); text-align: center; font-size: 19px; font-style: italic; color: var(--ink-soft); margin-top: 20px; }
.day-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.day-steps::before, .day-steps::after { content: ""; position: absolute; inset-inline-start: 20px; inset-block-start: 56px; inset-block-end: 110px; width: 2px; border-radius: 2px; background: #d5e1e6; }
.day-steps::after { background: var(--accent); transform: scaleY(var(--day-progress, 0)); transform-origin: top; transition: transform .7s var(--ease); }
.day-step { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 24px; padding-block: 38px; min-height: 200px; align-items: start; transition: opacity .5s var(--ease); }
.step-number { display: grid; place-items: center; position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 50%; font-size: 13px; font-weight: 600; background: var(--soft); border: 1px solid #d0dfe5; color: var(--ink-mute); font-variant-numeric: tabular-nums; transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.step-icon { display: inline-flex; color: var(--ink-mute); margin: 8px 0 12px; transition: color .4s; }
.step-icon svg { width: 24px; height: 24px; }
.day-step h3 { font-size: 22px; font-weight: 620; letter-spacing: -.02em; line-height: 1.35; transition: color .4s; }
.day-step p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; margin-top: 8px; max-width: 340px; }
.day-step.is-current .step-number, .day-step.is-complete .step-number { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.day-step.is-current .step-number { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(0, 184, 212, .16); }
.day-step.is-current .step-icon, .day-step.is-current h3 { color: var(--accent-dark); }
/* With motion, steps not yet reached are dimmed, so the eye follows the current one. */
.js-motion .day-step:not(.is-current):not(.is-complete) { opacity: .45; }

/* ---------- Modules ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module-card { --rx: 2deg; --ry: -2deg; position: relative; overflow: hidden; padding: 30px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; transform-style: preserve-3d; min-height: 236px; }
.module-card:hover, .js-motion .module-card.in:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px); box-shadow: 0 26px 44px -24px rgba(44, 100, 121, .38); border-color: #b3dce5; }
.module-sheen { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--px, 50%) var(--py, 0%), rgba(0, 184, 212, .10), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.module-card:hover .module-sheen { opacity: 1; }
.module-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; color: var(--accent-dark); background: var(--accent-soft); margin-bottom: 26px; transform: translateZ(14px); }
.module-icon svg { width: 23px; height: 23px; }
.module-arrow { position: absolute; inset-block-start: 32px; inset-inline-end: 26px; color: #8ea8b4; transform: rotate(-45deg); transition: transform .35s var(--ease), color .35s; }
.module-arrow svg { width: 19px; height: 19px; }
.module-card:hover .module-arrow { color: var(--accent-dark); transform: rotate(-45deg) translateX(4px); }
.module-card h3 { position: relative; font-size: 19px; line-height: 1.35; font-weight: 620; letter-spacing: -.02em; margin-bottom: 10px; }
.module-card p { position: relative; font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 320px; }
.module-wide { grid-column: 1 / -1; min-height: 160px; display: grid; grid-template-columns: 70px minmax(0, 34%) 1fr; align-items: center; background: linear-gradient(110deg, #eef8fa, #fff 70%); }
.module-wide .module-icon { margin: 0; }
.module-wide h3 { font-size: 24px; margin: 0; }
.module-wide p { max-width: 520px; padding-inline-end: 40px; }
.module-wide .module-arrow { inset-block-start: calc(50% - 10px); }

/* ---------- Closing ---------- */
.closing { position: relative; isolation: isolate; text-align: center; background: linear-gradient(180deg, #edf7f9, #f4fafb); border-block: 1px solid #e1eff2; overflow: hidden; padding-block: 112px 104px; }
.closing .eyebrow { justify-content: center; margin-bottom: 22px; }
.closing h2 { font-size: clamp(38px, 4.6vw, 64px); }
.closing-inner > p:not(.eyebrow) { font-size: 17px; line-height: 1.75; max-width: 500px; margin: 24px auto 0; color: var(--ink-soft); }
.closing-actions { justify-content: center; margin-block: 32px 20px; }
.closing-inner > small { font-size: 13px; color: var(--ink-mute); }
.closing-orbit { position: absolute; inset-block-start: -290px; inset-inline-start: calc(50% - 530px); width: 1060px; height: 1060px; border: 1px solid rgba(0, 123, 143, .08); border-radius: 50%; z-index: -1; }
.closing-orbit::before { content: ""; position: absolute; inset-block-start: -5px; inset-inline-start: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); opacity: .5; }
.closing-orbit::after { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(0, 123, 143, .07); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .closing-orbit { animation: orbitTurn 90s linear infinite; }
}
@keyframes orbitTurn { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 40px; }
.footer .brand { font-size: 16px; }
.footer .brand img { width: 40px; }
.footer p { font-size: 13px; color: var(--ink-mute); margin-top: 8px; }
.footer-links { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent-dark); }

/* ---------- Scroll reveals (class added by page.js only when motion is allowed) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .module-card.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .45s, border-color .45s; }
.js-motion .module-card.in:not(.settled) { transition-delay: calc(var(--i, 0) * 80ms); }
.js-motion .module-card.settled { transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }

/* ---------- Large screens ---------- */
@media (min-width: 1500px) {
  .hero-grid { min-height: 740px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .nav-links { gap: 20px; font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 600px; padding-block: 50px 92px; }
  h1 { font-size: clamp(44px, 6vw, 62px); }
  .hero-description { font-size: 17px; }
  .detail-card { width: 220px; inset-block-end: -44px; inset-inline-start: -16px; }
  .ticket-card { width: 128px; }
  .section { padding-block: 92px; }
  .section-intro { gap: 36px; }
  .intro-text { max-width: 320px; font-size: 15px; }
  .day-grid { grid-template-columns: minmax(0, 52fr) minmax(0, 42fr); gap: 28px; }
  .module-card { padding: 26px; }
  .module-wide h3 { font-size: 21px; }
}

/* ---------- Phone (the main target) ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .site-header { height: 68px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand img { width: 40px; }
  .brand small { font-size: 11px; }
  .menu-toggle { display: flex; }
  .nav-links { position: absolute; inset-block-start: 67px; inset-inline: 0; display: none; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 24px rgba(21, 44, 54, .06); font-size: 16px; }
  .nav-links.show { display: flex; flex-direction: column; }
  .nav-links > a { padding: 14px 6px; }
  .nav-signin { margin: 8px 0 0; justify-content: space-between; padding: 14px 16px !important; }

  .hero-grid { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-block: 40px 88px; gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; font-size: 11px; letter-spacing: .1em; margin-bottom: 20px; }
  h1 { font-size: clamp(40px, 11.5vw, 60px); line-height: 1.04; }
  .hero-description { font-size: 17px; max-width: 360px; margin: 20px auto 0; }
  .hero-actions { justify-content: center; margin-top: 28px; }
  .hero-actions .button { flex: 1 1 200px; max-width: 320px; }
  .hero-scene { width: 100%; max-width: 560px; margin: 0 auto; min-height: 0; padding-bottom: 24px; perspective: 1200px; }
  .hero-screen { --rx0: 6deg; --ry0: -7deg; --rz0: 1deg; margin-inline: 14px; box-shadow: -2px 4px 0 #dce8ed, -4px 7px 0 #c6d9e1, 0 26px 40px -20px rgba(30, 75, 101, .35); }
  .window-bar { height: 30px; padding-inline: 10px; font-size: 11px; }
  .window-dots { gap: 4px; }
  .window-dots i { width: 5px; height: 5px; }
  .screen-bottom { font-size: 11px; padding: 8px 10px; }
  .float-card { padding: 8px; border-radius: 10px; }
  .float-label { font-size: 11px; gap: 5px; margin-bottom: 6px; }
  .float-label svg { width: 13px; height: 13px; }
  .detail-card { width: 48%; max-width: 230px; inset-inline-start: 0; inset-block-end: -22px; }
  .ticket-card { width: 30%; max-width: 120px; inset-inline-end: 0; inset-block-start: -40px; }
  .hero-scene figcaption { position: static; text-align: end; margin-top: 40px; padding-inline-end: 6px; font-size: 12px; }
  .scene-halo { inset: -50px -16px; }
  .scene-base { inset: 80px 10px 10px; }
  .hero-orbit { inset-inline-end: -620px; }
  .bridge { padding-block: 26px; display: block; text-align: center; min-height: 0; }
  .bridge > p { font-size: 19px; margin-bottom: 16px; }
  .bridge > div { justify-content: center; gap: 8px; font-size: 13px; }

  .section { padding-block: 72px; }
  .section-intro { display: block; margin-bottom: 30px; }
  .section-intro .eyebrow { margin-bottom: 14px; }
  h2 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.14; }
  .intro-text { max-width: none; margin-top: 16px; font-size: 16px; }

  .showcase-tabs { gap: 6px; margin-inline: -16px; padding-inline: 16px; padding-bottom: 14px; scrollbar-width: none; }
  .showcase-tabs::-webkit-scrollbar { display: none; }
  .screen-tab { font-size: 14px; padding: 10px 14px; }
  .reel-stage { --pad: 12px; padding: 30px var(--pad) 0; border-radius: 14px 14px 0 0; }
  .ghost-far { inset-block-start: 10px; inset-inline: calc(var(--pad) + 40px); }
  .ghost-near { inset-block-start: 20px; inset-inline: calc(var(--pad) + 18px); }
  .browser-frame { border-radius: 9px 9px 0 0; }
  .browser-frame .window-bar { height: 32px; }
  .frame-mark { width: 24px; }
  .reel-caption { display: block; padding: 20px 18px; border-radius: 0 0 14px 14px; }
  .caption-copy h3 { font-size: 19px; }
  .caption-copy p { font-size: 15px; }
  .reel-controls { justify-content: flex-end; margin-top: 16px; gap: 8px; }
  .reel-footnote { font-size: 12px; gap: 12px; line-height: 1.6; }

  .day-grid { display: block; }
  .day-sticky { position: sticky; inset-block-start: 67px; z-index: 2; padding-block: 10px 14px; max-width: 520px; margin-inline: auto; perspective: none; background: linear-gradient(var(--soft) 88%, rgba(245, 248, 249, 0)); }
  .day-card { transform: none; border-radius: 14px; box-shadow: 0 18px 40px -22px rgba(31, 71, 91, .35); }
  .day-card-top { padding: 11px 14px; font-size: 12px; }
  .day-browser { margin-inline: 12px; }
  .day-card-bottom { padding: 12px 14px 10px; font-size: 16px; }
  .day-meter { margin: 0 14px 12px; }
  .day-note, .day-connection { display: none; }
  .day-steps { margin-top: 18px; max-width: 520px; margin-inline: auto; }
  .day-step { min-height: 0; padding-block: 26px; gap: 18px; grid-template-columns: 40px 1fr; }
  .step-number { width: 40px; height: 40px; }
  .day-step h3 { font-size: 20px; }
  .day-step p { font-size: 15px; max-width: none; }
  .day-steps::before, .day-steps::after { inset-inline-start: 19px; inset-block-start: 50px; inset-block-end: 80px; }

  .module-grid { grid-template-columns: 1fr; gap: 12px; }
  .module-card { padding: 24px 22px; min-height: 0; }
  .module-icon { width: 42px; height: 42px; margin-bottom: 18px; }
  .module-arrow { inset-block-start: 28px; inset-inline-end: 22px; }
  .module-card h3 { font-size: 18px; }
  .module-card p { font-size: 15px; }
  .module-wide { display: block; padding: 24px 22px; }
  .module-wide .module-icon { margin-bottom: 18px; }
  .module-wide h3 { font-size: 20px; margin-bottom: 10px; }
  .module-wide p { padding: 0; }
  .module-wide .module-arrow { inset-block-start: 28px; }
  /* No hover tilt on touch screens. */
  .module-card:hover, .js-motion .module-card.in:hover { transform: none; }

  .closing { padding-block: 76px 72px; }
  .closing h2 { font-size: clamp(32px, 9vw, 42px); }
  .closing-inner > p:not(.eyebrow) { font-size: 16px; }
  .closing-actions .button { flex: 1 1 220px; max-width: 320px; }
  .footer { display: block; padding-block: 32px; }
  .footer-links { margin-top: 22px; flex-wrap: wrap; gap: 14px 24px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  h1 { font-size: 38px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .06em; }
  .button { padding-inline: 16px; font-size: 14px; }
  .brand small { display: none; }
  .screen-count { min-width: 44px; }
}

/* ---------- Reduced motion: nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .layer, .hero-orbit { transform: none !important; }
  .detail-card { transform: rotate(-3deg) !important; }
  .ticket-card { transform: rotate(4deg) !important; }
  .hero-screen { transform: rotateX(var(--rx0)) rotateY(var(--ry0)) rotateZ(var(--rz0)) !important; }
  .browser-frame, .reel-ghost, .module-card, .module-card:hover, .js-motion .module-card.in:hover { transform: none !important; }
  .screen-slide, .day-image { transform: none !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
  .js-motion .day-step:not(.is-current):not(.is-complete) { opacity: 1; }
  .tab-progress { display: none; }
}

@media print {
  .site-header, .hero-actions, .closing-actions, .reel-controls, .showcase-tabs, .modal, .float-card { display: none !important; }
  .section { padding-block: 30px; }
  .hero-grid { min-height: 0; }
  .day-sticky { position: static; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .module-card { break-inside: avoid; }
}

/* "Beyond the property": four feature cards in the module-card style, two per row. */
.beyond-section { background: var(--soft); border-block: 1px solid #edf1f3; }
.beyond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.beyond-card p { max-width: 520px; }
@media (max-width: 760px) {
  .beyond-grid { grid-template-columns: 1fr; }
}

/* ---------- Videos: the short film in a phone, the walkthrough in a 16:9 frame ---------- */
.ad-section { background: linear-gradient(180deg, #f4fafb, #ffffff); border-block-start: 1px solid #edf1f3; overflow: clip; }
.ad-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 80px; }
.ad-copy h2 { max-width: 560px; }
.ad-copy .intro-text { max-width: 460px; margin-top: 24px; font-size: 17px; }
.phone-frame { position: relative; width: 320px; padding: 11px; border-radius: 46px; background: linear-gradient(160deg, #1f3a45, #0c1d24); box-shadow: var(--shadow-lg), 0 0 0 1px #d0dfe5, inset 0 0 0 1px rgba(255, 255, 255, .08); margin-inline-end: 40px; }
.phone-frame::before { content: ""; position: absolute; inset: -60px -90px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 184, 212, .16), transparent); }
.phone-frame .video-shell { border-radius: 36px; aspect-ratio: 9 / 16; }
.video-shell { position: relative; overflow: hidden; background: #0c1d24; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.video-link { max-width: 85%; color: #fff; text-align: center; text-decoration: underline; }
.video-link.is-poster { position: absolute; inset: 0; display: block; max-width: none; }
.video-link[hidden] { display: none; }
.video-link.is-poster:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.video-poster, .video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-poster { object-fit: cover; }
.video-shell iframe { display: block; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--accent-dark); box-shadow: 0 14px 34px -10px rgba(12, 29, 36, .55), 0 0 0 10px rgba(255, 255, 255, .22); transition: transform .3s var(--ease), background .25s; }
.video-play::before { content: ""; width: 30px; height: 30px; margin-left: 4px; background: currentColor; clip-path: polygon(33% 23%, 33% 77%, 79% 50%); }
.video-link:is(:hover, :focus-visible) .video-play { transform: scale(1.06); background: #fff; }
.tour-section { background: #fff; }
.tour-frame { border: 1px solid #d0dfe5; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px -12px rgba(40, 85, 99, .22); }
.tour-frame .window-bar { height: 42px; }
.tour-frame .video-shell { aspect-ratio: 16 / 9; }
.tour-footnote { flex-wrap: wrap; }
@media (max-width: 1100px) {
  .ad-grid { gap: 48px; }
  .phone-frame { width: 280px; margin-inline-end: 0; }
}
@media (max-width: 760px) {
  .ad-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .ad-copy h2, .ad-copy .intro-text { margin-inline: auto; }
  .ad-copy .intro-text { margin-top: 16px; font-size: 16px; }
  .phone-frame { width: min(300px, 82vw); margin-inline: auto; padding: 9px; border-radius: 40px; }
  .phone-frame .video-shell { border-radius: 32px; }
  .video-play { width: 64px; height: 64px; }
  .video-play::before { width: 26px; height: 26px; }
  .tour-frame { border-radius: 10px; }
  .tour-frame .window-bar { height: 30px; }
}
@media print {
  .ad-section, .tour-section { display: none !important; }
}

/* ---------- "It tells you what to do next": example decision cards ---------- */
.decisions-section { background: #fff; }
.decision-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.decision-card { --tone: var(--accent); --tone-soft: var(--accent-soft); --tone-ink: var(--accent-dark); position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 22px 52px 22px 20px; background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--tone); border-radius: 14px; box-shadow: 0 18px 40px -30px rgba(31, 71, 91, .45); }
[dir="rtl"] .decision-card { padding: 22px 20px 22px 52px; }
.decision-card.tone-urgent { --tone: #d9534a; --tone-soft: #fdecea; --tone-ink: #a8352d; }
.decision-card.tone-soon { --tone: #e0a030; --tone-soft: #fdf3e1; --tone-ink: #8a5800; }
.decision-icon { flex: 0 0 42px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; color: var(--tone-ink); background: var(--tone-soft); }
.decision-icon svg { width: 22px; height: 22px; }
.decision-card h3 { font-size: 17px; font-weight: 620; letter-spacing: -.015em; line-height: 1.35; }
.decision-card p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin-top: 6px; }
.decision-act { position: absolute; inset-block-start: 22px; inset-inline-end: 18px; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--tone-ink); background: var(--tone-soft); }
.decision-act svg { width: 15px; height: 15px; }
[dir="rtl"] .decision-act svg { transform: scaleX(-1); }
.decisions-closing { font-family: var(--serif); font-style: italic; text-align: center; font-size: 19px; color: var(--ink-soft); max-width: 640px; margin: 40px auto 0; }
.module-decisions .module-icon svg { width: 22px; height: 22px; }
.js-motion .decision-card.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
@media (max-width: 1100px) {
  .decision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .decision-grid { grid-template-columns: 1fr; gap: 12px; }
  .decision-card { padding: 18px 48px 18px 16px; gap: 14px; }
  [dir="rtl"] .decision-card { padding: 18px 16px 18px 48px; }
  .decision-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .decision-card h3 { font-size: 16px; }
  .decision-card p { font-size: 14.5px; }
  .decision-act { inset-block-start: 18px; inset-inline-end: 14px; }
  .decisions-closing { font-size: 17px; margin-top: 28px; padding-inline: 8px; }
}
@media print {
  .decision-card { break-inside: avoid; box-shadow: none; }
}
