/* Luis Nanez site-v5. Direction: the Codex design-reset of 2026-10-05 (paper, ink, one sage panel, serif display, bright photographs, light veils). */

:root {
  --ink: #26352e;
  --paper: #fffefa;
  --soft: #f0eee7;
  --panel: #e7eae3;
  --line: #d6d9d2;
  --muted: #626b63;
  --gutter: clamp(24px, 6vw, 100px);
  --max: 1700px;

  /* Type system A (control): Marcellus + Figtree */
  --serif: Marcellus, Georgia, serif;
  --sans: Figtree, Arial, sans-serif;
  --h1-size: clamp(60px, 9.2vw, 142px);
  --h1-track: .045em;
  --h1-weight: 400;
  --h1-lead: 1.06;
  --display-weight: 400;
  --display-scale: 1;
  --h2-track: -.03em;
  --h3-track: -.02em;
  --quote-scale: 1;
}
html[data-type="b"] {
  --serif: Prata, Georgia, serif;
  --sans: Jost, Arial, sans-serif;
  --h1-size: clamp(52px, 8vw, 124px);
  --h1-track: .035em;
  --h2-track: -.015em;
  --h3-track: -.005em;
  --display-scale: .96;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: var(--display-weight); line-height: 1.15; }
h2 { font-size: calc(clamp(32px, 3.9vw, 60px) * var(--display-scale)); letter-spacing: var(--h2-track); }
h3 { font-size: calc(clamp(25px, 2.2vw, 36px) * var(--display-scale)); letter-spacing: var(--h3-track); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
p { overflow-wrap: break-word; }
::selection { background: #d6dfce; color: #16291a; }
:focus-visible { outline: 3px solid #849460; outline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--paper); padding: 10px 16px; }
.skip:focus { left: 12px; }

.wrap { padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 124px); }
.section.tight { padding-top: 0; }
.grid-space { margin-top: clamp(32px, 4vw, 56px); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; margin-bottom: 22px; }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.8; color: var(--muted); }
.small { font-size: 13px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .aside { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; white-space: nowrap; }
.section-head .lead { max-width: 420px; text-align: right; padding-bottom: 8px; }

/* Homepage rhythm: each section owns the space after it, so adjacent
   sections cannot double the gap. Image-to-image and panel transitions
   keep their deliberate, tighter treatment. Interior pages are separate. */
.home-page {
  --home-section-gap: clamp(64px, 8vw, 112px);
  --home-panel-gap: clamp(40px, 5vw, 80px);
  --home-content-gap: clamp(32px, 4vw, 48px);
  --home-copy-gap: 24px;
}
.home-page main > .section { padding-block: 0 var(--home-section-gap); }
.home-page .commercial-home { margin-top: 0; margin-bottom: var(--home-panel-gap); }
.home-page .section-head { gap: var(--home-copy-gap); margin-bottom: var(--home-content-gap); }
.home-page .grid-space,
.home-page .begin-grid,
.home-page .sales-grid.office-grid { margin-top: var(--home-content-gap); }
.home-page #listings .section-head { margin-bottom: var(--home-copy-gap); }
.home-page .about .lead,
.home-page .commercial-home-copy .lead,
.home-page .reviews blockquote { margin-top: var(--home-copy-gap); }
.home-page .about .lead + .lead { margin-top: 18px; }

.line-link { display: inline-flex; align-items: center; gap: 28px; padding: 12px 0 9px; border-bottom: 1px solid #8e988b; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.line-link .arrow { font-size: 19px; line-height: 1; }
.line-link:hover { border-color: currentColor; }

.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; min-width: 210px; padding: 17px 26px; border: 1px solid transparent; font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.button .arrow { font-size: 18px; line-height: 1; }
.button.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.light:hover { background: var(--soft); }
.button.ghost { background: rgba(29, 45, 36, .14); color: #fff; border-color: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.button.ghost:hover { background: rgba(255, 255, 255, .16); }
.button.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button.dark:hover { background: #1b2821; }
.button.outline { background: none; color: var(--ink); border-color: var(--ink); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: clamp(24px, 4.2vw, 70px); color: #fff; background: linear-gradient(rgba(16, 33, 23, .25), transparent); border-bottom: 1px solid rgba(255, 255, 255, .19); }
.brand { display: grid; gap: 2px; flex-shrink: 0; }
.brand .name { font-family: var(--serif); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.brand .sub { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; padding-left: 2px; opacity: .9; }
.site-header nav { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 24px); }
.site-header nav a { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 8px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover { border-bottom-color: rgba(255, 255, 255, .7); }
.site-header nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-header nav .lang { text-transform: none; letter-spacing: .02em; font-size: 13px; }
.site-header .cta { margin-left: 8px; border: 1px solid rgba(255, 255, 255, .85); padding: 13px 20px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.site-header .cta:hover { background: rgba(255, 255, 255, .14); }
.menu-button { display: none; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.menu-button .bars { width: 22px; height: 12px; position: relative; }
.menu-button .bars::before, .menu-button .bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.menu-button .bars::before { top: 0; } .menu-button .bars::after { bottom: 0; }
.mobile-nav { position: fixed; z-index: 19; inset: 100px 0 auto 0; max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 80px; border-bottom: 1px solid var(--line); display: grid; }
.mobile-nav a { font-family: var(--serif); font-size: clamp(30px, 8vw, 40px); letter-spacing: .04em; padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a .arrow { font-family: var(--sans); font-size: 26px; }
.mobile-nav a.lang { font-family: var(--sans); font-size: 15px; letter-spacing: .04em; padding: 24px 0 0; border: 0; }
[hidden] { display: none !important; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 700px; height: 100svh; max-height: 1080px; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 150px var(--gutter) 110px; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-media img { object-position: center 54%; }
.hero-media::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(14, 27, 22, .22), rgba(23, 40, 27, .06) 25%, rgba(27, 39, 25, .28) 55%, rgba(17, 36, 30, .42)); }
.hero-copy { width: 100%; max-width: 1100px; }
.hero .eyebrow { font-size: 11px; letter-spacing: .22em; margin-bottom: 24px; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); letter-spacing: var(--h1-track); line-height: var(--h1-lead); text-transform: uppercase; text-shadow: 0 2px 28px rgba(0, 0, 0, .18); }
.hero-sub { font-size: clamp(18px, 1.8vw, 25px); font-weight: 400; line-height: 1.5; margin: 22px auto 32px; max-width: 760px; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.hero .actions { justify-content: center; }
.hero-bottom { position: absolute; bottom: 26px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .08em; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero-bottom a { display: flex; align-items: center; gap: 22px; text-transform: uppercase; }
.hero-bottom a .arrow { font-size: 22px; }

/* Photo tiles (shared) */
.tile { position: relative; isolation: isolate; display: block; overflow: hidden; color: #fff; background: var(--soft); }
.tile img { position: absolute; inset: 0; z-index: -2; transition: transform .9s ease; }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 42%, rgba(16, 33, 23, .72)); }
.tile .copy { position: absolute; left: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px); }
.tile .copy .eyebrow { margin-bottom: 10px; font-weight: 500; }
.tile .copy h3 { color: #fff; }
.tile .copy p { font-size: 14px; margin-top: 8px; max-width: 46ch; }
.tile .copy .line-link { color: #fff; border-color: rgba(255, 255, 255, .6); margin-top: 18px; }
.tile .chip { position: absolute; top: 18px; left: 18px; background: var(--paper); color: var(--ink); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 7px 10px 6px; }
.tile .corner { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .7); display: grid; place-items: center; font-size: 18px; }

/* Homes */
.homes-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.homes-grid .tile:first-child { grid-row: 1 / 3; min-height: 600px; }
.homes-grid .tile { min-height: 320px; }
.homes-grid .copy .side { font-size: 13px; opacity: .92; }
.homes-more { margin-top: 36px; display: flex; justify-content: flex-end; }

/* About */
.about { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.portrait { max-width: 420px; }
.portrait .frame { aspect-ratio: 5 / 6; overflow: hidden; background: var(--soft); }
.portrait .frame img { object-position: center 20%; }
.portrait figcaption { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 14px; color: var(--muted); }
.about h2 { font-size: calc(clamp(30px, 3.1vw, 50px) * var(--display-scale)); max-width: 18ch; }
.about .lead { margin-top: 28px; max-width: 60ch; }
.about .lead + .lead { margin-top: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 36px 0 32px; padding: 0; list-style: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.facts li { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); line-height: 1.4; }
.facts li:last-child { border: 0; margin: 0; padding: 0; }
.about blockquote { font-family: var(--serif); font-size: calc(clamp(20px, 1.6vw, 24px) * var(--quote-scale)); line-height: 1.45; margin-top: 28px; max-width: 56ch; }
.about blockquote footer { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* Begin */
.begin-head { text-align: center; }
.begin-head h2 { margin-inline: auto; }
.begin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: clamp(36px, 4vw, 56px); }
.begin-grid .tile { min-height: clamp(420px, 42vw, 620px); }
.begin-grid .tile:nth-child(2) .copy { text-align: right; }
.begin-grid .tile:nth-child(2) .copy p { margin-left: auto; }
.begin-grid .tile::after { background: linear-gradient(transparent 35%, rgba(16, 33, 23, .74)); }

/* Reviews */
.reviews { display: grid; grid-template-columns: 2fr 3fr; min-height: 640px; }
.reviews .photo { position: relative; overflow: hidden; background: var(--soft); }
.reviews .photo img { position: absolute; inset: 0; }
.reviews .panel { background: var(--panel); padding: clamp(40px, 6vw, 96px) clamp(28px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.reviews blockquote { font-family: var(--serif); font-size: calc(clamp(22px, 2.3vw, 35px) * var(--quote-scale)); line-height: 1.38; letter-spacing: -.01em; margin-top: 28px; max-width: 30ch; }
.reviews .who { margin-top: 28px; font-size: 13px; }
.reviews .who .role { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.reviews .rating { margin-top: 36px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reviews .review-stack { display: grid; }
.reviews .review-stack > [data-review] { grid-area: 1 / 1; }
.reviews .review-stack > [data-review][hidden] { display: block !important; visibility: hidden; }
.reviews .controls { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.reviews .pager { display: flex; align-items: center; gap: 12px; }
.reviews .pager button { width: 40px; height: 40px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 18px; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .25s ease, color .25s ease; }
.reviews .pager button:hover, .reviews .pager button:focus-visible { background: var(--ink); color: var(--paper); outline: none; }
.reviews .pager .count { font-size: 11px; letter-spacing: .14em; color: var(--muted); min-width: 5ch; text-align: center; }
.reviews .controls .line-link { font-size: 11px; }

/* Areas */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.areas-grid .tile { aspect-ratio: 5 / 7; min-width: 0; }
.areas-grid .copy p { font-size: 13px; }

/* Guides */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 2vw, 32px); }
.guide .photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.guide .photo img { transition: transform .9s ease; }
.guide:hover .photo img { transform: scale(1.03); }
.guide .eyebrow { margin: 26px 0 10px; color: var(--muted); }
.guide p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.guide .line-link { margin-top: 18px; }

/* Contact band */
.band { position: relative; isolation: isolate; color: #fff; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.band img { position: absolute; inset: 0; z-index: -2; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(16, 33, 23, .18), rgba(16, 33, 23, .46)); }
.band .copy { max-width: 760px; }
.band h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, .2); }
.band p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; margin: 24px auto 34px; max-width: 54ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.band .actions { justify-content: center; }

/* Footer */
.site-footer { padding: clamp(48px, 5vw, 72px) var(--gutter) 40px; max-width: var(--max); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-top .brand { color: var(--ink); }
.footer-top .mid { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer-top .contact { text-align: right; font-size: 14px; line-height: 2; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.footer-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 32px; padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.footer-map h2 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.footer-map a { display: block; font-size: 14px; line-height: 1.5; padding: 5px 0; }
.footer-map a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 22px; font-size: 13px; }
.footer-links a { text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }

/* Placeholder page (review builds only) */
.placeholder { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 160px var(--gutter) 80px; }
.placeholder h1 { font-size: calc(clamp(36px, 5vw, 72px) * var(--display-scale)); letter-spacing: var(--h2-track); }
.placeholder p { margin: 20px auto 32px; max-width: 48ch; }
.placeholder-page .site-header { position: relative; color: var(--ink); background: none; border-bottom-color: var(--line); }
.placeholder-page .site-header .cta { border-color: var(--ink); }
.placeholder-page .site-header nav a:hover { border-bottom-color: var(--ink); }

/* Type switcher (review builds only) */

/* Responsive */
@media (max-width: 1180px) {
  .site-header nav, .site-header .cta { display: none; }
  .menu-button { display: flex; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid .tile { aspect-ratio: 4 / 3; }
}
@media (max-width: 980px) {
  .site-header nav, .site-header .cta { display: none; }
  .menu-button { display: flex; }
  .homes-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .homes-grid .tile:first-child { grid-row: auto; min-height: 420px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 300px; }
  .begin-grid { grid-template-columns: 1fr; }
  .begin-grid .tile { min-height: 420px; }
  .begin-grid .tile:nth-child(2) .copy { text-align: left; }
  .begin-grid .tile:nth-child(2) .copy p { margin-left: 0; }
  .reviews { grid-template-columns: 1fr; min-height: 0; }
  .reviews .photo { aspect-ratio: 4 / 3; }
  .reviews blockquote { max-width: none; }
  .guides-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head .lead { text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top .contact { text-align: left; }
}
@media (max-width: 640px) {
  .site-header { gap: 14px; }
  .site-header .brand .name { font-size: clamp(16px, 4.8vw, 22px); letter-spacing: .09em; white-space: nowrap; }
  .site-header .brand .sub { font-size: 8px; letter-spacing: .26em; }
  .footer-map { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 130px var(--gutter) 100px; min-height: 640px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .button { width: 100%; }
  .hero-bottom { font-size: 11px; }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-grid .tile { aspect-ratio: 4 / 5; }
  .hero h1 { font-size: clamp(36px, 12vw, 58px); }
  .facts { flex-direction: column; gap: 10px; }
  .facts li { border: 0; padding: 0; margin: 0; }
}
/* Commercial is a separate service, with a permanent portfolio alongside daily listings. */
.commercial-page .hero-media::after { background: linear-gradient(rgba(14, 27, 22, .42), rgba(23, 40, 27, .30) 28%, rgba(27, 39, 25, .44) 62%, rgba(17, 36, 30, .42)); }
.commercial-home { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); margin-top: clamp(64px, 8vw, 124px); margin-bottom: clamp(40px, 5vw, 80px); }
.commercial-home > figure { min-height: 580px; }
.commercial-home-copy { align-self: center; padding: clamp(38px, 5vw, 84px); }
.commercial-home-copy h2 { max-width: 15ch; }
.commercial-home-copy .lead { margin-top: 28px; }
.commercial-home-proof { margin-block: 24px 30px; font-size: 13px; line-height: 1.8; }
.commercial-feature { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 44px; background: var(--soft); }
.commercial-feature > figure { min-height: 540px; }
.commercial-feature-copy { padding: clamp(30px, 4vw, 64px); align-self: center; }
.commercial-feature h3 { font-size: clamp(32px, 3.2vw, 48px); }
.commercial-role { margin-top: 14px; font-size: 13px; letter-spacing: .04em; }
.commercial-feature .lead { margin-top: 24px; font-size: 17px; }
.commercial-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.commercial-facts dt { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.commercial-facts dd { margin: 6px 0 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; }
.commercial-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.commercial-gallery figure { aspect-ratio: 16 / 9; }
.commercial-caption, .commercial-restaurants figcaption { color: var(--muted); font-size: 12px; padding-top: 12px; }
.commercial-restaurants { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(64px, 8vw, 112px); }
.commercial-restaurants > figure > img { aspect-ratio: 4 / 5; height: auto; object-position: 55% center; }
.commercial-restaurant + .commercial-restaurant { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 36px; }
.commercial-restaurant .eyebrow { margin-bottom: 14px; }
.commercial-address { font-size: 14px; margin: 14px 0 20px; }
.commercial-restaurant > p:last-child { color: var(--muted); font-size: 17px; }
@media (min-width: 1181px) and (max-width: 1400px) {
  .site-header { gap: 18px; padding-inline: 30px; }
  .site-header .brand .name { font-size: 20px; letter-spacing: .10em; }
  .site-header nav a { font-size: 10px; letter-spacing: .08em; }
  .site-header .cta { padding: 12px 14px; margin-left: 0; }
}
@media (max-width: 980px) {
  .commercial-home, .commercial-feature, .commercial-restaurants { grid-template-columns: 1fr; }
  .commercial-home > figure, .commercial-feature > figure { min-height: 0; aspect-ratio: 16 / 10; }
  .commercial-home-copy { padding: 48px var(--gutter); }
  .commercial-home-copy h2 { max-width: 22ch; }
  .commercial-restaurants > figure > img { aspect-ratio: 16 / 10; }
  .commercial-restaurant-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .commercial-restaurant + .commercial-restaurant { border: 0; margin: 0; padding: 0; }
}
@media (max-width: 640px) {
  .commercial-gallery, .commercial-restaurant-list { grid-template-columns: 1fr; }
  .commercial-feature-copy { padding: 32px 24px; }
  .commercial-restaurant + .commercial-restaurant { border-top: 1px solid var(--line); padding-top: 28px; }
}
/* Inner pages */
.hero.inner { height: 76svh; min-height: 540px; max-height: 820px; padding-top: 140px; }
.hero.inner h1 { font-size: calc(clamp(42px, 5.6vw, 84px) * var(--display-scale)); letter-spacing: var(--h2-track); text-transform: none; line-height: 1.1; max-width: 18ch; margin-inline: auto; }
.hero.inner .hero-sub { margin-bottom: 0; }
.hero.inner .actions { margin-top: 30px; }
.tone-soft { background: var(--soft); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.split h2 { font-size: calc(clamp(30px, 3.1vw, 50px) * var(--display-scale)); max-width: 16ch; }
.split .lead + .lead { margin-top: 18px; }
.split .actions { margin-top: 28px; }
.gap { margin-top: 28px; }
.gap-sm { margin-top: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.steps li { background: var(--paper); padding: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2vw, 28px); align-items: start; }
.steps .num { font-family: var(--serif); font-size: calc(clamp(32px, 3vw, 48px) * var(--display-scale)); line-height: 1; color: var(--muted); min-width: 2ch; }
.steps h3 { font-size: calc(clamp(22px, 1.8vw, 30px) * var(--display-scale)); }
.steps p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.6; display: flex; gap: 24px; }
.rows.awards .year { min-width: 6ch; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding-top: 5px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq .plus::before, .faq .plus::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .2s; }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq .answer { padding: 0 0 26px; color: var(--muted); max-width: 64ch; line-height: 1.75; }
.photo-frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.photo-frame.big { aspect-ratio: 3 / 2; }
.about.reverse > :first-child { order: 2; }
.reviews blockquote.long, .review-card blockquote.long { font-size: calc(clamp(17px, 1.3vw, 21px) * var(--quote-scale)); line-height: 1.6; max-width: 60ch; }
.rating-line { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.review-card { background: var(--panel); padding: clamp(28px, 3vw, 48px); }
.review-card blockquote { font-family: var(--serif); font-size: calc(clamp(20px, 1.7vw, 27px) * var(--quote-scale)); line-height: 1.4; }
.review-card .who { margin-top: 22px; font-size: 13px; }
.review-card.featured { grid-column: 1 / -1; }
.review-card.featured blockquote { max-width: 34ch; }
.review-card .faq { margin-top: 22px; max-width: 70ch; }
.review-card .faq .answer p { font-size: 15px; line-height: 1.7; }
.review-card[hidden] { display: none; }
.review-card .who .role { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.sales-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sales-grid .tile { aspect-ratio: 5 / 6; min-width: 0; }
/* Current listings stay in one row, with native touch and keyboard scrolling. */
.sales-grid.office-grid { --listing-width: calc((100% - 12px) / 3); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: var(--listing-width); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 24px; }
.office-grid::-webkit-scrollbar { display: none; }
.office-grid .tile { scroll-snap-align: start; }
.office-grid .tile:focus-visible { outline-offset: -5px; }
.listing-footer { align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.listing-controls { display: flex; gap: 10px; margin-right: auto; }
.listing-controls button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); font-size: 20px; line-height: 1; }
.listing-controls button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.listing-controls button:disabled { opacity: .3; cursor: default; }
@media (max-width: 980px) {
  .sales-grid.office-grid { --listing-width: calc((100% - 6px) / 2); }
}
@media (max-width: 640px) {
  .sales-grid.office-grid { --listing-width: 90%; }
}
.filter { display: flex; flex-wrap: wrap; gap: 4px; max-width: 100%; padding-bottom: 10px; }
.filter button { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--line); color: var(--muted); }
.filter button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.listing { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.listing h2 { font-size: calc(clamp(30px, 3.1vw, 50px) * var(--display-scale)); }
.listing .lead { margin-top: 20px; }
.listing .small { color: var(--muted); margin-top: 8px; }
.listing .actions { margin-top: 28px; }
.info-grid { display: grid; gap: 6px; }
.info-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.info-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.info-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card { background: var(--soft); padding: clamp(28px, 3vw, 44px); }
.info-card h3 { font-size: calc(clamp(22px, 1.8vw, 30px) * var(--display-scale)); }
.info-card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.guides-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.guides-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.areas-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.areas-grid.cols-3 .tile { aspect-ratio: 4 / 5; }
.quote-band blockquote { font-family: var(--serif); font-size: calc(clamp(24px, 2.6vw, 42px) * var(--quote-scale)); line-height: 1.35; max-width: 26ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.quote-band blockquote footer { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 24px; }
@media (max-width: 980px) {
  .split, .steps, .review-grid, .listing, .info-grid.cols-2, .info-grid.cols-3, .info-grid.cols-4, .guides-grid.cols-4, .guides-grid.cols-2 { grid-template-columns: 1fr; }
  .split h2 { max-width: none; }
  .sales-grid, .areas-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .about.reverse > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .sales-grid, .areas-grid.cols-3 { grid-template-columns: 1fr; }
  .hero.inner { min-height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .guide .photo img { transition: none; }
}

/* Buyer, seller and About page refinements. */
.refined-page .hero.inner { height: auto; min-height: 76svh; max-height: none; padding-block: 170px 90px; }
.refined-page .hero.inner h1 { max-width: 19ch; }
.page-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 48px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.page-nav a { font-size: 13px; letter-spacing: .02em; padding: 9px 0; border-bottom: 1px solid transparent; }
.page-nav a:hover { border-bottom-color: currentColor; }
.reading-links { display: grid; gap: 16px; margin-top: 28px; font-size: 13px; line-height: 1.6; max-width: 36ch; }
.reading-links a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .refined-page .hero.inner { min-height: 660px; padding-block: 150px 70px; }
  .refined-page .hero.inner h1 { font-size: clamp(34px, 9.2vw, 48px); }
  .page-nav { gap: 6px 24px; justify-content: flex-start; }
}

/* Lead form and listing band. */
.lead-form { display: grid; gap: 18px; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form .field { display: grid; gap: 6px; }
.lead-form label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0; padding: 13px 14px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--ink); }
.lead-form textarea { resize: vertical; min-height: 140px; }
.lead-form .consent { color: var(--muted); font-size: 13px; line-height: 1.6; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button.button { cursor: pointer; }
.lead-form button.button:disabled { opacity: .6; cursor: default; }
.form-note { font-size: 14px; color: var(--ink); min-height: 1.5em; }
.form-done { background: var(--panel); padding: clamp(28px, 4vw, 48px); }
.form-done h3 { font-family: var(--serif); font-weight: var(--display-weight); font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 10px; }
.form-done p { margin: 0; }
.band .form-link { margin-top: 20px; font-size: 12px; }
.band .form-link .line-link { color: #fff; }
.embed { aspect-ratio: 16 / 10; margin-top: 24px; background: var(--soft); border: 1px solid var(--line); }
.embed iframe { width: 100%; height: 100%; border: 0; }
.embed.crop { aspect-ratio: auto; position: relative; overflow: hidden; height: 600px; }
.embed.crop iframe { position: absolute; left: 0; top: 0; border: 0; pointer-events: none; transform-origin: 0 0; }
.embed-cover { position: absolute; inset: 0; display: block; }
.listings-actions { margin-top: 20px; justify-content: space-between; }
.listings-actions .listings-note { margin: 0; }
.listings-note { color: var(--muted); }
@media (max-width: 640px) {
  .lead-form .row2 { grid-template-columns: 1fr; }
}
