/* Zanter Property Management — Lee, Maine
   Mobile-first. Dark forest + field. Printed notice, not a landing page. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-italic.woff2") format("woff2");
}

:root {
  --bg: #0a100d;
  --bg-2: #101814;
  --bg-3: #151e1a;
  --ink: #f3eee4;
  --ink-2: #c9c0b0;
  --ink-3: #8e8778;
  --gold: #e2b34a;
  --gold-2: #c4922c;
  --gold-ink: #1a1408;
  --moss: #7d9b78;
  --line: rgba(243, 238, 228, 0.12);
  --line-2: rgba(243, 238, 228, 0.22);
  --rule: rgba(226, 179, 74, 0.38);
  --header-h: 3.5rem;
  --pad: clamp(1.15rem, 4vw, 2.15rem);
  --max: 66rem;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  -webkit-tap-highlight-color: rgba(226, 179, 74, 0.25);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
}

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

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #f0cc74; }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

/* Labor Day deal — gold bar above header */
.deal {
  display: block;
  position: relative;
  z-index: 45;
  background: var(--gold);
  color: var(--gold-ink);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 0.55rem var(--pad);
  letter-spacing: 0.01em;
}
.deal:hover,
.deal:focus-visible {
  color: var(--gold-ink);
  filter: brightness(1.05);
}

.wrap {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* Paper grain */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 16, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-place {
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav {
  display: none;
  gap: 1.25rem;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav a:hover { color: var(--ink); }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--gold-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.42rem 0.7rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.header-call:hover { color: var(--gold-ink); filter: brightness(1.06); }
.header-call svg { width: 0.9rem; height: 0.9rem; flex: none; }

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #24362c 0%, transparent 55%),
    radial-gradient(80% 50% at 80% 20%, rgba(226, 179, 74, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0d1612 0%, #101c16 42%, #1a2414 70%, #2a2614 100%);
  padding: 2rem 0 0;
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 1.5rem; }
.hero-towns {
  margin: 0 0 1rem;
  color: var(--ink-3);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.05rem, 8.4vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  display: block;
}
.deck {
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  color: var(--ink);
  max-width: 34rem;
  line-height: 1.4;
}
.lead {
  margin: 0.7rem 0 0;
  color: var(--ink-2);
  max-width: 34rem;
  font-size: 1.02rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
}
.btn-ghost {
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { color: var(--ink); background: rgba(243, 238, 228, 0.05); }
.btn svg { width: 1.05rem; height: 1.05rem; }

/* Rate board strip — ledger, not metric chips */
.price-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.7rem;
  border: 1px solid var(--rule);
  background: rgba(10, 16, 13, 0.28);
}
.chip {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.7rem 0.85rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chip:nth-child(2n) { border-right: 0; }
.chip:nth-child(n + 3) { border-bottom: 0; }
.chip b {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.chip span {
  font-size: 0.72rem;
  color: var(--ink-2);
  font-weight: 600;
}

.field-art {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  height: 7.25rem;
  pointer-events: none;
}
.field-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Sections ——— */
section { padding: 3.6rem 0; }
.section-head {
  margin-bottom: 1.75rem;
  max-width: 38rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule);
  display: inline-block;
}
.section-head p {
  margin: 0.7rem 0 0;
  color: var(--ink-2);
}

.work { background: var(--bg-2); border-top: 1px solid var(--line); }
.jobs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.job {
  padding: 1.45rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}
.job h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.job p {
  margin: 0.45rem 0 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.job-rates {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--line);
}
.job-rates li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0 0;
  font-size: 0.95rem;
}
.job-rates .what { color: var(--ink-2); }
.job-rates .amt {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  font-size: 1.05rem;
}

/* ——— Rates board ——— */
.rates { background: var(--bg); }
.board {
  background: #121a16;
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--gold);
  padding: 0.35rem 1.05rem 0.15rem;
}
.board-row,
.board-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.12rem;
  padding: 0.8rem 0.1rem;
  border-bottom: 1px solid var(--line);
}
.board-row:last-of-type { border-bottom: 0; }
.board-row .amt {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.board-row .label {
  font-weight: 700;
  color: var(--ink);
}
.board-row .hint {
  color: var(--ink-3);
  font-size: 0.88rem;
}
.board-group {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  padding: 1rem 0.1rem 0.15rem;
}
.board-note {
  border-bottom: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  padding-bottom: 1.05rem;
}
.callout {
  margin-top: 1.25rem;
  padding: 0.15rem 0 0;
  border-left: 0;
  background: none;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* ——— Area ——— */
.area { background: var(--bg-2); border-block: 1px solid var(--line); }
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0;
  margin: 0;
  padding: 0.85rem 0;
  list-style: none;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
}
.towns li {
  padding: 0.15rem 0.95rem 0.15rem 0;
}
.towns li + li::before {
  content: "·";
  color: var(--gold);
  margin-right: 0.95rem;
}
.area-extra {
  margin: 1.2rem 0 0;
  color: var(--ink-2);
  max-width: 40rem;
}

/* ——— Book ——— */
.book { background: var(--bg); }
.book-grid {
  display: grid;
  gap: 2rem;
}
.contact-card {
  padding: 0;
  background: none;
  border: 0;
}
.form-lead {
  margin: 0 0 1rem;
  color: var(--ink-2);
}
.big-contact {
  display: flex;
  flex-direction: column;
}
.big-contact a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
  font-weight: 700;
}
.big-contact a:last-child { border-bottom: 1px solid var(--line); }
.big-contact a:hover { color: var(--ink); }
.big-contact .lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.big-contact .val {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.form {
  display: grid;
  gap: 0.75rem;
}
.field { display: grid; gap: 0.28rem; }
.field label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input,
.field select {
  appearance: none;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23e2b34a' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.6rem;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.pair {
  display: grid;
  gap: 0.75rem;
}
.form .btn { width: 100%; margin-top: 0.25rem; }
.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ——— Footer ——— */
.site-footer {
  background: #070b09;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 calc(1.6rem + env(safe-area-inset-bottom));
  color: var(--ink-2);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.foot-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-items: baseline;
  overflow-wrap: anywhere;
}
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.fine {
  color: var(--ink-3);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

/* Quiet mobile dock — not a second gold CTA */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.45rem 0.85rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(10, 16, 13, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
}
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ——— Desktop ——— */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .nav { display: flex; }
  .header-call { font-size: 0.88rem; padding: 0.45rem 0.85rem; }
  .hero { padding-top: 3.1rem; }
  .hero-copy { padding-bottom: 0.75rem; }
  .price-strip { grid-template-columns: repeat(4, 1fr); }
  .chip { border-bottom: 0; }
  .chip:nth-child(2n) { border-right: 1px solid var(--line); }
  .chip:last-child { border-right: 0; }
  .field-art { height: 13.5rem; margin-top: 2rem; }
  section { padding: 4.6rem 0; }
  .jobs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2rem;
    border-top: 0;
  }
  .job {
    padding: 0 0 0 1.4rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .job:first-child { padding-left: 0; border-left: 0; }
  .board-row {
    grid-template-columns: 8.5rem 1fr;
    align-items: baseline;
    column-gap: 1.25rem;
  }
  .board-row .amt { grid-row: span 2; font-size: 1.55rem; }
  .book-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 3rem; }
  .pair { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1.5rem;
  }
  .chip { padding: 0.85rem 1rem; }
  .chip b { font-size: 1.28rem; }
  .towns { font-size: 1.4rem; padding: 1rem 0; }
}

@media (min-width: 980px) {
  .hero-actions .btn { min-width: 11rem; }
}

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

@media print {
  body { background: #fff; color: #111; padding: 0; }
  .site-header, .dock, .hero-actions, .form, .field-art, body::before { display: none !important; }
  a { color: inherit; text-decoration: none; }
  .board { border-color: #ccc; }
}

