/* MLS Demo hub. Editorial, quiet, for luxury and high-end agents. Not an agent theme. */
:root {
  --paper: #f3eee6;
  --paper-2: #e9e2d6;
  --ink: #15130f;
  --ink-2: #48433b;
  --muted: #7d766b;
  --line: rgba(21, 19, 15, .16);
  --line-light: rgba(243, 238, 230, .18);
  --bronze: #9a7a47;
  --bronze-2: #c2a06a;
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1280px;
  --header-h: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .4em; }
em, i { font-style: italic; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 128px 0; }
.section--tight { padding: 88px 0; }
.section--dark { background: var(--ink); color: #e9e2d6; }
.section--paper2 { background: var(--paper-2); }
.section--rule { border-top: 1px solid var(--line); }
.label { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 22px; }
.section--dark .label { color: var(--bronze-2); }
.display { font-size: clamp(52px, 8vw, 112px); line-height: .98; letter-spacing: -.02em; }
.h1 { font-size: clamp(44px, 5.6vw, 80px); }
.h2 { font-size: clamp(38px, 4.4vw, 62px); }
.h3 { font-size: clamp(28px, 2.6vw, 36px); }
.h4 { font-size: 24px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.section--dark .lead { color: #bfb6a8; }
.muted { color: var(--muted); }
.serif { font-family: var(--font-display); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 30px; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--dark .btn--solid, .hero .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .btn--solid:hover, .hero .btn--solid:hover { background: var(--bronze-2); border-color: var(--bronze-2); color: var(--ink); }
.section--dark .btn--line:hover, .hero .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.link { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: color .2s ease, border-color .2s ease; }
.link:hover { color: var(--bronze); }
.link-arrow { font-family: var(--font-display); font-size: 20px; font-style: italic; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s ease, color .2s ease; }
.link-arrow::after { content: "\00a0\2192"; font-style: normal; }
.link-arrow:hover { color: var(--bronze); border-color: var(--bronze); }
.section--dark .link-arrow { color: #e9e2d6; border-color: var(--line-light); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: var(--paper); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
body.no-photo .site-header { color: var(--ink); }
.site-header.is-solid { background: rgba(243, 238, 230, .94); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header .container { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: var(--font-display); font-size: 30px; letter-spacing: .01em; }
.brand small { font-size: 9.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin-top: 6px; opacity: .72; }
.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.nav a { position: relative; padding: 8px 0; opacity: .82; transition: opacity .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .25s ease; }
.nav a:hover, .nav a.active { opacity: 1; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 13px 20px; opacity: 1; }
.nav-cta .btn::after { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; color: inherit; }
.nav-toggle span { display: block; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

/* photo heroes */
.hero { position: relative; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,19,15,.55) 0%, rgba(21,19,15,.15) 40%, rgba(21,19,15,.72) 100%); }
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 92vh; padding-top: calc(var(--header-h) + 64px); padding-bottom: 72px; }
.hero__inner .label { color: var(--bronze-2); }
.hero__title { max-width: 14ch; margin-bottom: 28px; }
.hero__title em { color: var(--bronze-2); }
.hero__sub { font-size: 18px; line-height: 1.65; color: rgba(243,238,230,.82); max-width: 540px; margin-bottom: 40px; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,230,.6); }
.hero--short .hero__inner { min-height: 64vh; padding-bottom: 64px; }
/* typographic hero (no photo) */
.intro { padding: calc(var(--header-h) + 96px) 0 72px; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.intro .display { margin-bottom: 0; }

/* editorial grids */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.list-rows { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.list-rows li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); counter-increment: row; }
.list-rows li:last-child { border-bottom: 1px solid var(--line); }
.list-rows li::before { content: counter(row, decimal-leading-zero); font-family: var(--font-display); font-size: 20px; color: var(--bronze); padding-top: 4px; }
.list-rows h3 { font-size: 26px; margin-bottom: 6px; }
.list-rows p { margin: 0; color: var(--ink-2); max-width: 560px; }
.section--dark .list-rows li { border-color: var(--line-light); }
.section--dark .list-rows p { color: #bfb6a8; }

/* theme cards, home (three across) */
.themes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: theme; }
.themes-grid .theme-card { counter-increment: theme; }
.themes-grid .theme-card__shots { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.themes-grid .theme-card__desktop { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s ease; }
.themes-grid .theme-card:hover .theme-card__desktop { transform: scale(1.03); }
.themes-grid .theme-card__mobile { display: none; }
.themes-grid .theme-card__body { padding-top: 22px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px 16px; }
.themes-grid .theme-card__body::before { content: counter(theme, decimal-leading-zero); font-family: var(--font-display); font-size: 18px; color: var(--bronze); padding-top: 8px; grid-row: 1 / span 3; }
.themes-grid .theme-card__body h3 { font-size: 34px; margin: 0; }
.themes-grid .theme-card__body p { margin: 0; color: var(--muted); font-size: 15px; }
.themes-grid .link-arrow { justify-self: start; margin-top: 6px; }

/* theme cards, themes page (editorial rows) */
.themes-list { display: grid; gap: 0; counter-reset: theme; }
.themes-list .theme-card { counter-increment: theme; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; padding: 88px 0; border-top: 1px solid var(--line); }
.themes-list .theme-card:nth-child(even) .theme-card__shots { order: 2; }
.themes-list .theme-card__shots { position: relative; display: block; padding-bottom: 10%; padding-right: 12%; }
.themes-list .theme-card__desktop { width: 100%; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(21,19,15,.45); }
.themes-list .theme-card__mobile { position: absolute; right: 0; bottom: 0; width: 27%; border: 1px solid rgba(21,19,15,.3); box-shadow: 0 30px 60px -30px rgba(21,19,15,.6); }
.themes-list .theme-card__body { position: relative; padding-left: 64px; }
.themes-list .theme-card__body::before { content: counter(theme, decimal-leading-zero); position: absolute; left: 0; top: 6px; font-family: var(--font-display); font-size: 20px; color: var(--bronze); }
.themes-list .theme-card__body .eyebrow { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--bronze); margin-bottom: 8px; }
.themes-list .theme-card__body h2 { font-size: clamp(44px, 4.6vw, 64px); margin-bottom: 18px; }
.themes-list .theme-card__body p { color: var(--ink-2); }
.theme-card__for { font-size: 15px; }
.theme-card__demo { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.theme-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.theme-card__actions .btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.theme-card__actions .btn--primary:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.theme-card__actions .btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.process > div { padding-top: 24px; border-top: 1px solid var(--line-light); }
.process .num { font-family: var(--font-display); font-size: 20px; color: var(--bronze-2); margin-bottom: 26px; }
.process h3 { font-size: 30px; margin-bottom: 10px; }
.process p { font-size: 15px; color: #bfb6a8; margin: 0; }

/* statement / quote */
.statement { max-width: 1040px; }
.statement blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.18; letter-spacing: -.01em; }
.statement figcaption { margin-top: 32px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.statement figcaption b { display: block; font-family: var(--font-display); font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 6px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 48px 26px 0; font-family: var(--font-display); font-size: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 30px; font-weight: 300; color: var(--bronze); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 28px; color: var(--ink-2); max-width: 680px; }

/* CTA */
.cta { position: relative; color: var(--paper); background: var(--ink); overflow: hidden; }
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,19,15,.9) 0%, rgba(21,19,15,.55) 60%, rgba(21,19,15,.35) 100%); }
.cta__inner { position: relative; padding: 140px 0; max-width: 760px; }
.cta__inner .label { color: var(--bronze-2); }
.cta__inner p { color: rgba(243,238,230,.8); font-size: 18px; max-width: 520px; margin-bottom: 40px; }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: grid; gap: 10px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; transition: border-color .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315130f' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right center; padding-right: 24px; }
.field textarea { min-height: 120px; resize: vertical; }
.span-2 { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { grid-column: 1 / -1; font-size: 15px; min-height: 1.4em; margin: 0; }
.form-status.is-ok { color: #4f6b3a; }
.form-status.is-err { color: #a33a2a; }
.form-status.is-note { color: var(--bronze); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.next-steps li { counter-increment: n; padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.next-steps li:last-child { border-bottom: 1px solid var(--line); }
.next-steps li::before { content: counter(n, upper-roman); font-family: var(--font-display); font-size: 20px; color: var(--bronze); padding-top: 2px; }
.next-steps b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-bottom: 4px; }
.next-steps span { color: var(--ink-2); font-size: 15px; }

/* footer */
.site-footer { background: var(--ink); color: #bfb6a8; padding: 96px 0 40px; font-size: 14px; }
.brand--footer .brand__word { color: var(--paper); font-size: 34px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr); gap: 64px; }
.footer__about { margin: 24px 0 0; max-width: 420px; }
.footer__about a { color: var(--paper); border-bottom: 1px solid var(--line-light); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-2); margin: 8px 0 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer ul a { color: #e9e2d6; transition: color .2s ease; }
.site-footer ul a:hover { color: var(--bronze-2); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 12px; color: #8a8276; }
.footer__bottom a { color: #bfb6a8; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .themes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .footer__top, .intro__grid { grid-template-columns: 1fr; gap: 48px; }
  .sticky { position: static; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .section { padding: 88px 0; }
  .container { padding: 0 22px; }
  .hero__inner { min-height: 84vh; padding-bottom: 48px; }
  .hero__foot { display: none; }
  .themes-list .theme-card { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .themes-list .theme-card:nth-child(even) .theme-card__shots { order: 0; }
  .themes-list .theme-card__body { padding-left: 0; padding-top: 32px; }
  .themes-list .theme-card__body::before { top: 0; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .site-header { background: var(--paper); color: var(--ink); }
  body.nav-open .nav { display: flex; position: fixed; inset: var(--header-h) 0 0; background: var(--paper); color: var(--ink); flex-direction: column; align-items: flex-start; gap: 0; padding: 24px 22px; font-family: var(--font-display); font-size: 40px; letter-spacing: 0; text-transform: none; font-weight: 400; z-index: 50; border-top: 1px solid var(--line); }
  body.nav-open .nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  body.nav-open .nav a::after { display: none; }
  body.nav-open .nav-cta { margin: 28px 0 0; }
  body.nav-open .nav-cta .btn { font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .cta__inner { padding: 96px 0; }
}
@media (max-width: 600px) {
  .themes-grid, .process, .footer__cols, .form { grid-template-columns: 1fr; }
  .list-rows li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .brand small { display: none; }
  .btn-row .btn { width: 100%; }
  .themes-list .theme-card__mobile { width: 32%; }
  .faq summary { font-size: 24px; }
}
