/* =========================================
   Twisted Roots Acreage Renewal — Styles
   Colors taken from the logo
   ========================================= */
:root {
  --green-900: #143a20;
  --green-800: #1d4d2b;
  --green-700: #2a6338;
  --green-100: #e6eee3;
  --brown-700: #7a3f1d;
  --brown-600: #96522a;
  --brown-100: #f3e6da;
  --cream: #faf6ee;
  --paper: #ffffff;
  --ink: #23271f;
  --muted: #5d6458;
  --line: #e2dccf;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 58, 32, .08);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--green-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

.eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown-600);
  margin-bottom: .6em;
}
.eyebrow-light { color: #e7b98f; }
.lead { font-size: 1.2rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green-800);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--green-800);
  transition: background .2s, transform .2s, border-color .2s;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
}
.btn:hover { background: var(--brown-700); border-color: var(--brown-700); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #e7b98f; outline-offset: 3px;
}
.btn-ghost { background: transparent; color: var(--green-800); }
.btn-ghost:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.btn-small { padding: 9px 18px; font-size: .95rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--green-900); }
.brand-text small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-600); font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:not(.btn):hover { color: var(--brown-600); }
.site-nav .btn { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--green-900); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 90px;
  background:
    radial-gradient(circle at 85% 30%, rgba(42, 99, 56, .10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(150, 82, 42, .08), transparent 40%),
    var(--cream);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-logo img {
  width: 100%; max-width: 460px; margin-inline: auto;
  border-radius: 50%;
  box-shadow: 0 25px 60px rgba(20, 58, 32, .18);
  background: #fff;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.split-center { align-items: center; }

.selling { background: var(--paper); border-block: 1px solid var(--line); }
.selling .btn { margin-top: 10px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green-700);
}
.card:nth-child(2) { border-top-color: var(--brown-600); }
.card:nth-child(3) { border-top-color: var(--green-900); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--green-100);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--green-800); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-sub { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding: 8px 0 8px 30px;
  border-top: 1px dashed var(--line); font-size: 1rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--brown-600); border-bottom: 2.5px solid var(--brown-600);
  transform: rotate(-45deg);
}
.note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 36px; font-style: italic; }

/* Process */
.process { background: var(--paper); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: none; }
.step { position: relative; padding-top: 10px; }
.step-num {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-800); color: #fff;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; left: 66px; right: -16px;
  border-top: 2px dashed var(--brown-600); opacity: .5;
}
.step p { color: var(--muted); font-size: 1rem; }

/* Spending band */
.spending {
  background: var(--green-900);
  color: #e9efe6;
  text-align: center;
}
.spending h2 { color: #fff; }
.spending .lead { color: #fff; }
.spending-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 36px; text-align: left; }
.spending-grid p {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 24px 26px; margin: 0; font-size: 1rem;
}

/* About */
.about-badge {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 50px 30px; text-align: center;
}
.monogram {
  width: 150px; height: 150px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-800); color: #fff;
  font-family: var(--font-head); font-size: 3.4rem; font-weight: 800;
  border: 6px solid var(--brown-100); outline: 3px solid var(--brown-600);
}
.about-name { font-family: var(--font-head); font-size: 1.5rem; color: var(--green-900); font-weight: 700; margin: 0; }
.about-role { color: var(--brown-600); font-weight: 600; margin: 0; }
blockquote {
  margin: 24px 0 0; padding: 18px 24px;
  border-left: 4px solid var(--brown-600);
  background: var(--brown-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-size: 1.2rem; color: var(--green-900);
}

/* Agents */
.agents { padding-top: 0; }
.agents-box {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px;
  background: var(--brown-100);
  border: 1px solid #e8d4c1;
  border-radius: 22px; padding: 56px;
}

/* Contact */
.contact { background: var(--green-800); color: #e9efe6; }
.contact h2 { color: #fff; }
.contact .lead { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 1.1rem; }
.contact-label { min-width: 70px; text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; color: #e7b98f; font-weight: 700; padding-top: 4px; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: 38px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .2);
}
.contact-form h3 { margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: #fdfcf9; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); outline: none; box-shadow: 0 0 0 3px rgba(42, 99, 56, .15); }
.field textarea { resize: vertical; }
.form-error { color: #a52a1c; font-weight: 600; font-size: .95rem; }
.form-hint { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--green-900); color: #c9d4c5; padding: 50px 0; text-align: center; font-size: .95rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.brand-footer { margin-bottom: 10px; }
.brand-footer img { width: 48px; height: 48px; border-radius: 50%; }
.brand-footer strong { color: #fff; }
.brand-footer small { color: #e7b98f; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.copyright { font-size: .85rem; opacity: .7; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; text-align: center; }

  .hero { padding: 50px 0 60px; }
  .hero-inner, .split, .agents-box, .spending-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 260px; }
  .section { padding: 70px 0; }
  .agents-box { padding: 36px 26px; }
}

@media (max-width: 600px) {
  .cards, .steps, .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .brand-text strong { font-size: 1.15rem; }
  .brand img { width: 48px; height: 48px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* =========================================
   Photos (Unsplash, free licence)
   ========================================= */
/* Hero: countryside photo behind a cream wash so text stays readable */
.hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(250,246,238,.97) 0%, rgba(250,246,238,.92) 45%, rgba(250,246,238,.55) 100%),
    url("https://images.unsplash.com/photo-1727961665663-6b639b8b1908?w=2000&q=80&auto=format&fit=crop") center / cover no-repeat,
    var(--cream);
}

/* Generic photo frame (green fallback if an image fails to load) */
.photo {
  margin: 30px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-selling { aspect-ratio: 3 / 2; }

/* Service card photos */
.card { padding-top: 0; overflow: hidden; }
.card-photo {
  margin: 0 -30px 24px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-photo img { transform: scale(1.04); }
.card .card-icon { margin-top: -50px; position: relative; border: 4px solid var(--paper); background: var(--green-100); width: 60px; height: 60px; }

/* "Thoughtful improvements" band with photo behind dark green */
.spending.has-bg {
  background:
    linear-gradient(rgba(20,58,32,.90), rgba(20,58,32,.90)),
    url("https://images.unsplash.com/photo-1692696355569-eb66ce4a892b?w=2000&q=80&auto=format&fit=crop") center / cover no-repeat,
    var(--green-900);
}

/* Agents box banner photo spans both columns */
.agents-photo {
  grid-column: 1 / -1;
  margin: -56px -56px 0;
  border-radius: 22px 22px 0 0;
  aspect-ratio: 16 / 5;
  box-shadow: none;
}
.agents-box { overflow: hidden; }

@media (max-width: 860px) {
  .hero {
    background:
      linear-gradient(rgba(250,246,238,.93), rgba(250,246,238,.93)),
      url("https://images.unsplash.com/photo-1727961665663-6b639b8b1908?w=1200&q=80&auto=format&fit=crop") center / cover no-repeat,
      var(--cream);
  }
  .agents-photo { margin: -36px -26px 0; aspect-ratio: 16 / 7; }
}

/* =========================================
   Layout balance & polish (v3)
   ========================================= */
/* Section headings: small accent rule */
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: var(--brown-600); border-radius: 2px; margin: 18px auto 0;
}

/* Preparing to sell — photo left, all text right, vertically centred */
.selling-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.selling-media { position: relative; height: 100%; min-height: 460px; }
.selling-media .photo-selling {
  margin: 0; height: 100%; aspect-ratio: auto; position: absolute; inset: 0;
}
.selling-media::before {            /* offset frame behind the photo */
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--brown-600); border-radius: var(--radius); opacity: .45;
}
.photo-tag {
  position: absolute; left: -18px; bottom: 28px; z-index: 2;
  background: var(--green-800); color: #fff;
  padding: 14px 20px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.18);
  display: flex; flex-direction: column; line-height: 1.3;
}
.photo-tag strong { font-family: var(--font-head); font-size: 1.15rem; }
.photo-tag span { font-size: .85rem; color: #e7b98f; }
.selling-copy .btn { margin-top: 8px; }

/* Service cards — equal heights, consistent spacing */
.cards { align-items: stretch; }
.card { display: flex; flex-direction: column; padding: 0 28px 30px; border-top-width: 0; }
.card-photo { margin: 0 -28px 0; aspect-ratio: 16 / 10; position: relative; }
.card-photo::after {                 /* thin colour bar under photo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green-700);
}
.card:nth-child(2) .card-photo::after { background: var(--brown-600); }
.card:nth-child(3) .card-photo::after { background: var(--green-900); }
.card .card-icon { margin: -30px 0 16px; z-index: 1; box-shadow: 0 6px 16px rgba(20,58,32,.15); }
.card h3 { min-height: 1.15em; }
.card-sub { min-height: 3.2em; }
.checklist { margin-top: auto; }

/* Process steps — centred under numbers */
.steps { text-align: center; }
.step-num { margin-inline: auto; }
.step:not(:last-child)::after { left: calc(50% + 36px); right: calc(-50% + 36px); }

/* About — badge and text same visual weight */
.about .split { align-items: stretch; }
.about-badge { display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* Agents — banner photo flush with box, text columns aligned */
.agents-box { align-items: start; row-gap: 40px; }
.agents-photo { aspect-ratio: 16 / 5; }

/* Contact form card aligned with heading */
.contact .split { align-items: start; }

@media (max-width: 1000px) {
  .card-sub { min-height: 0; }
}
@media (max-width: 860px) {
  .selling-grid { grid-template-columns: 1fr; gap: 50px; }
  .selling-media { min-height: 0; height: auto; margin-right: 22px; }
  .selling-media .photo-selling { position: relative; aspect-ratio: 4 / 3; }
  .photo-tag { left: 12px; bottom: 12px; }
  .about .split { align-items: center; }
}
@media (max-width: 600px) {
  .step:not(:last-child)::after { display: none; }
}
/* checklist starts on the same line in every card */
.checklist { margin-top: 0; }
.card-sub { min-height: 5em; }
.agents-photo { aspect-ratio: 16 / 4; }
@media (max-width: 1000px) { .card-sub { min-height: 0; } }
@media (max-width: 860px) { .agents-photo { aspect-ratio: 16 / 7; } }

/* =========================================
   Contact section v2 — photo bg, icons, fill
   ========================================= */
.contact {
  position: relative;
  background:
    linear-gradient(105deg, rgba(20,58,32,.96) 0%, rgba(29,77,43,.90) 50%, rgba(20,58,32,.80) 100%),
    url("https://images.unsplash.com/photo-1727961665663-6b639b8b1908?w=2000&q=80&auto=format&fit=crop") center / cover no-repeat,
    var(--green-800);
}
.contact .split { align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }

.contact-list { margin-top: 28px; display: grid; gap: 12px; }
.contact-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-top: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  transition: background .2s, transform .2s;
}
.contact-list li:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.contact-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brown-600);
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-text .contact-label { min-width: 0; padding: 0; margin-bottom: 3px; }
.contact-value { color: #fff; font-weight: 600; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
a.contact-value:hover { text-decoration: underline; }

.expect-box {
  margin-top: auto;               /* pushes box down to line up with form bottom */
  padding: 26px 26px 10px;
  background: rgba(250,246,238,.08);
  border: 1px dashed rgba(231,185,143,.55);
  border-radius: 16px;
}
.contact-info .contact-list { margin-bottom: 28px; }
.expect-box h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.expect-list { list-style: none; padding: 0; margin: 0; }
.expect-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-size: 1rem; color: #e9efe6; }
.expect-list span {
  flex: 0 0 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e7b98f; color: var(--green-900);
  font-weight: 700; font-size: .9rem;
}
@media (max-width: 860px) {
  .expect-box { margin-top: 28px; }
}
