@font-face {
  font-family: "DM Sans";
  src: url("media/DMSans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("media/Manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f3f3f2;
  --text: #0b0b0b;
  --muted: #636363;
  --line: #e4e4e2;
  --line-strong: #8a8a8a;
  --on-text: #ffffff;
  --danger: #b42318;
  --hover: #2a2a2a;
  --band: #f6f2ed;

  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Manrope", var(--font);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --gutter: 16px;
  --gap: 16px;
  --max: 1360px;

  color-scheme: light;
}

@media (min-width: 720px) {
  :root {
    --gutter: 24px;
    --gap: 24px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  font-size: clamp(32px, 2.7vw + 14px, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(22px, 1vw + 16px, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--text);
  color: var(--on-text);
  font: 500 15px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 150ms var(--ease-out), opacity 150ms var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}

.button:disabled {
  opacity: 0.5;
  cursor: progress;
}

.button-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover:not(:disabled) {
    background: var(--hover);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  height: 64px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  background: var(--bg);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
}
.wordmark img { width: 150px; height: auto; }
.wordmark span { padding-left: 22px; font-size: 14px; }
@media (max-width: 600px) {
  .wordmark img { width: 112px; }
  .wordmark span { display: none; }
  .button-small { font-size: 12px; padding-inline: 12px; min-height: 44px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.checkout-error {
  max-width: 34em;
  font-size: 14px;
  line-height: 1.4;
  color: var(--danger);
}

.checkout-error:empty {
  display: none;
}

.checkout-header {
  position: relative;
}

.checkout-header .checkout-error {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  max-width: min(320px, calc(100vw - 32px));
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgb(0 0 0 / 0.08);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1 { font-size: clamp(48px, 5.8vw, 80px); line-height: 1.03; letter-spacing: -0.055em; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; gap: 24px; padding-top: 36px; border-image: conic-gradient(var(--band) 0 0) fill 0 // 0 100vw; }
.hero-copy { display: grid; justify-items: start; gap: 24px; max-width: 32em; }
.lead { max-width: 23em; font-size: 18px; line-height: 1.5; }
.hero-price { font-size: 24px; }
.hero-price span { font-size: 15px; margin-left: 8px; color: var(--muted); }
.hero .button { min-height: 52px; padding-inline: 24px; }
.phone-figure { position: relative; min-width: 0; width: min(100%, 600px); justify-self: center; align-self: end; }
.phone-scene { position: relative; width: 100%; aspect-ratio: 1320 / 1805; overflow: hidden; container-type: inline-size; }
.phone-hand { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phone-display { position: absolute; inset: 0; mask-image: url("media/phone-screen-stories.png?v=6"); mask-size: 100% 100%; mask-repeat: no-repeat; pointer-events: none; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 40px 0 0; }
.gallery-heading { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.gallery-heading p { color: var(--muted); font-size: 14px; }
.tile { display: grid; gap: 8px; }
.tile picture { display: grid; place-items: center; aspect-ratio: 1; background: var(--surface); }
.tile img { width: 94%; height: auto; }
.tile figcaption { font-size: 14px; color: var(--muted); }
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 0; padding-top: 32px; }
  .hero-copy { padding-block: 48px; }

  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 56px; }
}
@media (max-width: 719px) {
  .hero-copy { gap: 18px; }
  .hero-price { font-size: 22px; }
  .phone-figure { width: min(100%, 420px); margin-top: 8px; }

  .gallery { padding-top: 24px; }
}

.transformation,
.offer {
  display: grid;
  gap: 32px;
  padding: 96px 0 0;
}

realtor-transformation {
  display: block;
}

realtor-transformation:not(:defined) {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: var(--surface);
}

.offer-rows > div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
}

.offer-rows dt {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

@media (min-width: 720px) {
  .offer {
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gap);
    row-gap: 32px;
  }

  .offer h2 {
    grid-column: 1 / span 4;
  }

  .offer-rows {
    grid-column: 5 / -1;
    grid-row: 1 / span 2;
  }

  .offer-rows > div {
    grid-template-columns: 1fr 2fr;
    gap: var(--gap);
    align-items: baseline;
  }

  .offer .checkout {
    grid-column: 1 / span 4;
    grid-row: 2;
    align-self: start;
  }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  max-width: var(--max);
  margin: 128px auto 0;
  padding: 24px var(--gutter) 32px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 500;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition-property: opacity, background-color, border-color;
  }

  .button:active {
    transform: none;
  }
}


.media-credit { flex-basis: 100%; font-size: 13px; line-height: 1.6; max-width: 54em; }

.ig-story { position: absolute; left: 17.5%; top: 4.64%; width: 43%; aspect-ratio: 1376 / 2989; overflow: hidden; background: #111; color: #fff; font: 400 2cqw/1.3 var(--font); pointer-events: auto; }
.ig-story:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
.ig-slides, .ig-slide, .ig-interior, .ig-chrome { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-slide[hidden], .ig-interior[hidden] { display: none; }
.ig-interior { object-fit: cover; }
.ig-chrome { pointer-events: none; background: linear-gradient(180deg, rgb(0 0 0 / .62), transparent 35%, transparent 72%, rgb(0 0 0 / .65)); }
.ig-identity { position: absolute; top: 15.5%; left: 5%; right: 5%; display: flex; align-items: center; gap: 1cqw; font-weight: 500; }
.ig-identity img { width: 3.2cqw; height: 3.2cqw; object-fit: cover; border-radius: 50%; }
.ig-progress { position: absolute; z-index: 2; top: 9%; left: 5%; right: 5%; display: flex; }
.ig-progress button { position: relative; flex: 1; min-width: 0; min-height: 44px; padding: 0 2px; border: 0; background: transparent; cursor: pointer; }
.ig-progress span { position: absolute; top: 0; left: 2px; right: 2px; display: block; height: 2px; background: rgb(255 255 255 / .45); }
.ig-progress [aria-current] span { background: #fff; }
.ig-progress button:focus-visible { outline: 2px solid white; outline-offset: -3px; }
.ig-sticker { position: absolute; left: 50%; bottom: 12%; width: 78%; transform: translateX(-50%); pointer-events: none; }
.ig-sticker img { width: 100%; height: auto; }
.sticker-pointing { left: -2%; width: 70%; transform: none; }
.sticker-sold { width: 74%; bottom: 13%; }
.ig-reply { position: absolute; bottom: 7%; left: 5%; right: 9%; display: flex; gap: 1.4cqw; align-items: center; }
.ig-reply span:first-child { flex: 1; padding: 1cqw 1.2cqw; border: 1px solid rgb(255 255 255 / .8); border-radius: 20px; font-size: 1.6cqw; }
.ig-reply span:last-child { font-size: 2.9cqw; }
.ig-tap { position: absolute; top: 22%; bottom: 14%; width: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.ig-previous { left: 0; }
.ig-next { right: 0; }
.ig-tap:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
