/* 365 Landscape — homepage (design 3a "Brand Match")
   Palette from the business card: white / charcoal / forest + leaf green */

:root {
  --bg: #fdfdfb;
  --ink: #191c16;
  --ink-soft: #48513f;
  --ink-faint: #6a7261;
  --line: #e7e8e2;
  --forest: #2c5220;
  --leaf: #6fa832;
  --leaf-bright: #8fc04f;
  --leaf-pale: #aed46f;
  --badge-bg: #eef4e3;
  --badge-ink: #3d6a1f;
  --section-bg: #f1f3ea;
  --pill-bg: #eef0e8;
  --dark: #191c16;
  --dark-ink: #f3f4ee;
  --dark-soft: #bcc2b1;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --gutter: 52px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
}

h1, h2, h3 { margin: 0; }
p { margin: 0; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: .85; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 99px;
  white-space: nowrap;
}

.btn-lg { padding: 16px 32px; font-size: 14.5px; }

.btn-primary { background: var(--forest); color: var(--bg); }

.btn-leaf { background: var(--leaf); color: #101208; padding: 16px 30px; font-size: 14.5px; font-weight: 700; }

.btn-outline-leaf { border: 1px solid var(--leaf); color: var(--leaf-pale); padding: 14px 30px; }

.btn-outline-light { border: 1px solid rgba(243, 244, 238, .4); color: var(--dark-ink); padding: 16px 30px; font-size: 14.5px; font-weight: 500; }

/* ---------- Photo placeholders (drop-zones for real photos) ---------- */

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background: repeating-linear-gradient(45deg, #e5e7dd, #e5e7dd 12px, #edeee6 12px, #edeee6 24px);
}

.ph span { font: 11px ui-monospace, Menlo, monospace; color: #8f9683; padding: 8px; text-align: center; }

.ph-green { background: repeating-linear-gradient(45deg, #dfe8d0, #dfe8d0 12px, #e8f0da 12px, #e8f0da 24px); }
.ph-green span { color: #87996d; }

.ph-dark { background: repeating-linear-gradient(45deg, #242820, #242820 14px, #2c3128 14px, #2c3128 28px); }
.ph-dark span { font-size: 12px; color: #7d8570; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 11px; }

/* "Running Bond" mark (6a) — three offset paver courses, 120×114 viewBox. */
.brand-mark {
  display: block;
  width: 40px;
  height: 38px;
  flex: none;
}

.brand-name {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-365 { color: var(--forest); font-weight: 800; }

.brand-tagline {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.site-nav { display: flex; gap: 32px; font-size: 14px; color: var(--ink-soft); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-pill {
  display: inline-flex;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
  background: var(--pill-bg);
  border-radius: 99px;
  padding: 6px 14px;
  white-space: nowrap;
}

.lang-pill .lang-active { color: var(--ink); font-weight: 600; }

.header-phone { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Phone icon, drawn as a CSS mask in currentColor — the ✆ dingbat it
   replaces fell back to whatever glyph each platform's fonts had. */
.header-phone-icon,
.phone-glyph {
  display: inline-block;
  vertical-align: -0.15em;
}

.header-phone-icon::before,
.phone-glyph::before,
.phone-icon::before {
  content: "";
  display: block;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.24 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.24 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-phone-icon { color: var(--badge-ink); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 72px var(--gutter) 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  background: var(--badge-bg);
  color: var(--badge-ink);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1.07;
  font-weight: 500;
  text-wrap: balance;
}

.hero h1 em { font-style: italic; color: var(--forest); }

.hero-lead {
  margin: 26px 0 38px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.phone-cta { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }

.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-ink);
}

.hero-stats { display: flex; gap: 30px; margin: 48px 0 0; }

.hero-stats > div { padding-left: 30px; border-left: 1px solid var(--line); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }

.hero-stats dt { font-family: var(--serif); font-size: 30px; font-weight: 600; }

.hero-stats dd {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 14px;
}

.ph-tall { grid-row: 1 / 3; }

/* Real photos (same slots as the .ph drop-zones) */

.hero-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; }

.service-card .card-photo { width: 100%; height: 130px; object-fit: cover; border-radius: 15px; margin-bottom: 18px; display: block; }

.rw-photo { width: 100%; height: 420px; object-fit: cover; border-radius: 26px; display: block; }

.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 18px; display: block; }

/* ---------- Services ---------- */

.services { background: var(--section-bg); padding: 76px var(--gutter); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 44px;
}

.section-head h2 { font-family: var(--serif); font-size: 42px; font-weight: 500; }

.link-all {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 2px solid var(--leaf);
  padding-bottom: 4px;
  white-space: nowrap;
}

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.service-card {
  background: var(--bg);
  border-radius: 22px;
  padding: 22px 20px 26px;
  box-shadow: 0 1px 3px rgba(25, 28, 22, .06);
}

.ph-card { height: 130px; border-radius: 15px; margin-bottom: 18px; }
.ph-card span { font-size: 10px; }

.service-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }

.service-card p { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Recent work ---------- */

.recent-work { background: var(--dark); color: var(--dark-ink); padding: 84px var(--gutter); }

.recent-work-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ph-portfolio { height: 420px; }

.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--leaf-bright);
}

.recent-work h2 {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.15;
  font-weight: 500;
  text-wrap: pretty;
}

.recent-work-lead {
  margin: 20px 0 34px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-soft);
  max-width: 46ch;
}

/* ---------- Process + testimonial ---------- */

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 84px var(--gutter);
}

.process h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  text-wrap: balance;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.process-steps li { display: flex; gap: 16px; }

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--badge-ink);
  font-weight: 700;
}

.process-steps h3 { font-size: 16px; font-weight: 600; }

.process-steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

.testimonial {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--forest);
  border-radius: 28px;
  color: var(--dark-ink);
  padding: 46px;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at top right, rgba(111, 168, 50, .35), transparent 70%);
}

.eyebrow-light {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.45;
  font-weight: 500;
  text-wrap: pretty;
}

.testimonial figcaption { margin-top: 22px; font-size: 13.5px; opacity: .75; }

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin: 0 var(--gutter) 68px;
  background: var(--dark);
  border-radius: 28px;
  color: var(--dark-ink);
  padding: 58px;
}

.cta-banner::before {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 38%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(111, 168, 50, .22), transparent 70%);
}

.cta-copy h2 { font-family: var(--serif); font-size: 36px; font-weight: 500; }

.cta-copy p { margin: 10px 0 0; font-size: 15px; opacity: .75; }

.cta-actions { display: flex; gap: 14px; flex: none; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Chinese (zh-CN) typography ---------- */

/* Latin faces carry no CJK glyphs; Noto steps in for hanzi only (loaded on
   zh pages). Wide tracking designed for uppercase Latin reads as gaps
   between hanzi, so rein those elements in. */

:root[lang="zh-CN"] {
  --serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
  --sans: 'Outfit', 'Noto Sans SC', system-ui, sans-serif;
}

:root[lang="zh-CN"] .brand-tagline,
:root[lang="zh-CN"] .hero-badge,
:root[lang="zh-CN"] .hero-stats dd,
:root[lang="zh-CN"] .link-all,
:root[lang="zh-CN"] .eyebrow,
:root[lang="zh-CN"] .eyebrow-light,
:root[lang="zh-CN"] .group-sub { letter-spacing: .08em; }

:root[lang="zh-CN"] .hero-lead,
:root[lang="zh-CN"] .page-hero .lead,
:root[lang="zh-CN"] .prose p,
:root[lang="zh-CN"] .prose li { line-height: 1.85; }

/* ---------- Inner pages ---------- */

.site-nav a.active { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--leaf); padding-bottom: 3px; }

.page-hero { padding: 64px var(--gutter) 56px; border-bottom: 1px solid var(--line); }

.page-hero h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 500;
  text-wrap: balance;
}

.page-hero .lead {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}

.page-section { padding: 64px var(--gutter); }
.page-section.alt { background: var(--section-bg); }

.page-section h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin-bottom: 18px; }

.prose p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 16px; max-width: 72ch; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 6px; }
.prose h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 30px 0 12px; }
.prose a { color: var(--forest); font-weight: 600; }

/* Service groups */

.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.service-group {
  background: var(--bg);
  border-radius: 22px;
  padding: 30px 28px 34px;
  box-shadow: 0 1px 3px rgba(25, 28, 22, .06);
}

.service-group h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 6px; }

.service-group .group-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--badge-ink); font-weight: 600; margin-bottom: 16px; }

.service-group ul { margin: 0; padding: 0; list-style: none; }

.service-group li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: 9px 0 9px 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.service-group li:last-child { border-bottom: 0; }

.service-group li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }

/* Gallery (portfolio) */

.gallery-section h2 { margin-bottom: 6px; }
.gallery-sub { font-size: 14px; color: var(--ink-faint); margin-bottom: 26px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .ph { height: 240px; border-radius: 18px; }

/* FAQ accordion */

.faq-list { max-width: 820px; }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--serif); font-size: 24px; color: var(--forest); flex: none; }
.faq-list details[open] summary::after { content: "–"; }

.faq-list .faq-body { padding: 0 0 22px; }
.faq-list .faq-body p, .faq-list .faq-body li { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
.faq-list .faq-body p { margin: 0 0 10px; max-width: 68ch; }
.faq-list .faq-body ul { margin: 0 0 10px; padding-left: 22px; }

/* Contact */

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-form label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  font: 15px var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #d5d8cc;
  border-radius: 12px;
}

.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; border-color: var(--leaf); }

.contact-form button {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
}

.contact-info {
  background: var(--section-bg);
  border-radius: 22px;
  padding: 34px 32px;
}

.contact-info h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.contact-info p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.contact-info strong { color: var(--ink); }

.footer-links { display: flex; gap: 18px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  :root { --gutter: 32px; }

  .site-header { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 20px; }

  .service-groups { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 220px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero h1 { font-size: 42px; }

  .hero { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: 50px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .recent-work-inner { grid-template-columns: 1fr; gap: 40px; }
  .ph-portfolio, .rw-photo { height: 320px; }

  .process { grid-template-columns: 1fr; gap: 44px; }

  .cta-banner { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  /* Keep the language toggle reachable on phones; drop only the phone number
     (it repeats in the hero and CTA banner). */
  .header-phone { display: none; }

  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 20px; }
  .hero-stats > div { padding-left: 20px; }

  .hero-photos { grid-template-rows: 180px 180px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head h2 { font-size: 34px; }
  .service-grid { grid-template-columns: 1fr; }

  .recent-work h2, .process h2 { font-size: 32px; }
  .ph-portfolio, .rw-photo { height: 240px; }

  .testimonial { padding: 32px 28px; }
  .testimonial blockquote { font-size: 22px; }

  .cta-copy h2 { font-size: 28px; }

  .site-footer { flex-direction: column; }

  .gallery { grid-template-columns: 1fr; }
  .gallery .ph, .gallery img { height: 200px; }
  .page-hero h1 { font-size: 34px; }
}
