:root {
  color-scheme: light;
  --moss: #253927;
  --deep: #192a1c;
  --ink: #1e2c20;
  --muted: #4f5e51;
  --paper: #fcfcf8;
  --wash: #eef1e9;
  --line: #cfd7cc;
  --neon: #a524e8;
  --neon-light: #eba5ff;
  --header: 5rem;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --space: clamp(4rem, 8vw, 8rem);
  --font: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--font); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.17; }
h2 { font-size: clamp(2.1rem, 5.2vw, 5rem); font-weight: 700; letter-spacing: -.065em; }
h3 { font-size: clamp(1.18rem, 2.1vw, 1.7rem); font-weight: 700; letter-spacing: -.04em; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a:active, button:active { color: var(--neon); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 92rem); margin-inline: auto; }
.section { padding-block: var(--space); }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .75rem 1rem; background: var(--paper); color: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--moss); color: white; }
.header-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}
.brand { display: inline-flex; width: max-content; align-items: center; gap: .3rem; }
.brand-symbol { width: 2.6rem; }
.brand-words { display: grid; width: 8.8rem; gap: .15rem; }
.brand svg image { filter: brightness(0) invert(1); }
.brand-words text { fill: currentColor; font-family: var(--font); font-size: 82px; font-weight: 600; }
.header-nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2.5rem); }
.header-nav a, .footer-nav a { font-weight: 600; font-size: .875rem; white-space: nowrap; }
.header-nav a:hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: .45em; }
.header-contact { justify-self: end; padding: .55rem 1rem; border: 1px solid #a7b6a6; border-radius: 99rem; font-size: .875rem; font-weight: 600; }
.header-contact:hover { background: #ffffff1a; }
.menu-toggle { display: none; }
.site-header a:active, .site-header button:active, .site-footer a:active, .hero a:active, .projects a:active { color: var(--neon-light); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(35rem, calc(100svh - var(--header)), 64rem);
  display: flex;
  color: white;
  background: var(--deep);
}
.hero-images, .hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-images { z-index: -2; overflow: hidden; }
.hero-image { object-fit: cover; object-position: var(--crop, 54% center); opacity: 0; transition: opacity .65s ease; }
.hero-image.is-current { opacity: 1; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0e1d12dc 0%, #0e1d12b0 37%, #0e1d1240 78%),
              linear-gradient(0deg, #0e1d129e, transparent 28%);
}
.hero-inner { display: grid; grid-template-rows: 1fr auto; padding-block: clamp(3rem, 7vh, 6rem) 1.6rem; }
.hero-copy { align-self: center; padding-block: 1rem 2.75rem; }
.hero h1 { font-size: clamp(3.2rem, 8.5vw, 8.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -.077em; }
.hero-discipline { font-size: clamp(1.06rem, 2vw, 1.65rem); font-weight: 600; margin-top: 1.1rem; }
.hero-slogan { color: #f0f3ea; margin-top: .85rem; max-width: 32ch; font-size: clamp(1rem, 1.45vw, 1.15rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 99rem;
  font-size: .9rem;
  line-height: 1.4;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease;
}
.hero .button { margin-top: 1.7rem; }
.button-light { color: var(--deep); background: #f1f5e9; }
.button-light:hover { background: white; }
.hero .button-light:active { color: var(--neon); }
.button-dark { background: var(--moss); color: white; }
.button-dark:hover { background: var(--deep); }
.button-dark:active { color: var(--neon-light); }
.button-outline-light { border-color: #c6d3c2; }
.button-outline-light:hover { background: #ffffff13; }
.hero-controls {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .2rem .4rem .2rem .9rem;
  color: white;
  background: #17291de6;
  border: 1px solid #ffffff4a;
  border-radius: 99rem;
}
.hero-photo-name { font-size: .875rem; font-weight: 600; }
.hero-buttons { display: flex; align-items: center; }
.hero-buttons button { height: 2.75rem; padding: 0; border: 0; color: white; background: none; }
.hero-buttons button:active { color: var(--neon-light); }
.hero-dot { width: 1.55rem; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: .5rem; height: .5rem; border: 1px solid currentColor; border-radius: 50%; }
.hero-dot[aria-current="true"]::before { background: currentColor; }
.hero-pause { display: grid; place-items: center; width: 2.75rem; margin-left: .1rem; }
.hero-pause svg { width: 1.25rem; }
.hero-pause .play-icon, .hero-pause.is-paused .pause-icon { display: none; }
.hero-pause.is-paused .play-icon { display: block; }

.intro { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: clamp(2rem, 6vw, 6rem); }
.intro-copy { color: var(--muted); max-width: 32rem; }
.text-link {
  display: inline-block;
  color: var(--ink);
  margin-top: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .35em;
}
.services { background: var(--wash); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.filter-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-list button {
  padding: .5rem .9rem;
  min-height: 2.75rem;
  border: 1px solid #a5b1a3;
  border-radius: 99rem;
  background: transparent;
  font-size: .875rem;
  font-weight: 600;
}
.filter-list button:hover { background: #dce5d8; }
.filter-list button[aria-pressed="true"] { background: var(--moss); color: white; border-color: var(--moss); }
.filter-list button[aria-pressed="true"]:active { color: var(--neon-light); }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.service-card { grid-column: span 2; }
.service-card-large, .service-grid.is-filtered .service-card { grid-column: span 3; }
.service-card a { display: block; border-radius: .65rem; background: var(--paper); overflow: hidden; height: 100%; }
.service-card img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 1.5; background: #cdd8ca; }
.service-card-large img { aspect-ratio: 1.65; }
.service-grid.is-filtered img { aspect-ratio: 1.65; }
.service-caption { padding: 1.05rem 1.2rem 1.15rem; }
.service-caption p { margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.service-card a:hover h3 { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }

.projects { background: var(--deep); color: #f7faf3; }
.project-note { color: #cbd7c8; font-size: .94rem; }
.project-grid { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: clamp(1.5rem, 4vw, 4rem); }
.project img { width: 100%; height: auto; aspect-ratio: 1.3; object-fit: cover; border-radius: .5rem; }
.project-small img { aspect-ratio: 1.14; }
.project figcaption { margin-top: 1rem; }
.project figcaption p { color: #cbd7c8; margin-top: .35rem; }
.projects .button { margin-top: 2rem; }

.community { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.community-photo { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; object-position: 42% center; border-radius: .5rem; }
.plant-guide { margin-top: 1.7rem; border-top: 1px solid var(--line); }
.plant-guide details { border-bottom: 1px solid var(--line); }
.plant-guide summary { list-style: none; cursor: pointer; font-weight: 600; padding: 1rem 2.1rem 1rem 0; position: relative; }
.plant-guide summary::-webkit-details-marker { display: none; }
.plant-guide summary::after { content: "+" / ""; position: absolute; right: .4rem; top: .65rem; font-size: 1.5rem; }
.plant-guide details[open] summary::after { content: "−" / ""; }
.plant-guide details p { margin: 0 1rem 1rem 0; color: var(--muted); }

.visit { background: var(--wash); }
.visit-grid { display: grid; grid-template-columns: minmax(17rem, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.contact-details { margin: 1.4rem 0 1.5rem; font-style: normal; overflow-wrap: anywhere; }
.contact-details p + p { margin-top: .9rem; }
.contact-details strong { display: block; font-size: .875rem; }
.contact-details a { text-decoration: underline; text-underline-offset: .2em; }
.map { width: 100%; height: clamp(20rem, 38vw, 36rem); border: 0; border-radius: .65rem; background: #d9e4d8; }

.site-footer { background: var(--moss); color: white; padding: 2.4rem 0 5.6rem; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1.4rem 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; }
.footer-inner small { color: #d8e1d5; }
.zalo { position: fixed; z-index: 9; display: flex; gap: .45rem; right: max(.8rem, env(safe-area-inset-right)); bottom: max(.8rem, env(safe-area-inset-bottom)); }
.zalo a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .25rem .65rem .25rem .3rem;
  border: 1px solid #25442a22;
  border-radius: 99rem;
  box-shadow: 0 4px 16px #13211730;
  background: white;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
}
.zalo a:hover { background: #eef3ff; }
.zalo a:active { color: var(--neon); }
.zalo strong { background: #0756d4; color: white; padding: .27rem .42rem; border-radius: 99rem; font-size: .82rem; }

@media (max-width: 58rem) {
  :root { --header: 4.5rem; }
  .header-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .55rem; }
  .header-contact { display: none; }
  .header-nav { flex-wrap: wrap; }
  .header-nav.is-managed {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: .5rem var(--gutter) 1rem;
    background: var(--moss);
    border-top: 1px solid #ffffff36;
    box-shadow: 0 8px 20px #13211738;
  }
  .header-nav.is-managed:not(.is-open) { display: none; }
  .header-nav.is-managed a { padding: .65rem 0; font-size: 1rem; }
  .menu-toggle { display: inline-flex; gap: .5rem; align-items: center; min-height: 2.75rem; border: 1px solid #a7b6a6; border-radius: 99rem; background: transparent; padding: .45rem .85rem; font-size: .875rem; font-weight: 600; }
  .menu-toggle svg { width: 1.15rem; }
}
@media (max-width: 44rem) {
  .intro, .community, .visit-grid, .project-grid { grid-template-columns: 1fr; }
  .hero { min-height: min(44rem, max(34rem, calc(90svh - var(--header)))); }
  .hero::after { background: linear-gradient(90deg, #0e1d12c4, #0e1d126d), linear-gradient(0deg, #0e1d12b0, transparent 28%); }
  .hero h1 { font-size: clamp(2.65rem, 10.5vw, 5rem); }
  .hero-inner { padding-bottom: 1.75rem; }
  .wide-only { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card, .service-card-large, .service-grid.is-filtered .service-card { grid-column: auto; }
  .service-card-large img, .service-grid.is-filtered img { aspect-ratio: 1.5; }
  .project img, .project-small img { aspect-ratio: 1.45; }
  .community-photo { aspect-ratio: 1.45; }
}
@media (max-width: 33rem) {
  .service-grid { grid-template-columns: 1fr; }
  .brand-words { width: 7.8rem; }
  .brand-symbol { width: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
