/* The Kept House — Bones Property Maintenance concept.
   Quiet Florida luxury: burgundy-black fields, natural photography
   (v3 — the duotone grade was removed at Eric's direction; burgundy
   now lives in the design, not in the photos),
   Libre Caslon serif, burgundy rationed as the single accent. */

:root {
  --ink: #14090c;
  --ink-2: #1d0d12;
  --bone: #efe6d4;
  --bone-dim: rgba(239, 230, 212, 0.68);
  --bone-faint: rgba(239, 230, 212, 0.45);
  --line: rgba(239, 230, 212, 0.16);
  --burgundy: #7c2231;
  --burgundy-deep: #47121e;
  --burgundy-lift: #dc939f;
  --gutter: clamp(20px, 5.6vw, 72px);
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 var(--gutter);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-head.scrolled {
  background: rgba(20, 9, 12, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.24em;
  color: var(--bone);
}
.brand-mark {
  width: 10px; height: 10px;
  background: var(--burgundy-lift);
  transform: rotate(45deg);
  flex: none;
}
.head-right {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}
.head-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 2px;
  text-decoration: none;
  color: var(--bone);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.55);
}
.head-call__icon { color: var(--burgundy-lift); flex: none; }
.head-call:hover .head-call__num { border-bottom-color: var(--burgundy-lift); }
.head-call__num { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color 0.25s ease; }
/* phone width: the number's full text would crowd the wordmark + MENU
   anchors, so the header carries a tappable call glyph; the number
   itself is on screen in the hero button, the call close, and the footer */
@media (max-width: 719px) {
  .head-right { gap: 14px; }
  .head-call__num { display: none; }
  .head-call__icon { width: 20px; height: 20px; }
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 2px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
}
.menu-toggle__bars { display: inline-flex; flex-direction: column; gap: 6px; }
.menu-toggle__bars span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--bone);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- menu sheet ---------- */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  padding: 130px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
}
.menu-sheet[hidden] { display: none; }
.menu-sheet__nav { display: flex; flex-direction: column; }
.menu-sheet__nav a {
  font-family: var(--serif);
  font-size: clamp(30px, 8.4vw, 44px);
  line-height: 1.25;
  text-decoration: none;
  color: var(--bone);
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.menu-sheet__nav a:first-child { border-top: 1px solid var(--line); }
.menu-sheet__foot {
  margin-top: auto;
  color: var(--bone-faint);
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.menu-sheet__call {
  color: var(--bone);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid var(--burgundy-lift);
  padding-bottom: 2px;
}

/* ---------- shared ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy-lift);
}
.eyebrow--dim { color: var(--bone-faint); }
.eyebrow--pale { color: rgba(239, 230, 212, 0.75); }
.rule { width: 64px; height: 1px; background: var(--line); position: relative; }
.rule--accent::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 1px;
  background: var(--burgundy-lift);
}
.section-head { padding: 0 var(--gutter); margin-bottom: 56px; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.12;
  margin-top: 14px;
}

/* reveal (JS-gated: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__shade {
  position: absolute; inset: 0;
  /* v3: NEUTRAL dark scrim (was burgundy-black in the duotone passes) —
     the natural photograph keeps its own color; the scrim only grounds text */
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.28) 30%,
    rgba(0, 0, 0, 0.55) 56%,
    rgba(0, 0, 0, 0.80) 80%,
    rgba(0, 0, 0, 0.94) 100%);
}
/* text-over-photo grounding: the whole hero text block sits on the
   scrim; a soft shadow keeps small tracked type readable
   where the photograph stays busy behind it */
.hero .eyebrow {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.55);
}
.hero__name, .hero__sub {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero__line, .hero__owner {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.hero__inner {
  position: relative;
  padding: 0 var(--gutter) 64px;
  width: 100%;
}
.hero__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 19vw, 118px);
  line-height: 1.02;
  margin-top: 16px;
}
.hero__sub {
  font-family: var(--serif);
  font-size: clamp(19px, 5.4vw, 27px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--bone);
}
.hero .rule { margin: 30px 0 24px; background: rgba(239, 230, 212, 0.3); }
.hero__line {
  font-family: var(--serif);
  font-size: clamp(21px, 6vw, 28px);
  line-height: 1.35;
}
.hero__owner {
  margin-top: 12px;
  color: var(--bone-dim);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
}
.btn {
  display: inline-block;
  background: var(--burgundy);
  color: var(--bone);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 17px 28px;
  border-radius: 2px;
  transition: background 0.25s ease;
}
.btn:hover { background: #8d2839; }
.textlink {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--burgundy-lift);
  padding-bottom: 4px;
}

/* ---------- intro ---------- */
.intro {
  padding: 96px var(--gutter) 88px;
  border-bottom: 1px solid var(--line);
}
.intro__text {
  font-family: var(--serif);
  font-size: clamp(24px, 6.6vw, 36px);
  line-height: 1.45;
  max-width: 22em;
}
.intro__note {
  margin-top: 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy-lift);
}

/* ---------- services ---------- */
.work { padding: 96px 0 30px; }
.service { margin-bottom: 104px; }
.service__field {
  height: 58svh;
  min-height: 340px;
  overflow: hidden;
}
.service__field img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service__body {
  padding: 40px var(--gutter) 0;
  max-width: 640px;
}
.service__index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--burgundy-lift);
}
.service__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 8.4vw, 44px);
  line-height: 1.15;
  margin-top: 10px;
}
.service__desc {
  margin-top: 16px;
  color: var(--bone-dim);
  font-size: 17.5px;
  max-width: 34em;
}
.service__covers {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.service__covers span {
  color: var(--burgundy-lift);
  font-weight: 600;
  letter-spacing: 0.26em;
  margin-right: 16px;
}

/* ---------- owner plate ---------- */
.owner {
  padding: 110px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  text-align: left;
}
.owner__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 13.4vw, 84px);
  line-height: 1.05;
  margin-top: 20px;
}
.owner .rule { margin: 36px 0 28px; }
.owner__role {
  font-family: var(--serif);
  font-size: clamp(19px, 5.2vw, 24px);
  color: var(--bone);
}
.owner__line {
  margin-top: 18px;
  color: var(--bone-dim);
  max-width: 36em;
  font-size: 17.5px;
}
.owner__record {
  margin-top: 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--burgundy-lift);
}

/* ---------- towns ---------- */
.ground { padding: 96px 0 104px; }
.towns {
  list-style: none;
  margin: 0 var(--gutter);
  border-top: 1px solid var(--line);
}
.towns li {
  font-family: var(--serif);
  font-size: clamp(21px, 6vw, 28px);
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.towns__home span,
.towns li span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--burgundy-lift);
  white-space: nowrap;
}

/* ---------- call close ---------- */
.begin {
  background: linear-gradient(160deg, #571626 0%, var(--burgundy-deep) 58%, #380d18 100%);
  padding: 104px var(--gutter) 110px;
}
.begin__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 9.4vw, 54px);
  line-height: 1.12;
  margin-top: 14px;
}
.begin__copy {
  margin-top: 20px;
  color: rgba(239, 230, 212, 0.82);
  max-width: 36em;
}
.callnum {
  display: inline-block;
  margin-top: 44px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 10.6vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 2px solid var(--burgundy-lift);
  padding-bottom: 8px;
}
.begin__owner {
  margin-top: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239, 230, 212, 0.75);
}

/* ---------- footer ---------- */
.foot {
  padding: 72px var(--gutter) 84px;
  border-top: 1px solid var(--line);
}
.foot__brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.24em;
  display: flex;
  align-items: center;
  gap: 11px;
}
.foot__line { margin-top: 20px; color: var(--bone-dim); font-size: 15.5px; }
.foot__phone { margin-top: 14px; }
.foot__phone a {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--burgundy-lift);
  padding-bottom: 3px;
}
.foot__towns {
  margin-top: 10px;
  color: var(--bone-faint);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  line-height: 1.8;
}
.foot__fine {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--bone-faint);
  font-size: 12.5px;
  line-height: 1.7;
  max-width: 44em;
}

/* ---------- desktop composition ---------- */
@media (min-width: 900px) {
  .hero__inner { padding-bottom: 84px; }
  .intro { padding-top: 130px; padding-bottom: 120px; }
  .intro__text { font-size: 38px; }
  .service {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    margin-bottom: 130px;
  }
  .service__field { height: 68vh; }
  .service__body { padding: 0 var(--gutter); }
  .service:nth-of-type(even) .service__field { order: 2; }
  .service:nth-of-type(even) .service__body { order: 1; }
  .towns { columns: 1; }
}
