:root {
  --bg: #f6f4ef;
  --paper: #fffaf0;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #52606f;
  --faint: #7a8794;
  --line: rgba(17, 24, 39, 0.13);
  --line-strong: rgba(17, 24, 39, 0.22);
  --navy: #071b31;
  --navy-2: #102033;
  --copper: #c86b4a;
  --copper-dark: #a9543a;
  --green: #168a55;
  --stone: #e8ded2;
  --shadow: 0 1.4rem 4rem rgba(17, 24, 39, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Public Sans", Inter, system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 1.95rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.52rem 0.66rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.82rem 1.08rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button-primary,
.header-cta {
  color: #fff;
  border-color: var(--copper);
  background: var(--copper);
  box-shadow: 0 0.85rem 1.7rem rgba(200, 107, 74, 0.2);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 1rem 1.9rem rgba(17, 24, 39, 0.13);
}

.button:focus-visible,
.header-cta:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(200, 107, 74, 0.28);
  outline-offset: 3px;
}

.button:disabled {
  opacity: 0.58;
  cursor: progress;
}

.eyebrow,
.footer-label {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: calc(100svh - 4.5rem);
  overflow: hidden;
  color: #fffaf0;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 49, 0.96) 0%, rgba(7, 27, 49, 0.82) 42%, rgba(7, 27, 49, 0.22) 100%),
    linear-gradient(180deg, rgba(7, 27, 49, 0.04), rgba(7, 27, 49, 0.5)),
    url("./havlo-houston-homes.jpg") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 12rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.hero-copy {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.35rem);
  max-width: 58rem;
}

.hero-copy .eyebrow {
  color: rgba(255, 250, 240, 0.74);
}

.hero h1 {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(3.2rem, 6.6vw, 6.9rem);
  line-height: 0.92;
}

.hero-lede {
  max-width: 42rem;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.hero-service-counter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.18);
  box-shadow: var(--shadow);
}

.hero-service-counter a {
  display: grid;
  gap: 0.55rem;
  min-height: 8.4rem;
  padding: clamp(1rem, 1.8vw, 1.3rem);
  color: #fffaf0;
  background: rgba(7, 27, 49, 0.72);
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.hero-service-counter a:hover,
.hero-service-counter a:focus-visible {
  background: rgba(16, 32, 51, 0.9);
}

.hero-service-counter span,
.service-card span,
.values-grid span,
.owner-standards span,
.stack-label {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-service-counter strong {
  max-width: 22rem;
  color: #fff;
  font-size: clamp(1.1rem, 1.5vw, 1.42rem);
  line-height: 1.12;
}

.section {
  scroll-margin-top: 5.5rem;
  padding: clamp(3.2rem, 6vw, 6rem) 0;
}

.section-head,
.standard-shell,
.proof-copy,
.owner-copy,
.manifesto-grid > div {
  display: grid;
  gap: 0.85rem;
}

.section-head-wide {
  max-width: 62rem;
}

.section-head h2,
.manifesto-grid h2,
.proof-copy h2,
.owner-copy h2,
.access-panel h2,
.footer-brand h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 3.3vw, 3.7rem);
  line-height: 1;
}

.section-head > p,
.manifesto-grid > p,
.proof-copy > p,
.owner-copy > p,
.access-panel p:not(.eyebrow),
.footer-brand p:not(.eyebrow),
.footer-links p,
.footer-links a {
  max-width: 50rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  line-height: 1.68;
}

.section-manifesto {
  background: var(--surface);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}

.manifesto-grid h2 {
  max-width: 18ch;
}

.manifesto-grid > p {
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 4px solid rgba(200, 107, 74, 0.5);
  color: var(--ink);
  font-size: clamp(1.2rem, 1.85vw, 1.55rem);
  font-weight: 800;
  line-height: 1.45;
}

.section-services {
  background:
    linear-gradient(180deg, rgba(246, 244, 239, 0.94), rgba(255, 250, 240, 0.96)),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}

.service-card {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.65rem;
  min-height: 18rem;
  overflow: hidden;
  padding: clamp(1.05rem, 1.7vw, 1.35rem);
  border-radius: var(--radius);
  background: #fff;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--service-image, none) center / cover no-repeat;
  opacity: var(--service-opacity, 0);
  transform: scale(1.04);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.96));
}

.service-card-image {
  color: #fffaf0;
  background: var(--navy);
}

.service-card-image::after {
  background: linear-gradient(180deg, rgba(7, 27, 49, 0.24), rgba(7, 27, 49, 0.9));
}

.service-card-image h3 {
  color: #fff;
}

.service-card-image p {
  color: rgba(255, 250, 240, 0.76);
}

.service-card-renter {
  --service-image: url("./havlo-townhomes.jpg");
  --service-opacity: 0.8;
}

.service-card-owner {
  --service-image: url("./havlo-apartments.jpg");
  --service-opacity: 0.74;
}

.service-card-seller {
  --service-image: url("./havlo-town-center.jpg");
  --service-opacity: 0.7;
}

.service-card h3 {
  max-width: 20ch;
  font-size: clamp(1.35rem, 1.9vw, 2rem);
  line-height: 1.08;
}

.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.56;
}

.section-standard {
  color: #fffaf0;
  background:
    linear-gradient(135deg, rgba(7, 27, 49, 0.98), rgba(16, 32, 51, 0.95)),
    var(--navy);
}

.section-standard .section-head h2 {
  color: #fff;
}

.section-standard .section-head > p {
  color: rgba(255, 250, 240, 0.74);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.13);
}

.values-grid article {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 13rem;
  padding: clamp(1rem, 1.6vw, 1.25rem);
  background: rgba(255, 250, 240, 0.075);
}

.values-grid p {
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.94rem;
  line-height: 1.58;
}

.section-proof {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.95), rgba(246, 244, 239, 0.98)),
    var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
}

.experience-card {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  padding: clamp(0.85rem, 1.8vw, 1.2rem);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 240, 0.78)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.experience-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: start;
}

.experience-card__top div {
  display: grid;
  gap: 0.28rem;
}

.experience-card__top h3 {
  color: var(--ink);
  font-size: clamp(1.3rem, 1.8vw, 1.85rem);
  line-height: 1.08;
}

.experience-card__top > span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(22, 138, 85, 0.22);
  border-radius: 999px;
  color: #0f6b43;
  background: rgba(22, 138, 85, 0.1);
  font-size: 0.76rem;
  font-weight: 900;
}

.pov-stage {
  display: grid;
  grid-template-columns: minmax(14rem, 0.82fr) minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.4rem);
  align-items: center;
  min-height: 23rem;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--radius);
  color: #fffaf0;
  background: linear-gradient(135deg, #071b31, #10253b 58%, #151617);
}

.pov-stage--resident {
  background: linear-gradient(135deg, #082b36, #123c42 54%, #151617);
}

.pov-stage--owner {
  background: linear-gradient(135deg, #071b31, #243041 56%, #1a1715);
}

.pov-stage--buyer {
  background: linear-gradient(135deg, #0e2530, #12364e 58%, #151617);
}

.pov-stage--seller {
  background: linear-gradient(135deg, #1b2430, #35291f 58%, #151617);
}

.pov-stage--agent {
  background: linear-gradient(135deg, #101c2a, #22303b 58%, #151617);
}

.stage-device {
  display: grid;
  place-items: center;
  min-height: 15rem;
}

.stage-panel {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  max-width: 31rem;
}

.stage-kicker {
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-panel h3 {
  color: #fff;
  font-size: clamp(1.85rem, 2.55vw, 2.65rem);
  line-height: 1.04;
}

.stage-panel > p:not(.stage-kicker) {
  max-width: 28rem;
  color: rgba(255, 250, 240, 0.74);
  font-size: 1.05rem;
  line-height: 1.55;
}

.outcome-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.outcome-list span {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.38;
}

.outcome-list span::before {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--copper);
}

.outcome-visual {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 21rem);
}

.outcome-photo {
  min-height: 10.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(7, 27, 49, 0.18), rgba(200, 107, 74, 0.18)),
    url("./havlo-townhomes.jpg") center / cover no-repeat;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.2);
}

.outcome-visual-resident .outcome-photo {
  background:
    linear-gradient(145deg, rgba(7, 27, 49, 0.12), rgba(22, 138, 85, 0.2)),
    url("./havlo-apartments.jpg") center / cover no-repeat;
}

.outcome-note {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.18);
}

.outcome-note span,
.outcome-map span {
  color: var(--copper-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outcome-note strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.05;
}

.outcome-note p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.owner-bars {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  min-height: 10.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.18);
}

.owner-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--green), var(--copper));
}

.outcome-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.outcome-map span {
  display: grid;
  place-items: center;
  min-height: 6.5rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.12);
  text-align: center;
}

.outcome-visual-seller .listing-wall {
  width: 100%;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.18);
}

.outcome-visual-agent .handoff-thread {
  width: 100%;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.18);
}

.signal-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.15rem;
}

.signal-chain span {
  display: inline-flex;
  align-items: center;
  min-height: 1.92rem;
  padding: 0.36rem 0.5rem;
  border: 1px solid rgba(255, 250, 240, 0.15);
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.44);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-chain span.is-active {
  color: #fff;
  border-color: rgba(200, 107, 74, 0.65);
  background: rgba(200, 107, 74, 0.17);
}

.step-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.step-rail button,
.role-picker button {
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.step-rail button.is-active,
.role-picker button.is-active {
  color: #fff;
  border-color: var(--copper);
  background: var(--copper);
}

.role-picker {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.role-picker-label {
  margin: 0.12rem 0 -0.28rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-in-hand {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 20rem);
  min-height: 17rem;
}

.hand-shape {
  position: absolute;
  right: 0.7rem;
  bottom: 0.2rem;
  width: 10rem;
  height: 7.2rem;
  border-radius: 5rem 4rem 3rem 4rem;
  background: linear-gradient(135deg, #c47d55, #8d4f36);
  transform: rotate(-18deg);
  filter: drop-shadow(0 1.2rem 2rem rgba(0, 0, 0, 0.24));
}

.phone-frame {
  position: relative;
  display: grid;
  gap: 0.55rem;
  width: min(14rem, 88%);
  min-height: 16.5rem;
  padding: 1.25rem 0.78rem 0.86rem;
  border: 8px solid #141b24;
  border-radius: 30px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 0 1.6rem 2.9rem rgba(0, 0, 0, 0.28);
  transform: rotate(-5deg);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 0.32rem;
  width: 4rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #141b24;
  transform: translateX(-50%);
}

.listing-photo,
.repair-photo {
  min-height: 5.2rem;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(22, 138, 85, 0.26), rgba(200, 107, 74, 0.24)),
    linear-gradient(135deg, #d4c5ab, #f8f2e7);
}

.phone-frame strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
}

.phone-frame span,
.phone-frame p,
.status-card p,
.brief-screen p,
.map-card p,
.seller-report p,
.handoff-thread p,
.handoff-receipt p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.phone-frame button,
.approval-panel button {
  min-height: 2.25rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--copper);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-phone {
  align-content: center;
}

.message-bubble {
  padding: 0.8rem;
  border-radius: 18px 18px 18px 6px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 0.8rem 1.8rem rgba(17, 24, 39, 0.08);
  font-weight: 800;
}

.message-bubble.outbound {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
  color: #fff;
  background: var(--green);
}

.context-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.context-pills span,
.receipt-strip {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
  color: var(--copper-dark);
  background: rgba(200, 107, 74, 0.1);
  font-size: 0.68rem;
  font-weight: 900;
}

.receipt-strip {
  border-radius: 8px;
  color: #0f6b43;
  background: rgba(22, 138, 85, 0.1);
}

.repair-scene,
.repair-board,
.status-card,
.brief-screen,
.approval-panel,
.search-stack,
.boundary-grid,
.map-card,
.listing-wall,
.pricing-dial,
.seller-report,
.handoff-thread,
.routing-board,
.handoff-receipt {
  width: min(100%, 20rem);
  padding: 1rem;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.24);
}

.repair-scene,
.status-card,
.map-card,
.seller-report,
.handoff-thread,
.handoff-receipt,
.brief-screen,
.search-stack,
.approval-panel,
.pricing-dial {
  display: grid;
  gap: 0.7rem;
}

.repair-message {
  padding: 0.8rem;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.repair-board,
.routing-board,
.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.repair-board span,
.routing-board span,
.boundary-grid span,
.search-stack article,
.brief-header {
  min-height: 3.4rem;
  padding: 0.7rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 10px;
  background: rgba(246, 240, 229, 0.75);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.repair-board strong,
.routing-board strong,
.boundary-grid strong {
  grid-column: 1 / -1;
  padding: 0.8rem;
  border-radius: 10px;
  color: #fff;
  background: var(--copper);
  font-size: 1rem;
}

.status-card span,
.map-card span,
.seller-report span,
.handoff-thread span,
.handoff-receipt span,
.approval-panel span,
.pricing-dial span,
.search-stack span {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-card strong,
.map-card strong,
.seller-report strong,
.handoff-thread strong,
.handoff-receipt strong,
.approval-panel strong,
.pricing-dial strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.08;
}

.brief-chart {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  min-height: 7rem;
  padding: 0.7rem;
  border-radius: 12px;
  background: #f3f5f0;
}

.brief-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--green), #3b7197);
}

.proof-mark {
  display: inline-flex;
  width: fit-content;
  min-height: 2rem;
  align-items: center;
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  color: #0f6b43;
  background: rgba(22, 138, 85, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
}

.listing-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.listing-wall div {
  min-height: 8rem;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.16), rgba(200, 107, 74, 0.18)),
    #eee2cf;
}

.listing-wall strong {
  grid-column: 1 / -1;
  font-size: 1.4rem;
}

.dial {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 999px;
  background:
    conic-gradient(from 210deg, var(--green), #dba070, var(--copper), rgba(17, 24, 39, 0.12) 76%),
    #fff;
  box-shadow: inset 0 0 0 1rem #fff;
}

.section-owner-interest {
  background: var(--surface);
}

.owner-interest-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.4rem, 5vw, 4.5rem);
  align-items: start;
}

.owner-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.owner-standards span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.36rem 0.55rem;
  border-radius: 999px;
  background: rgba(200, 107, 74, 0.1);
}

.owner-interest-form {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: var(--radius);
  background: rgba(246, 244, 239, 0.92);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.owner-interest-form label {
  display: grid;
  gap: 0.4rem;
}

.owner-interest-form label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner-interest-form input,
.owner-interest-form select,
.owner-interest-form textarea {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.8);
  font: inherit;
  font-size: 0.98rem;
}

.owner-interest-form textarea {
  min-height: 7.8rem;
  resize: vertical;
}

.owner-interest-form input:focus,
.owner-interest-form select:focus,
.owner-interest-form textarea:focus {
  border-color: rgba(200, 107, 74, 0.72);
  outline: 3px solid rgba(200, 107, 74, 0.18);
  outline-offset: 1px;
}

.form-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.form-actions p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hp-hidden-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.section-access {
  background: var(--paper);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0.9rem;
}

.access-panel {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 18rem;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.access-panel-dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 27, 49, 0.98), rgba(17, 24, 39, 0.94)),
    #080b0e;
}

.access-panel-dark .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.access-panel-dark h2 {
  color: #fff;
}

.access-panel-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.portal-logo {
  display: block;
  width: min(10.5rem, 60%);
  height: auto;
  margin-bottom: 0.25rem;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 0.25rem;
}

.access-panel-dark .button-primary {
  color: #080b0e;
  border-color: #fff;
  background: #fff;
}

.access-panel-dark .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}

.inline-link {
  color: var(--copper-dark);
  text-decoration: none;
  font-weight: 900;
}

.inline-link:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: clamp(1.6rem, 3vw, 2rem) 0;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-brand h2 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) minmax(8rem, 0.7fr) minmax(18rem, 1.4fr);
  gap: 1.25rem;
}

.footer-links a {
  display: block;
  margin-top: 0.45rem;
  text-decoration: none;
}

.footer-links p {
  margin-top: 0.45rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  color: var(--faint);
  font-size: 0.88rem;
}

.footer-bottom-mark {
  display: block;
  width: auto;
  height: 1.6rem;
  opacity: 0.22;
}

@media (max-width: 1080px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.72rem 0;
  }

  .header-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-service-counter,
  .service-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manifesto-grid,
  .proof-grid,
  .owner-interest-grid,
  .access-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pov-stage,
  .experience-card__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .shell {
    width: min(100% - 1.25rem, 1180px);
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .header-nav {
    order: 2;
    flex-wrap: wrap;
    gap: 0.1rem 0.18rem;
    overflow-x: visible;
  }

  .header-cta {
    order: 3;
  }

  .header-nav a {
    flex: 0 1 auto;
    min-height: 2.25rem;
    padding: 0.38rem 0.48rem;
    font-size: 0.64rem;
  }

  .header-cta,
  .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 27, 49, 0.92), rgba(7, 27, 49, 0.73)),
      url("./havlo-houston-homes.jpg") center / cover no-repeat;
  }

  .hero-shell {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.75rem, 12vw, 4.4rem);
  }

  .hero-actions,
  .access-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-service-counter,
  .service-grid,
  .values-grid,
  .field-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .hero-service-counter {
    margin-bottom: 0.7rem;
  }

  .service-card {
    min-height: 14rem;
  }

  .section-head h2,
  .manifesto-grid h2,
  .proof-copy h2,
  .owner-copy h2,
  .access-panel h2 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }

  .role-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-rail {
    grid-template-columns: repeat(5, minmax(3.8rem, 1fr));
    overflow-x: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pov-stage {
    padding: 0.8rem;
  }

  .stage-panel h3 {
    font-size: 1.65rem;
  }

  .phone-in-hand {
    min-height: 14rem;
  }

  .phone-frame {
    min-height: 14rem;
  }

  .role-picker button,
  .step-rail button {
    padding-inline: 0.4rem;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
