  @import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&family=Newsreader:ital,wght@1,400;1,500&display=swap');

  html, body { margin: 0; padding: 0; background: #FBF2D6; }

  #wp-root {
    /* "Colours of Vietnam" countryside palette: matcha, jade green, coral, egg custard */
    --bg: #FBF2D6;
    --bg-alt: #F3E2AE;
    --parchment: #F8E2C4;
    --parchment-line: #E7C594;
    --panel: #FFF9E6;
    --ink: #362F1C;
    --ink-soft: #6B6142;
    --ink-faint: #9C9270;
    --jade: #5C6F02;
    --jade-dark: #3B4708;
    --jade-tint: #C4D8A7;
    --lacquer: #C15A36;
    --warm: #C15A36;
    --line: #E3CE9E;
    --coral: #E47E58;
    --custard: #FCEA84;

    /* weathered mustard-wood accent, replaces gold leaf for a rustic feel */
    --gold: #CC9A3A;
    --gold-dark: #9C7423;
    --gold-tint: #F3E4BE;
    --gold-on-dark: #E9CB78;

    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --font-serif: 'Newsreader', serif;

    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  #wp-root * { box-sizing: border-box; margin: 0; padding: 0; }
  #wp-root img { max-width: 100%; display: block; }
  #wp-root svg { color: inherit; }

  #wp-root .wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
  #wp-root section { padding: 96px 0; position: relative; }
  #wp-root .eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jade);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
  }
  #wp-root .eyebrow::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--jade);
    display: inline-block;
  }
  #wp-root h1, #wp-root h2, #wp-root h3 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -0.01em;
    font-weight: 600;
  }
  #wp-root h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; font-weight: 700; }
  #wp-root h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
  #wp-root h3 { font-size: 19px; }
  #wp-root p { color: var(--ink-soft); }
  #wp-root .lede { font-size: 18px; max-width: 560px; margin-top: 20px; }

  #wp-root .btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease;
  }
  #wp-root .btn-primary { background: var(--jade); color: #fff; }
  #wp-root .btn-primary:hover { background: var(--jade-dark); transform: translateY(-1px); }
  #wp-root .btn-ghost { border-color: var(--line); color: var(--ink); }
  #wp-root .btn-ghost:hover { border-color: var(--jade); color: var(--jade); }
  #wp-root .btn-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

  /* NAV */
  #wp-root nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 26px 28px; max-width: 1080px; margin: 0 auto;
    position: relative; z-index: 1;
  }
  #wp-root .brand {
    font-family: var(--font-display); font-weight: 700; font-size: 19px;
    display: flex; align-items: center; gap: 8px;
  }
  #wp-root .brand-tagline {
    font-family: var(--font-serif); font-style: italic; font-weight: 400;
    font-size: 13px; color: var(--ink-faint); margin-left: 4px;
  }
  #wp-root .brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lacquer); }
  #wp-root .navlinks { display: flex; gap: 30px; font-size: 14px; color: var(--ink-soft); }
  #wp-root .navlinks a { color: var(--ink-soft); text-decoration: none; }
  #wp-root .navlinks a:hover { color: var(--jade); }

  /* HERO */
  #wp-root .hero {
    position: relative; overflow: hidden;
    padding-bottom: 110px;
  }
  #wp-root .hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(180deg, rgba(24,22,10,0.6) 0%, rgba(24,22,10,0.5) 50%, rgba(24,22,10,0.68) 100%),
      url('/images/hero-family-tet-web.jpg');
    background-size: cover;
    background-position: center 25%;
    filter: brightness(0.9);
  }
  #wp-root .hero > .wrap {
    padding-top: 130px; padding-bottom: 30px;
  }
  #wp-root .hero .eyebrow { color: var(--gold-on-dark); }
  #wp-root .hero .eyebrow::before { background: var(--gold-on-dark); }
  #wp-root .hero h1 { color: #FBF2D6; }
  #wp-root .hero .lede { color: #E7DFB8; }
  #wp-root .hero .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
  #wp-root .hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
  #wp-root .hero nav .brand { color: #FBF2D6; }
  #wp-root .hero nav .brand-tagline { color: rgba(251,242,214,0.65); }
  #wp-root .hero nav .navlinks a { color: rgba(255,255,255,0.82); }
  #wp-root .hero nav .navlinks a:hover { color: var(--gold-on-dark); }

  /* ORNAMENT DIVIDER (lotus + gold rule) */
  #wp-root .wp-ornament {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    color: var(--gold); margin: 0 0 56px;
  }
  #wp-root .wp-ornament .rule { flex: 0 0 64px; height: 1px; background: var(--gold); opacity: 0.55; }
  #wp-root .wp-ornament svg { width: 22px; height: 22px; }
  #wp-root .ornament-section { padding-top: 72px; padding-bottom: 0; }

  /* THE GAP (comparison) */
  #wp-root .gap-section { background: var(--bg-alt); }
  #wp-root .gap-grid {
    display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0; margin-top: 48px;
  }
  #wp-root .gap-col { padding: 8px 40px; }
  #wp-root .gap-col:first-child { padding-left: 0; }
  #wp-root .gap-col:last-child { padding-right: 0; }
  #wp-root .gap-divider { background: var(--line); position: relative; }
  #wp-root .gap-divider::before {
    content: '⑂'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    color: var(--ink-faint); font-size: 18px; background: var(--bg-alt); padding: 4px 0;
  }
  #wp-root .gap-head { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
  #wp-root .gap-col.free .gap-head { color: var(--ink-faint); }
  #wp-root .gap-col.us .gap-head { color: var(--jade); }
  #wp-root .gap-list { list-style: none; }
  #wp-root .gap-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
  #wp-root .gap-col.us .gap-list li { color: var(--ink); font-weight: 500; }
  #wp-root .gap-col.free .gap-list li::before { content: '✓ '; color: var(--ink-faint); }
  #wp-root .gap-col.us .gap-list li::before { content: '→ '; color: var(--jade); }

  /* SERVICES (non-sequential grid) */
  #wp-root .service-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px;
  }
  #wp-root .service-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
    padding: 28px; display: flex; flex-direction: column; gap: 14px;
  }
  #wp-root .service-tag {
    font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--jade); background: var(--jade-tint);
    padding: 4px 10px; border-radius: 3px; width: fit-content;
  }
  #wp-root .service-card p { font-size: 15px; }

  /* PLANS */
  #wp-root .plans-section {
    background: var(--jade-dark); color: #fff; overflow: hidden;
    border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  }
  #wp-root .plans-section .eyebrow { color: var(--jade-tint); }
  #wp-root .plans-section .eyebrow::before { background: var(--jade-tint); }
  #wp-root .plans-section h2 { color: var(--bg); }
  #wp-root .plans-section > .wrap > p { color: #E7DFB8; max-width: 820px; margin-top: 16px; text-wrap: balance; }
  #wp-root .plans-motif {
    position: absolute; width: 340px; height: 340px; color: var(--gold-on-dark);
    opacity: 0.08; z-index: 0; pointer-events: none;
  }
  #wp-root .plans-motif.top-left { top: -90px; left: -90px; }
  #wp-root .plans-motif.bottom-right { bottom: -100px; right: -100px; transform: rotate(20deg); }
  #wp-root .plan-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
  }
  #wp-root .plan-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14);
    border-radius: 6px; padding: 30px 26px; display: flex; flex-direction: column;
  }
  #wp-root .plan-card.featured { background: var(--panel); color: var(--ink); border-color: var(--panel); }
  #wp-root .plan-card.featured .plan-name,
  #wp-root .plan-card.featured .plan-desc { color: var(--ink); }
  #wp-root .plan-tag {
    font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.08em; color: #FBE4C4; background: rgba(228,126,88,0.22);
    padding: 3px 9px; border-radius: 3px; width: fit-content; margin-bottom: 16px;
  }
  #wp-root .plan-card.featured .plan-tag { color: var(--lacquer); background: rgba(228,126,88,0.14); }
  #wp-root .plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--bg); }
  #wp-root .plan-desc { font-size: 14px; color: #E7DFB8; margin-bottom: 20px; flex-grow: 1; }
  #wp-root .plan-card.featured .plan-desc { color: var(--ink-soft); }

  #wp-root .plans-note {
    margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14);
  }
  #wp-root .plans-note p {
    color: #E7DFB8; font-size: 14px; line-height: 1.6; max-width: 640px;
  }
  #wp-root .plans-note p + p { margin-top: 12px; }
  #wp-root .plans-note strong { color: #fff; font-weight: 600; }
  #wp-root .plans-note-highlight {
    color: var(--gold-on-dark); font-weight: 600;
  }

  /* HOW IT WORKS */
  #wp-root .how-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px;
  }
  #wp-root .how-step .how-num {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-mono); font-size: 12px; color: var(--jade); margin-bottom: 16px;
  }
  #wp-root .how-num .badge {
    width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
    background: var(--jade-tint); display: flex; align-items: center; justify-content: center;
  }
  #wp-root .how-num .badge svg { width: 20px; height: 20px; color: var(--jade); opacity: 0.7; }

  /* A NOTE FROM US (letter) */
  #wp-root .letter-section { background: var(--parchment); position: relative; overflow: hidden; }
  #wp-root .letter-mark {
    color: var(--warm); margin-bottom: 18px; opacity: 0.75;
  }
  #wp-root .letter-mark svg { width: 40px; height: 40px; }
  #wp-root .letter-text {
    font-family: var(--font-serif); font-style: italic; font-weight: 400;
    font-size: clamp(21px, 2.6vw, 27px); line-height: 1.55; color: var(--ink);
    max-width: 700px;
  }
  #wp-root .letter-sign {
    margin-top: 28px; font-family: var(--font-body); font-weight: 600;
    font-size: 15px; color: var(--warm);
  }
  #wp-root .letter-sign span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; margin-top: 2px; }

  /* TEAM */
  #wp-root .team-section { background: var(--panel); }
  #wp-root .team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
  #wp-root .team-card {
    background: var(--parchment); border: 1px solid var(--parchment-line);
    border-radius: 10px; padding: 30px;
  }
  #wp-root .team-avatar {
    width: 56px; height: 56px; border-radius: 50%; background: var(--warm);
    color: #fff; font-family: var(--font-display); font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 18px;
    box-shadow: 0 0 0 3px var(--parchment), 0 0 0 5px var(--gold);
  }
  #wp-root .team-role { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--warm); letter-spacing: 0.06em; margin-bottom: 4px; }

  /* HERITAGE FRIEZE (terracotta roof-tile strip) */
  #wp-root .heritage-frieze-wrap {
    max-width: 1080px; margin: 0 auto; padding: 0 28px 28px; color: var(--coral); opacity: 0.65;
  }
  #wp-root .heritage-frieze { width: 100%; height: 34px; display: block; }

  /* FOOTER / CONTACT */
  #wp-root .contact-section { text-align: center; }
  #wp-root .contact-section h2 { max-width: 640px; margin: 0 auto 16px; }
  #wp-root .contact-section p { max-width: 480px; margin: 0 auto; }
  #wp-root .contact-section .btn-row { justify-content: center; }

  #wp-root .contact-grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
    margin-top: 48px; text-align: left;
  }
  #wp-root .contact-form {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 12px; padding: 32px;
  }
  #wp-root .form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
  }
  #wp-root .form-field { display: flex; flex-direction: column; gap: 6px; }
  #wp-root .form-field.full { grid-column: 1 / -1; }
  #wp-root .form-label {
    font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--ink-soft);
  }
  #wp-root .form-input {
    font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 6px;
    padding: 10px 12px; width: 100%;
  }
  #wp-root .form-input:focus { outline: none; border-color: var(--jade); }
  #wp-root textarea.form-input { resize: vertical; font-family: var(--font-body); }
  #wp-root .hidden-field { position: absolute; left: -9999px; }

  #wp-root .contact-side {
    background: var(--parchment); border: 1px solid var(--parchment-line);
    border-radius: 12px; padding: 30px; height: fit-content;
  }
  #wp-root .contact-expect { list-style: none; display: flex; flex-direction: column; gap: 14px; }
  #wp-root .contact-expect li {
    font-size: 14px; color: var(--ink-soft); padding-left: 20px; position: relative;
  }
  #wp-root .contact-expect li::before {
    content: '→'; position: absolute; left: 0; color: var(--jade); font-weight: 600;
  }
  #wp-root .contact-side-divider { height: 1px; background: var(--parchment-line); margin: 26px 0; }

  @media (max-width: 760px) {
    #wp-root .contact-grid { grid-template-columns: 1fr; }
    #wp-root .form-row { grid-template-columns: 1fr; }
  }

  #wp-root footer {
    border-top: 1px solid var(--line); padding: 32px 28px; font-size: 13px;
    color: var(--ink-faint); display: flex; justify-content: space-between; max-width: 1080px;
    margin: 0 auto; flex-wrap: wrap; gap: 12px;
  }

  #wp-root .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  #wp-root .reveal.in { opacity: 1; transform: none; }

  /* BLOG */
  #wp-root .blog-header { padding-bottom: 40px; }
  #wp-root .blog-list { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
  #wp-root .blog-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
    padding: 30px; display: block; text-decoration: none; transition: border-color .15s ease;
  }
  #wp-root .blog-card:hover { border-color: var(--jade); }
  #wp-root .blog-card .blog-date {
    font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--jade); margin-bottom: 12px; display: block;
  }
  #wp-root .blog-card h3 { font-size: 22px; margin-bottom: 10px; }
  #wp-root .blog-card p { font-size: 15px; }

  #wp-root .back-link {
    display: flex; width: fit-content; align-items: center; gap: 6px;
    font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--ink-soft); text-decoration: none; margin-bottom: 28px;
  }
  #wp-root .back-link:hover { color: var(--jade); }

  /* CHAT DEMO */
  #wp-root .demo-section .lede { max-width: 620px; }
  #wp-root .chat-window {
    max-width: 620px; margin: 48px auto 0; background: var(--panel);
    border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 60px -32px rgba(54,47,28,0.4);
  }
  #wp-root .chat-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--bg);
  }
  #wp-root .chat-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
    background: var(--jade); color: #fff; font-family: var(--font-display);
    font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
  }
  #wp-root .chat-avatar.small { width: 26px; height: 26px; font-size: 11px; }
  #wp-root .chat-name { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--ink); }
  #wp-root .chat-status {
    font-size: 12px; color: var(--ink-faint); display: flex; align-items: center; gap: 6px; margin-top: 2px;
  }
  #wp-root .dot-online { width: 7px; height: 7px; border-radius: 50%; background: #4CAF50; display: inline-block; }
  #wp-root .chat-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
  #wp-root .chat-msg {
    display: flex; align-items: flex-end; gap: 8px;
    opacity: 0; transform: translateY(8px) scale(0.98);
    transition: opacity .35s ease, transform .35s ease;
  }
  #wp-root .chat-msg.in { opacity: 1; transform: none; }
  #wp-root .chat-msg.family { flex-direction: row-reverse; }
  #wp-root .bubble {
    max-width: 74%; background: #fff; border: 1px solid var(--line);
    border-radius: 14px 14px 14px 4px; padding: 10px 14px;
  }
  #wp-root .chat-msg.family .bubble {
    background: var(--jade); color: #fff; border-color: var(--jade);
    border-radius: 14px 14px 4px 14px;
  }
  #wp-root .bubble-text { font-size: 14.5px; line-height: 1.45; color: var(--ink); }
  #wp-root .chat-msg.family .bubble-text { color: #fff; }
  #wp-root .bubble-time {
    font-size: 11px; color: var(--ink-faint); margin-top: 6px; font-family: var(--font-mono);
  }
  #wp-root .chat-msg.family .bubble-time { color: rgba(255,255,255,0.75); }
  #wp-root .bubble-card { margin-top: 8px; background: var(--jade-tint); border-radius: 8px; padding: 8px 12px; }
  #wp-root .bubble-card-tag {
    font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--jade-dark);
  }
  #wp-root .bubble-card-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 2px; }

  #wp-root .typing-bubble {
    display: flex; gap: 4px; align-items: center; padding: 13px 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px;
  }
  #wp-root .chat-msg.family .typing-bubble {
    background: var(--jade); border-color: var(--jade); border-radius: 14px 14px 4px 14px;
  }
  #wp-root .typing-bubble span {
    width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint);
    display: inline-block; animation: wpTypingBounce 1s infinite ease-in-out;
  }
  #wp-root .chat-msg.family .typing-bubble span { background: rgba(255,255,255,0.85); }
  #wp-root .typing-bubble span:nth-child(2) { animation-delay: 0.15s; }
  #wp-root .typing-bubble span:nth-child(3) { animation-delay: 0.3s; }
  @keyframes wpTypingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-4px); opacity: 1; }
  }

  @media (max-width: 760px) {
    #wp-root .chat-window { margin-top: 32px; }
    #wp-root .chat-body { padding: 16px; }
    #wp-root .bubble { max-width: 84%; }
  }
  #wp-root .article-header { padding-bottom: 0; }
  #wp-root .article-meta {
    font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--ink-faint); margin-top: 18px;
  }
  #wp-root .article-body { max-width: 700px; margin: 0 auto; padding: 40px 28px 0; }
  #wp-root .article-body p { font-size: 17px; line-height: 1.75; margin-bottom: 24px; color: var(--ink-soft); }
  #wp-root .article-body h2 { margin-top: 48px; margin-bottom: 16px; font-size: 26px; }
  #wp-root .article-pull {
    font-family: var(--font-serif); font-style: italic; font-weight: 400;
    font-size: 22px; line-height: 1.5; color: var(--ink);
    border-left: 3px solid var(--gold); padding-left: 24px; margin: 40px 0;
  }
  #wp-root .article-body .btn-row { margin-top: 44px; }

  @media (max-width: 760px) {
    #wp-root .gap-grid { grid-template-columns: 1fr; }
    #wp-root .gap-divider { display: none; }
    #wp-root .gap-col { padding: 20px 0; }
    #wp-root .plan-grid, #wp-root .how-grid, #wp-root .team-grid, #wp-root .service-grid { grid-template-columns: 1fr; }
    #wp-root .navlinks { display: none; }
    #wp-root .brand-tagline { display: none; }
    #wp-root section { padding: 64px 0; }
    #wp-root .wp-ornament .rule { flex-basis: 32px; }
    #wp-root .plans-motif { width: 220px; height: 220px; }
  }

  @media (prefers-reduced-motion: reduce) {
    #wp-root .reveal { opacity: 1; transform: none; transition: none; }
    #wp-root .traveler { animation: none !important; }
  }
