:root {
  --ink: #1a1612;
  --ivory: #f7f1e8;
  --sand: #efe4d4;
  --sand-2: #e7d9c6;
  --card: #241e19;
  --muted: #cfc3b4;
  --muted-ink: #5c5146;
  --brass: #e0c48a;
  --brass-deep: #8a6238;
  --line: rgba(247, 241, 232, 0.14);
  --line-ink: rgba(26, 22, 18, 0.12);
  --header: 76px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  color-scheme: dark;
}

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

[hidden] { display: none !important; }

[data-bind="address"] { white-space: pre-line; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; }

button, input, select { font: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, .brand-name, .founder-name, .verbs a, .project-card h3, .do-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--brass);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.skip:focus { top: 0.6rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

::selection { background: #e0c48a; color: #1a1612; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(26, 22, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

body.home .site-header {
  background: transparent;
  backdrop-filter: none;
}

body.home .site-header.is-stuck {
  background: rgba(26, 22, 18, 0.94);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-bar {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img { width: 42px; height: 42px; }

.brand-name {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ivory);
}

.brand-name .fi {
  font-style: italic;
  color: var(--brass);
}

.desktop-nav {
  display: none;
  gap: 1.05rem;
  margin-left: auto;
}

.desktop-nav a {
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--ivory);
}

.desktop-nav a[aria-current="page"] { color: var(--brass); }

.header-cta { margin-left: 0.4rem; }

.menu-btn {
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 232, 0.28);
  background: transparent;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 35;
  background: #14110e;
  padding: 1.25rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
  padding: 0.2rem 0;
}

.mobile-nav .btn {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  line-height: 1.1;
}

.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #f0d7a6; }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 241, 232, 0.38);
}
.btn-ghost:hover { background: rgba(247, 241, 232, 0.08); }
.btn-ink { background: var(--ink); color: var(--ivory); }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: start;
  background: var(--ink);
}
.hero-photo, .hero-copy { min-width: 0; }

.hero-photo {
  position: relative;
  height: 210px;
  max-height: 210px;
  min-height: 0;
  overflow: hidden;
  align-self: start;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 88px;
  background: linear-gradient(to bottom, rgba(26, 22, 18, 0.78), transparent);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-copy {
  padding: 1.6rem 1.25rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-line {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  line-height: 1.02;
  max-width: 11ch;
}

.verbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  margin: 1.1rem 0 0.9rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.verbs a { color: var(--brass); text-decoration: none; font-style: italic; }
.verbs a + a::before {
  content: "·";
  color: var(--muted);
  font-style: normal;
  margin-right: 0.4rem;
}

.lede {
  max-width: 38ch;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.section-actions { margin-top: 1.25rem; }
.manage-block h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }

.band { padding: clamp(3.2rem, 7vw, 5.8rem) 0; }
.band-paper { background: var(--sand); color: var(--ink); color-scheme: light; }
.band-sand { background: var(--sand-2); color: var(--ink); color-scheme: light; }
.band-dark { background: var(--ink); color: var(--ivory); }

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.band-paper .eyebrow, .band-sand .eyebrow, .note-card .eyebrow { color: var(--brass-deep); }
.band-dark .eyebrow, .hero .eyebrow { color: var(--brass); }

.section-head { margin-bottom: 1.6rem; max-width: 40rem; }
.section-head h2, .band h2, .prose h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  margin: 0 0 0.7rem;
}
.section-intro { margin: 0; color: var(--muted-ink); }
.band-dark .section-intro { color: var(--muted); }

.do-grid, .why-grid, .steps, .project-grid, .insight-grid, .quote-grid {
  display: grid;
  gap: 0.9rem;
}

.do-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.85rem;
  text-decoration: none;
  background: #f7f1e8;
  border-radius: 18px;
  overflow: hidden;
  min-height: 100%;
  color: var(--ink);
}

.do-card img { width: 100%; height: 100%; object-fit: cover; min-height: 128px; }
.do-copy { padding: 0.85rem 0.9rem 0.95rem 0; }
.do-kicker {
  display: block;
  color: var(--brass-deep);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.do-title { display: block; font-size: 1.45rem; line-height: 1.05; margin: 0.2rem 0 0.35rem; }
.do-text { display: block; color: var(--muted-ink); font-size: 0.98rem; }

.why-grid { margin-top: 0.4rem; }
.why-card {
  padding: 1.15rem 0 0.3rem;
  border-top: 1px solid var(--line);
}
.why-card h3 { margin: 0 0 0.4rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -0.03em; }
.why-card p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; }
.step {
  padding: 1rem 0;
  border-top: 1px solid var(--line-ink);
}
.step span {
  display: block;
  color: var(--brass-deep);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.step h3 { margin: 0.25rem 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.step p { margin: 0; color: var(--muted-ink); }

.project-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.project-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-body { padding: 1rem 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.project-kicker { margin: 0; color: var(--brass); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: 1.7rem; line-height: 1.1; }
.project-card h3 a { text-decoration: none; }
.project-meta, .project-price, .project-summary, .highlights { margin: 0; }
.project-meta, .project-summary { color: var(--muted); }
.project-price { font-weight: 550; }
.highlights { padding-left: 1.1rem; color: var(--muted); }
.project-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: auto; padding-top: 0.7rem; }
.rera { margin: 0; font-size: 0.92rem; color: var(--brass); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}
.filters label { display: grid; gap: 0.25rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.filters select, .lead-form input, .lead-form select {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(247, 241, 232, 0.2);
  background: #2a241e;
  color: var(--ivory);
  padding: 0 0.85rem;
}
.filters select { min-width: 11rem; }
.result-note { color: var(--muted); margin: 0 0 0.8rem; }

.founder-grid { display: grid; gap: 1.4rem; align-items: center; }
.founder-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px 22px 90px 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(224, 196, 138, 0.28), transparent 46%),
    #241c16;
  color: var(--ivory);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.founder-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-seal {
  width: min(46%, 180px);
  aspect-ratio: 1;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.founder-seal span {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  color: var(--ivory);
}
.founder-name {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.95;
}
.founder-role { margin: 0.4rem 0 1rem; color: var(--brass-deep); font-weight: 500; }
.band-dark .founder-role { color: var(--brass); }
.founder-copy p { color: var(--muted-ink); }
.experience { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.experience article { border-top: 1px solid var(--line-ink); padding-top: 0.7rem; }
.experience h3 { margin: 0 0 0.2rem; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.experience p { margin: 0; color: var(--muted-ink); }

.places { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.place {
  position: relative;
  min-height: 118px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #f7f1e8;
  color: var(--ink);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
}
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place span { position: relative; z-index: 1; display: grid; gap: 0.15rem; }
.place strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; }
.place em { font-style: normal; font-size: 0.88rem; color: var(--muted-ink); }
.place-photo { color: var(--ivory); min-height: 180px; }
.place-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 18, 0.78), rgba(26, 22, 18, 0.05));
}
.place-photo em { color: var(--muted); }
.place-lg { grid-column: span 2; min-height: 220px; }

.insight-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #f7f1e8;
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
}
.insight-card img { width: 100%; height: 180px; object-fit: cover; }
.insight-copy { display: block; padding: 0.95rem 1rem 1.1rem; }
.insight-card h3 { margin: 0.2rem 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.03em; }
.insight-card p { margin: 0; color: var(--muted-ink); }
.band-dark .back-link, .band-dark .ticks li::marker { color: var(--brass); }
.article { max-width: 42rem; }
.article p { font-size: 1.08rem; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--brass-deep); }

.contact-grid { display: grid; gap: 1.4rem; align-items: start; }
.lead-form { display: grid; gap: 0.85rem; }
.lead-form label, .field { display: grid; gap: 0.35rem; font-size: 0.92rem; }
.lead-form label span { font-weight: 500; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.form-context { margin: 0 0 0.8rem; color: var(--brass); }
.form-success {
  padding: 1.2rem;
  border-radius: 16px;
  background: #2a241e;
}
.form-success textarea {
  width: 100%;
  min-height: 160px;
  margin: 0.6rem 0;
  border-radius: 12px;
  border: 1px solid rgba(247, 241, 232, 0.2);
  background: transparent;
  color: var(--ivory);
  padding: 0.8rem;
}
.contact-card {
  background: #241e19;
  border-radius: 20px;
  padding: 1.1rem;
  display: grid;
  gap: 0.7rem;
}
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.contact-lines a { color: var(--brass); }
.map-frame { border-radius: 16px; overflow: hidden; min-height: 220px; background: #14110e; }
.map-frame iframe { width: 100%; height: 240px; border: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.socials a { color: var(--brass); }

.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  background: #1a1612 center/cover no-repeat;
  padding: calc(var(--header) + 2rem) 0 2.2rem;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 22, 18, 0.88), rgba(26, 22, 18, 0.18));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 0.98; margin: 0 0 0.6rem; max-width: 14ch; }
.page-hero p { max-width: 36rem; color: var(--muted); margin: 0 0 1rem; }

.hero-buy { background-image: url("/assets/photos/warm.jpg"); }
.hero-invest { background-image: url("/assets/photos/city.jpg"); }
.hero-sell { background-image: url("/assets/photos/kitchen.jpg"); }
.hero-nri { background-image: url("/assets/photos/hero.jpg"); }
.hero-projects { background-image: url("/assets/photos/courts.jpg"); }
.hero-about { background-image: url("/assets/photos/tower.jpg"); }
.hero-insights { background-image: url("/assets/photos/warm.jpg"); }
.hero-contact { background-image: url("/assets/photos/city.jpg"); }

.service-layout { display: grid; gap: 1.4rem; align-items: start; }
.ticks { padding-left: 1.1rem; display: grid; gap: 0.45rem; }
.ticks li::marker { color: var(--brass-deep); }
.note-card {
  background: var(--ink);
  color: var(--ivory);
  border-radius: 20px;
  padding: 1.2rem;
  display: grid;
  gap: 0.8rem;
}
.note-card p { margin: 0; color: var(--muted); }
.manage-block { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line-ink); }

.legal-hero {
  background: var(--ink);
  padding: calc(var(--header) + 2.4rem) 0 1.6rem;
}
.legal-hero h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); }
.prose { max-width: 42rem; }
.prose p, .prose li { color: var(--muted-ink); }
.prose a { color: var(--brass-deep); }

.site-footer {
  background: #120f0c;
  color: var(--ivory);
  padding: 3rem 0 1.4rem;
}
.footer-grid { display: grid; gap: 1.6rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
  margin: 0 0 0.7rem;
}
.site-footer p { color: var(--muted); }
.site-footer a { text-decoration: none; }
.footer-links { display: grid; gap: 0.35rem; }
.footer-base {
  width: var(--wrap);
  margin: 1.6rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
}
.footer-base nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-base p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.15fr;
  background: #120f0c;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  text-align: center;
  text-decoration: none;
  padding: 0.85rem 0.3rem;
  font-size: 0.86rem;
  font-weight: 550;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar a:last-child { background: var(--brass); color: var(--ink); }
body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }

.empty-state { color: var(--muted); }

@media (min-width: 760px) {
  .do-grid { grid-template-columns: 1fr 1fr; }
  .do-card { grid-template-columns: 1fr; }
  .do-copy { padding: 0.95rem 1rem 1.1rem; }
  .do-card img { min-height: 190px; aspect-ratio: 16 / 10; }
  .why-grid, .steps { grid-template-columns: 1fr 1fr; }
  .project-grid, .insight-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .places { grid-template-columns: repeat(4, 1fr); }
  .place-lg { grid-column: span 2; grid-row: span 2; min-height: 280px; }
  .founder-grid, .contact-grid, .service-layout { grid-template-columns: 0.9fr 1.1fr; }
  .lead-form { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 0.8fr; }
}

@media (max-width: 1039px) {
  .header-cta { display: none; }
}

@media (min-width: 1040px) {
  .desktop-nav { display: flex; }
  .menu-btn { display: none; }
  .hero {
    grid-template-columns: minmax(340px, 1.05fr) 0.95fr;
    padding-left: max(0px, calc((100% - 1120px) / 2));
  }
  .hero-copy { order: 1; padding: calc(var(--header) + 1rem) 3rem 3rem 1.25rem; }
  .hero-photo { order: 2; height: auto; max-height: none; min-height: 100svh; }
  .hero-photo::after { display: none; }
  .hero-photo img { min-height: 100svh; }
  .why-grid, .steps { grid-template-columns: repeat(4, 1fr); }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

.quote-card {
  margin: 0;
  padding: 1.35rem 1.2rem 1.15rem;
  background: var(--ivory);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 100%;
}
.quote-card blockquote { margin: 0; }
.quote-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
}
.quote-card p::before {
  content: "“";
  display: block;
  color: var(--brass-deep);
  font-size: 2.6rem;
  line-height: 0.7;
  margin-bottom: 0.45rem;
}
.quote-card figcaption {
  margin-top: auto;
  display: grid;
  gap: 0.12rem;
}
.quote-name { font-weight: 600; }
.quote-context { color: var(--muted-ink); font-size: 0.92rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .page-hero .wrap > * {
    animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-copy > *:nth-child(2),
  .page-hero .wrap > *:nth-child(2) { animation-delay: 0.07s; }
  .hero-copy > *:nth-child(3),
  .page-hero .wrap > *:nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(4),
  .page-hero .wrap > *:nth-child(4) { animation-delay: 0.21s; }
  .hero-copy > *:nth-child(5),
  .page-hero .wrap > *:nth-child(5) { animation-delay: 0.28s; }
  .hero-photo img { animation: hero-settle 1.8s cubic-bezier(0.22, 1, 0.36, 1) both; }

  [data-motion="rise"] {
    transition:
      opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0ms);
  }
  [data-motion="rise"].await-in:not(.is-in) {
    opacity: 0;
    transform: translateY(18px);
  }
  [data-motion="rise"].is-in {
    opacity: 1;
    transform: none;
  }
  [data-motion="rise"] img {
    transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  }
  [data-motion="rise"].await-in:not(.is-in) img { transform: scale(1.045); }
  [data-motion="rise"].is-in img { transform: none; }
}

@keyframes hero-settle {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-media img { transition: none; }
}
