:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fffefa;
  --ink: #1c3029;
  --muted: #4e5c53;
  --accent: #3b6453;
  --rule: #dedfd4;
  --gold: #c9a674;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #a06b33; outline-offset: 5px; }
section[id], footer[id] { scroll-margin-top: 24px; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; padding: .5rem 1rem; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: var(--paper); background: var(--ink); border-radius: 50%; font: 500 1.07rem/1 var(--serif); letter-spacing: -.08em; padding-right: 2px; }
.brand-label { font: 700 .93rem/1.22 var(--sans); letter-spacing: -.045em; }
.brand-label span { display: block; margin-top: 4px; color: var(--accent); font: 700 .57rem/1 var(--sans); letter-spacing: .22em; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-size: .83rem; font-weight: 600; }
nav a { white-space: nowrap; }
nav a:hover, .text-link:hover, .project-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.header-cta { display: inline-flex; align-items: center; gap: 12px; padding: .52rem .91rem; border: 1px solid #a5b1a6; border-radius: 4px; }

.hero { padding: 42px 0 65px; }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(26px, 4vw, 64px); }
.hero-copy { padding: 20px 0 30px; }
.eyebrow { color: var(--accent); display: flex; align-items: center; gap: .63rem; font-size: .67rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow span { width: 21px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { margin-top: 21px; font-size: clamp(3.1rem, 5.75vw, 6.05rem); line-height: 1.06; letter-spacing: -.065em; }
h1 em { color: var(--accent); font-weight: 500; }
.hero-description { max-width: 405px; margin-top: 25px; color: var(--muted); font-size: .98rem; line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 11px 16px; border: 1px solid transparent; border-radius: 4px; font-size: .79rem; font-weight: 700; }
.button-dark { color: #fffefa; background: var(--ink); }
.button-dark:hover { background: #375748; }
.button span, .text-link span, .project-link span { font-size: 1.05em; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: .81rem; font-weight: 700; }
.hero-image { position: relative; min-width: 0; isolation: isolate; overflow: hidden; border-radius: 8px; background: #3d5b57; }
.hero-image img { aspect-ratio: 1.31; object-fit: cover; object-position: center 50%; }
.hero-image::after { content: ''; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, #101f1be6); pointer-events: none; }
.hero-image figcaption { position: absolute; z-index: 1; inset: auto 24px 22px; display: flex; align-items: end; justify-content: space-between; gap: 14px; color: #fffefa; font: 500 clamp(1.05rem, 2.25vw, 1.85rem)/1.18 var(--serif); }
.hero-image small { display: block; margin-bottom: 8px; font: 600 .62rem/1.1 var(--sans); letter-spacing: .14em; }
.image-note { flex-shrink: 0; padding: 5px 8px; border: 1px solid #ffffff66; border-radius: 4px; background: #192a25aa; font: 500 .63rem/1.2 var(--sans); }

.projects { padding: 56px 0 84px; background: var(--white); border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
h2 { margin-top: 10px; font-size: clamp(2.3rem, 4.1vw, 4.1rem); line-height: 1.13; letter-spacing: -.055em; }
.section-head > p { max-width: 285px; color: var(--muted); font-size: .84rem; padding-bottom: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.8vw, 36px); }
.project-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--rule); border-radius: 7px; }
.project-image { position: relative; overflow: hidden; background: #597369; }
.project-image img { aspect-ratio: 1.91; object-fit: cover; object-position: center; transition: transform .35s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-image figcaption { position: absolute; bottom: 10px; right: 10px; padding: 5px 8px; border-radius: 3px; color: white; background: #14241fd9; font-size: .63rem; }
.project-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(18px, 2.4vw, 31px); }
.location { display: flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 600; color: var(--accent); }
.location > span:first-child { width: 7px; height: 7px; flex-shrink: 0; background: currentColor; border-radius: 50%; }
h3 { margin: 7px 0 10px; font-size: clamp(1.55rem, 2.7vw, 2.65rem); line-height: 1.17; letter-spacing: -.045em; }
.project-body > p:not(.location) { margin-bottom: 20px; color: var(--muted); font-size: .86rem; }
.project-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .81rem; font-weight: 700; }
button.project-link { padding: 14px 0 0; border: 0; border-top: 1px solid var(--rule); background: transparent; cursor: pointer; text-align: left; }

.about { padding: 78px 0; border-top: 1px solid var(--rule); }
.about-grid { display: grid; grid-template-columns: .75fr 1fr; align-items: center; gap: clamp(36px, 8vw, 135px); }
.about-visual { position: relative; display: grid; place-content: center; gap: 4px; min-height: 300px; border-radius: 7px; overflow: hidden; color: #f1e9db; background: radial-gradient(ellipse at 16% 8%, #3d5e51, #1c3029 64%); text-align: center; }
.about-visual::before, .about-visual::after { content: ''; position: absolute; inset: 15px; border: 1px solid #cfad7c5a; border-radius: 5px; pointer-events: none; }
.about-visual::after { inset: 20px; border-color: #cfad7c2e; }
.about-initials { font: 500 clamp(6rem, 13vw, 11rem)/.85 var(--serif); letter-spacing: -.12em; padding-right: .13em; }
.about-initials span { color: var(--gold); }
.about-visual > span { margin-top: 19px; color: #dfc7a5; font-size: .65rem; font-weight: 700; letter-spacing: .23em; }
.about-copy p:not(.eyebrow) { margin-top: 15px; max-width: 510px; color: var(--muted); font-size: .93rem; }
.about-copy .text-link { margin-top: 24px; }

.contact { padding: 61px 0 0; background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr .63fr; gap: 38px; }
.contact .eyebrow { color: #dfc7a5; }
.contact h2 { font-size: clamp(2.1rem, 3.9vw, 3.7rem); }
.contact p:not(.eyebrow) { margin-top: 14px; color: #d7e1d8; font-size: .88rem; }
.social-list { padding: 0; margin: 0; list-style: none; }
.social-list li, .social-list a { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.social-list li { border-top: 1px solid #ffffff35; font-size: .84rem; }
.social-list li:last-child { border-bottom: 1px solid #ffffff35; }
.social-list a { width: 100%; }
.social-list a:hover { color: #dfc7a5; }
.phone-contact { width: min(100%, 338px); margin-top: 22px; }
.phone-contact summary, .phone-options a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; }
.phone-contact summary { padding: 10px 14px; border: 1px solid #9bae9e; border-radius: 4px; font-size: .8rem; cursor: pointer; list-style: none; }
.phone-contact summary::-webkit-details-marker { display: none; }
.phone-contact summary:hover { background: #ffffff13; }
.phone-contact strong { margin-left: .35em; color: #f3d5ab; font-variant-numeric: tabular-nums; }
.phone-chevron { width: 8px; height: 8px; margin: -4px 3px 0 0; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.phone-contact[open] .phone-chevron { margin-top: 4px; transform: rotate(225deg); }
.phone-options { padding: 0 13px; margin: 7px 0 0; border: 1px solid #ffffff35; border-radius: 4px; list-style: none; font-size: .8rem; }
.phone-options li + li { border-top: 1px solid #ffffff35; }
.phone-options a:hover { color: #f3d5ab; }
#zalo-channel[hidden] { display: none; }
.footer-bottom { margin-top: 47px; padding: 18px 0; border-top: 1px solid #ffffff35; display: flex; justify-content: space-between; gap: 15px; color: #d7e1d8; font-size: .7rem; }
.footer-bottom a:hover { text-decoration: underline; }

body:has(dialog[open]) { overflow: hidden; }
dialog { position: fixed; width: min(620px, calc(100% - 28px)); max-height: min(740px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 9px; color: var(--ink); background: var(--white); overscroll-behavior: contain; }
dialog::backdrop { background: #0c1d16b8; }
.detail-panel { position: relative; }
.detail-image { aspect-ratio: 2.25; object-fit: cover; }
.close-button { position: absolute; z-index: 1; top: 12px; right: 12px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; background: var(--white); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.close-button:hover { background: var(--paper); }
.detail-body { padding: clamp(18px, 4vw, 35px); }
.detail-body h2 { margin: 8px 0 12px; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.detail-description, .detail-topics { color: var(--muted); font-size: .88rem; }
.detail-topics { padding-left: 21px; margin: 12px 0 22px; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 64px); }
  .hero { padding: 32px 0 47px; }
  .hero-image img { aspect-ratio: 1.08; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand { gap: 7px; }
  .brand-mark { width: 34px; height: 34px; font-size: .88rem; }
  .brand-label { font-size: .78rem; }
  .brand-label span { font-size: .49rem; }
  nav { gap: 13px; font-size: .71rem; }
  .header-cta { gap: 5px; padding: .42rem .56rem; }
  .hero { padding: 33px 0 39px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 27px; }
  .hero-copy { padding: 0; }
  h1 { margin-top: 13px; font-size: clamp(3rem, 9.4vw, 5rem); }
  .hero-description { margin-top: 17px; font-size: .91rem; }
  .hero-actions { margin-top: 22px; }
  .hero-image img { aspect-ratio: 1.47; }
  .hero-image figcaption { inset: auto 14px 14px; }
  .projects, .about { padding: 43px 0 51px; }
  .section-head { display: block; margin-bottom: 21px; }
  .section-head > p { margin-top: 10px; max-width: none; }
  .about-visual { min-height: 220px; }
  .about-copy { grid-row: 1; }
  .contact { padding-top: 42px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { margin-top: 30px; }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-image img { aspect-ratio: 1.72; }
}
@media (max-width: 360px) {
  .header-cta span { display: none; }
  nav { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.brand-mark { position: relative; display: block; overflow: hidden; flex: none; padding: 0; background: transparent; width: clamp(54px, 6.5vw, 78px); border-radius: 5px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.about-visual { display: block; min-height: 0; aspect-ratio: 1.06; background: radial-gradient(ellipse at 45% 25%, #577b6a, #20382f 74%); }
.about-visual::before, .about-visual::after { z-index: 2; }
.about-portrait { position: absolute; width: 130%; max-width: none; height: auto; left: -15%; top: -54%; }
.about-visual > .about-wordmark { position: absolute; z-index: 3; width: 56%; aspect-ratio: 2.8; overflow: hidden; left: 22%; bottom: 8%; margin: 0; border-radius: 5px; box-shadow: 0 3px 14px #10221e70; }
.about-wordmark img { position: absolute; width: 224%; max-width: none; height: auto; left: -62%; top: -198%; }
.social-list { display: grid; gap: 8px; }
.social-list li, .social-list li:last-child { border: 0; }
.social-list li[hidden] { display: none; }
.social-list a, .phone-options a { display: flex; align-items: center; gap: 10px; justify-content: flex-start; min-height: 48px; padding: 6px 12px; border: 1px solid #ffffff32; border-radius: 8px; background: #ffffff0b; }
.social-list a:hover, .phone-options a:hover { border-color: #dfc7a5; background: #ffffff17; }
.channel-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; background: #fff; border-radius: 6px; color: #191919; }
.channel-icon svg { width: 20px; height: 20px; }
.channel-label { flex: 1; }

.phone-contact:not([hidden]) { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; padding: 10px 14px; border: 1px solid #9bae9e; border-radius: 4px; color: inherit; background: transparent; text-align: left; font: inherit; font-size: .8rem; cursor: pointer; }
.phone-contact:hover { background: #ffffff13; }
.phone-dialog { width: min(410px, calc(100% - 28px)); padding: 22px; }
.phone-dialog h3 { margin: 0 48px 12px 0; }
.phone-dialog .phone-options { display: grid; gap: 7px; border: 0; padding: 0; }
.phone-dialog .phone-options li { border: 0; }
.phone-dialog .phone-options a { border-color: #c8d3ca; background: #f3f6f0; }
.phone-dialog .phone-options a:hover { color: #173c2e; background: #e4eee7; }

.hero-feature { min-width: 0; margin: 0; }
.hero-feature-stage { min-width: 0; }
.hero-feature-stage:has(.hero-feature-play:not([hidden])), .hero-feature-stage:has(iframe) {
  height: clamp(390px, 42vw, 525px);
  border-radius: 12px;
  overflow: hidden;
  background: #122b25;
}
.hero-feature-play:not([hidden]) {
  display: grid; position: relative; isolation: isolate; place-items: end start;
  width: 100%; height: 100%; padding: clamp(18px, 4vw, 36px); border: 0; cursor: pointer;
  text-align: left; color: #fffdf6; background: radial-gradient(ellipse at 72% 25%, #4b7160, #17342c 73%);
}
.hero-feature-play:focus-visible { outline: 3px solid #f0cd96; outline-offset: -5px; }
.hero-feature-play img { position: absolute; inset: 0 0 0 auto; width: 73%; height: 100%; object-fit: contain; object-position: right bottom; }
.hero-feature-play::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #102720f5); }
.hero-feature-copy { position: relative; z-index: 1; display: grid; gap: .75rem; }
.hero-feature-copy strong { max-width: 18ch; font: 500 clamp(1.65rem, 3.4vw, 2.75rem)/1.13 var(--serif); }
.hero-feature-action { justify-self: start; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border-radius: .35rem; color: #142e26; background: #f0cd96; font: 700 .88rem var(--sans); }
.hero-feature iframe { display: block; width: 100%; height: 100%; border: 0; }
.hero-feature figcaption { margin-top: .55rem; text-align: right; }
