:root {
  --green-900: #150e08;
  --green-800: #2a1f17;
  --green-700: #443327;
  --green-600: #6b5847;
  --sand: #b08d4f;
  --sand-100: #e5d4ac;
  --cream: #f5efe6;
  --ink: #2a1f17;
  --ink-muted: #5b4a3b;
  --line: rgba(42, 31, 23, 0.12);
  --line-strong: rgba(42, 31, 23, 0.22);
  --max: 1160px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(21, 14, 8, 0.06), 0 2px 6px rgba(21, 14, 8, 0.04);
  --shadow-md: 0 10px 30px rgba(21, 14, 8, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--green-800); text-underline-offset: 3px; }
a:hover { color: var(--green-600); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "PingFang SC", "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.28;
  margin: 0 0 0.6em;
  color: var(--green-900);
  text-wrap: balance;
}
.lede { text-wrap: pretty; }
h1 { font-size: clamp(1.75rem, 3.1vw + 0.5rem, 2.7rem); line-height: 1.3; }
h2 { font-size: clamp(1.55rem, 2.2vw + 0.8rem, 2.25rem); }
h3 { font-size: 1.18rem; }
p  { margin: 0 0 1em; color: var(--ink); }
.lede { font-size: 1.1rem; color: var(--ink-muted); max-width: 52ch; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-700);
  margin: 0 0 0.75em;
}

.muted { color: var(--ink-muted); font-weight: 400; }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-800); color: #fff;
  padding: 10px 14px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600; font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  line-height: 1;
}
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green-800); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(42, 31, 23, 0.06); }

.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 230, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(245, 239, 230, 0.94); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { display: inline-flex; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Noto Serif SC", "Source Han Serif SC", "Fraunces", Georgia, serif; font-size: 1.15rem; font-weight: 600; color: var(--green-900); }
.brand-tag  { font-size: 0.72rem; color: var(--ink-muted); margin-top: 4px; letter-spacing: 0.08em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.primary-nav a:hover { color: var(--green-700); }
.primary-nav .nav-cta { color: #fff; padding: 10px 18px; font-size: 0.9rem; }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--green-800) !important;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch:hover { background: var(--green-800); border-color: var(--green-800); color: #fff !important; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent; cursor: pointer;
  padding: 10px; gap: 4px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(72px, 11vw, 130px) 0 clamp(64px, 8vw, 100px);
  background:
    linear-gradient(100deg,
      var(--cream) 0%,
      var(--cream) 32%,
      rgba(245, 239, 230, 0.82) 50%,
      rgba(245, 239, 230, 0.25) 75%,
      rgba(245, 239, 230, 0.1) 100%),
    url("../assets/homes/hero.jpg") right center / cover no-repeat;
  background-color: var(--cream);
}
@media (max-width: 960px) {
  .hero {
    background:
      linear-gradient(180deg,
        var(--cream) 0%,
        rgba(245, 239, 230, 0.9) 55%,
        rgba(245, 239, 230, 0.7) 100%),
      url("../assets/homes/hero.jpg") center bottom / cover no-repeat;
    background-color: var(--cream);
  }
}
.hero-grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1.15fr 0.85fr; align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid var(--line); padding-top: 24px;
  max-width: 520px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Noto Serif SC", "Source Han Serif SC", "Fraunces", Georgia, serif; font-size: 1.5rem; color: var(--green-900); }
.hero-stats span { font-size: 0.85rem; color: var(--ink-muted); }

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.hero-video { align-self: center; }
.hero-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.hero-card p { color: var(--ink-muted); margin-bottom: 18px; }
.hero-card .btn { margin-top: 8px; }

.tick-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.tick-list li {
  position: relative; padding-left: 28px;
  color: var(--ink); font-size: 0.95rem;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sand-100);
  box-shadow: inset 0 0 0 1px var(--sand);
}
.tick-list li::after {
  content: ""; position: absolute; left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--green-800);
  border-bottom: 2px solid var(--green-800);
  transform: rotate(-45deg);
}

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.section-head p { color: var(--ink-muted); }

/* Services */
.services { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
.card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-num {
  display: inline-block; font-family: "Noto Serif SC", "Source Han Serif SC", "Fraunces", Georgia, serif;
  font-size: 0.95rem; color: var(--green-700); margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-muted); margin-bottom: 16px; }

.card-featured { background: #6c5b4d; color: #fff; border-color: #6c5b4d; }
.card-featured .card-num { color: var(--sand-100); }
.card-featured h3 { color: var(--sand-100); }
.card-featured p { color: rgba(255, 255, 255, 0.92); }
.card-featured .tick-list li { color: rgba(255, 255, 255, 0.92); }
.card-featured .tick-list li::before { background: rgba(229, 212, 172, 0.18); box-shadow: inset 0 0 0 1px rgba(229, 212, 172, 0.55); }
.card-featured .tick-list li::after { border-color: var(--sand-100); }
.badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--sand); color: var(--green-900);
  padding: 6px 10px; border-radius: 999px; font-weight: 600;
}

/* Process */
.process {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(620px 420px at 0% 0%, rgba(229, 212, 172, 0.18), transparent 60%),
    radial-gradient(700px 460px at 100% 100%, rgba(176, 141, 79, 0.10), transparent 60%);
}
.process > .container { position: relative; z-index: 1; }
.process::before {
  content: "";
  position: absolute;
  top: 60px; right: -40px;
  width: 380px; height: 280px;
  background: url("../assets/decor/process-dots.svg") no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 44px;
  position: relative;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176, 141, 79, 0.4);
}
.steps h3 { margin: 14px 0 8px; }
.steps p { color: var(--ink-muted); margin: 0; font-size: 0.94rem; line-height: 1.65; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-800); color: var(--sand);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 0.98rem;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px rgba(176, 141, 79, 0.35);
}

/* Snake-flow: row 2 visually reversed so flow continues right→left */
.steps li:nth-child(5) { grid-column: 4; grid-row: 2; }
.steps li:nth-child(6) { grid-column: 3; grid-row: 2; }
.steps li:nth-child(7) { grid-column: 2; grid-row: 2; }
.steps li:nth-child(8) { grid-column: 1; grid-row: 2; }

/* SVG arrows between cards (line + head, no extra markup) */
.steps li::after {
  content: '';
  position: absolute;
  background: no-repeat center / contain;
  pointer-events: none;
}
/* Right arrow: 1→2, 2→3, 3→4 */
.steps li:nth-child(1)::after,
.steps li:nth-child(2)::after,
.steps li:nth-child(3)::after {
  right: -36px; top: 50%;
  width: 28px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12' fill='none' stroke='%23b08d4f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h26M21 1l6 5-6 5'/%3E%3C/svg%3E");
  transform: translateY(-50%);
}
/* Down arrow: 4↓5 (right column drops to second row) */
.steps li:nth-child(4)::after {
  bottom: -42px; left: 50%;
  width: 12px; height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 28' fill='none' stroke='%23b08d4f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 1v26M1 21l5 6 5-6'/%3E%3C/svg%3E");
  transform: translateX(-50%);
}
/* Left arrow: 5→6, 6→7, 7→8 */
.steps li:nth-child(5)::after,
.steps li:nth-child(6)::after,
.steps li:nth-child(7)::after {
  left: -36px; top: 50%;
  width: 28px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12' fill='none' stroke='%23b08d4f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M27 6H1M7 1L1 6l6 5'/%3E%3C/svg%3E");
  transform: translateY(-50%);
}
/* Terminal: no arrow after step 8 */
.steps li:nth-child(8)::after { display: none; }

/* Areas */
.areas { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.areas-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.areas-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.areas-cols h3 { color: var(--green-900); margin-bottom: 14px; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  padding: 8px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--green-900);
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(680px 440px at 100% 0%, rgba(176, 141, 79, 0.10), transparent 60%),
    radial-gradient(580px 400px at 0% 100%, rgba(229, 212, 172, 0.16), transparent 60%);
}
.about > .container { position: relative; z-index: 1; }
.about::before {
  content: "";
  position: absolute;
  bottom: -40px; right: -60px;
  width: 320px; height: 320px;
  background: url("../assets/decor/house.svg") no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5; max-width: 440px; width: 100%;
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s var(--ease);
}
.about-photo:hover img { transform: scale(1.03); }
.credentials {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.credentials li {
  padding: 8px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; font-size: 0.88rem; color: var(--green-900);
}

/* Testimonials */
.testimonials { background: var(--green-800); color: #fff; }
.testimonials h2 { color: #fff; }
.testimonials .eyebrow { color: var(--sand); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  margin: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(176, 141, 79, 0.2);
  padding: 28px; border-radius: var(--radius-lg);
}
.quote blockquote {
  margin: 0 0 16px;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Fraunces", Georgia, serif;
  font-size: 1.1rem; line-height: 1.45;
  color: #fff;
}
.quote figcaption { color: var(--sand); font-size: 0.9rem; }

/* Team + FAQ combined section */
.team-faq-section { background: var(--cream); }
.team-faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.section-head-left { text-align: left; max-width: none; margin: 0 0 clamp(24px, 3vw, 36px); }

/* Compact team list (used in combined section) */
.team-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 26px;
}
.team-list > li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
}
.team-list .team-portrait {
  width: 76px; height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand-100);
  box-shadow: 0 4px 12px rgba(42, 31, 23, 0.12);
}
.team-list .team-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.team-list h3 {
  font-size: 1.05rem; margin: 2px 0 4px;
  color: var(--green-900);
}
.team-list .team-bio .team-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-700);
  font-weight: 600;
  margin: 0 0 8px;
}
.team-list .team-bio p:last-child {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
}

/* FAQ */
.faq {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(680px 440px at 0% 100%, rgba(176, 141, 79, 0.10), transparent 60%),
    radial-gradient(560px 380px at 100% 0%, rgba(229, 212, 172, 0.14), transparent 60%);
}
.faq > .container { position: relative; z-index: 1; }
.faq::before {
  content: "";
  position: absolute;
  top: -40px; left: -60px;
  width: 340px; height: 340px;
  background: url("../assets/decor/question.svg") no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* FAQ list */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color 0.2s var(--ease);
}
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list summary {
  cursor: pointer; font-weight: 600; color: var(--green-900);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Fraunces", Georgia, serif; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; color: var(--green-700); font-size: 1.4rem; font-weight: 400;
  transition: transform 0.2s var(--ease);
  line-height: 1;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 14px 0 0; color: var(--ink-muted); }
.faq-list details ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-muted);
  display: grid;
  gap: 8px;
}
.faq-list details ul li::marker { color: var(--sand); }
.faq-list details ul strong { color: var(--green-900); }

@media (max-width: 960px) {
  .team-faq-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* Fit (适合 / 不适合) */
.fit {
  padding-top: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(560px 380px at 100% 100%, rgba(176, 141, 79, 0.10), transparent 60%),
    radial-gradient(480px 340px at 0% 0%, rgba(229, 212, 172, 0.12), transparent 60%);
}
.fit > .container { position: relative; z-index: 1; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 28px); }
.fit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
}
.fit-card h3 {
  font-size: 1.25rem;
  margin: 0 0 1em;
  padding-bottom: 0.7em;
  border-bottom: 1px solid var(--line);
}
.fit-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.fit-card li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  line-height: 1.75;
}
.fit-card li strong { color: var(--green-900); }
.fit-card--yes li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(176, 141, 79, 0.14);
  color: var(--sand);
  font-size: 0.85rem;
  font-weight: 700;
}
.fit-card--no li::before {
  content: "✕";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(91, 74, 59, 0.10);
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 700;
}
@media (max-width: 760px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact {
  background-color: var(--cream);
  border-top: 1px solid var(--line);
  padding-top: 0;
}
.contact-banner {
  width: 100%;
  height: clamp(240px, 28vw, 380px);
  overflow: hidden;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.contact-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.contact-list li span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); }
.contact-list li a { color: var(--green-900); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-list li a:hover { border-bottom-color: var(--green-700); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--green-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(107, 88, 71, 0.18);
}
.form-note { font-size: 0.8rem; color: var(--ink-muted); margin: 0; text-align: center; }

/* Footer */
.site-footer {
  background: var(--green-900); color: rgba(255,255,255,0.78);
  padding: 60px 0 24px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer-grid a:hover { color: var(--sand); }
.footer-blurb { color: rgba(255,255,255,0.62); max-width: 38ch; margin-top: 14px; font-size: 0.9rem; }
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-tag { color: rgba(255,255,255,0.6); }
.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-bottom p { margin: 0; }
.footer-bottom .small { max-width: 60ch; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* About — nested video subsection */
.about-videos { margin-top: clamp(48px, 6vw, 80px); }
.subsection-head {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.subsection-head .eyebrow { margin-bottom: 0.5em; }
.subsection-head h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--green-900);
  margin: 0;
}

/* Video */
.video-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.video-card { margin: 0; }
.video-card figcaption {
  text-align: center;
  margin-top: 14px;
  font-weight: 600;
  color: var(--green-900);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Fraunces", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.video-wrapper {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Team */
.team-section {
  background-color: #fff;
  background-image:
    radial-gradient(900px 500px at 100% 0%, rgba(176, 141, 79, 0.10), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(229, 212, 172, 0.18), transparent 60%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.team-section::before,
.team-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(8px);
}
.team-section::before {
  top: -120px; right: -160px;
  width: 380px; height: 380px;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(176, 141, 79, 0.14), rgba(229, 212, 172, 0.06));
}
.team-section::after {
  bottom: -140px; left: -140px;
  width: 360px; height: 360px;
  border-radius: 70% 30% 50% 50% / 40% 50% 50% 60%;
  background: linear-gradient(135deg, rgba(176, 141, 79, 0.10), rgba(245, 239, 230, 0));
}
.team-section .container { position: relative; z-index: 1; }
.team-members {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 36px;
  max-width: 880px;
  margin: 0 auto;
}
.team-member {
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sand-100);
  margin-bottom: 18px;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease);
}
.team-member:hover .team-photo img { transform: scale(1.03); }

/* Cutout variant: transparent PNG floats directly on the section background */
.team-photo--cutout {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.team-photo--cutout img {
  object-fit: contain;
  object-position: center bottom;
}
.team-member:hover .team-photo--cutout img { transform: scale(1.04) translateY(-1%); }

/* Flip variant — front shows photo, back shows extended bio on hover/focus */
.team-photo--flip {
  perspective: 1200px;
  position: relative;
  cursor: pointer;
}
.team-photo--flip .team-photo-inner {
  /* Bottom-anchored inside the outer 4/5 container; aspect matches the
     visible photo (set per-card via --photo-aspect) so the back card
     occupies exactly the same area as the front image. */
  position: absolute;
  bottom: 0; left: 0; right: 0;
  aspect-ratio: var(--photo-aspect, 872 / 782);
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
}
.team-photo--flip:hover .team-photo-inner,
.team-photo--flip:focus-visible .team-photo-inner {
  transform: rotateY(180deg);
}
.team-photo--flip:focus-visible { outline: none; }
.team-photo--flip .team-photo-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.team-photo--flip .team-photo-face--front img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.team-photo--flip .team-photo-face--back {
  transform: rotateY(180deg);
  background: var(--green-900);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}
.team-photo--flip .team-photo-face--back p {
  margin: 0 0 10px;
  color: inherit;
}
.team-photo--flip .team-photo-face--back p:last-child { margin-bottom: 0; }
/* Override the cutout-img scale-up on hover — we're flipping instead */
.team-member:hover .team-photo--flip .team-photo-face--front img { transform: none; }
.team-bio h3 {
  font-size: 1.2rem;
  margin: 0 0 4px;
  color: var(--green-900);
}
.team-bio .team-role {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.team-bio p {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 960px) {
  .team-members { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 560px) {
  .team-members { grid-template-columns: 1fr; max-width: 360px; }
}

/* Gallery */
.gallery-section { background: var(--sand-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  background: var(--green-800);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* Cases */
.cases { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.case-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.case-tabs {
  display: inline-flex;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.case-tab {
  padding: 10px 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  letter-spacing: 0.02em;
}
.case-tab:hover { color: var(--green-700); }
.case-tab.is-active {
  background: var(--green-800);
  color: #fff;
}

.case-pages {
  display: flex;
  width: 100%;
  overflow: hidden;
  padding: 4px 0; /* room for hover lift */
}
.case-page {
  flex: 0 0 100%;
  width: 100%;
  transition: transform 0.5s var(--ease);
}
.case-pages[data-active="investment"] .case-page { transform: translateX(-100%); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
.case-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case-image {
  aspect-ratio: 3 / 2;
  margin: -28px -28px 20px;
  overflow: hidden;
  background: var(--sand-100);
  position: relative;
}
.case-image > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .case-image > img { transform: scale(1.04); }

/* Carousel */
.case-carousel { position: relative; }
.case-slides {
  display: flex;
  width: 100%; height: 100%;
  transition: transform 0.5s var(--ease);
}
.case-slides img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.6rem;
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0 0 4px; /* nudge chevron up */
  opacity: 0;
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease);
  z-index: 2;
}
.case-carousel:hover .carousel-prev,
.case-carousel:hover .carousel-next { opacity: 1; }
.carousel-prev:hover,
.carousel-next:hover { background: rgba(0, 0, 0, 0.7); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 2;
}
.carousel-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dots span.active {
  background: #fff;
  transform: scale(1.2);
}
@media (hover: none) {
  .carousel-prev, .carousel-next { opacity: 1; }
}
.case-head { margin-bottom: 18px; }
.case-tag {
  display: inline-block; font-size: 0.75rem;
  padding: 5px 12px; border-radius: 999px;
  background: var(--sand-100); color: var(--green-800);
  font-weight: 500; margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.case-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.case-meta { color: var(--ink-muted); font-size: 0.85rem; margin: 0; }
.case-stats {
  margin: 0 0 16px; padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid; gap: 8px;
}
.case-stats > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: baseline; }
.case-stats dt { font-size: 0.78rem; color: var(--ink-muted); letter-spacing: 0.06em; margin: 0; }
.case-stats dd { margin: 0; color: var(--green-900); font-weight: 500; font-size: 0.92rem; }
.case-desc { color: var(--ink); font-size: 0.92rem; margin: 0; }
.case-desc strong { color: var(--green-800); font-weight: 600; }
.case-note {
  background: var(--green-800); color: #fff;
  justify-content: center; align-items: flex-start;
  gap: 12px;
}
.case-note h3 { color: var(--sand); }
.case-note p { color: rgba(255,255,255,0.92); }
.case-note .btn { align-self: flex-start; border-color: var(--sand); color: var(--sand); background: transparent; }
.case-note .btn:hover { background: var(--sand); color: var(--green-900); }

/* Value */
.value {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(245, 239, 230, 0.78), rgba(245, 239, 230, 0.78)),
    url("../assets/homes/bg-premium-suburb.jpg") center / cover no-repeat;
  background-color: var(--cream);
}
.value > .container { position: relative; z-index: 1; }
.value-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.value-item {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "desc desc";
  column-gap: 16px;
  row-gap: 14px;
  align-items: center;
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.value-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-800); color: var(--sand);
  font-family: "Noto Serif SC", "Fraunces", serif; font-weight: 600;
  font-size: 1rem;
  grid-area: num;
}
.value-item h3 { margin: 0; color: var(--green-900); text-align: left; grid-area: title; }
.value-item p { color: var(--ink); margin: 0; font-size: 0.95rem; line-height: 1.75; grid-area: desc; }
.value-item strong { color: var(--green-800); font-weight: 600; }
.value-icon {
  position: absolute;
  top: 22px; right: 22px;
  width: 32px; height: 32px;
  color: var(--sand);
  opacity: 0.32;
  pointer-events: none;
}
.value-item:hover .value-icon { opacity: 0.55; }

/* Socials (contact) */
.socials { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.socials-label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-muted); margin: 0 0 12px;
}
.socials ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.socials li {
  display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: baseline;
  font-size: 0.92rem;
}
.socials li span {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  /* Steps snake at 2 cols: 1→2 ↓ 4←3 ↓ 5→6 ↓ 8←7 */
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 36px;
  }
  .steps li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .steps li:nth-child(3) { grid-column: 2; grid-row: 2; }
  .steps li:nth-child(4) { grid-column: 1; grid-row: 2; }
  .steps li:nth-child(5) { grid-column: 1; grid-row: 3; }
  .steps li:nth-child(6) { grid-column: 2; grid-row: 3; }
  .steps li:nth-child(7) { grid-column: 2; grid-row: 4; }
  .steps li:nth-child(8) { grid-column: 1; grid-row: 4; }

  /* Reset all arrow positions, then redefine per-step */
  .steps li::after {
    right: auto; left: auto; top: auto; bottom: auto;
    border-width: 0;
    transform: none;
    display: block;
  }
  /* Right chevrons: 1→2, 5→6 */
  .steps li:nth-child(1)::after,
  .steps li:nth-child(5)::after {
    right: -22px; top: 50%;
    border-top-width: 2px; border-right-width: 2px;
    transform: translateY(-50%) rotate(45deg);
  }
  /* Down chevrons (row transitions): 2↓, 4↓, 6↓ */
  .steps li:nth-child(2)::after,
  .steps li:nth-child(4)::after,
  .steps li:nth-child(6)::after {
    bottom: -28px; left: 50%;
    border-bottom-width: 2px; border-right-width: 2px;
    transform: translateX(-50%) rotate(45deg);
  }
  /* Left chevrons: 3→4, 7→8 */
  .steps li:nth-child(3)::after,
  .steps li:nth-child(7)::after {
    left: -22px; top: 50%;
    border-bottom-width: 2px; border-left-width: 2px;
    transform: translateY(-50%) rotate(45deg);
  }
  .steps li:nth-child(8)::after { display: none; }
}

@media (max-width: 960px) {
  .hero-grid,
  .areas-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid, .quote-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .value-item { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { order: 2; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 16px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .primary-nav.open { max-height: 560px; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a:last-child { border-bottom: none; }
  .primary-nav .nav-cta { margin-top: 12px; text-align: center; }

  .card-grid, .quote-grid, .case-grid { grid-template-columns: 1fr; }

  /* Steps: single-column vertical timeline with down arrows */
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps li:nth-child(n) { grid-column: 1; grid-row: auto; }
  .steps li::after {
    right: auto; top: auto;
    left: 50%; bottom: -24px;
    border-width: 0 2px 2px 0;
    border-color: var(--sand);
    transform: translateX(-50%) rotate(45deg);
    display: block;
  }
  .steps li:nth-child(8)::after { display: none; }
  .value-item { flex-basis: 100%; max-width: 100%; }
  .areas-cols { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .hero-stats strong { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .socials li { grid-template-columns: 70px 1fr; }
}

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