@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--ink:#252525;--muted:#77736b;--line:#ddd9d1;--soft:#f3f1ec;--paper:#faf9f6;--dark:#20201e;--max:1120px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"DM Sans",Arial,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}.container{width:min(calc(100% - 48px),var(--max));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(250,249,246,.93);backdrop-filter:blur(12px);border-bottom:1px solid rgba(221,217,209,.8)}.nav{height:72px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:12px;font-weight:700;letter-spacing:.12em}.nav nav{display:flex;align-items:center;gap:28px;font-size:12px}.nav nav a{color:#5f5b54}.nav nav a:hover{color:var(--ink)}.nav-cta{border:1px solid var(--ink);padding:8px 15px!important;color:var(--ink)!important}.menu{display:none;background:none;border:0;font-size:22px}.hero{padding:110px 0 105px;border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:80px;align-items:center}.eyebrow{margin:0 0 17px;color:#8a857a;font-size:10px;font-weight:700;letter-spacing:.14em}.hero h1{font-size:clamp(42px,6vw,72px);line-height:1.02;letter-spacing:-.045em;margin:0 0 27px;font-weight:600}.hero h1 em{font-family:"Playfair Display",serif;font-weight:500}.lead{font-size:17px;line-height:1.7;color:var(--muted);max-width:670px}.actions{display:flex;align-items:center;gap:26px;margin-top:34px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;font-size:12px;font-weight:700;letter-spacing:.03em}.btn-dark{background:var(--dark);color:white}.text-link{font-size:12px;font-weight:600}.hero-card{border:1px solid var(--line);padding:38px;background:#f5f3ee;min-height:285px;display:flex;flex-direction:column;justify-content:space-between}.hero-card>span{font-family:"Playfair Display",serif;font-size:42px}.hero-card .line{height:1px;background:var(--ink);width:45px}.hero-card p{font-size:23px;line-height:1.35;margin:0}.hero-card .muted{font-size:12px;line-height:1.7;color:var(--muted)}.section{padding:110px 0}.section-soft{background:var(--soft)}.section-dark{background:var(--dark);color:#f5f3ee}.section-head{display:grid;grid-template-columns:.4fr 1fr;gap:60px;margin-bottom:65px}.section-head .eyebrow{padding-top:10px}.section h2{font-size:clamp(35px,4.5vw,56px);line-height:1.06;letter-spacing:-.04em;margin:0;font-weight:600}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;margin-bottom:65px}.large{font-size:22px;line-height:1.45;margin:0}.copy{color:var(--muted);font-size:14px}.problem-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.problem-grid article{padding:25px 24px 27px 0;border-right:1px solid var(--line)}.problem-grid article+article{padding-left:24px}.problem-grid article:last-child{border-right:0}.problem-grid b{font-size:11px;letter-spacing:.1em}.problem-grid p{font-size:12px;color:var(--muted);margin:10px 0 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:70px}.stats div{background:var(--paper);padding:27px 24px;display:flex;flex-direction:column}.stats strong{font-size:42px;letter-spacing:-.04em;line-height:1}.stats span{font-size:11px;color:var(--muted);margin-top:10px}.case-list{border-top:1px solid var(--line)}.case{display:grid;grid-template-columns:70px .9fr 1.35fr;gap:35px;padding:34px 0;border-bottom:1px solid var(--line);align-items:start}.case-no{font-family:"Playfair Display",serif;font-size:27px;color:#99948a}.case h3{margin:0;font-size:19px}.case .eyebrow{margin-bottom:8px}.case>p{font-size:12px;color:var(--muted);margin:0}.source{font-size:10px;color:var(--muted);margin-top:18px}.service-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}.service-grid article{padding:36px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-height:290px}.service-grid span{font-family:"Playfair Display",serif;font-size:25px;color:#989289}.service-grid h3{font-size:13px;letter-spacing:.08em;margin:18px 0 18px}.service-grid ul{padding:0;margin:0;list-style:none;color:var(--muted);font-size:12px}.service-grid li{padding:5px 0}.service-grid li:before{content:"— ";color:#aaa59b}.section-dark .eyebrow{color:#aaa59e}.section-dark h2{color:#f5f3ee}.process{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #4a4945;border-bottom:1px solid #4a4945}.process div{padding:25px 18px 30px 0;border-right:1px solid #4a4945}.process div+div{padding-left:18px}.process div:last-child{border-right:0}.process b{font-family:"Playfair Display",serif;font-size:25px;color:#aaa59b}.process strong{display:block;font-size:10px;letter-spacing:.1em;margin-top:14px}.process span{display:block;color:#aaa59b;font-size:10px;line-height:1.6;margin-top:8px}.contact{background:#ebe8e1}.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:100px;align-items:center}.contact-card{background:var(--paper);border:1px solid var(--line);padding:30px}.contact-card p{display:flex;flex-direction:column;border-bottom:1px solid var(--line);padding-bottom:16px;margin:0 0 16px}.contact-card span{font-size:9px;letter-spacing:.12em;color:var(--muted);margin-bottom:4px}.contact-card strong,.contact-card a:not(.btn){font-size:14px}.full{width:100%;margin-top:8px}footer{background:var(--paper);padding:25px 0;border-top:1px solid var(--line)}footer .container{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.12em;color:var(--muted)}
@media(max-width:800px){.container{width:min(calc(100% - 32px),var(--max))}.nav nav{display:none;position:absolute;left:16px;right:16px;top:68px;background:var(--paper);border:1px solid var(--line);padding:15px;flex-direction:column;align-items:stretch;gap:0}.nav nav.open{display:flex}.nav nav a{padding:10px}.menu{display:block}.hero{padding:70px 0}.hero-grid,.intro-grid,.contact-grid{grid-template-columns:1fr;gap:40px}.section{padding:75px 0}.section-head{display:block;margin-bottom:42px}.section-head .eyebrow{margin-bottom:22px}.problem-grid,.stats{grid-template-columns:1fr 1fr}.problem-grid article{border-bottom:1px solid var(--line)}.case{grid-template-columns:45px 1fr;gap:15px}.case>p{grid-column:2}.service-grid{grid-template-columns:1fr}.process{grid-template-columns:1fr 1fr}.process div:nth-child(2n){border-right:0;padding-left:18px}.process div{border-bottom:1px solid #4a4945}.hero-card{min-height:230px}.large{font-size:19px}}
@media(max-width:480px){.problem-grid,.stats{grid-template-columns:1fr}.stats div{padding:22px}.case{grid-template-columns:1fr}.case>p{grid-column:1}.process{grid-template-columns:1fr}.process div,.process div+div{padding-left:0;border-right:0}.hero h1{font-size:42px}}

/* ---- V2 motion system: restrained, editorial, no flashy effects ---- */
html{scroll-padding-top:80px}
body{overflow-x:hidden}
.scroll-progress{position:fixed;z-index:100;left:0;top:0;height:2px;width:0;background:#252525;transition:width .05s linear}
.cursor-glow{position:fixed;z-index:0;top:-5px;left:-5px;width:10px;height:10px;border-radius:50%;background:rgba(138,133,122,.18);filter:blur(5px);pointer-events:none;transition:transform .08s linear}
.reveal-section .section-head,.reveal-section .intro-grid,.reveal-section .problem-grid,.reveal-section .stats,.reveal-section .case-list,.reveal-section .service-grid,.reveal-section .process,.reveal-section .contact-grid{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal-section.is-visible .section-head,.reveal-section.is-visible .intro-grid,.reveal-section.is-visible .problem-grid,.reveal-section.is-visible .stats,.reveal-section.is-visible .case-list,.reveal-section.is-visible .service-grid,.reveal-section.is-visible .process,.reveal-section.is-visible .contact-grid{opacity:1;transform:none}
.hero-grid>div:first-child{animation:heroIn .9s cubic-bezier(.2,.7,.2,1) both}
.hero-card{animation:heroCardIn 1s .12s cubic-bezier(.2,.7,.2,1) both}
@keyframes heroIn{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes heroCardIn{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:none}}
.case,.service-grid article,.problem-grid article,.process div{transition:transform .45s cubic-bezier(.2,.7,.2,1),background .35s ease,opacity .7s ease}
.case,.service-grid article,.problem-grid article,.process div,.stats div{opacity:0;transform:translateY(22px)}
.case.is-visible,.service-grid article.is-visible,.problem-grid article.is-visible,.process div.is-visible,.stats div.is-visible{opacity:1;transform:none}
.case:nth-child(2),.service-grid article:nth-child(2),.problem-grid article:nth-child(2),.process div:nth-child(2),.stats div:nth-child(2){transition-delay:.08s}
.case:nth-child(3),.service-grid article:nth-child(3),.problem-grid article:nth-child(3),.process div:nth-child(3),.stats div:nth-child(3){transition-delay:.16s}
.service-grid article:nth-child(4),.problem-grid article:nth-child(4),.process div:nth-child(4),.stats div:nth-child(4){transition-delay:.24s}
.process div:nth-child(5){transition-delay:.32s}
.service-grid article:hover{background:#eeece6}
.case:hover{background:rgba(243,241,236,.55)}
.problem-grid article:hover{background:rgba(243,241,236,.55)}
.nav-cta{transition:background .25s ease,color .25s ease}
.nav-cta:hover{background:#252525!important;color:#fff!important}
.btn-dark{position:relative;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
.btn-dark:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.13) 50%,transparent 70%);transform:translateX(-120%);transition:transform .65s ease}
.btn-dark:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.12)}
.btn-dark:hover:after{transform:translateX(120%)}
.text-link{position:relative}
.text-link:after{content:"";position:absolute;left:0;bottom:-5px;width:100%;height:1px;background:#252525;transform:scaleX(.2);transform-origin:left;transition:transform .3s ease}
.text-link:hover:after{transform:scaleX(1)}
.hero-card{transition:transform .5s ease,box-shadow .5s ease}
.hero-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(30,28,24,.08)}
.back-top{position:fixed;right:24px;bottom:24px;width:42px;height:42px;border:1px solid #d5d1c8;background:rgba(250,249,246,.9);color:#252525;z-index:50;opacity:0;visibility:hidden;transform:translateY(10px);transition:.3s ease;cursor:pointer}
.back-top.show{opacity:1;visibility:visible;transform:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal-section .section-head,.reveal-section .intro-grid,.reveal-section .problem-grid,.reveal-section .stats,.reveal-section .case-list,.reveal-section .service-grid,.reveal-section .process,.reveal-section .contact-grid,.case,.service-grid article,.problem-grid article,.process div,.stats div{opacity:1!important;transform:none!important}.cursor-glow{display:none}}
@media(max-width:800px){.cursor-glow{display:none}.service-grid article:hover,.case:hover,.problem-grid article:hover{transform:none!important}}

/* ===== V3 FRAME-BY-FRAME / EDITORIAL MOTION ===== */
.top-contact{display:flex;align-items:center;gap:10px;margin-left:auto;margin-right:28px;font-size:10px;color:#77736b;letter-spacing:.02em}
.top-contact a{transition:color .2s ease}.top-contact a:hover{color:#252525}
.contact-mini{display:none;font-size:11px;border-left:1px solid var(--line);padding-left:18px}
.frame-stage{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.frame-label{position:fixed;left:28px;top:50%;transform:translateY(-50%) rotate(-90deg);transform-origin:left top;display:flex;gap:13px;align-items:center;font-size:8px;letter-spacing:.16em;color:#99948a}
.frame-label i{display:block;width:42px;height:1px;background:#bcb7ad}
.frame-word{position:fixed;right:-10px;bottom:-45px;font-family:"Playfair Display",serif;font-size:clamp(100px,18vw,240px);font-weight:500;line-height:.8;color:rgba(37,37,37,.035);letter-spacing:-.06em;transition:opacity .55s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.frame-dots{position:fixed;right:27px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:8px;z-index:40}
.frame-dots span{width:4px;height:4px;border-radius:50%;background:#c5c0b7;transition:transform .35s ease,background .35s ease}
.frame-dots span.active{background:#252525;transform:scale(1.9)}
main{position:relative;z-index:1}
.frame-section{position:relative}
.frame-section:before{content:attr(data-frame);position:absolute;top:34px;right:0;font-size:8px;letter-spacing:.16em;color:#aaa59b;opacity:.8}
.frame-section.frame-active .section-head h2{animation:frameTitle .75s cubic-bezier(.2,.7,.2,1) both}
.frame-section.frame-active .hero-card{animation:frameCard .8s cubic-bezier(.2,.7,.2,1) both}
.frame-section .section-head,.frame-section .intro-grid,.frame-section .problem-grid,.frame-section .stats,.frame-section .case-list,.frame-section .service-grid,.frame-section .process,.frame-section .contact-grid{transition-delay:var(--frame-delay,0ms)}
.frame-section.frame-active .section-head,.frame-section.frame-active .intro-grid,.frame-section.frame-active .problem-grid,.frame-section.frame-active .stats,.frame-section.frame-active .case-list,.frame-section.frame-active .service-grid,.frame-section.frame-active .process,.frame-section.frame-active .contact-grid{animation:frameIn .8s cubic-bezier(.2,.7,.2,1) both}
@keyframes frameIn{0%{opacity:0;transform:translateY(35px);clip-path:inset(0 0 12% 0)}55%{opacity:1}100%{opacity:1;transform:none;clip-path:inset(0 0 0 0)}}
@keyframes frameTitle{0%{opacity:.1;transform:translateY(20px);letter-spacing:-.015em}100%{opacity:1;transform:none;letter-spacing:-.04em}}
@keyframes frameCard{0%{opacity:0;transform:translateX(35px) scale(.98)}100%{opacity:1;transform:none}}
.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.btn-outline{border:1px solid var(--ink);background:transparent;color:var(--ink);transition:.25s ease}
.btn-outline:hover{background:var(--ink);color:#fff}
.contact-card .btn{width:100%}
@media(min-width:801px){
  .hero{min-height:calc(100vh - 72px);display:flex;align-items:center}
  .section{min-height:78vh;display:flex;align-items:center}
}
@media(max-width:800px){
  .top-contact{display:none}.contact-mini{display:inline-block}
  .frame-label{left:11px;font-size:7px}.frame-dots{right:12px}
  .frame-word{right:-4px;bottom:-20px;font-size:100px}
  .frame-section:before{right:10px}
}
@media(prefers-reduced-motion:reduce){
  .frame-word,.frame-dots,.frame-label{display:none}
  .frame-section.frame-active .section-head h2,.frame-section.frame-active .hero-card,.frame-section.frame-active .section-head,.frame-section.frame-active .intro-grid,.frame-section.frame-active .problem-grid,.frame-section.frame-active .stats,.frame-section.frame-active .case-list,.frame-section.frame-active .service-grid,.frame-section.frame-active .process,.frame-section.frame-active .contact-grid{animation:none}
}

/* ===== V4 FINAL VISUALS ===== */
.hero-grid{position:relative}
.hero-visual{position:relative;min-height:520px;overflow:hidden;background:#e9e6df;border:1px solid var(--line);box-shadow:0 28px 70px rgba(35,32,27,.10);animation:visualReveal 1.1s cubic-bezier(.18,.7,.2,1) .12s both}
.hero-visual img{width:100%;height:100%;min-height:520px;object-fit:cover;object-position:center;display:block;filter:saturate(.78) contrast(.98);transform:scale(1.025);animation:visualZoom 8s ease-out both}
.visual-caption{position:absolute;left:18px;right:18px;bottom:16px;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:rgba(250,249,246,.88);backdrop-filter:blur(10px);font-size:8px;letter-spacing:.13em;color:#68645d}
.visual-caption b{font-family:"Playfair Display",serif;font-size:18px;font-weight:500;color:#252525}
@keyframes visualReveal{from{opacity:0;clip-path:inset(0 0 100% 0);transform:translateY(22px)}to{opacity:1;clip-path:inset(0);transform:none}}
@keyframes visualZoom{from{transform:scale(1.08)}to{transform:scale(1.025)}}
.visual-strip{display:grid;grid-template-columns:.75fr 1.25fr;gap:65px;align-items:center;margin-top:90px;padding-top:70px;border-top:1px solid var(--line)}
.visual-copy h3{font-size:30px;line-height:1.12;letter-spacing:-.035em;margin:0 0 18px}
.visual-copy>p:not(.eyebrow){font-size:13px;color:var(--muted)}
.visual-image{height:390px;overflow:hidden;border:1px solid var(--line);background:#e9e6df}
.visual-image img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.72);transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.visual-image:hover img{transform:scale(1.035)}
.frame-section.frame-active .visual-strip{animation:frameIn .85s .12s cubic-bezier(.2,.7,.2,1) both}
.section-dark .process{position:relative}
footer .container{gap:20px;flex-wrap:wrap}
footer a{transition:color .2s ease}
footer a:hover{color:#252525}
@media(max-width:800px){
  .hero-visual{min-height:360px}
  .hero-visual img{min-height:360px}
  .visual-strip{grid-template-columns:1fr;gap:28px;margin-top:60px;padding-top:50px}
  .visual-image{height:270px}
}
@media(prefers-reduced-motion:reduce){
  .hero-visual{animation:none}
}

.frame-section{transition:opacity .45s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.frame-section:not(.frame-active){opacity:.72}
.frame-section.frame-active{opacity:1}
.frame-section.frame-active .section-head{transform:translate3d(0,0,0)}

/* ===== V5 TienDat Design project portfolio ===== */
.project-grid{display:grid;min-width:0;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.project-card{display:grid;grid-template-columns:150px 1fr;gap:28px;padding:30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper);transition:transform .5s cubic-bezier(.2,.7,.2,1),background .35s ease,box-shadow .35s ease}
.project-card:hover{background:#f0eee8;transform:translateY(-4px);box-shadow:0 18px 40px rgba(35,32,27,.07)}
.project-card>div:last-child span{font-size:8px;letter-spacing:.12em;color:#99948a}
.project-card h3{font-size:17px;margin:8px 0 8px}
.project-card p{font-size:11px;line-height:1.65;color:var(--muted);margin:0}
.project-logo{height:100px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.05;font-size:13px;letter-spacing:.04em;background:#eeeae2;color:#292824}
.project-logo strong{font-size:16px}
.project-logo.plf{font-family:Georgia,serif;font-size:36px;font-weight:700;letter-spacing:-.05em;background:#f5f3ee}
.project-logo.eco{font-size:34px;font-weight:700;letter-spacing:-.08em}
.project-logo.zero{font-size:27px;font-weight:600;letter-spacing:-.04em}
.project-logo.water{font-size:10px;letter-spacing:.09em}
.projects .section-head{margin-bottom:52px;min-width:0}
.projects .source{margin-top:16px}
@media(max-width:800px){
  .project-grid{grid-template-columns:1fr}
  .project-card{grid-template-columns:110px 1fr;padding:22px;gap:20px}
  .project-logo{height:86px}
}
@media(max-width:480px){
  .project-card{grid-template-columns:1fr}
}

/* ===== V7 LOGO HERO + LARGER TYPOGRAPHY ===== */

.seo-orbit-visual{min-height:620px;background:#f1eee7;border:1px solid var(--line);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:18px 16px 15px;box-shadow:0 28px 70px rgba(35,32,27,.10);animation:visualReveal 1.1s cubic-bezier(.18,.7,.2,1) .12s both}
.orbit-kicker,.orbit-caption{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;color:#77736b;font-size:9px;font-weight:700;letter-spacing:.13em}
.orbit-kicker span{font-size:15px;color:#25231f}
.seo-orbit{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.orbit-svg{width:100%;height:auto;max-height:560px;display:block;overflow:visible}
.orbit-dash{transform-origin:310px 310px;animation:orbitSpin 18s linear infinite}
.orbit-inner{transform-origin:310px 310px;animation:orbitSpinReverse 28s linear infinite}
.orbit-pulse circle{fill:none;stroke:#f58220;stroke-width:2;opacity:.3;transform-box:fill-box;transform-origin:center;animation:nodePulse 2.8s ease-out infinite}
.orbit-pulse circle:nth-child(2){animation-delay:.35s}.orbit-pulse circle:nth-child(3){animation-delay:.7s}.orbit-pulse circle:nth-child(4){animation-delay:1.05s}.orbit-pulse circle:nth-child(5){animation-delay:1.4s}.orbit-pulse circle:nth-child(6){animation-delay:1.75s}.orbit-pulse circle:nth-child(7){animation-delay:2.1s}.orbit-pulse circle:nth-child(8){animation-delay:2.45s}
.orbit-labels g{filter:drop-shadow(0 3px 8px rgba(40,37,31,.06))}
.orbit-labels rect{fill:#faf9f6;stroke:#d8d3c9;stroke-width:1}
.orbit-labels text{font-family:Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:.07em;fill:#5c5850}
.orbit-caption{justify-content:flex-start;gap:9px;border-top:1px solid #d8d4cc;padding-top:11px}
.orbit-caption i{display:block;width:24px;height:1px;background:#b9b4aa}
@keyframes orbitSpin{to{transform:rotate(360deg)}} 
@keyframes orbitSpinReverse{to{transform:rotate(-360deg)}} 
@keyframes nodePulse{0%,100%{transform:scale(.65);opacity:.08}45%{transform:scale(1.2);opacity:.35}70%{transform:scale(.8);opacity:.08}}
@media(max-width:800px){
  .seo-orbit-visual{min-height:480px;padding:15px 10px 12px}
  .orbit-labels text{font-size:8px}
}
@media(max-width:520px){
  .seo-orbit-visual{min-height:410px}
  .orbit-kicker,.orbit-caption{font-size:8px}
}
@media(prefers-reduced-motion:reduce){
  .orbit-dash,.orbit-inner,.orbit-pulse circle{animation:none!important}
}
@media(max-width:800px){
  .hero-portfolio{min-height:430px;padding:18px}
  .unused-hero-logo-wall{gap:10px;margin:18px 0}
  .unused-hero-logo-card{height:112px;padding:12px}
  .unused-hero-logo-wide{height:100px}
  .unused-hero-logo-wide img{max-width:88%;max-height:76px}
  body{font-size:16px}
  .lead{font-size:18px}
  .large{font-size:21px}
  .copy{font-size:15px}
  .problem-grid p,.service-grid ul,.case>p{font-size:14px}
  .visual-copy>p:not(.eyebrow){font-size:14px}
  .project-card p{font-size:13px}
}
@media(max-width:480px){
  .unused-hero-logo-card{height:100px}
  .unused-hero-logo-wide{height:90px}
  .unused-hero-logo-card img{max-height:70px}
  .unused-hero-logo-wide img{max-height:68px}
  .hero-portfolio-head,.hero-portfolio-foot{font-size:9px}
}

/* V9 — readability */
html{font-size:16px}
body{font-size:16px}
body,.site-header,.site-header a,.nav a,.section,.section p,.section li,.card,.service-card,.case-card,.contact,.footer,.btn,.lead,.eyebrow,.meta,.project-card,.project-card p,.project-card small,.contact-card,.contact-info,.contact-form label,.contact-form input,.contact-form textarea,.contact-form button{font-size:16px}
.site-header{min-height:82px}
.site-header .brand{font-size:16px;letter-spacing:.12em}
.nav a{font-size:16px}
.nav .contact-link{font-size:16px;padding:12px 17px}
.hero .eyebrow{font-size:16px}
.hero .lead{font-size:19px;line-height:1.65;max-width:760px}
.hero .hero-actions,.hero .hero-actions a{font-size:16px}
.section-kicker,.section-label,.section-title-small{font-size:16px}
.card h3,.service-card h3,.case-card h3,.project-card h3{font-size:20px}
.card p,.service-card p,.case-card p,.project-card p{font-size:16px;line-height:1.65}
.stat-number{font-size:clamp(34px,4vw,54px)}
.stat-label{font-size:16px}
.footer,.footer a{font-size:16px}
.orbit-kicker,.orbit-caption{font-size:16px}
.orbit-labels text{font-size:16px}
.orbit-labels rect{height:48px}
@media(max-width:900px){
  .nav a{font-size:15px}
  .hero .lead{font-size:18px}
}
@media(max-width:700px){
  .site-header{min-height:72px}
  .nav a{font-size:14px}
  .hero .eyebrow,.section-kicker,.section-label{font-size:14px}
  .orbit-labels text{font-size:11px}
  .orbit-kicker,.orbit-caption{font-size:12px}
}

.seo-orbit-visual{cursor:grab}
.seo-orbit-visual:active{cursor:grabbing}
.orbit-svg{transform-origin:center;transition:filter .25s ease;will-change:transform}
.seo-orbit-visual:hover .orbit-svg{filter:drop-shadow(0 18px 26px rgba(40,36,30,.08))}
@media(prefers-reduced-motion:reduce){
  .orbit-svg{transform:none!important}
}

/* V10 — hero orbit: open layout, larger interactive system */
.hero{overflow:visible}
.hero .hero-grid{overflow:visible}
.seo-orbit-visual{
  min-height:680px;
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
  overflow:visible;
}
.seo-orbit{
  min-height:610px;
  overflow:visible;
}
.orbit-svg{
  width:118%;
  max-width:none;
  max-height:none;
  margin-left:-9%;
  transform-origin:center;
  overflow:visible;
}
.orbit-kicker{
  padding:0 8px 8px;
  font-size:16px;
}
.orbit-caption{
  padding:14px 8px 0;
  font-size:16px;
  border-top:1px solid var(--line);
}
.orbit-labels text{font-size:12px}
.orbit-labels rect{height:44px}
.seo-orbit-visual:hover .orbit-svg{filter:drop-shadow(0 24px 32px rgba(40,36,30,.08))}
@media(max-width:1100px){
  .seo-orbit-visual{min-height:590px}
  .seo-orbit{min-height:530px}
  .orbit-svg{width:112%;margin-left:-6%}
}
@media(max-width:800px){
  .seo-orbit-visual{min-height:500px}
  .seo-orbit{min-height:450px}
  .orbit-svg{width:108%;margin-left:-4%}
  .orbit-labels text{font-size:10px}
  .orbit-kicker,.orbit-caption{font-size:14px}
}
@media(max-width:520px){
  .seo-orbit-visual{min-height:430px}
  .seo-orbit{min-height:390px}
  .orbit-labels text{font-size:8px}
}

/* ===== V11 — final layout corrections ===== */
@media(min-width:801px){
  .hero-grid{grid-template-columns:1.22fr .92fr;gap:48px}
}
.seo-orbit-visual{overflow:visible}
.seo-orbit{overflow:visible}
.orbit-svg{
  width:108%;
  max-width:none;
  margin-left:-4%;
  overflow:visible;
}
.orbit-labels text{font-size:12px}
.orbit-labels rect{height:44px}

/* Project #5 section: contain every supplied logo inside its own card. */
.project-card{
  min-width:0;
  grid-template-columns:180px minmax(0,1fr);
  align-items:center;
  gap:28px;
  overflow:hidden;
}
.project-logo{
  width:180px;
  height:120px;
  min-width:0;
  min-height:0;
  padding:12px;
  overflow:hidden;
  background:#eeeae2;
}
.project-logo img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:94px;
  object-fit:contain;
  object-position:center;
}
.project-card:nth-child(1) .project-logo img{max-width:130px;max-height:94px}
.project-card:nth-child(2) .project-logo img{max-width:150px;max-height:70px}
.project-card:nth-child(3) .project-logo img{max-width:160px;max-height:72px}
.project-card:nth-child(4) .project-logo img{max-width:150px;max-height:94px}
.project-card>div:last-child{min-width:0}
.project-card h3,.project-card p{overflow-wrap:anywhere}
.projects .source{font-size:16px;line-height:1.55}

@media(max-width:900px){
  .project-card{grid-template-columns:150px minmax(0,1fr);gap:20px}
  .project-logo{width:150px;height:110px}
}
@media(max-width:600px){
  .project-card{grid-template-columns:1fr;padding:20px}
  .project-logo{width:100%;height:120px}
  .project-card:nth-child(1) .project-logo img{max-width:135px}
  .project-card:nth-child(2) .project-logo img{max-width:155px}
  .project-card:nth-child(3) .project-logo img{max-width:190px;max-height:72px}
  .project-card:nth-child(4) .project-logo img{max-width:145px;max-height:100px}
}
@media(max-width:520px){
  .seo-orbit-visual{min-height:420px}
  .seo-orbit{min-height:380px}
  .orbit-svg{width:100%;margin-left:0}
  .orbit-labels text{font-size:9px}
}

/* V12 — Section 01 layout repair */
#overview,
#overview .container,
#overview .section-grid,
#overview .section-head,
#overview .cards-grid{
  box-sizing:border-box;
}
#overview{
  position:relative;
  overflow:hidden;
}
#overview .container{
  width:min(1200px, calc(100% - 84px));
  margin-inline:auto;
  padding-inline:0;
}
#overview .section-grid,
#overview .cards-grid{
  min-width:0;
  width:100%;
}
#overview .section-grid{
  display:grid;
  grid-template-columns:minmax(190px,.65fr) minmax(0,1.35fr);
  column-gap:54px;
}
#overview .cards-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
#overview .card{
  min-width:0;
  overflow:hidden;
}
#overview .card p{
  max-width:100%;
  overflow-wrap:anywhere;
}
#overview .frame-section-label,
#overview .frame-label,
#overview .section-frame-label{
  pointer-events:none;
  z-index:1;
}

/* If the global vertical frame rail is positioned inside the section, keep it outside
   the content area instead of laying over the first card. */
.frame-rail,
.frame-indicator,
.frame-nav{
  z-index:5;
}
@media(max-width:900px){
  #overview .container{width:min(100% - 48px,1200px)}
  #overview .section-grid{grid-template-columns:1fr;row-gap:32px}
}
@media(max-width:600px){
  #overview .container{width:calc(100% - 32px)}
  #overview .cards-grid{grid-template-columns:1fr}
}

/* V13 — fix Section 01 / Tổng quan */
#about{
  position:relative;
  overflow:hidden;
}
#about > .container{
  width:min(1200px, calc(100% - 100px));
  margin-inline:auto;
  padding-inline:0;
}
#about .section-head{
  min-width:0;
}
#about .intro-grid{
  min-width:0;
}
#about .problem-grid{
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
#about .problem-grid article{
  min-width:0;
  box-sizing:border-box;
  padding:38px 40px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
#about .problem-grid article b{
  display:block;
  font-size:16px;
  letter-spacing:.12em;
  margin-bottom:20px;
}
#about .problem-grid article p{
  margin:0;
  max-width:620px;
  font-size:19px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.frame-label{
  left:10px;
  z-index:20;
}
@media(max-width:900px){
  #about > .container{width:calc(100% - 64px)}
  #about .problem-grid article{padding:30px}
}
@media(max-width:600px){
  #about > .container{width:calc(100% - 40px)}
  #about .problem-grid{grid-template-columns:1fr}
  #about .problem-grid article{padding:24px}
  #about .problem-grid article p{font-size:17px}
  .frame-label{left:6px}
}

/* V16 — clean header, direct call */
.site-header .top-contact{display:none!important}
.site-header .nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.site-header nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:20px;
}
.nav-call{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  background:#25231f;
  color:#fff!important;
  border:1px solid #25231f;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  white-space:nowrap;
  line-height:1.2;
}
.nav-call:hover{background:#3a3732;color:#fff!important}
.floating-call{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:100;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 17px 12px 12px;
  background:#25231f;
  color:#fff!important;
  text-decoration:none;
  border-radius:999px;
  box-shadow:0 12px 35px rgba(0,0,0,.18);
}
.floating-call-icon{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  background:#f58220;color:#fff;font-size:19px;
}
.floating-call small{display:block;font-size:10px;letter-spacing:.12em;opacity:.7}
.floating-call strong{display:block;font-size:16px}
@media(max-width:900px){
  .site-header .nav{gap:14px}
  .site-header nav{gap:10px}
  .nav-call{font-size:14px;padding:10px 12px}
}
@media(max-width:700px){
  .site-header nav a:not(.nav-call):not(.nav-cta){display:none}
  .nav-call{font-size:0;width:42px;height:42px;padding:0;border-radius:50%}
  .nav-call:before{content:"☎";font-size:18px}
  .floating-call{right:14px;bottom:14px}
}

/* V18 — TienDat Design logo */
.site-header .brand-logo{
  display:flex;
  align-items:center;
  width:170px;
  height:48px;
  flex:0 0 170px;
}
.site-header .brand-logo img{
  display:block;
  width:auto;
  height:44px;
  max-width:170px;
  object-fit:contain;
  object-position:left center;
}
.site-header .brand-logo:hover{opacity:.88}
@media(max-width:700px){
  .site-header .brand-logo{width:145px;flex-basis:145px}
  .site-header .brand-logo img{height:38px;max-width:145px}
}

/* V22 — exact approved logo crop, transparent background */
.site-header .brand-logo{
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  width:250px;
  height:68px;
  flex:0 0 250px;
  background:transparent!important;
}
.site-header .brand-logo img{
  display:block;
  width:230px;
  height:auto;
  max-width:230px;
  max-height:60px;
  object-fit:contain;
  object-position:left center;
  background:transparent!important;
  filter:none!important;
}
@media(max-width:900px){
  .site-header .brand-logo{width:200px;flex-basis:200px;height:60px}
  .site-header .brand-logo img{width:190px;max-width:190px;max-height:54px}
}
@media(max-width:700px){
  .site-header .brand-logo{width:155px;flex-basis:155px;height:52px}
  .site-header .brand-logo img{width:148px;max-width:148px;max-height:46px}
}
