/* Inlet & Oak Realty: concept site. Mobile-first, one stylesheet, tokens first. */

:root {
  /* Brand */
  --ink: #10222C;
  --teal: #2F5F66;
  /* Mist. */
  --canvas: #F1F3F4;
  --paper: #FAF8F4;
  /* Oak. One token covers both the text and the rules. */
  --marker: #7A5A3A;
  --marker-bright: #7A5A3A;

  /* Derived neutrals */
  --ink-90: #1B303A;
  --ink-70: #33474F;
  --muted: #4C5F67;
  --line: rgba(16, 34, 44, 0.14);
  --line-soft: rgba(16, 34, 44, 0.08);
  --shade: #EFE9DE;
  --shade-2: #E7E0D2;

  /* Type */
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.13rem, 1.05rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.32rem, 1.16rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
  --step-4: clamp(2rem, 1.5rem + 2.3vw, 3.4rem);

  /* Space + shape */
  --gut: 16px;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 60px;
  --bar-h: 62px;
  --shadow: 0 1px 2px rgba(16, 34, 44, 0.06), 0 12px 28px -18px rgba(16, 34, 44, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 720px) {
  :root { --gut: 32px; --header-h: 72px; }
}

/* ------------------------------------------------------------------ reset */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid var(--marker-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--canvas);
  padding: 12px 18px; border-radius: var(--radius); font-weight: 600;
  transition: top 0.15s var(--ease);
}
.skip:focus { top: 8px; color: var(--canvas); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- layout */

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 760px; }
.section { padding-block: clamp(2.6rem, 1.6rem + 4vw, 5rem); }
.section--tint { background: var(--canvas); }
.section--ink { background: var(--ink); color: var(--canvas); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--canvas); }
.section--ink a:not(.btn) { color: #C6D6D2; }
.section--ink a:not(.btn):hover { color: #fff; }

.stack > * + * { margin-top: 1rem; }
/* minmax(0, ...) on every track: a bare fr will not shrink below min-content. */
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--2-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; }
}

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-70); max-width: 62ch; }
.section--ink .lede { color: #C8D5D2; }
.small { font-size: var(--step--1); color: var(--muted); }
.prose { font-family: var(--serif); font-size: var(--step-1); line-height: 1.62; color: var(--ink-90); }
.prose p { margin-bottom: 1.1em; }

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  margin-right: auto; min-height: 44px; padding-right: 6px;
}
/* Lockup sizes come from the kit spec; the footer uses the stacked reversed file. */
.brand img { width: 190px; height: auto; }
@media (max-width: 420px) { .brand img { width: 150px; } }
.ftr-mark { width: 200px; height: auto; }

/* The concept label is first in the body and visible in the first screen. */
.conceptbar {
  background: var(--ink); color: var(--canvas);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 9px 16px; text-align: center;
}
.conceptbar b { font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.brand:focus-visible { outline-offset: 6px; }

.nav { display: none; }
@media (min-width: 1100px) {
  .nav { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
  .nav a {
    color: var(--ink-70); text-decoration: none; font-size: 0.94rem; font-weight: 500;
    padding: 10px 11px; border-radius: var(--radius); white-space: nowrap;
  }
  .nav a:hover { color: var(--ink); background: var(--shade); }
  .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--marker-bright); }
}

.header-phone {
  display: none; font-variant-numeric: tabular-nums; font-weight: 600;
  color: var(--ink); text-decoration: none; font-size: 0.95rem; padding: 10px 8px;
  white-space: nowrap;
}
@media (min-width: 720px) and (max-width: 1099px) { .header-phone { display: inline-block; } }
@media (min-width: 1240px) { .header-phone { display: inline-block; } }
.header-phone:hover { color: var(--marker); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
@media (min-width: 1100px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor;
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-toggle[aria-expanded="true"] { background: var(--shade); }

.menu-panel {
  display: none; border-top: 1px solid var(--line); background: var(--paper);
  max-height: calc(100vh - var(--header-h) - var(--bar-h)); overflow-y: auto;
}
.menu-panel.is-open { display: block; }
@media (min-width: 1100px) { .menu-panel, .menu-panel.is-open { display: none; } }
.menu-panel ul { list-style: none; margin: 0; padding: 8px 0 14px; }
.menu-panel li { margin: 0; }
.menu-panel a {
  display: flex; align-items: center; min-height: 50px; padding: 4px 0;
  color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.menu-panel a[aria-current="page"] { color: var(--marker); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--canvas); }
.btn--primary:hover { background: #1D3742; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--canvas); }
.btn--call { background: var(--marker); color: #fff; }
.btn--call:hover { background: #8A4525; color: #fff; }
.btn--light { background: var(--canvas); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--canvas); border-color: rgba(241, 243, 244, 0.55); }
.btn--outline-light:hover { background: rgba(241, 243, 244, 0.12); color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  text-decoration: none; color: var(--ink); min-height: 44px;
}
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); color: var(--marker-bright); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; background: var(--ink); color: var(--canvas); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; opacity: 0.85; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(16, 34, 44, 0.94) 0%, rgba(16, 34, 44, 0.86) 38%, rgba(16, 34, 44, 0.42) 100%),
    linear-gradient(180deg, rgba(16, 34, 44, 0.55) 0%, rgba(16, 34, 44, 0.20) 55%, rgba(16, 34, 44, 0.55) 100%);
}
@media (max-width: 719px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(16, 34, 44, 0.80) 0%, rgba(16, 34, 44, 0.70) 50%, rgba(16, 34, 44, 0.86) 100%);
  }
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(2.8rem, 2rem + 5vw, 4.6rem); }
.hero h1 { color: var(--canvas); max-width: 16ch; }
.hero p { color: #CFDBD7; font-size: var(--step-1); max-width: 46ch; }
.hero .btn-row { margin-top: 1.6rem; }
/* The disclosure line. `.hero p` above is more specific and wins size and color. */
.hero__credit {
  margin: 1.8rem 0 0; font-size: 0.7rem; letter-spacing: 0.02em;
  color: rgba(241, 243, 244, 0.55); max-width: 40ch;
}
.section--ink + .contact-strip { border-top: 1px solid rgba(241, 243, 244, 0.16); }

.page-head { background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-head__inner { padding-block: clamp(2rem, 1.4rem + 3vw, 3.4rem); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-bottom: 0; }

.crumb { font-size: var(--step--1); color: var(--muted); margin-bottom: 0.8rem; }
.crumb a { color: var(--muted); }

/* ----------------------------------------------------------------- cards */

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { border-color: rgba(16, 34, 44, 0.3); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--shade-2); }
.card__media picture { display: block; width: 100%; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card__price { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.card__addr { font-size: 1rem; font-weight: 500; margin: 0 0 2px; }
.card__addr a { color: inherit; text-decoration: none; }
.card__addr a::after { content: ""; position: absolute; inset: 0; }
.card__hood { font-size: var(--step--1); color: var(--muted); margin: 0 0 12px; }
.card__specs {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto;
  padding-top: 12px; border-top: 1px solid var(--line-soft);
  font-size: var(--step--1); color: var(--ink-70); font-variant-numeric: tabular-nums;
}
.card__specs span { white-space: nowrap; }
.card__specs span, .price-strip .specs span { display: inline-flex; align-items: center; gap: 6px; }
.ico { flex: none; color: var(--teal); }
.card__specs .ico { width: 16px; height: 16px; }
.price-strip .specs .ico { width: 18px; height: 18px; }

.tag {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: rgba(16, 34, 44, 0.88); color: var(--canvas);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 3px;
}
.tag--inline { position: static; display: inline-block; }

/* ----------------------------------------------------------------- chips */

.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
@media (max-width: 719px) {
  .chips {
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    padding-right: 24px;
  }
}
.chip {
  flex: none; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-70); font: inherit; font-size: 0.92rem; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.chip:hover { border-color: var(--ink-70); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.filter-group { margin-bottom: 4px; }
.filter-group__label {
  font-size: var(--step--1); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px;
}
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 60;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding-block: 12px 6px;
}
.filter-status {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0 2px; font-size: var(--step--1); color: var(--muted);
}
.filter-status button {
  background: none; border: 0; padding: 10px 4px; font: inherit; font-size: var(--step--1);
  color: var(--teal); text-decoration: underline; cursor: pointer; min-height: 44px;
}

/* ------------------------------------------------------------ path tiles */

.path {
  display: block; padding: 22px 20px 24px; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.path:hover { border-color: rgba(16, 34, 44, 0.32); box-shadow: var(--shadow); }
.path h2 { margin-bottom: 6px; font-size: var(--step-2); letter-spacing: -0.02em; }
.path p { color: var(--muted); font-size: 0.97rem; margin-bottom: 14px; }
.path__go { font-weight: 600; font-size: 0.95rem; color: var(--marker); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 28px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 0.9rem; font-weight: 700; color: var(--marker);
}
.steps h3 { font-size: var(--step-1); margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-70); }

/* --------------------------------------------------------------- listing */

.gallery { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.gallery img { width: 100%; height: auto; border-radius: var(--radius); }
.shot { margin: 0; position: relative; }
.shot--pending img { outline: 1px dashed rgba(16, 34, 44, 0.3); outline-offset: -1px; }
.shot__note {
  position: absolute; right: 10px; top: 10px;
  background: rgba(250, 248, 244, 0.92); color: var(--ink-70);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 3px;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery > *:first-child { grid-column: 1 / -1; }
}

.facts { border-top: 1px solid var(--line); margin: 0; }
.facts div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.facts dt { font-weight: 600; flex: none; max-width: 42%; }
.facts dd { margin: 0; color: var(--ink-70); text-align: right; }

.price-strip {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px;
  padding: 16px 0 18px; border-bottom: 1px solid var(--line);
}
.price-strip .price { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-strip .specs {
  display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-70);
  font-variant-numeric: tabular-nums; font-size: 0.97rem;
}

.sticky-cta {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px;
}

.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--shade-2); line-height: 0;
}
.map-frame iframe { width: 100%; height: 300px; border: 0; }
@media (min-width: 720px) { .map-frame iframe { height: 360px; } }

.notice {
  background: var(--canvas); border-left: 3px solid var(--marker-bright);
  padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}
.notice p:last-child { margin-bottom: 0; }
.notice strong { font-weight: 600; }

/* ----------------------------------------------------------------- forms */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2310222C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); outline: 3px solid rgba(47, 95, 102, 0.28); outline-offset: 0;
}
.field input::placeholder, .field textarea::placeholder { color: #8B979B; }

fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; background: var(--paper);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.choice input:focus-visible + span { outline: 3px solid var(--marker-bright); outline-offset: 3px; }

.form-note { font-size: var(--step--1); color: var(--muted); }
.form-success {
  display: none; border: 1px solid var(--teal); background: #EDF2F0;
  border-radius: var(--radius-lg); padding: 18px 20px;
}
.form-success.is-on { display: block; }
.form-success p:last-child { margin-bottom: 0; }



/* Waiting state for an image whose file is not in the package yet. */
.img-waiting {
  border-radius: var(--radius);
  background-color: var(--shade);
  background-image: repeating-linear-gradient(135deg, var(--shade) 0 11px, #E3E7E9 11px 22px);
}

/* No portraits on the team cards; one licensed place photo sits above them. */
/* A band, not a full-height photo. No width/height on the img, or the ratio goes inert. */
.team-place {
  margin: 0 0 34px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 21 / 9; max-height: 420px;
}
.team-place img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__contact { margin-top: 4px; font-weight: 600; }
.person__contact a { color: var(--teal); }

/* ------------------------------------------------------------ neighborhood */

.hood { scroll-margin-top: calc(var(--header-h) + 20px); }
.hood + .hood { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.hood__media img { border-radius: var(--radius-lg); width: 100%; }

.person__media img { border-radius: var(--radius-lg); width: 100%; }
.person h3 { margin-bottom: 2px; }
.person .role {
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--marker); font-weight: 600; margin-bottom: 10px;
}

/* --------------------------------------------------------------- contact */

.contact-strip { background: var(--ink); color: var(--canvas); }
.contact-strip .wrap { padding-block: clamp(2.4rem, 1.6rem + 3.5vw, 4rem); }
.contact-strip h2 { max-width: 20ch; }
.contact-strip p { color: #C8D5D2; }
.contact-strip a:not(.btn) { color: #CBD9D5; }
.contact-strip a:not(.btn):hover { color: #fff; }

.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list a { display: inline-block; padding: 13px 0; margin-block: -12px; }
.detail-list .k { font-weight: 600; min-width: 84px; flex: none; }
/* Icon beside the label (BW): the label keeps its width, so the values stay in line. */
.detail-list .k:has(.ico) { display: flex; align-items: center; gap: 8px; align-self: flex-start; }
.contact-strip .ico { color: var(--canvas); }
.h-ico { display: flex; align-items: center; gap: 10px; }
.section--ink .detail-list li { border-color: rgba(241, 243, 244, 0.16); }

.hours { list-style: none; padding: 0; margin: 0; font-variant-numeric: tabular-nums; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.section--ink .hours li { border-color: rgba(241, 243, 244, 0.16); }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: #C8D5D2; padding-block: 44px 28px; }
.site-footer a:not(.btn) { color: #C8D5D2; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.site-footer .ftr-title {
  color: var(--canvas); font-size: var(--step--1); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 700; line-height: 1.12; margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0; }
.site-footer li a { display: inline-block; padding: 12px 0; line-height: 1.35; }
.site-footer ul:not(.hours) li { padding: 0; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 32px; }
/* Two columns on tablets (brand and Site, then More and Office) so Office has room for the phone, email and hours; four from 1024 (BV, AD Oct 12). */
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); } }
.site-footer .footer-brand p { margin-bottom: 0.8em; }
.footer-legal {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(241, 243, 244, 0.16);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: var(--step--1); color: #9FB2B2;
}
.concept-line {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--canvas);
}

/* ------------------------------------------------------------ bottom bar */

.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(16, 34, 44, 0.97);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-top: 1px solid rgba(241, 243, 244, 0.14);
}
@media (min-width: 900px) { .bottom-bar { display: none; } }
.bottom-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--bar-h); color: var(--canvas); text-decoration: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.bottom-bar a + a { border-left: 1px solid rgba(241, 243, 244, 0.14); }
.bottom-bar svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.bottom-bar a:first-child { color: #F0C9A8; }
.bottom-bar a[aria-current="page"] { background: rgba(241, 243, 244, 0.10); }

/* ----------------------------------------------------------------- 404 */

.error-page { display: grid; place-items: center; text-align: center; padding-block: clamp(3rem, 2rem + 8vw, 7rem); }

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ------------------------------------------------------------------ misc */

.hood-links { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-cta { display: inline-block; padding: 12px 0; }
.empty-state { padding: 48px 0; text-align: center; color: var(--muted); }
.empty-state[hidden] { display: none; }
[hidden] { display: none !important; }

@media print {
  .site-header, .bottom-bar, .site-footer, .filter-bar { display: none; }
  body { padding-bottom: 0; }
}

/* Back to SoFlo Site Forge: the same badge on all seven concept demos. */
.soflo-back{position:fixed;left:16px;bottom:16px;z-index:80;display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;padding:6px 12px;background:var(--ink);color:var(--canvas);border:1px solid currentColor;border-radius:999px;box-shadow:none;font-family:inherit;font-size:13px;font-weight:600;line-height:18px;letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap}
.soflo-back svg{width:14px;height:14px;flex:none}
.soflo-back:hover{border-color:var(--canvas)}
.soflo-back:focus-visible{outline:2px solid var(--canvas);outline-offset:2px;box-shadow:0 0 0 2px var(--ink)}
@media (max-width:899.98px){.soflo-back{display:none}}
.site-footer .concept-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* The floating SoFlo pill must never sit on footer text (AD, Oct 6). */
.site-footer { padding-bottom: calc(28px + 44px + 2 * var(--gut)); }

/* ------------------------------------------------ payment estimate (listings) */
/* Hidden until payment.js runs; without it the listing reads as before. */

.pay-form { margin-top: 18px; }
.pay-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.pay-set legend { font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 8px; }
.pay-down { font-weight: 400; color: var(--muted); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-chips label { position: relative; }
.pay-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-chips input:checked + .chip { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.pay-chips input:focus-visible + .chip { outline: 3px solid rgba(47, 95, 102, 0.45); outline-offset: 2px; }
.pay-out { margin-top: 22px; padding: 20px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pay-big { font-family: var(--serif); font-size: var(--step-3); line-height: 1.15; margin: 0; }
.pay-line { margin: 8px 0 0; color: var(--ink-70); }
.pay-err { margin: 0; font-weight: 600; color: var(--ink); }
.pay-disc { margin: 14px 0 6px; }

/* ------------------------------------------- intro with an illustration (BR) */
/* From 1024px the piece sits right of the intro text (at 768 the text column was too tight, AD); below that it stacks under the text at 240px max. */
.intro-ill__img { display: block; width: 100%; max-width: 240px; height: auto; margin-bottom: 24px; }
@media (min-width: 1024px) {
  .intro-ill { display: flex; align-items: center; gap: 40px; }
  .intro-ill__text { flex: 1 1 0; min-width: 0; }
  .intro-ill__img { flex: none; margin-bottom: 0; }
  .intro-ill__img--houses { width: 300px; max-width: none; }
  /* At least 32px clear between the art's ground line and the cards below (AD). */
  .intro-ill__img--searching { width: 280px; max-width: none; margin-bottom: 32px; }
}
