/* ============================================================
   Public site — the visual reboot.
   Loaded ONLY by the public pages, after styles.css. The dashboard and the
   guest kiosk share styles.css, so everything new for the marketing pages
   lives here, where it cannot reach Dave's or Heather's screens.
   Direction: calm, upscale, local — editorial type and generous space,
   not a SaaS landing page. Copy and links are unchanged.
   ============================================================ */

:root {
  --ink: #23262a;
  --paper: #f1ece4;          /* warm stone, a shade off the page background */
  --paper-line: #ddd5c9;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- Hero ---------- */
.hero.hero-ed {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(3.2rem, 7vw, 6rem) 0 0;
  border-bottom: 1px solid var(--paper-line);
}
.hero.hero-ed::after { content: none; }      /* the old white ridge edge */

.hero-ed .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-ed .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-dark);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  margin-bottom: 1.4rem;
}
.hero-ed .eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.hero-ed h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 11.5em;
  margin-bottom: 1.4rem;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;        /* no lone word on the last line */
}
.hero-ed h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
}

.hero-ed .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.17rem);
  line-height: 1.7;
  color: #4a4e55;
  max-width: 33em;
  margin-bottom: 2.2rem;
}

.hero-ed .hero-ctas { gap: 1.6rem; align-items: center; }
.hero-ed .btn-primary {
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px -14px rgba(176, 111, 30, 0.9);
}
.btn-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 1px solid currentColor;
  transition: gap 0.18s, color 0.18s;
}
.btn-quiet::after { content: "→"; font-weight: 400; }
.btn-quiet:hover { color: var(--accent-dark); gap: 0.75rem; }

/* The picture: an original line drawing of a ridge over the lake. */
.hero-art {
  margin: 0;
  border-radius: 22px 22px 22px 4px;
  overflow: hidden;
  aspect-ratio: 13 / 11;
  background: #e7e4dd;
  box-shadow: 0 30px 60px -38px rgba(35, 38, 42, 0.55);
}
.hero-art svg { display: block; width: 100%; height: 100%; }

/* Four proof points, ruled like the foot of a page. */
.hero-proof {
  list-style: none;
  margin: clamp(2.8rem, 6vw, 4.5rem) 0 0;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--paper-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem 2rem;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-proof svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .hero-ed .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16 / 10; max-width: 640px; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .hero-ed .hero-ctas { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .hero-proof li { font-size: 0.86rem; align-items: flex-start; }
}

/* ---------- Shared editorial pieces (sections restyled so far) ---------- */
.why-ed h2, .svc-ed h2, .how-ed h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.line-ico {
  width: 26px;
  height: 26px;
  flex: none;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Why Tahoe Home & Pet ----------
   No cards: a heading that stays put on the left while three ruled
   paragraphs read down the right, like a magazine spread. */
.why-ed { padding: clamp(4rem, 9vw, 7rem) 0; }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.why-ed .section-head { position: sticky; top: 6.5rem; margin: 0; max-width: 30rem; }
.why-ed h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 1.1rem; }
.why-ed .section-head .muted { font-size: 1.05rem; line-height: 1.7; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.3rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--border);
}
.why-list li:first-child { border-top: 0; padding-top: 0.4rem; }
.why-list .line-ico { margin-top: 0.2rem; }
.why-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}
.why-list p { margin: 0; line-height: 1.7; max-width: 34em; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-ed .section-head { position: static; }
}

/* ---------- Services ----------
   Four services on warm paper, divided by hairlines instead of boxed in
   cards: a ruled two-by-two, like the contents page of a guide. */
.svc-ed { background: var(--paper); padding: clamp(4rem, 9vw, 7rem) 0; border-block: 1px solid var(--paper-line); }
.svc-ed .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.svc-ed h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); }
.svc { padding: clamp(1.8rem, 3.5vw, 2.8rem) 0; border-bottom: 1px solid var(--paper-line); }
.svc:nth-child(odd) { padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid var(--paper-line); }
.svc:nth-child(even) { padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.svc .line-ico { width: 30px; height: 30px; margin-bottom: 1.1rem; }
.svc h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.svc > p { line-height: 1.65; max-width: 30em; margin-bottom: 1.2rem; }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.4rem;
  font-size: 0.95rem;
  border-top: 1px dashed var(--paper-line);
}
.svc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.65rem;
  height: 1px;
  background: var(--accent-dark);
}

@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc:nth-child(odd), .svc:nth-child(even) { padding-left: 0; padding-right: 0; border-right: 0; }
}

/* ---------- How it works ----------
   Three steps on one line, joined by a rule with a dot at each step —
   a timeline, so it reads as a sequence rather than a third card grid. */
.how-ed { padding: clamp(4rem, 9vw, 7rem) 0; }
.how-ed .section-head { margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem); }
.how-ed h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 0; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: none;
}
.steps li { position: relative; padding-top: 2.4rem; }
/* The rule runs through every step's dot and on into the gap. */
.steps li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  right: calc(-1 * clamp(1.5rem, 4vw, 3.5rem));
  height: 1px;
  background: var(--border);
}
.steps li:last-child::before { right: 0; }
.steps li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent-dark);
}
.step-n {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent-dark);
  margin-bottom: 0.9rem;
  font-variation-settings: "opsz" 144;
}
.steps h3 {
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.steps p { margin: 0; line-height: 1.7; }

/* Phone: the same timeline, standing upright. */
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 2.4rem 2.4rem; }
  .steps li::before { top: 0.5rem; bottom: 0; left: 0.45rem; right: auto; width: 1px; height: auto; }
  .steps li:last-child::before { display: none; }
  .steps li:last-child { padding-bottom: 0; }
  .step-n { font-size: 2.6rem; margin-bottom: 0.6rem; }
}

/* ---------- Ready when you are ----------
   A full-width closing band in deep ink rather than a rounded gradient
   box: one big serif line, the invitation and the button beside it. */
.cta-ed {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f4efe7;
  /* Extra room at the foot, so the ridge line runs below the words. */
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(6rem, 14vw, 10rem);
}
.cta-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(70px, 12vw, 140px);
  fill: none;
  stroke: rgba(244, 239, 231, 0.14);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.cta-ed .cta-band {
  position: relative;
  background: none;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: end;
}
.cta-ed h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #f4efe7;
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.cta-side p {
  color: rgba(244, 239, 231, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 26em;
}
.cta-ed .btn-primary {
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  box-shadow: none;
}

@media (max-width: 760px) {
  .cta-ed .cta-band { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Contact ----------
   Warm paper again (the page alternates paper / page / ink). The details
   are a short ruled list beside a calm, borderless-feeling form. */
.contact-ed { background: var(--paper); padding: clamp(4rem, 9vw, 7rem) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.contact-ed h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variation-settings: "opsz" 144;
  margin-bottom: 1rem;
}
.contact-copy > .muted { font-size: 1.05rem; line-height: 1.7; max-width: 30em; margin-bottom: 2rem; }
.contact-facts { margin: 0; border-top: 1px solid var(--paper-line); }
.contact-facts > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--paper-line);
}
.contact-facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.2rem;
}
.contact-facts dd { margin: 0; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.contact-facts a { color: var(--ink); text-underline-offset: 3px; }
.contact-facts a:hover { color: var(--accent-dark); }

.contact-ed .form-card {
  background: var(--surface);
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: 0 30px 60px -45px rgba(35, 38, 42, 0.5);
}
.contact-ed .form-grid { gap: 1.1rem 1.2rem; }
.contact-ed .form-field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-ed .form-field input,
.contact-ed .form-field select,
.contact-ed .form-field textarea {
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  background: #fcfbf8;
  padding: 0.8rem 0.95rem;
  min-height: 3rem;
}
.contact-ed .form-field input:focus,
.contact-ed .form-field select:focus,
.contact-ed .form-field textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(217, 142, 50, 0.18);
  background: #fff;
}
.btn-ink {
  margin-top: 1.4rem;
  background: var(--ink);
  color: #f4efe7;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
}
.btn-ink:hover { background: #000; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-ed .form-grid { grid-template-columns: 1fr; }
  .contact-facts > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- Footer ----------
   Deep ink like the closing band, with the company's line set in the serif. */
.site-footer.footer-ed {
  background: var(--ink);
  color: rgba(244, 239, 231, 0.7);
  margin-top: 0;
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}
.footer-ed .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-ed h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 231, 0.5);
  margin-bottom: 1rem;
}
.footer-ed .footer-grid > div:first-child h4 {
  text-wrap: balance;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #f4efe7;
  margin-bottom: 0.8rem;
}
.footer-ed .footer-grid > div:first-child p { max-width: 24em; line-height: 1.7; }
.footer-ed li { margin-bottom: 0.6rem; }
.footer-ed a { color: rgba(244, 239, 231, 0.82); }
.footer-ed a:hover { color: #fff; }
.footer-ed .footer-bottom { border-top-color: rgba(244, 239, 231, 0.12); color: rgba(244, 239, 231, 0.5); }

@media (max-width: 860px) {
  .footer-ed .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-ed .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ---------- Header ----------
   The same bar, made quieter: warm translucent paper, the name in the
   serif, and Client login as an outlined pill so "Schedule a Visit"
   stays the one orange thing on screen. */
.site-header.header-ed {
  background: rgba(247, 244, 239, 0.96);   /* near-solid: over the ink bands a thinner veil reads grey */
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--paper-line);
}
.header-ed .brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.header-ed .brand-name span { font-family: "Inter", sans-serif; font-size: 0.64rem; letter-spacing: 0.16em; }
.header-ed .nav-links { gap: 1.8rem; }
.header-ed .nav-links a { font-size: 0.92rem; color: var(--ink); }
.header-ed .nav-links a:not(.btn) { position: relative; padding: 0.3rem 0; }
.header-ed .nav-links a.active { color: var(--ink); }
.header-ed .nav-links a.active::after,
.header-ed .nav-links a:not(.btn):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent-dark);
}
.header-ed #nav-auth.btn {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
}
.header-ed #nav-auth.btn:hover { background: var(--ink); color: #f4efe7; }
