/* Markham Home — shared stylesheet
   Palette: saturated gold + warm golden-white (new-layout preview).
   No external dependencies; system font stacks for fast loading. */
:root {
  --gold: #d4a017;
  --gold-bright: #eab308;
  --gold-deep: #b8860b;
  --gold-soft: #f5d76e;
  --gold-pale: #fef3c7;
  --gold-line: #ecd98a;
  --paper: #fffbeb;
  --paper-2: #fde9a8;
  --card: #ffffff;
  --ink: #2b2110;
  --muted: #6f6250;
  --link: #8a6508;
  --line: #efe3b8;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(120, 90, 10, 0.10);
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC","Noto Sans SC",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}
a { color: var(--link); }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--gold-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap { max-width: 1240px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 14px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "PingFang SC","Noto Sans SC",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.logo-mark { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.logo small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--gold-deep);
}
.brand { display: flex; align-items: baseline; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand-home { color: var(--gold-deep); }
.main-nav { display: flex; gap: 0; flex-wrap: nowrap; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--gold-pale);
  color: var(--gold-deep);
}
.main-nav a.nav-cta {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #241a00;
  font-weight: 700;
}
.lang-switch {
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 14px;
  text-decoration: none;
  color: var(--gold-deep);
  white-space: nowrap;
}
.lang-switch:hover { background: var(--gold-pale); }
.phone-pill {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #241a00 !important;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}
.phone-pill:hover { filter: brightness(1.05); }
.nav-toggle, .menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 3px 0; }

/* Hero — full-bleed photo, yellow fades left + bottom */
.hero { position: relative; overflow: hidden; background: var(--paper); min-height: 560px; }
.hero picture, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img, .hero > img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, var(--paper) 0%, rgba(255, 251, 235, 0.92) 22%, rgba(255, 251, 235, 0.45) 45%, rgba(255, 251, 235, 0) 68%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 251, 235, 0) 34%, rgba(255, 251, 235, 0.38) 56%, rgba(255, 251, 235, 0.80) 79%, var(--paper) 100%);
}
.hero-text { position: relative; z-index: 2; padding: 110px 0 120px; color: var(--ink); }
.hero-eyebrow { font-size: 13px; letter-spacing: 3px; font-weight: 700; color: var(--gold-deep); margin: 0 0 10px; }
.hero-text h1 {
  font-family: "PingFang SC","Noto Sans SC",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 40px;
  line-height: 1.3;
  margin: 0 0 10px;
  max-width: 760px;
}
.hero-city { display: block; font-size: 64px; line-height: 1.1; color: var(--gold-deep); letter-spacing: 0.5px; }
.hero-text p { margin: 0 0 16px; max-width: 680px; font-size: 17px; }
.page-hero { background: linear-gradient(135deg, var(--gold-pale), var(--paper-2)); border-bottom: 1px solid var(--gold-line); }
.page-hero h1 {
  font-family: "PingFang SC","Noto Sans SC",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 34px;
  margin: 0;
  padding: 40px 0 6px;
}
.page-hero p { color: var(--muted); margin: 0; padding-bottom: 28px; max-width: 760px; }

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #241a00 !important;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.35);
}
.btn:hover { filter: brightness(1.05); }
.btn.light { background: #fff; color: var(--ink) !important; border: 1px solid var(--gold-line); box-shadow: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); }
.btn-icon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; fill: currentColor; }
.btn-ghost {
  background: transparent;
  color: var(--gold-deep) !important;
  border: 1.5px solid var(--gold);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--gold-pale); }
.btn-ghost-light {
  background: rgba(255, 251, 235, 0.88);
  color: var(--ink) !important;
  border: 1.5px solid var(--gold-deep);
  box-shadow: none;
}
.btn-ghost-light:hover { background: #fff; }

/* Sections */
section.block { padding: 44px 0; }
section.block h2 {
  font-family: "PingFang SC","Noto Sans SC",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 26px;
  margin: 0 0 10px;
}
.lead { color: var(--muted); max-width: 760px; margin: 0 0 24px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { margin: 0 0 8px; font-size: 19px; }
.card-body p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.service-icon {
  display: inline-flex;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #fff;
  font-size: 22px; font-weight: 700;
  align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 64px;
  margin-bottom: 14px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  text-align: center;
  line-height: 32px;
  font-weight: 700;
}
.steps li h3 { margin: 0 0 4px; font-size: 18px; }
.steps li p { margin: 0; color: var(--muted); font-size: 16px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; height: 320px; object-fit: cover; }
.callout {
  background: var(--gold-pale);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 24px;
}
.callout h2, .callout h3 { margin-top: 0; }

/* Bio section */
.bio-grid { display: grid; grid-template-columns: 280px 1fr 220px; gap: 28px; align-items: start; }
.bio-card { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--gold-line); border-radius: 14px; padding: 28px; margin: 28px 0; }
.bio-photo { border-radius: 12px; width: 100%; }
.bio-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.qr-box { border: 1px solid var(--gold-line); border-radius: 12px; padding: 18px; text-align: center; background: #fff; }
.qr-box img { width: 160px; height: auto; margin: 0 auto 8px; }
.qr-box p { margin: 0; font-size: 14px; color: var(--muted); }
.band { background: var(--gold-pale); border-radius: 14px; padding: 24px; margin: 28px 0; }
.bio-role { font-size: 18px; font-weight: 700; color: var(--gold-deep); margin: 0 0 10px; }
.bio-points { list-style: none; padding: 0; margin: 0 0 18px; }
.bio-points li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.bio-points li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }
.bio-qr { text-align: center; background: #fff; border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 16px; }
.bio-qr img { width: 180px; height: auto; margin: 0 auto; }
.bio-qr p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

/* Forms */
form label { display: block; font-weight: 600; margin: 14px 0 4px; }
form input, form textarea, form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
}
form textarea { min-height: 130px; }
.note { font-size: 14px; color: var(--muted); }
.wechat-box {
  border: 2px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  background: #fff;
}
.wechat-box .qr-placeholder {
  width: 150px; height: 150px;
  margin: 0 auto 12px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold-deep);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--gold-line);
  background: #241a00;
  color: #e8dcc0;
  margin-top: 20px;
  padding-bottom: 160px;
}
.footer-inner {
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  font-size: 16px;
  color: #cbbf9e;
}
.footer-inner a { color: #e8dcc0; text-decoration: none; }
.footer-inner a:hover { color: var(--gold-soft); }
.footer-inner strong { color: #fff; }

/* Mobile nav: collapse to the hamburger menu at 1150px and below */
@media (max-width: 1150px) {
  .nav-toggle, .menu-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 4;
  }
  .main-nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
}
/* Mobile */
@media (max-width: 760px) {
  .phone-pill { font-size: 13px; padding: 6px 12px; }
  .hero { min-height: 480px; }
  .hero-text { padding: 90px 0 110px; }
  .hero-text h1 { font-size: 30px; }
  .hero-city { font-size: 44px; }
  .grid, .grid.two, .split, .bio-card, .bio-grid { grid-template-columns: 1fr; }
  .split img { height: 240px; }
}
/* Restored services and long-form content */
.skip{position:absolute;left:-10000px;top:8px}.skip:focus{left:8px;z-index:100;background:#fff;padding:12px}.breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:12px 0;margin:0;font-size:13px}.breadcrumb li+li:before{content:'/';padding-right:8px}.content-intro{max-width:420px}.split-content,.contact-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:36px}.narrow{max-width:900px}.prose p{margin:0 0 20px}.prose h2{margin-top:30px}.soft{background:#fef3c755}.three-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.section-title{margin-bottom:28px}.step{display:flex;gap:20px;border-top:1px solid var(--gold-line);padding:20px 0}.step-no{color:var(--gold-deep)}.step h3{margin:0 0 8px}.step p{margin:0}.community-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.community-grid article{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff}.community-grid a{display:block;margin-top:12px}.source-note{padding:24px;background:var(--gold-pale);margin-top:30px}.source-note a{display:inline-block;margin:8px 24px 0 0}.article-actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin:26px 0}.fine,.form-note{font-size:13px;color:#62594d}.form-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.intent-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.intent-picker label{position:relative}.intent-picker input{position:absolute;opacity:0;width:1px}.intent-picker span{display:block;border:1px solid var(--line);padding:10px;text-align:center}.intent-picker input:checked+span{background:var(--gold-deep);color:#fff}.intent-picker input:focus-visible+span{outline:2px solid var(--gold-deep);outline-offset:3px}fieldset{border:0;padding:0}form .btn,form .button{margin-top:20px}form button[type=submit]{background:linear-gradient(135deg,var(--gold-bright),var(--gold-deep));color:#241a00;border:0;padding:14px 24px;border-radius:10px;cursor:pointer;font-weight:700}button:disabled{opacity:.65}.form-note[data-state=success]{color:#226347}.form-note[data-state=error]{color:#a1372d}.qr-open{padding:0;border:0;background:white;cursor:pointer}.qr-open img{width:190px;height:auto;margin:auto}.wechat-box{border-style:solid}.quick-contact{position:fixed;right:18px;bottom:20px;display:flex;flex-direction:column;gap:7px;width:130px;z-index:40}.quick-contact>a,.quick-contact>button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:2px solid white;border-radius:14px;color:white;text-decoration:none;font:700 14px/1.4 system-ui;box-shadow:0 4px 14px #0003;cursor:pointer}.quick-whatsapp{background:#14774f}.quick-call{background:#ad423e}.quick-wechat{background:#216b97}#wechat-dialog{width:min(420px,calc(100% - 32px));max-height:90vh;overflow:auto;padding:0;border:1px solid var(--gold);border-radius:12px;background:var(--paper)}#wechat-dialog::backdrop{background:#0009}.wechat-panel{padding:28px;text-align:center;position:relative}.wechat-panel img{width:min(270px,100%);height:auto;margin:20px auto}.wechat-close{position:absolute;right:10px;top:8px;border:0;background:none;font-size:26px;cursor:pointer}.wechat-done{padding:10px 25px;cursor:pointer}.hero .btn-ghost-light{color:var(--ink)!important}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--gold-deep)}.mini-number{color:var(--gold-deep)}.contact-layout .qr-open img{width:190px}.school-links a{display:inline-block;padding:10px 0}
@media(max-width:760px){.split-content,.contact-layout,.three-columns,.community-grid,.form-grid{grid-template-columns:1fr}.quick-contact{width:112px;right:12px;bottom:16px}.quick-contact>a,.quick-contact>button{font-size:13px;min-height:48px}.intent-picker span{padding:10px 4px;font-size:13px}form input,form select,form textarea{font-size:16px}.header-inner{gap:10px}.logo{font-size:22px}.logo-mark{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

a[href^="tel:"],a[href^="mailto:"]{font-weight:700}
