/* Shared presentation polish for Robin Fruth Asset Advisors */
:root {
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --polish-line: rgba(7, 32, 49, .18);
  --polish-highlight: rgba(255, 255, 255, .26);
  --polish-shadow: 0 22px 55px rgba(6, 23, 37, .14);
  --polish-shadow-hover: 0 30px 70px rgba(6, 23, 37, .2);
}

.btn,
.navcta,
.links .home {
  border-radius: 999px;
}

.hero-note {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.frame img {
  border-radius: var(--radius-xl);
}

.frame:before {
  border-radius: calc(var(--radius-xl) + 3px);
}

.credentials {
  gap: .8rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.credential {
  border: 1px solid var(--polish-line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(216, 218, 213, .94), rgba(190, 197, 196, .94));
  box-shadow: 0 10px 28px rgba(6, 23, 37, .08);
}

.cards {
  gap: 1.2rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.card,
.hub-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--polish-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(211, 213, 208, .98), rgba(190, 198, 198, .94));
  box-shadow: 0 16px 38px rgba(6, 23, 37, .1);
}

.card:before,
.hub-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--lite), transparent 88%);
}

.card:hover,
.hub-card:hover,
.hub-card:focus-visible {
  box-shadow: var(--polish-shadow-hover);
  transform: translateY(-6px);
}

.market-grid {
  gap: 1.25rem;
  background: transparent;
}

.market {
  overflow: hidden;
  border: 1px solid rgba(242, 217, 142, .26);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 68px rgba(0, 0, 0, .25);
}

.market li a,
.texas-communities a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: .24em;
}

.market li a:hover,
.market li a:focus-visible {
  color: var(--lite);
}

.texas-communities a:hover,
.texas-communities a:focus-visible {
  color: #6d500d;
}

.texas-communities a:after {
  content: " ↗";
  color: #77570e;
  font-size: .8em;
}

.status,
.texas-communities li,
.weekly-badge,
.insight-filter {
  border-radius: 999px;
}

.route,
.roadmap-builder,
.texas-showcase,
.booking-card,
.panel,
.guide-callout,
.paper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--polish-shadow);
}

.route {
  border-color: rgba(203, 166, 75, .58);
  background: linear-gradient(145deg, rgba(206, 209, 204, .98), rgba(179, 188, 188, .96));
}

.roadmap-builder {
  border-top-width: 1px;
  background: linear-gradient(145deg, rgba(209, 212, 208, .98), rgba(177, 188, 189, .98));
}

.roadmap-result,
.roadmap-steps li,
.roadmap-next {
  border-radius: var(--radius-md);
}

.roadmap-steps li {
  border-color: var(--polish-line);
  box-shadow: 0 9px 25px rgba(6, 23, 37, .07);
}

.relocation-tool,
.texas-focus article,
.accessibility-list li,
.booking-point {
  border: 1px solid var(--polish-line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(6, 23, 37, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.relocation-tool,
.texas-focus article {
  background: linear-gradient(145deg, rgba(212, 215, 210, .97), rgba(190, 198, 197, .96));
}

.relocation-tool:hover,
.texas-focus article:hover {
  border-color: rgba(203, 166, 75, .7);
  box-shadow: 0 20px 44px rgba(6, 23, 37, .14);
  transform: translateY(-4px);
}

.referral-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 22px 50px rgba(0, 0, 0, .12);
}

.texas-showcase {
  border-color: rgba(7, 32, 49, .17);
}

.texas-copy {
  background: linear-gradient(145deg, rgba(211, 214, 209, .98), rgba(188, 197, 196, .98));
}

.texas-communities li {
  padding: .45rem .78rem;
  background: rgba(226, 227, 222, .75);
}

.texas-notice {
  border-width: 1px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(6, 23, 37, .18);
}

.insights-intro {
  border-left-width: 1px;
  border-radius: var(--radius-md);
  background: linear-gradient(125deg, rgba(220, 222, 217, .84), rgba(188, 197, 197, .72));
  box-shadow: 0 10px 28px rgba(6, 23, 37, .07);
}

.insight-filter {
  padding-inline: 1rem;
}

.insight-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(6, 23, 37, .13);
}

.insight-card:hover {
  box-shadow: var(--polish-shadow-hover);
}

.insight-empty {
  border-radius: var(--radius-lg);
}

.links a[aria-current]:not(.navcta) {
  color: var(--lite);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.market-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}

.market-actions .btn {
  min-height: 46px;
}

.updated-note {
  color: #4b606b;
  font-size: .82rem;
  font-weight: 700;
}

.insight-archive-toggle {
  display: block;
  min-height: 48px;
  margin: 1.35rem auto 0;
  padding: .7rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.insight-archive-toggle:hover,
.insight-archive-toggle:focus-visible {
  border-color: var(--gold);
  background: var(--ink);
  color: #fff;
}

@media(max-width:640px) {
  .market-actions { flex-direction: column; }
  .market-actions .btn { width: 100%; }
}

.city-finder {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(240px, 1fr) auto;
  gap: .7rem 1rem;
  align-items: center;
  max-width: 880px;
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid rgba(242, 217, 142, .42);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
}

.city-finder label { color: var(--lite); font-weight: 800; }
.city-finder select {
  width: 100%;
  min-height: 48px;
  padding: .65rem .8rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.city-finder select:focus-visible { border-color: var(--gold); outline: 3px solid rgba(242,217,142,.35); }
.city-finder span { color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 700; }
.city-card:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(203,166,75,.26), var(--polish-shadow-hover); }
.city-card:focus { outline: 3px solid var(--gold); outline-offset: 5px; }

@media(max-width:760px) {
  .city-finder { grid-template-columns: 1fr; }
}

.guide-callout {
  border-color: rgba(242, 217, 142, .26);
}

.booking-point {
  border-left: 3px solid var(--gold);
  background: linear-gradient(120deg, rgba(216, 220, 216, .88), rgba(191, 200, 199, .78));
}

.booking-card,
.panel {
  border: 1px solid rgba(203, 166, 75, .52);
  background: linear-gradient(145deg, #cdd2ce, #b7c0bf);
}

.field input,
.field select,
.field textarea {
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: #e0e1dc;
  box-shadow: 0 0 0 4px rgba(203, 166, 75, .16);
}

.accessibility-list li {
  border-left: 3px solid var(--gold);
  background: linear-gradient(145deg, #c3cac8, #adb9ba);
}

.article-grid .aside {
  border: 1px solid var(--polish-line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(202, 205, 200, .98), rgba(180, 189, 189, .98));
  box-shadow: var(--polish-shadow);
}

.copy .intro {
  padding-left: 1.3rem;
  border-left: 3px solid var(--gold);
}

.paper {
  border: 1px solid rgba(203, 166, 75, .45);
  background: linear-gradient(145deg, rgba(210, 214, 210, .98), rgba(186, 195, 194, .98));
}

.paper .contact {
  border: 1px solid var(--polish-line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(6, 23, 37, .08);
}

@media (max-width: 680px) {
  :root {
    --radius-xl: 22px;
    --radius-lg: 18px;
  }

  .cards,
  .market-grid {
    gap: 1rem;
  }

  .hero-note {
    border-radius: 0 18px 18px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .relocation-tool,
  .texas-focus article,
  .card,
  .hub-card,
  .insight-card,
  .field input,
  .field select,
  .field textarea {
    transition: none;
  }
}

@media (forced-colors: active) {
  .card,
  .hub-card,
  .market,
  .route,
  .roadmap-builder,
  .relocation-tool,
  .texas-showcase,
  .texas-focus article,
  .referral-panel,
  .insight-card,
  .booking-card,
  .panel,
  .article-grid .aside,
  .paper {
    border: 2px solid ButtonText;
  }
}

/* Distinct, current property scenes with restrained motion to preserve sharpness. */
.hero-shade {
  background: linear-gradient(90deg, rgba(3, 17, 29, .72), rgba(3, 17, 29, .52) 50%, rgba(3, 17, 29, .14));
}

.hero h1,
.hero .lead,
.hero .eyebrow {
  text-shadow: 0 2px 14px rgba(0, 0, 0, .72);
}

.hero-bg.backyard-fountain,
.hero-bg.garden-footpath,
.hero-bg.coastal-front-yard,
.hero-bg.mountain-view {
  animation-duration: 24s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.hero-bg.backyard-fountain { animation-name: heroBackyardFountain; }
.hero-bg.garden-footpath { animation-name: heroGardenFootpath; }
.hero-bg.coastal-front-yard { animation-name: heroCoastalFrontYard; }
.hero-bg.mountain-view { animation-name: heroMountainView; }

@keyframes heroBackyardFountain {
  from { transform: scale(1.035) translate3d(0.5%, 0.25%, 0); }
  to { transform: scale(1.085) translate3d(-1.25%, -0.5%, 0); }
}

@keyframes heroGardenFootpath {
  from { transform: scale(1.04) translate3d(-0.75%, 0, 0); }
  to { transform: scale(1.09) translate3d(1%, -0.5%, 0); }
}

@keyframes heroCoastalFrontYard {
  from { transform: scale(1.035) translate3d(0, 0.5%, 0); }
  to { transform: scale(1.085) translate3d(-1%, -0.75%, 0); }
}

@keyframes heroMountainView {
  from { transform: scale(1.04) translate3d(0.5%, 0.5%, 0); }
  to { transform: scale(1.09) translate3d(-0.75%, -0.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg.backyard-fountain,
  .hero-bg.garden-footpath,
  .hero-bg.coastal-front-yard,
  .hero-bg.mountain-view {
    animation: none !important;
    transform: scale(1.04);
  }
}
