/* ============================================================
   idle iron — design system v2
   Brand register: brand. Color strategy: Committed (clay drench).
   Single family: Bricolage Grotesque (variable width axis).
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,400;12..96,75..100,500;12..96,75..100,600;12..96,75..100,700;12..96,75..100,800&display=swap');

:root {
  /* Color — OKLCH, forest-green committed palette. No browns. */
  --ink:         oklch(0.22 0.018 145);  /* near-black, faint green tint */
  --ink-muted:   oklch(0.50 0.015 145);
  --ink-soft:    oklch(0.68 0.012 145);

  --paper:       oklch(0.96 0.012 95);   /* cream */
  --paper-2:     oklch(0.99 0.005 95);   /* card surface */
  --paper-3:     oklch(0.93 0.014 95);   /* recessed/alt */

  --border:      oklch(0.87 0.015 95);
  --border-2:    oklch(0.76 0.020 95);

  --brand:       oklch(0.42 0.080 145);  /* forest green primary */
  --brand-deep:  oklch(0.32 0.070 145);  /* hover / deeper */
  --brand-soft:  oklch(0.93 0.035 145);  /* tint */

  --earth:       oklch(0.30 0.055 145);  /* deep forest for dark surfaces */
  --earth-2:     oklch(0.18 0.045 145);  /* deepest forest for footer */

  --accent:      oklch(0.52 0.160 40);   /* burnt sienna — rare use only */

  --success:     oklch(0.48 0.100 145);

  /* Type scale — modular, fluid clamp */
  --t-display:   clamp(40px, 7vw, 88px);
  --t-h1:        clamp(34px, 4.6vw, 56px);
  --t-h2:        clamp(24px, 3vw, 36px);
  --t-h3:        22px;
  --t-body-lg:   19px;
  --t-body:      17px;
  --t-sm:        15px;
  --t-xs:        13px;

  /* Space */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px; --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radii */
  --r-sm: 4px;  --r: 8px;  --r-lg: 14px;  --r-xl: 22px;

  /* Elevation */
  --shadow-xs: 0 1px 2px oklch(0.22 0.018 145 / 0.06);
  --shadow:    0 8px 24px oklch(0.22 0.018 145 / 0.10);
  --shadow-lg: 0 28px 60px oklch(0.22 0.018 145 / 0.16);

  --container: 1240px;
}

/* ============================================================
   Base
============================================================ */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-variation-settings: 'wdth' 100;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

::selection { background: var(--brand); color: oklch(0.99 0.005 95); }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.wrap--narrow { max-width: 920px; }

.label {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.text-brand { color: var(--brand); }

/* ============================================================
   NAV — sticky, light, condensed
============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.96 0.012 95 / 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid oklch(0.87 0.015 95 / 0.7);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'wdth' 88, 'wght' 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-mark__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
  margin: 0 1px 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  font-size: 15px;
}
.nav__links > a {
  color: var(--ink);
  font-weight: 500;
  transition: color .15s;
}
.nav__links > a:hover { color: var(--brand-deep); }

.nav__links > a.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-2);
  font-weight: 600;
  transition: background .15s ease-out, color .15s ease-out;
}
.nav__links > a.nav__cta:hover { background: var(--brand); color: var(--paper-2); }

@media (max-width: 720px) {
  .nav__links > a:not(.nav__cta) { display: none; }
}

/* ============================================================
   HERO — full-bleed photo, oversized display, search overlay
============================================================ */

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 820px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
  background-color: var(--earth);
}

.hero__photo::after {
  /* warm overlay tying any photo to the brand palette */
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      oklch(0.18 0.045 145 / 0.55) 0%,
      oklch(0.18 0.045 145 / 0.10) 35%,
      oklch(0.18 0.045 145 / 0.40) 75%,
      oklch(0.18 0.045 145 / 0.78) 100%),
    linear-gradient(135deg,
      oklch(0.32 0.07 145 / 0.30) 0%,
      oklch(0.22 0.018 145 / 0.0) 60%);
}

.hero__top {
  flex: 1;
  padding-top: clamp(60px, 12vh, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper-2);
}

.hero__kicker {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.88 0.04 130 / 0.9);
  margin-bottom: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.hero__kicker::before {
  content: '';
  width: 36px;
  height: 1.5px;
  background: var(--brand);
  display: inline-block;
}

.hero__headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'wdth' 84, 'wght' 800;
  font-size: var(--t-display);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--paper-2);
  margin-bottom: var(--s-5);
  max-width: 14ch;
}
.hero__headline em {
  font-style: normal;
  color: oklch(0.82 0.08 130);
  font-variation-settings: 'wdth' 92, 'wght' 800;
}

.hero__sub {
  font-size: var(--t-body-lg);
  line-height: 1.45;
  color: oklch(0.92 0.012 95);
  max-width: 50ch;
  margin-bottom: var(--s-8);
  font-weight: 400;
}

/* Search overlay — VRBO pattern */
.searchcard {
  background: var(--paper-2);
  border-radius: var(--r-xl);
  padding: var(--s-3);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin-bottom: clamp(40px, 8vh, 80px);
  max-width: 760px;
}

@media (min-width: 720px) {
  .searchcard {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: stretch;
    gap: 0;
  }
}

.searchcard__field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 20px;
  border-radius: var(--r-lg);
  position: relative;
  cursor: text;
  transition: background .15s;
}
.searchcard__field:hover { background: var(--paper-3); }
.searchcard__field:focus-within { background: var(--paper-3); }

@media (min-width: 720px) {
  .searchcard__field + .searchcard__field {
    border-left: 1px solid var(--border);
  }
}

.searchcard__field > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
  display: block;
}

.searchcard__field input,
.searchcard__field select {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
  outline: none;
  appearance: none;
}
.searchcard__field input::placeholder { color: var(--ink-soft); font-weight: 400; }

.searchcard__submit {
  background: var(--brand);
  color: var(--paper-2);
  border: 0;
  padding: 0 28px;
  border-radius: var(--r-lg);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  transition: background .18s cubic-bezier(0.22, 1, 0.36, 1), transform .12s;
}
.searchcard__submit:hover { background: var(--brand-deep); }
.searchcard__submit:active { transform: translateY(1px); }

/* ============================================================
   REGIONAL STRIP — Fayetteville · Bentonville · Rogers · Springdale
============================================================ */

.region {
  background: var(--earth);
  color: oklch(0.86 0.04 95);
  padding: 18px 0;
  border-bottom: 1px solid oklch(0.22 0.045 145);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
}
.region__inner {
  display: flex;
  gap: var(--s-6);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.region__inner span { white-space: nowrap; }
.region__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; }

/* ============================================================
   SECTION — generic helpers
============================================================ */

.section {
  padding-top: clamp(72px, 12vw, 140px);
  padding-bottom: clamp(72px, 12vw, 140px);
}
.section--tight { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }

.section-head {
  margin-bottom: var(--s-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: end;
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr auto; }
}

.section-head__title {
  font-variation-settings: 'wdth' 92, 'wght' 700;
  font-size: var(--t-h1);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 18ch;
}
.section-head__sub {
  font-size: var(--t-body);
  color: var(--ink-muted);
  max-width: 40ch;
}
.section-head__link {
  color: var(--brand-deep);
  font-weight: 600;
  font-size: var(--t-sm);
  white-space: nowrap;
  border-bottom: 1.5px solid var(--brand);
  padding-bottom: 2px;
  align-self: end;
}
.section-head__link:hover { color: var(--brand); }

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

/* ============================================================
   FEATURED LISTINGS — real cards (correct affordance)
============================================================ */

.listings {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px)  { .listings { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .listings { grid-template-columns: repeat(3, 1fr); } }

.listing {
  display: block;
  background: transparent;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}
.listing:hover { transform: translateY(-4px); }

.listing__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  background-color: var(--paper-3);
  margin-bottom: var(--s-3);
  position: relative;
  overflow: hidden;
}
.listing__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.listing__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.listing__title {
  font-variation-settings: 'wdth' 94, 'wght' 600;
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 4px;
}
.listing__meta {
  font-size: var(--t-sm);
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
}
.listing__rate {
  font-variation-settings: 'wdth' 90, 'wght' 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.listing__rate-sub {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-muted);
}

/* ============================================================
   CATEGORIES — wide tiles, NOT card grid. Custom SVG silhouettes.
============================================================ */

.cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px)  { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } }

.cat {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-6) var(--s-5);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--paper);
  transition: background .2s;
  position: relative;
}
.cat:hover { background: var(--paper-3); }
.cat:hover .cat__svg { color: var(--brand); transform: translateX(2px); }
.cat:hover .cat__arrow { transform: translateX(4px); opacity: 1; }

@media (min-width: 720px) {
  .cat:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1100px) {
  .cat:nth-child(2n) { border-right: 1px solid var(--border); }
  .cat:nth-child(3n) { border-right: 0; }
}

/* top edge connection cleanup */
.cat:nth-child(1), .cat:nth-child(2), .cat:nth-child(3) { border-top: 0; }
@media (max-width: 1099px) {
  .cat:nth-child(3) { border-top: 1px solid var(--border); }
}
@media (max-width: 719px) {
  .cat:nth-child(2) { border-top: 1px solid var(--border); }
}

.cat__svg {
  flex: 0 0 92px;
  width: 92px;
  height: 64px;
  color: var(--ink);
  transition: color .2s, transform .2s;
}

.cat__body { flex: 1; min-width: 0; }
.cat__title {
  font-variation-settings: 'wdth' 92, 'wght' 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2px;
}
.cat__sub {
  font-size: 13px;
  color: var(--ink-muted);
}

.cat__arrow {
  width: 22px; height: 22px;
  color: var(--brand);
  opacity: 0;
  transition: opacity .2s, transform .2s;
}

/* ============================================================
   HOW IT WORKS — editorial split, not three numbered cards
============================================================ */

.how {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (min-width: 900px) {
  .how { grid-template-columns: 1.05fr 1fr; gap: var(--s-9); }
}

.how__photo {
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--earth);
  position: sticky;
  top: 96px;
}

.how__steps {
  display: flex;
  flex-direction: column;
}
.how__tabs {
  display: inline-flex;
  background: var(--paper-3);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: var(--s-7);
  width: fit-content;
}
.how__tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  border: 0;
  background: transparent;
}
.how__tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper-2);
}

.how__list { display: flex; flex-direction: column; gap: 0; }
.how__item {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-4);
  align-items: start;
}
.how__item:last-child { border-bottom: 1px solid var(--border); }
.how__num {
  font-variation-settings: 'wdth' 84, 'wght' 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
  padding-top: 4px;
}
.how__head {
  font-variation-settings: 'wdth' 92, 'wght' 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.how__body {
  font-size: var(--t-body);
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ============================================================
   OWNER SPOTLIGHT — full-bleed photo with overlaid copy
============================================================ */

.owner {
  position: relative;
  min-height: clamp(440px, 56vh, 620px);
  overflow: hidden;
  isolation: isolate;
  color: var(--paper-2);
  display: flex;
  align-items: center;
}
.owner__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 35%;
  background-color: var(--earth);
}
.owner__photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      oklch(0.18 0.045 145 / 0.88) 0%,
      oklch(0.18 0.045 145 / 0.60) 50%,
      oklch(0.18 0.045 145 / 0.20) 100%),
    linear-gradient(180deg,
      oklch(0.18 0.045 145 / 0.20) 0%,
      oklch(0.32 0.07 145 / 0.25) 100%);
}

.owner__inner { padding: var(--s-9) 0; max-width: 640px; }

.owner__kicker {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.82 0.08 130);
  margin-bottom: var(--s-5);
}
.owner__head {
  font-variation-settings: 'wdth' 84, 'wght' 800;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-5);
  color: var(--paper-2);
}
.owner__body {
  font-size: var(--t-body-lg);
  line-height: 1.5;
  color: oklch(0.92 0.012 95);
  margin-bottom: var(--s-7);
  max-width: 44ch;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--paper-2);
  font-weight: 700;
  font-size: var(--t-body);
  letter-spacing: -0.005em;
  transition: background .18s cubic-bezier(0.22, 1, 0.36, 1), transform .12s;
}
.btn-pill:hover { background: var(--brand-deep); }
.btn-pill:active { transform: translateY(1px); }

.btn-pill--ghost {
  background: transparent;
  color: var(--paper-2);
  border: 1.5px solid oklch(0.92 0.012 95 / 0.4);
}
.btn-pill--ghost:hover { background: oklch(0.92 0.012 95 / 0.12); border-color: oklch(0.92 0.012 95 / 0.7); }

.owner__ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ============================================================
   TRUST — inline row, not card grid
============================================================ */

.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 720px)  { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust { grid-template-columns: repeat(4, 1fr); } }

.trust__item {
  padding: var(--s-6) var(--s-5);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
@media (min-width: 720px) {
  .trust__item { border-right: 1px solid var(--border); }
  .trust__item:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1100px) {
  .trust__item:nth-child(2n) { border-right: 1px solid var(--border); }
  .trust__item:nth-child(4n) { border-right: 0; }
}

.trust__num {
  font-variation-settings: 'wdth' 84, 'wght' 700;
  font-size: var(--t-h2);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
}
.trust__head {
  font-variation-settings: 'wdth' 94, 'wght' 600;
  font-size: var(--t-body-lg);
  letter-spacing: -0.015em;
}
.trust__body {
  font-size: var(--t-sm);
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
============================================================ */

.footer {
  background: var(--earth-2);
  color: oklch(0.75 0.020 95);
  padding-top: var(--s-9);
  padding-bottom: var(--s-5);
  border-top: 6px solid var(--brand);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 720px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

.footer .brand-mark { color: var(--paper-2); }
.footer__tag {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  color: oklch(0.75 0.020 95);
  max-width: 30ch;
  line-height: 1.5;
}

.footer__col h4 {
  color: var(--paper-2);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.footer__col a {
  display: block;
  color: oklch(0.75 0.020 95);
  font-size: var(--t-sm);
  padding: 5px 0;
  transition: color .15s;
}
.footer__col a:hover { color: var(--paper-2); }

.footer__bottom {
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid oklch(0.30 0.04 145);
  font-size: var(--t-xs);
  color: oklch(0.62 0.018 95);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ============================================================
   Focus a11y
============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}
