:root {
    --bg: #eeece3;
    --bg-alt: #e3ddca;
    --surface: #fbfaf5;
    --ink: #2a2822;
    --ink-soft: #5c584c;
    --moss: #46543b;
    --moss-deep: #2e3a27;
    --slate: #47596c;
    --hay: #b8862a;
    --bark: #6d5138;
    --line: rgba(42, 40, 34, 0.16);
    --hill-back: #7d93a3;
    --hill-front: #5c7350;
    --sky: #e9e4d2;
    --focus: #b8862a;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #1c1f18;
      --bg-alt: #262a20;
      --surface: #232720;
      --ink: #eee9da;
      --ink-soft: #b6b0a0;
      --moss: #8fab77;
      --moss-deep: #6c8858;
      --slate: #8ba0b6;
      --hay: #dfab45;
      --bark: #b08a63;
      --line: rgba(238, 233, 218, 0.16);
      --hill-back: #3c4a55;
      --hill-front: #34432c;
      --sky: #1f2419;
    }
  }

  :root[data-theme="dark"] {
    --bg: #1c1f18;
    --bg-alt: #262a20;
    --surface: #232720;
    --ink: #eee9da;
    --ink-soft: #b6b0a0;
    --moss: #8fab77;
    --moss-deep: #6c8858;
    --slate: #8ba0b6;
    --hay: #dfab45;
    --bark: #b08a63;
    --line: rgba(238, 233, 218, 0.16);
    --hill-back: #3c4a55;
    --hill-front: #34432c;
    --sky: #1f2419;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Archivo', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

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

  h1, h2, h3 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    text-wrap: balance;
    margin: 0;
    color: var(--ink);
  }

  a { color: inherit; }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 24px;
  }

  /* ---------- header ---------- */
  header.site {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 16px;
    flex-wrap: wrap;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    text-decoration: none;
  }

  .brand svg { width: 42px; height: 42px; flex: none; }

  .navlinks {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.94rem;
  }

  .navlinks a {
    text-decoration: none;
    color: var(--ink-soft);
    padding-block: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
  }

  .navlinks a:hover,
  .navlinks a:focus-visible { color: var(--moss-deep); border-color: var(--hay); }

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

  /* ---------- hero ---------- */
  .hero {
    display: grid;
    gap: 28px;
    padding-block: 56px 0;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--moss-deep);
    font-weight: 600;
  }
  .eyebrow::before {
    content: "";
    width: 22px; height: 1px;
    background: var(--hay);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5.4vw, 4.3rem);
    line-height: 1.03;
    max-width: 14ch;
  }

  .hero .lede {
    max-width: 46ch;
    font-size: 1.14rem;
    color: var(--ink-soft);
  }

  .hero .ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 3px;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  }
  .btn:hover { transform: translateY(-1px); }

  .btn.primary { background: var(--moss-deep); color: var(--surface); }
  .btn.primary:hover { background: var(--moss); }

  .btn.ghost { border-color: var(--line); color: var(--ink); }
  .btn.ghost:hover { border-color: var(--bark); background: color-mix(in srgb, var(--bark) 10%, transparent); }

  .hero-art { width: 100%; display: block; }
  .hero-art .sun { fill: var(--hay); opacity: 0.85; }
  .hero-art .hill-back { fill: var(--hill-back); }
  .hero-art .hill-front { fill: var(--hill-front); }
  .hero-art .tree { fill: var(--moss-deep); opacity: 0.85; }
  .hero-art .sheep-body { fill: var(--surface); }
  .hero-art .sheep-head, .hero-art .sheep-leg { fill: var(--bark); }
  .hero-art .sky { fill: var(--sky); }

  /* ---------- scallop divider ---------- */
  .scallop {
    display: block;
    width: 100%;
    height: 22px;
    fill: var(--bg-alt);
  }
  .scallop.flip { transform: rotate(180deg); fill: var(--bg); }

  section { padding-block: 64px; }
  section.alt { background: var(--bg-alt); }

  .section-head {
    max-width: 62ch;
    margin-bottom: 40px;
    display: grid;
    gap: 12px;
  }
  .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
  .section-head p { color: var(--ink-soft); font-size: 1.02rem; max-width: 60ch; }

  /* ---------- about / two column ---------- */
  .split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }
  @media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

  .split p + p { margin-top: 14px; }
  .split .lede-text { color: var(--ink-soft); }

  .figure-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px;
    display: grid;
    gap: 18px;
  }
  .figure-card .stat {
    display: grid;
    gap: 2px;
  }
  .figure-card .stat b {
    font-family: 'Fraunces', serif;
    font-size: 1.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--moss-deep);
  }
  .figure-card .stat span {
    font-size: 0.85rem;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
  }
  .figure-card .stats-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
  }

  /* ---------- breed feature list ---------- */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
  }
  @media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

  .feature {
    background: var(--surface);
    padding: 28px 26px;
    display: grid;
    gap: 12px;
    align-content: start;
  }
  .feature svg { width: 30px; height: 30px; stroke: var(--moss-deep); }
  .feature h3 { font-size: 1.08rem; }
  .feature p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

  /* ---------- apartment grid ---------- */
  .apt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  @media (max-width: 820px) { .apt-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .apt-grid { grid-template-columns: 1fr; } }

  .apt-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px 22px;
    display: grid;
    gap: 8px;
  }
  .apt-num {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    color: var(--hay);
  }
  .apt-card h3 { font-size: 1.15rem; }
  .apt-card p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }

  .chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.84rem;
    color: var(--ink-soft);
  }
  .chip b { color: var(--ink); font-weight: 600; }

  .booking-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--ink-soft);
  }
  .addr-line a, .booking-note a {
    color: var(--moss-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* ---------- landscape banner ---------- */
  .banner {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .banner svg { display: block; width: 100%; height: auto; }
  .banner-copy { padding: 30px; background: var(--surface); }

  /* ---------- contact ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  @media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

  .addr-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 30px;
    display: grid;
    gap: 18px;
  }
  .addr-line { display: flex; gap: 12px; align-items: flex-start; }
  .addr-line svg { width: 20px; height: 20px; flex: none; stroke: var(--moss-deep); margin-top: 2px; }
  .addr-line strong { display: block; font-size: 0.98rem; }
  .addr-line span { color: var(--ink-soft); font-size: 0.92rem; }

  .note-card {
    border: 1px dashed var(--line);
    border-radius: 4px;
    padding: 24px;
    font-size: 0.92rem;
    color: var(--ink-soft);
  }

  footer {
    border-top: 1px solid var(--line);
    padding-block: 32px;
    font-size: 0.85rem;
    color: var(--ink-soft);
  }
  .foot-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }

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

  /* ---------- photos ---------- */
  .hero-photo {
    width: 100%;
    aspect-ratio: 1200 / 380;
    overflow: hidden;
  }
  .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

  .photo-card {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 5;
  }
  .photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; }

  .photo-gallery {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 12px;
  }
  @media (max-width: 760px) { .photo-gallery { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .photo-gallery { grid-template-columns: 1fr; } }
  .gallery-item {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
  }
  .gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }

  .banner-photo { overflow: hidden; }
  .banner-photo img { display: block; width: 100%; height: auto; }

  /* ---------- legal pages ---------- */
  .legal { padding-block: 56px 72px; }
  .legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
  .legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
  .legal p, .legal li { max-width: 68ch; color: var(--ink-soft); }
  .legal a { color: var(--moss-deep); }
  .foot-row a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
  .foot-links { display: flex; gap: 18px; }

  .hero-badge { display: none; }
  @media (min-width: 860px) {
    .hero { grid-template-columns: 1fr auto; align-items: center; padding-bottom: 40px; }
    .hero-badge { display: block; width: 280px; height: auto; margin-right: 24px; }
  }
