/* Adam Barron, REALTOR® with Oakwyn Realty
   Palette taken from the property: hedge cedar, garden sage, Oakwyn gold for accents only. */

@font-face {
  font-family: "Caslon Display";
  src: url("../fonts/caslon-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caslon Text";
  src: url("../fonts/caslon-text-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cedar: #1e3a30;
  --cedar-deep: #152b23;
  --sage: #eef2ec;
  --paper: #ffffff;
  --ink: #17201b;
  --stone: #535d57;
  --line: #d6ddd5;
  --mist: #d4e0d8;
  --gold: #b8963c;
  --serif: "Caslon Display", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 2px solid var(--cedar);
  border-radius: 3px;
  font: 600 17px/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--cedar); color: #fff; }
.btn-primary:hover { background: var(--cedar-deep); border-color: var(--cedar-deep); }
.btn-secondary { background: transparent; color: var(--cedar); }
.btn-secondary:hover { background: var(--sage); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(8px); }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; line-height: 1; }
.brand-mark { flex: none; display: block; width: 54px; height: 54px; }
.brand-mark .m-arch { transition: fill 0.3s ease; }
.brand:hover .m-arch { fill: var(--cedar-deep); }
.brand-text { display: block; }
.brand-name { display: block; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; letter-spacing: -0.005em; }
.brand-role { display: block; margin-top: 8px; font-size: 11.5px; font-weight: 600; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
@media (prefers-reduced-motion: no-preference) {
  .brand-mark .m-ring, .brand-mark .m-ring2 { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: mark-draw 1.6s 0.2s cubic-bezier(0.6, 0.1, 0.2, 1) forwards; }
  .brand-mark .m-ring2 { animation-delay: 0.45s; }
  .brand-mark .m-ab { animation: mark-rise 1s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .brand-text { animation: brand-in 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes mark-draw { to { stroke-dashoffset: 0; } }
  @keyframes mark-rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes brand-in { from { opacity: 0; transform: translateX(-8px); } }
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 16px; text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; }
.nav .btn { min-height: 46px; padding: 0 18px; font-size: 15.5px; }

/* Hero: the featured listing */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(64px, 9vw, 120px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.hero-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 17px;
  color: var(--stone);
}
.hero-status::before { content: ""; width: 44px; height: 2px; background: var(--gold); }
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 6.9vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.012em;
}
@media (min-width: 761px) { .h1-num { display: block; } .h1-street { white-space: nowrap; } }
.hero-lede { max-width: 31ch; margin: 26px 0 0; font-size: clamp(19px, 1.65vw, 22px); line-height: 1.55; }
.price { margin: 26px 0 0; font-family: var(--serif); font-size: clamp(42px, 4.3vw, 58px); line-height: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-figure img { animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
}

/* Highlights: the one bold moment */
.highlights { background: var(--cedar); color: #fff; padding: clamp(76px, 10vw, 140px) 0; }
.highlights h2 { margin: 0 0 30px; font: 500 18px/1.4 var(--sans); color: var(--mist); }
.hl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.hl-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 36px;
  align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.hl-title { font-family: var(--serif); font-size: clamp(36px, 4.7vw, 64px); line-height: 1.04; text-wrap: balance; }
.nowrap { white-space: nowrap; }
.hl-text { max-width: 34ch; font-size: 19px; line-height: 1.5; color: var(--mist); }
.hl-thumb { display: none; }

/* Rows rise in as they scroll into view */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal li:not(.is-in) { opacity: 0; }
  .js-reveal li.is-in { animation: hl-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  @keyframes hl-in { from { opacity: 0; transform: translateY(26px); } }
  .js-reveal .hl-thumb { clip-path: inset(0 0 100% 0); }
  .js-reveal li.is-in .hl-thumb { clip-path: inset(0 0 0 0); transition: clip-path 0.9s 0.15s cubic-bezier(0.7, 0, 0.2, 1); }
}

/* Mouse and trackpad: the other rows fade back and a photo follows the pointer */
@media (hover: hover) and (pointer: fine) {
  .hl-list li { transition: opacity 0.35s ease; }
  .hl-title { display: inline-block; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .hl-list:hover li { opacity: 0.36; }
  .hl-list li:hover { opacity: 1; }
  .hl-list li:hover .hl-title { transform: translateX(18px); }
}
.hl-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 15;
  width: clamp(280px, 26vw, 380px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cedar-deep);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
.hl-preview.is-on { opacity: 1; }
.hl-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
.hl-preview img.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
.hl-preview img.is-active { clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.2, 1); }

/* Touch screens: a small photo beside each row instead */
@media (hover: none), (pointer: coarse) {
  .hl-list li { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 132px; align-items: center; }
  .hl-thumb { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
}

/* Sections */
.section { padding: clamp(76px, 9vw, 128px) 0; }
.section-sage { background: var(--sage); }
.title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.5vw, 58px); line-height: 1.04; }
.section-intro { max-width: 58ch; margin: 16px 0 0; color: var(--stone); }

/* Gallery */
.gallery {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--sage); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(13, 22, 18, 0.96);
  color: #fff;
}
.lightbox::backdrop { background: rgba(13, 22, 18, 0.96); }
.lb-inner { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 15px; color: var(--mist); }
.lb-figure { margin: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 72px; }
.lb-figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-caption { margin: 0; padding: 14px 20px 24px; text-align: center; font-size: 16px; color: var(--mist); }
.lb-btn {
  min-width: 52px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font: 500 16px/1 var(--sans);
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.08); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* Video tour */
.tour .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}
.tour video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 6px; background: var(--cedar); }

/* About */
.about .wrap {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.about-text p { max-width: 56ch; }
.about-text .title { margin-bottom: 22px; }
.details { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.details dt { font-size: 15px; color: var(--stone); }
.details dd { margin: 2px 0 0; }
.details a { font-weight: 600; }
.profiles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.profiles a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cedar);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.profiles a:hover { background: var(--sage); border-color: #c3cdc2; }
.profiles svg { width: 19px; height: 19px; flex: none; }

/* What's nearby */
.nearby + .about { border-top: 1px solid var(--line); }
.nearby-head { max-width: 760px; }
.nearby-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  margin-top: 44px;
}
.map-wrap { position: sticky; top: 100px; }
.map { height: min(640px, 74vh); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #e9ede7; z-index: 0; }
.map.leaflet-container { font-family: var(--sans); }
.map .map-tiles { filter: grayscale(1) sepia(0.14) hue-rotate(68deg) saturate(0.9) contrast(0.9) brightness(1.05); }
.map .leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, 0.85); }
.map .leaflet-control-attribution a { color: var(--cedar); }
.map .leaflet-bar a { color: var(--cedar); }
.map-open { display: inline-block; margin-top: 12px; font-size: 15px; color: var(--stone); }
.places-group { margin: 0 0 8px; font: 600 12.5px/1.3 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); }
.place-list + .places-group { margin-top: 30px; }
.place-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.place {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 13px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}
.place:hover, .place[aria-pressed="true"] { background: var(--sage); }
.place-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--cedar);
  border-radius: 50%;
  font: 600 12.5px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--cedar);
  transition: background 0.2s ease, color 0.2s ease;
}
.place[aria-pressed="true"] .place-n { background: var(--cedar); color: #fff; }
.place-name { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.place-detail { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.4; color: var(--stone); }
.place-time { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--cedar); }
.map-note { margin: 20px 0 0; font-size: 14px; color: var(--stone); }

/* Map markers */
.pin {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--cedar);
  border-radius: 50%;
  background: #fff;
  color: var(--cedar);
  font: 700 12.5px/1 var(--sans);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.pin.is-active, .pin.is-hover { background: var(--cedar); color: #fff; transform: scale(1.2); }
.home-pin { position: relative; width: 38px; height: 38px; }
.home-dot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--cedar);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.32);
}
.home-dot svg { width: 18px; height: 18px; }
.home-label {
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 600 13.5px/1 var(--sans);
  white-space: nowrap;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.18);
}
.leaflet-tooltip.map-tip {
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: var(--cedar);
  color: #fff;
  font: 500 14px/1.35 var(--sans);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.leaflet-tooltip.map-tip strong { display: block; font-weight: 600; }
.leaflet-tooltip.map-tip span { color: var(--mist); }
.leaflet-tooltip-top.map-tip::before { border-top-color: var(--cedar); }
@media (prefers-reduced-motion: no-preference) {
  .map.is-ready .pin { animation: pin-in 0.55s var(--d, 0ms) cubic-bezier(0.2, 0.9, 0.3, 1.3) backwards; }
  @keyframes pin-in { from { opacity: 0; transform: translateY(-16px) scale(0.6); } }
  .home-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 2px solid var(--cedar);
    border-radius: 50%;
    animation: home-pulse 2.6s ease-out infinite;
  }
  @keyframes home-pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.2); opacity: 0; } }
}

/* Contact */
.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.agent-note { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; color: var(--stone); }
.form { display: grid; gap: 18px; padding: clamp(24px, 3.5vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.form label { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; }
.form input, .form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #aeb9b1;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 400 18px/1.4 var(--sans);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline-offset: 0; border-color: var(--cedar); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-hint { margin: -6px 0 0; font-size: 15px; color: var(--stone); }
.form-error { margin: 0; font-size: 16px; font-weight: 600; color: #a1261a; }
.form-note { margin: 0; font-size: 15px; color: var(--stone); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--cedar-deep); color: var(--mist); padding: 64px 0 56px; font-size: 16px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-name { margin: 0 0 10px; font-family: var(--serif); font-size: 28px; color: #fff; }
.site-footer a { color: #fff; }
.footer-social { list-style: none; display: flex; gap: 10px; margin: 20px 0 0; padding: 0; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.1); }
.footer-social svg { width: 20px; height: 20px; }
.oakwyn-link { display: block; }
.oakwyn { width: 156px; height: auto; }
.legal { display: grid; gap: 10px; max-width: 82ch; margin-top: 30px; font-size: 14px; line-height: 1.6; color: #b7c8bd; }
.legal p { margin: 0; }

/* Mobile call and text bar */
.action-bar { display: none; }

@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: 80px; }
  .nav { display: none; }
  .site-header .wrap { min-height: 66px; }
  .brand { gap: 11px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 31px; }
  .brand-role { margin-top: 6px; font-size: 10.5px; letter-spacing: 0.14em; }
  .hl-list li { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 18px; row-gap: 8px; align-items: center; }
  .hl-list li .hl-title, .hl-list li .hl-text { grid-column: 1; }
  .hl-text { font-size: 17px; }
  .hl-thumb { display: block; grid-column: 2; grid-row: 1 / span 2; width: 96px; height: 96px; aspect-ratio: auto; object-fit: cover; border-radius: 4px; }
  .nearby-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .map-wrap { top: 66px; z-index: 5; margin: 0 calc(var(--gutter) * -1); padding-bottom: 8px; background: var(--paper); }
  .map { height: 42vh; min-height: 250px; max-height: 360px; border-left: 0; border-right: 0; border-radius: 0; }
  .map-open { display: none; }
  .place { padding: 12px 4px; gap: 12px; }
  .place-name { font-size: 16px; }
  .profiles a { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .hero { padding-top: 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-figure { order: -1; margin: 0 calc(var(--gutter) * -1); }
  .hero-figure img { aspect-ratio: 1 / 1; object-position: 50% 60%; }
  .hero-actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
  .gallery li:first-child { grid-row: auto; }
  .lb-figure { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-caption { padding-bottom: 84px; }
  .tour .wrap, .about .wrap, .contact .wrap, .field-row { grid-template-columns: 1fr; }
  .tour video { max-width: 340px; }
  .about-photo { max-width: 340px; }
  .form .btn { justify-self: stretch; }
  .oakwyn { width: 128px; }
  .action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
  }
  .action-bar .btn { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Footer mark */
.footer-mark { display: block; width: 58px; height: 58px; margin-bottom: 18px; }

/* Adam's listings */
.listings { background: var(--cedar-deep); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.listings-title { margin: 0 0 36px; text-align: center; font: 600 15px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.listing-cards { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 12px; }
.lcard { position: relative; display: block; aspect-ratio: 7 / 10; overflow: hidden; color: #fff; text-decoration: none; background: var(--cedar); }
.lcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 15, 0.82) 0%, rgba(10, 20, 15, 0.15) 45%, rgba(10, 20, 15, 0) 70%); }
.lcard:hover img { transform: scale(1.05); }
.lcard-body { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 1; display: grid; gap: 8px; text-align: center; padding: 0 20px; }
.lcard-name { font-family: var(--serif); font-size: clamp(32px, 3vw, 42px); line-height: 1.05; }
.lcard-meta, .lcard-price { font-size: 15px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.lcard-cta { background: var(--cedar); border: 1px solid rgba(255, 255, 255, 0.18); }
.lcard-cta::after { display: none; }
.lcard-cta .lcard-body { top: 50%; bottom: auto; transform: translateY(-50%); }
.lcard-cta .lcard-price { justify-self: center; margin-top: 14px; padding: 12px 26px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px; font-size: 13.5px; }
.listings-more { margin: 40px 0 0; text-align: center; }
.pill { display: inline-flex; align-items: center; min-height: 52px; padding: 0 36px; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.pill:hover { background: #fff; color: var(--cedar-deep); }
@media (max-width: 760px) {
  .listing-cards { grid-template-columns: 1fr; max-width: 360px; }
  .lcard { aspect-ratio: 4 / 5; }
}

/* Oakwyn logo in the header */
.brand-group { display: flex; align-items: center; gap: 22px; }
.hdr-oakwyn { display: block; padding-left: 22px; border-left: 1px solid var(--line); }
.hdr-oakwyn img { display: block; height: 30px; width: auto; }
@media (max-width: 760px) {
  .brand-group { gap: 14px; }
  .hdr-oakwyn { padding-left: 14px; }
  .hdr-oakwyn img { height: 21px; }
}
@media (max-width: 380px) { .hdr-oakwyn img { height: 18px; } }
.brand-name, .brand-role, .nav a, .nav .btn { white-space: nowrap; }
.nav { gap: 26px; }
@media (max-width: 1180px) { .nav a:not(.btn) { display: none; } }
