/* Ducks in a Row — site styles */

@font-face {
  font-family: "Lilita One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lilita-one-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
}

:root {
  --ink: #2e1505;
  --ink-soft: #5b4636;
  --white: #ffffff;
  --sky: #a4d1e3;
  --sky-soft: #eaf5f9;
  --window: #70979e; /* van window blue from the hero art */
  --yellow: #ffd500;
  --yellow-hover: #ffe033;
  --gold: #e8c832;
  --duck-pale: #ffee99;
  --cream: #fff8e7;
  --sand: #f7eee2;
  --beak: #ff9c31;
  --line: #ece2d5;

  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 1px 2px rgba(46, 21, 5, 0.04), 0 8px 24px rgba(46, 21, 5, 0.06);
  --gutter: clamp(16px, 4vw, 32px);
  --section-space: clamp(64px, 9vw, 112px);
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Components set their own display, so make sure the hidden attribute still wins */
[hidden] {
  display: none !important;
}

/* !important so component styles (like .field input) can't resize it */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

/* Brand icons. Solid icons use --solid (brown); bulk icons use a brown body
   (--duo) with yellow details (color). Swap styles with icons/swap-icons.py. */
.icon--brand,
.trust__item .icon,
.service__icon .icon,
.feature__icon .icon,
.areas .icon,
.pricing-note .icon,
.reviews-badge .icon,
.btn--outline .icon {
  color: var(--yellow);
  --duo: var(--ink);
  --duo-op: 1;
  --solid: var(--ink);
}

/* ---------- Scroll reveal (assets/js/reveal.js) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(12px) scale(0.95);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--yellow-hover);
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
}

.btn--dark:hover {
  background: #4a2710;
}

.btn--ghost {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.35);
}

.btn--sm {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 0.9375rem;
}

/* ---------- Header ---------- */

/* The frosted background sits on a pseudo-element rather than the header
   itself, so the mobile menu panel inside it can blur the page behind it too. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

.site-header::before,
.site-nav__links {
  --frost: rgba(255, 255, 255, 0.94);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--frost);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo img {
  width: 36px;
  height: auto;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav__links {
  display: flex;
  gap: 4px;
  margin: 0 8px 0 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current] {
  background: var(--sand);
}

/* Links that only show in the mobile menu */
.site-nav__more {
  display: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  text-decoration: underline;
}

.header-phone .icon {
  width: 18px;
  height: 18px;
}

.btn-label-short {
  display: none;
}

/* Hamburger: three bars that turn into an X */
.nav-toggle {
  display: none;
  order: 3;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--line);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Below 1200px the links move into a drop-down panel under the header */
@media (max-width: 1199px) {
  .nav-toggle:not([hidden]) {
    display: grid;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 4px 16px;
    max-height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 12px max(var(--gutter), (100% - 1200px) / 2 + var(--gutter)) 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--frost);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(46, 21, 5, 0.12);
  }

  .site-header.is-menu-open .site-nav__links {
    display: grid;
  }

  .site-nav__links a {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 1.125rem;
  }

  .site-nav__more {
    display: block;
  }
}

@media (max-width: 767px) {
  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: var(--sand);
  }

  .header-phone__number {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .site-header__inner {
    gap: 14px;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    width: 30px;
  }

  /* Scales with the screen so the name never runs into the button */
  .logo__text {
    font-size: clamp(0.9375rem, 4.3vw, 1.1875rem);
  }

  .site-header .btn--sm {
    padding-inline: 16px;
  }

  .btn-label-long {
    display: none;
  }

  .btn-label-short {
    display: inline;
  }
}

/* Phones: the call button drops out so the logo has room (Contact Us in the menu links to the number) */
@media (max-width: 479px) {
  .site-nav .header-phone {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-nav {
    gap: 6px;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    width: 26px;
  }

  .site-header .btn--sm {
    padding-inline: 12px;
    font-size: 0.875rem;
  }
}

@media (max-width: 359px) {
  .site-header__inner {
    gap: 10px;
  }

  .site-header .btn--sm {
    padding-inline: 10px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

/* ---------- Hero ---------- */

/*
  The hero is one continuous beach scene. The illustration (1536 × 1024) is
  cropped at y 930, just below the driveway, and sits bottom-right; its sky,
  ocean (y 590–701) and sand (y 699–930) bands are
  extended across the full width behind the copy, and its left edge fades out
  so the two meet without a seam.
*/
.hero {
  --sky-top: #a4d1e3;
  --sky-horizon: #b3ddeb;
  --art-w: 100vw;
  --art-h: calc(var(--art-w) * 2 / 3);
  /* Visible height once the empty foreground sand is cropped off */
  --art-vis: calc(var(--art-w) * 930 / 1536);
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 6vw, 72px);
  background: var(--sky-top);
}

.hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__ducks {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 1.6vw, 22px);
  margin-bottom: clamp(14px, 2.4vw, 28px);
}

.hero__ducks img {
  width: clamp(40px, 5vw, 64px);
  height: auto;
}

.hero__ducks img:nth-child(1) {
  transform: rotate(-5deg) translateY(4px);
}

.hero__ducks img:nth-child(3) {
  transform: rotate(5deg) translateY(4px);
}

.hero h1 {
  max-width: 11.5em;
  margin-inline: auto;
  font-size: clamp(2.125rem, 6.4vw, 5rem);
  line-height: 1.02;
}

.hero__lede {
  max-width: 36rem;
  margin: clamp(14px, 2vw, 22px) auto 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
}

/* The top ~12% of the illustration is empty sky, so tuck it under the copy. */
.hero__art {
  position: relative;
  z-index: 1;
  width: var(--art-w);
  height: var(--art-vis);
  overflow: hidden;
  margin-top: calc(var(--art-h) * -0.1);
}

.hero__art ducks-hero,
.hero__art ducks-hero > img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .hero__actions .btn {
    flex: 1 1 100%;
    max-width: 340px;
  }
}

@media (min-width: 960px) {
  .hero {
    --art-w: min(64vw, 1180px);
    --ground: calc(var(--art-w) * 340 / 1536);
    display: flex;
    align-items: center;
    /* Fill the screen below the header, leaving the trust badges peeking in
       at the bottom. Capped so very tall screens don't get a huge empty sky. */
    min-height: clamp(
      calc(var(--art-vis) + 24px),
      calc(100svh - var(--header-h) - 110px),
      calc(var(--art-vis) + 200px)
    );
    padding-block: 64px calc(var(--ground) + 40px);
    /* Same sky gradient as the artwork, aligned to its top and horizon. */
    background: linear-gradient(
      to bottom,
      var(--sky-top) calc(100% - var(--art-vis)),
      var(--sky-horizon) calc(100% - var(--art-w) * 228 / 1536)
    );
  }

  /* Ocean and sand bands continue the scene under the copy. */
  .hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: var(--ground);
    background:
      linear-gradient(#70b3cc, #a6d6df) top / 100% calc(var(--art-w) * 111 / 1536) no-repeat,
      linear-gradient(#fff0d4, #f6e8d3) bottom / 100% calc(var(--art-w) * 231 / 1536) no-repeat;
  }

  .hero__copy {
    text-align: left;
  }

  .hero__copy > * {
    max-width: min(46%, 600px);
  }

  .hero__ducks {
    justify-content: flex-start;
  }

  .hero h1 {
    margin-inline: 0;
    font-size: clamp(2.75rem, 4.4vw, 4.5rem);
  }

  .hero__lede {
    margin-inline: 0;
  }

  .hero__copy > .hero__actions {
    max-width: none;
    justify-content: flex-start;
  }

  .hero__art {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
    mask-image: linear-gradient(to right, transparent 0, #000 22%);
  }
}

/* Compact hero (vacation rentals): a shorter scene tucked to the right on
   desktop. Below 960px, where the art would stack under the copy, it's hidden. */
@media (max-width: 959px) {
  .hero--compact {
    padding-bottom: clamp(48px, 9vw, 72px);
    background: linear-gradient(var(--sky) 0, var(--sky-soft) 100%);
  }

  .hero--compact .hero__art {
    display: none;
  }
}

@media (min-width: 960px) {
  .hero--compact {
    --art-w: min(54vw, 940px);
    min-height: calc(var(--art-vis) + 24px);
    padding-top: 48px;
  }

  .hero--compact h1 {
    font-size: clamp(2.5rem, 3.8vw, 3.75rem);
  }

  .hero--compact .hero__copy > :not(.hero__actions) {
    max-width: min(50%, 560px);
  }
}

/* Hero entrance: the scene fades in, then the copy rises in one piece at a time.
   "backwards" fill only applies during each delay, so button hover/press
   transforms behave normally once the animation ends. */
@keyframes hero-fade {
  from { opacity: 0; }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__art {
    animation: hero-fade 0.4s ease-out backwards;
  }

  .hero h1,
  .hero__lede,
  .hero__actions > * {
    animation: hero-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .hero h1 { animation-delay: 0.1s; }
  .hero__lede { animation-delay: 0.18s; }
  .hero__actions > :nth-child(1) { animation-delay: 0.26s; }
  .hero__actions > :nth-child(2) { animation-delay: 0.32s; }
}

/* ---------- Trust strip ---------- */

.trust {
  padding: clamp(24px, 3.5vw, 40px) 0 0;
  background: linear-gradient(#f6e8d3, var(--white) 100%);
}

.trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.25;
}

.trust__item .icon {
  width: 28px;
  height: 28px;
}

.trust__item + .trust__item::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 18px;
  border-radius: 50%;
  background: var(--yellow);
}

@media (max-width: 640px) {
  .trust__list {
    flex-direction: column;
    gap: 14px;
  }

  .trust__item + .trust__item::before {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-space);
}

.section--gold {
  background: var(--gold);
}

.section--sky {
  background: var(--sky-soft);
}

.section--sand {
  background: var(--sand);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow img {
  width: 22px;
  height: auto;
}

.section-head h2,
.split h2 {
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
}

.section-head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 56px) clamp(24px, 3vw, 40px);
}

.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 20px;
  background: var(--yellow);
}

.service__icon .icon {
  width: 34px;
  height: 34px;
}

.service h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
}

.service p {
  color: var(--ink-soft);
}

.service__link {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 800;
  text-decoration: none;
}

.service__link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Split layout (vacation rentals) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split p {
  margin-top: 18px;
  font-size: 1.125rem;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
}

.checklist .check {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
}

.checklist .check .icon {
  width: 18px;
  height: 18px;
  --duo: var(--yellow);
  --duo-op: 1;
}

.split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quote-card {
  position: relative;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(46, 21, 5, 0.12);
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.5;
}

.quote-card figcaption {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  font-weight: 800;
}

.quote-card figcaption span {
  font-weight: 500;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split .quote-card {
    margin-top: 12px;
  }
}

/* ---------- Why us ---------- */

.extras-cta {
  margin-top: clamp(32px, 4vw, 48px);
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sky-soft);
}

.feature__icon .icon {
  width: 28px;
  height: 28px;
  --solid: var(--window);
  --duo: var(--window);
}

.feature h3 {
  padding-top: 4px;
  font-size: 1.375rem;
}

.feature p {
  margin-top: 4px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}

.step h3 {
  font-size: 1.5rem;
}

.step p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 48rem;
  margin: clamp(32px, 4vw, 44px) auto 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px dashed #b7d9e7;
  color: var(--ink-soft);
}

.pricing-note strong {
  color: var(--ink);
}

.pricing-note .icon {
  margin-top: 2px;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Service area ---------- */

.areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.areas li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
}

.areas .icon {
  width: 20px;
  height: 20px;
}

.areas-note {
  margin-top: 28px;
  text-align: center;
  color: var(--ink-soft);
}

.areas-note a {
  font-weight: 800;
  color: var(--ink);
}

/* ---------- Reviews ---------- */

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sand);
  font-weight: 800;
  text-decoration: none;
}

.reviews-badge:hover {
  text-decoration: underline;
}

.reviews-badge .icon {
  width: 20px;
  height: 20px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.review__mark {
  width: 34px;
  height: auto;
  margin-bottom: 16px;
}

.review blockquote {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

.review figcaption {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 800;
}

.review figcaption span {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .reviews {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1.125rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e1505' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--yellow);
}

.faq details p {
  padding: 0 4px 24px;
  color: var(--ink-soft);
  max-width: 66ch;
}

/* ---------- Request / estimate ---------- */

/* The SMS disclosure runs full width under both columns, directly below the
   "Call or text" number (the last item in the intro column). */
.request {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "intro card"
    "sms sms";
  gap: 14px clamp(32px, 5vw, 64px);
  align-items: start;
}

.request__intro { grid-area: intro; }
.request__card { grid-area: card; }
.request > .sms-disclosure { grid-area: sms; }

.request h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.request__intro p {
  margin-top: 18px;
  font-size: 1.125rem;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: clamp(0.9375rem, 4.2vw, 1.125rem);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-list .icon-wrap {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
}

.contact-list .icon {
  width: 20px;
  height: 20px;
}

.request > .sms-disclosure {
  margin: 10px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Softer than body text so the notice reads as fine print; still passes AA contrast on gold and sky */
.sms-disclosure {
  color: var(--ink-soft);
}

.contact-list .sms-disclosure a,
.sms-disclosure a {
  display: inline;
  font-size: inherit;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
}

.request__card {
  min-height: 360px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(46, 21, 5, 0.12);
}

.request__start {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 280px;
  text-align: center;
}

.request__start img {
  width: 72px;
  height: auto;
}

.request__start h3 {
  font-size: 1.75rem;
}

.request__start p {
  max-width: 30rem;
  color: var(--ink-soft);
}

.request__start .btn {
  margin-top: 8px;
}

.btn--lg {
  min-height: 60px;
  padding-inline: 36px;
  font-size: 1.125rem;
}

/* ---------- Estimate pop-up ---------- */

html:has(.estimate-dialog[open]) {
  overflow: hidden;
}

.estimate-dialog {
  width: min(100% - 32px, 820px);
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.estimate-dialog::backdrop {
  background: rgb(46 21 5 / 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.estimate-dialog__panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 24px 60px rgb(46 21 5 / 0.3);
}

.estimate-dialog[open] .estimate-dialog__panel {
  animation: dialog-in 0.22s ease-out;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .estimate-dialog[open] .estimate-dialog__panel {
    animation: none;
  }
}

.estimate-dialog__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 24px;
  background: var(--sky);
}

.estimate-dialog__header img {
  width: 44px;
  height: auto;
  flex: none;
}

.estimate-dialog__header div {
  flex: 1;
  min-width: 0;
}

.estimate-dialog__header h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
}

.estimate-dialog__header p {
  margin-top: 2px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.estimate-dialog__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.estimate-dialog__close:hover {
  background: var(--cream);
}

.estimate-dialog__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Jobber's spinner is absolutely positioned inside this box while loading. */
.estimate-dialog__body {
  position: relative;
  flex: 1;
  min-height: 420px;
  padding: 12px clamp(8px, 2vw, 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.estimate-dialog__footer {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  text-align: center;
  color: var(--ink-soft);
}

.estimate-dialog__footer a {
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 640px) {
  .estimate-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
  }

  .estimate-dialog__panel {
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .estimate-dialog__header {
    padding: 14px 12px 14px 16px;
  }

  .estimate-dialog__header img {
    width: 36px;
  }
}

/* ---------- Request page ---------- */

.request-page {
  padding-block: clamp(40px, 6vw, 80px);
  background: linear-gradient(var(--sky) 0, var(--sky-soft) 420px, var(--white) 100%);
}

/* Desktop: intro and contact details on the left, form on the right.
   Phones: intro, then the form, then contact details. */
.request-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  grid-template-areas:
    "intro form"
    "contact form";
  grid-template-rows: auto 1fr;
  gap: 28px clamp(32px, 5vw, 56px);
  align-items: start;
}

.request-page__intro { grid-area: intro; }
.request-page__contact { grid-area: contact; }
.request-page__form { grid-area: form; }

.request-page__contact .contact-list {
  margin-top: 0;
}

.request-page h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.request-page__intro > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.125rem;
}

.request-page__contact .sms-disclosure {
  margin: 10px 0 6px;
  max-width: 52ch;
  font-size: 0.875rem;
  line-height: 1.5;
}

.request-page__form {
  position: relative;
  min-height: 480px;
  padding: clamp(8px, 2vw, 20px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 40px rgb(46 21 5 / 0.12);
}

@media (max-width: 900px) {
  .request-page__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "form"
      "contact";
    grid-template-rows: auto;
  }
}

@media (max-width: 860px) {
  .request {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "sms"
      "card";
  }

  .request > .sms-disclosure {
    margin-top: 0;
    margin-bottom: 18px;
  }
}

/* ---------- Page hero (hiring, blog, property managers) ---------- */

.page-hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px);
  background: linear-gradient(var(--sky) 0, var(--sky-soft) 100%);
}

.page-hero__inner {
  max-width: 48rem;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
}

.page-hero__lede {
  margin-top: 18px;
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
}

.page-hero .btn {
  margin-top: 28px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero .page-hero__actions .btn {
  margin-top: 0;
}

/* Blog posts: line the title up with the article column below it */
.page-hero--article .page-hero__inner {
  max-width: 720px;
  margin-inline: auto;
}

.page-hero--article h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

/* Round "back" button above a blog post's category */
.back-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.back-link:hover {
  background: var(--cream);
  transform: translateX(-2px);
}

.back-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* A card with a soft shadow, used for the dates and application forms */
.card {
  --card-pad: clamp(22px, 4vw, 40px);
  padding: var(--card-pad);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 40px rgb(46 21 5 / 0.12);
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 28px;
}

.form fieldset {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form legend {
  margin-bottom: 4px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label,
.field__label {
  font-weight: 800;
  font-size: 0.9375rem;
}

.field__optional {
  font-weight: 500;
  color: var(--ink-soft);
}

.field__hint {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e1505' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #d9c9b4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgb(255 213 0 / 0.45);
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
}

.field__error {
  font-size: 0.875rem;
  font-weight: 700;
  color: #b3261e;
}

.field__error:empty {
  display: none;
}

/* Checkbox rows (SMS consent, availability) */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  cursor: pointer;
}

.check-row input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.check-row strong {
  font-weight: 800;
}

/* Checkboxes inside a .field shouldn't pick up the text-input styles above */
.field label.check-row {
  font-weight: 500;
}

.field .check-row input {
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.field .check-row input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.form .sms-disclosure {
  margin-top: -6px;
  padding-left: 34px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* File upload (resume). The real input is visually hidden; the label is the drop zone. */
.file-drop {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px 16px;
  border: 2px dashed #d9c9b4;
  border-radius: var(--radius-md);
  background: var(--cream);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.file-drop:hover,
.file-drop.is-dragging {
  border-color: var(--ink);
  background: var(--duck-pale);
}

input:focus-visible + .file-drop {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

input[aria-invalid="true"] + .file-drop {
  border-color: #b3261e;
}

.file-drop .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
}

.file-drop__text strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.file-drop__hint {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.file-chosen {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 14px;
  background: var(--sky-soft);
  font-weight: 700;
}

.file-chosen span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-chosen .date-list__remove {
  flex: none;
}

/* Spam trap: hidden from people, visible to bots */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.form__footer p {
  flex: 1 1 16rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.form__status {
  padding: 14px 18px;
  border-radius: 14px;
  background: #fdecea;
  color: #8c1d18;
  font-weight: 700;
}

.form__status:empty {
  display: none;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(24px, 6vw, 56px) 8px;
  text-align: center;
}

.form-success img {
  width: 76px;
  height: auto;
}

.form-success h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.form-success p {
  max-width: 30rem;
  color: var(--ink-soft);
}

.form-success .btn {
  margin-top: 8px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Vacation rentals: turnover dates ---------- */

.dates-page {
  padding-block: clamp(40px, 6vw, 80px) var(--section-space);
  background: linear-gradient(var(--sky) 0, var(--sky-soft) 420px, var(--white) 100%);
}

/* Intro centered above a wide form card */
.dates-page__intro {
  max-width: 46rem;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.dates-page h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.dates-page__intro > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.125rem;
}

.dates-page__form {
  max-width: 1040px;
  margin-inline: auto;
}

/* One block per rental: property, town, and dates together. Each block's body
   is measured as a container so the date panels can go side by side when wide.
   (The container sits on the body, not the whole list: with it on the list,
   Chrome skipped drawing a block whose header text changed.)
   With more than one rental, each block is an accordion: its header shows the
   name and date count, and only the block being edited stays open. */
.properties {
  display: grid;
  gap: 16px;
}

.property {
  display: grid;
  border-radius: var(--radius-md);
  background: var(--sky-soft);
}

.property__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(12px, 2.5vw, 16px) clamp(16px, 3vw, 22px);
}

.property__heading {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: inherit;
  text-transform: none;
}

.property__toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.property__toggle:disabled {
  cursor: default;
}

.property__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
}

/* "Beach House · 3 dates", shown while a block is closed */
.property__summary {
  grid-row: 2;
  overflow: hidden;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property__toggle[aria-expanded="true"] .property__summary,
.property__toggle:disabled .property__summary {
  display: none;
}

.property__chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.property__toggle[aria-expanded="true"] .property__chevron {
  transform: rotate(180deg);
}

.property__toggle:disabled .property__chevron {
  display: none;
}

.property__remove {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.property__remove:hover {
  background: var(--sand);
}

.property__remove svg,
.add-property svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.property__body {
  container-type: inline-size;
  display: grid;
  gap: 14px;
  padding: 0 clamp(16px, 3vw, 22px) clamp(16px, 3vw, 22px);
}

.add-property {
  justify-self: start;
}

.add-property svg {
  flex: none;
}

.property .cal {
  background: var(--white);
}

/* Long lists scroll inside the block instead of stretching the page.
   turnover-dates.js adds is-fade-top / is-fade-bottom while there's more to
   scroll, which fades that edge out. */
.property .date-list {
  /* max-content rows: in a height-capped grid, wrapped rows would get squeezed */
  grid-auto-rows: max-content;
  align-content: start;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.property .date-list li,
.property .date-summary {
  background: var(--white);
}

.property .date-chips {
  max-height: 140px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.is-fade-bottom {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent);
}

.is-fade-top {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 56px);
  mask-image: linear-gradient(to bottom, transparent, #000 56px);
}

.is-fade-top.is-fade-bottom {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 56px, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 56px, #000 calc(100% - 56px), transparent);
}

/* Phones: each rental runs edge to edge across the form card, with dividers,
   and the remove button shrinks to just its icon */
@media (max-width: 640px) {
  .properties {
    gap: 0;
    margin-inline: calc(-1 * var(--card-pad));
  }

  .property {
    border-top: 1px solid rgb(46 21 5 / 0.1);
    border-radius: 0;
  }

  .property:last-child {
    border-bottom: 1px solid rgb(46 21 5 / 0.1);
  }

  .property__head,
  .property__body {
    padding-inline: var(--card-pad);
  }

  .property__remove {
    width: 40px;
    padding: 0;
  }

  .property__remove-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .add-property {
    justify-self: stretch;
  }
}

/* Each date panel: calendar (or paste box) with the dates beside it when
   there's room, or stacked with a gap on narrow screens */
.date-panel {
  display: grid;
  gap: 14px;
  align-items: start;
}

.date-side {
  display: grid;
  gap: 8px;
}

.date-empty--paste {
  display: none;
}

@container (min-width: 640px) {
  .date-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
  }

  /* The picked dates fill exactly the calendar's height and scroll inside it */
  .date-side:has(> .date-list) {
    position: relative;
    align-self: stretch;
  }

  .property .date-list {
    position: absolute;
    inset: 0;
    max-height: none;
  }

  .property .date-chips {
    max-height: 340px;
  }

  .date-empty--paste {
    display: block;
  }
}

/* Calendar / paste tabs */
.date-tabs {
  display: inline-flex;
  justify-self: start;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--sand);
}

.date-tabs button {
  min-height: 44px;
  padding: 8px 18px;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
}

.date-tabs button[aria-selected="true"] {
  background: var(--white);
  box-shadow: var(--shadow);
}

.date-panel[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .date-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-self: stretch;
  }
}

/* Month calendar */
.cal {
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cal__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 4.5vw, 1.375rem);
  white-space: nowrap;
  text-transform: uppercase;
}

.cal__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
}

.cal__nav:hover:not(:disabled) {
  background: var(--duck-pale);
}

.cal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}

.cal__dow {
  padding: 4px 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cal__day {
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cal__day:hover:not(:disabled) {
  background: var(--sand);
}

.cal__day[aria-pressed="true"] {
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.cal__day:disabled {
  color: #c9bcad;
  cursor: default;
}

.cal__day.is-today {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Picked dates */
.date-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.date-list li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  min-height: 56px;
  padding: 8px 56px 8px 16px;
  border-radius: 14px;
  background: var(--cream);
}

.date-list__date {
  flex: 1 1 10rem;
  font-weight: 800;
}

.date-list .check-row {
  font-size: 0.875rem;
}

/* Pinned to the right so a row stays short when its checkbox wraps */
.date-list .date-list__remove {
  position: absolute;
  top: 50%;
  right: 10px;
  translate: 0 -50%;
}

.date-list__remove {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.date-list__remove:hover {
  background: var(--sand);
}

.date-list__remove svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.date-empty {
  padding: 14px 16px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* Dates recognized in a pasted list */
.date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.date-chips li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--duck-pale);
  font-size: 0.875rem;
  font-weight: 700;
}

.date-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--sky-soft);
  font-weight: 700;
}

.date-summary .icon {
  width: 20px;
  height: 20px;
  --solid: var(--window);
}

/* ---------- Hiring ---------- */

/* The job listing: one simple card that mirrors the Indeed post */
.listing {
  max-width: 860px;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
}

.listing__head,
.listing__block {
  padding: clamp(22px, 4vw, 40px);
}

.listing__block {
  border-top: 1px solid var(--line);
}

.listing__head h2 {
  font-size: clamp(2.125rem, 4.6vw, 3.25rem);
}

.listing__company {
  margin-top: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.listing__pay {
  margin-top: 6px;
  color: var(--ink-soft);
}

.listing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.listing h3 {
  font-size: 1.5rem;
}

.listing__details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px 28px;
  margin: 18px 0 0;
}

.listing__details dt {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.listing__details dd {
  margin: 4px 0 0;
  font-weight: 700;
  line-height: 1.4;
}

.listing__desc > * + * {
  margin-top: 14px;
}

.listing__desc p,
.listing__desc li {
  line-height: 1.65;
}

.listing__desc p {
  color: var(--ink-soft);
}

.listing__desc strong {
  color: var(--ink);
}

.listing__desc .listing__subtitle {
  font-weight: 800;
  color: var(--ink);
}

.listing__desc h4 {
  margin-top: 26px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.listing__desc ul {
  margin-block: 8px 0;
  padding-left: 1.25em;
  color: var(--ink-soft);
}

.listing__desc li + li {
  margin-top: 6px;
}

.listing__desc li::marker {
  color: var(--beak);
}

.listing__desc a {
  font-weight: 700;
  color: var(--ink);
}

.job-note {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--ink-soft);
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.apply__intro h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.apply__intro > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.125rem;
}

@media (max-width: 860px) {
  .apply {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Blog ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgb(46 21 5 / 0.12);
}

.post-card__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--duck-pale);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-card h2 {
  font-size: 1.625rem;
}

/* The title link covers the whole card */
.post-card h2 a {
  text-decoration: none;
}

.post-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.post-card p {
  color: var(--ink-soft);
}

.post-card__meta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Article */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 20px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.article {
  padding-block: clamp(40px, 6vw, 72px) var(--section-space);
}

/* The container's side padding sits inside this width, so add it back to
   keep the text column exactly as wide as the title above (720px). */
.article__inner {
  max-width: calc(720px + 2 * var(--gutter));
  margin-inline: auto;
}

.article__inner > * + * {
  margin-top: 18px;
}

.article h2 {
  margin-top: 48px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.article h3 {
  margin-top: 32px;
  font-size: 1.375rem;
}

.article p,
.article li {
  font-size: 1.125rem;
  line-height: 1.7;
}

.article p {
  color: var(--ink-soft);
}

.article a:not(.btn) {
  font-weight: 700;
  color: var(--ink);
}

.article .checklist {
  margin: 18px 0 0;
}

.article .checklist li {
  font-weight: 500;
  line-height: 1.5;
}

.article .checklist li strong {
  font-weight: 800;
}

.article .pricing-note {
  margin: 32px 0 0;
}

.article-cta {
  margin-top: 56px !important;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--gold);
  text-align: center;
}

.article-cta h2 {
  margin: 0;
}

.article-cta p {
  margin: 12px auto 0;
  max-width: 34rem;
  color: var(--ink);
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Simple call-to-action band at the end of a page */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
}

.cta-band p {
  margin: 16px auto 0;
  max-width: 36rem;
  font-size: 1.125rem;
}

.cta-band .btn {
  margin-top: 28px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.cta-band__actions .btn {
  margin-top: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(56px, 7vw, 80px) 0 32px;
  background: var(--ink);
  color: var(--cream);
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* The brand block gets its own row, with the four link columns spread out below it. */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 40px 32px;
}

/* Logo with the badge under it on the left, the one-liner on the right.
   On phones all three stack, left-aligned. */
.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "logo  about"
    "badge about";
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 14px 32px;
  grid-column: 1 / -1;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 248, 231, 0.16);
}

.footer-brand .logo {
  grid-area: logo;
}

.footer-brand .footer-badge {
  grid-area: badge;
  justify-self: start;
  margin-top: 0;
}

.footer-brand .footer-about {
  grid-area: about;
  justify-self: end;
  max-width: 36rem;
  margin-top: 0;
  text-align: right;
  text-wrap: pretty;
}

.site-footer .logo {
  color: var(--cream);
}

.footer-about {
  margin-top: 16px;
  max-width: 22rem;
  color: rgba(255, 248, 231, 0.78);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 213, 0, 0.14);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.875rem;
}

.footer-badge .icon {
  width: 18px;
  height: 18px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1.125rem;
  color: var(--yellow);
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 248, 231, 0.85);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 231, 0.16);
  font-size: 0.875rem;
  color: rgba(255, 248, 231, 0.7);
}

.footer-bottom ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-brand {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "logo"
      "badge"
      "about";
  }

  .footer-brand .footer-about {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ---------- Legal pages ---------- */

.legal {
  padding-block: clamp(48px, 7vw, 88px);
}

.legal__inner {
  max-width: 760px;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.legal .updated {
  margin-top: 12px;
  color: var(--ink-soft);
}

.legal h2 {
  margin-top: 44px;
  font-size: 1.625rem;
}

.legal p,
.legal ul {
  margin-top: 14px;
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  font-weight: 700;
  color: var(--ink);
}

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

.not-found {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding-block: 80px;
  background: var(--sky);
  text-align: center;
}

.not-found h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

.not-found p {
  margin: 16px auto 28px;
  max-width: 30rem;
  font-size: 1.125rem;
}

.not-found .hero__ducks img:nth-child(2) {
  transform: rotate(-12deg) translate(-6px, 6px);
}
