:root {
  --ink: #17141d;
  --ink-soft: #282331;
  --paper: #ffffff;
  --soft: #f6f3f8;
  --muted: #6c6675;
  --line: rgba(23, 20, 29, 0.12);
  --purple: #6f32ff;
  --purple-dark: #4a19c8;
  --pink: #ff3fa4;
  --orange: #ff8a2a;
  --lime: #b4ff66;
  --gradient: linear-gradient(125deg, #6f32ff 0%, #c338dd 50%, #ff3fa4 100%);
  --shadow: 0 24px 70px rgba(28, 16, 48, 0.16);
  --radius-sm: 16px;
  --radius: 26px;
  --radius-lg: 42px;
  --container: min(1180px, calc(100% - 40px));
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--purple); }

.container { width: var(--container); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1280px; }
.section { padding: clamp(76px, 9vw, 132px) 0; position: relative; }
.section--dark { color: #fff; background: var(--ink); }
.section--soft { background: var(--soft); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { width: auto; height: auto; padding: 12px 16px; margin: 10px; clip: auto; z-index: 99999; background: #fff; color: #000; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-height);
  color: #fff; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled, body:not(.dstudio-landing) .site-header {
  color: var(--ink); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(20, 14, 30, .09);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.02em; z-index: 3; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--gradient); border-radius: 13px; font-size: 22px; }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-size: 18px; letter-spacing: .02em; }
.brand__text small { margin-top: 5px; font-size: 10px; letter-spacing: .26em; opacity: .72; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-height: 54px; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav__list { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { font-size: 14px; font-weight: 700; opacity: .86; transition: opacity .2s ease, color .2s ease; }
.site-nav__list a:hover { opacity: 1; color: var(--pink); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255,255,255,.14); color: currentColor; padding: 12px; z-index: 3; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; border-radius: 10px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 23px;
  border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 850; line-height: 1.15;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--gradient); box-shadow: 0 14px 36px rgba(140, 45, 222, .3); }
.button--primary:hover { box-shadow: 0 18px 46px rgba(140, 45, 222, .43); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button--dark { color: #fff; background: var(--ink); }
.button--small { min-height: 42px; padding: 10px 17px; font-size: 13px; }
.button--full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.text-link { color: #fff; font-weight: 800; }
.text-link--dark { color: var(--ink); }

.hero { position: relative; min-height: min(900px, 100svh); display: grid; align-items: center; color: #fff; overflow: hidden; background: #100d16; }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__overlay { background: linear-gradient(90deg, rgba(14,9,22,.93) 0%, rgba(14,9,22,.76) 47%, rgba(14,9,22,.25) 100%), linear-gradient(0deg, rgba(14,9,22,.38), transparent 54%); }
.hero__content { position: relative; z-index: 2; padding: calc(var(--header-height) + 70px) 0 72px; }
.eyebrow { margin: 0 0 18px; color: #d9c8ff; font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--dark { color: var(--purple); }
.hero h1 { max-width: 880px; margin: 0; font-size: clamp(42px, 6.6vw, 88px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.hero__lead { max-width: 720px; margin: 28px 0 0; color: rgba(255,255,255,.83); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__proof { display: grid; grid-template-columns: repeat(3, max-content); gap: 0; margin-top: 54px; }
.hero__proof div { display: grid; gap: 4px; min-width: 160px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.24); }
.hero__proof div:first-child { padding-left: 0; border-left: 0; }
.hero__proof strong { font-size: 28px; line-height: 1; }
.hero__proof span { color: rgba(255,255,255,.64); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; overflow-x: auto; scrollbar-width: none; }
.trust-strip__inner::-webkit-scrollbar { display: none; }
.trust-strip span { flex: 0 0 auto; color: #77717d; font-size: 12px; font-weight: 900; letter-spacing: .13em; }

.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.section-heading p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.section-heading--light p:not(.eyebrow), .section--dark .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.section-heading--split { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 60px; }
.section-heading--split p:not(.eyebrow) { margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 370px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card--featured { color: #fff; background: var(--gradient); border-color: transparent; }
.service-card__number { color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.service-card--featured .service-card__number { color: rgba(255,255,255,.72); }
.service-card h3 { margin: auto 0 13px; font-size: 28px; line-height: 1.08; letter-spacing: -.035em; }
.service-card p { margin: 0; color: var(--muted); }
.service-card--featured p { color: rgba(255,255,255,.78); }
.service-card a { margin-top: 24px; font-weight: 850; color: var(--purple); }
.service-card--featured a { color: #fff; }

.livehub { overflow: hidden; }
.livehub::before { content: ''; position: absolute; width: 560px; height: 560px; right: -220px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,63,164,.28), transparent 70%); }
.livehub__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 92px); }
.livehub__copy h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.livehub__copy > p:not(.eyebrow) { margin: 24px 0; color: rgba(255,255,255,.68); font-size: 18px; }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: rgba(255,255,255,.82); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 900; }
.media-frame { overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 36px 90px rgba(0,0,0,.34); }
.media-frame img { width: 100%; min-height: 480px; object-fit: cover; }

.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.brand-chips span { padding: 10px 16px; color: #493e55; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 850; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--soft); box-shadow: 0 16px 50px rgba(24,18,36,.08); }
.project-gallery img { width: 100%; aspect-ratio: 1.62 / 1; object-fit: cover; transition: transform .35s ease; }
.project-gallery figure:hover img { transform: scale(1.025); }

.event-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.event-card { position: relative; min-height: 500px; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: #ddd; }
.event-card img { width: 100%; height: 100%; object-fit: cover; }
.event-card::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(15,10,22,.88)); }
.event-card figcaption { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; display: grid; color: #fff; }
.event-card figcaption strong { font-size: 25px; letter-spacing: -.025em; }
.event-card figcaption span { color: rgba(255,255,255,.7); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-grid article { padding: 30px 28px 0 0; border-right: 1px solid var(--line); }
.process-grid article + article { padding-left: 28px; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.process-grid h3 { margin: 36px 0 12px; font-size: 24px; letter-spacing: -.03em; }
.process-grid p { margin: 0; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.team-card { display: grid; grid-template-columns: 44% 56%; min-height: 520px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); }
.team-card__image { min-height: 360px; overflow: hidden; background: #302a39; }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; }
.team-card__placeholder { display: grid; place-items: center; align-content: center; gap: 14px; background: var(--gradient); }
.team-card__placeholder span { font-size: 68px; font-weight: 950; }
.team-card__placeholder small { max-width: 170px; text-align: center; color: rgba(255,255,255,.75); }
.team-card__content { display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; }
.team-card h3 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.team-card__role { margin: 8px 0 18px !important; color: #d8c7ff !important; font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.team-card p { margin: 0; color: rgba(255,255,255,.68); }

.faq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.section-heading--sticky { position: sticky; top: calc(var(--header-height) + 30px); margin-bottom: 0; }
.section-heading--sticky .button { margin-top: 28px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 26px 45px 26px 0; font-size: 19px; font-weight: 850; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; position: absolute; right: 4px; top: 24px; color: var(--purple); font-size: 26px; line-height: 1; }
.accordion details[open] summary::after { content: '−'; }
.accordion details p { margin: -6px 0 26px; padding-right: 40px; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-card__media { display: block; overflow: hidden; aspect-ratio: 1.48 / 1; background: #ece8f1; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__fallback { display: grid; place-items: center; height: 100%; color: #fff; background: var(--gradient); font-size: 68px; font-weight: 950; }
.post-card__content { padding: 24px; }
.post-card__meta { color: var(--purple); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin: 12px 0 12px; font-size: 23px; line-height: 1.23; letter-spacing: -.025em; }
.post-card p { margin: 0 0 20px; color: var(--muted); }
.empty-state { grid-column: 1 / -1; padding: 50px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

.contact { color: #fff; background: var(--gradient); overflow: hidden; }
.contact::before, .contact::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.contact::before { width: 520px; height: 520px; left: -250px; top: -280px; }
.contact::after { width: 340px; height: 340px; right: -160px; bottom: -190px; }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.contact__copy h2 { margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.05em; }
.contact__copy > p:not(.eyebrow) { margin: 24px 0 0; color: rgba(255,255,255,.8); font-size: 18px; }
.contact-cards { display: grid; gap: 12px; margin-top: 34px; }
.contact-cards a { display: grid; gap: 3px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); background: rgba(255,255,255,.09); backdrop-filter: blur(10px); }
.contact-cards span { color: rgba(255,255,255,.64); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-cards strong { font-size: 17px; line-height: 1.4; }
.lead-form { padding: clamp(26px, 4vw, 42px); color: var(--ink); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 34px 80px rgba(49, 10, 69, .28); }
.lead-form label { display: grid; gap: 7px; margin-bottom: 17px; font-size: 13px; font-weight: 850; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #fbfafc; transition: border .2s ease, box-shadow .2s ease; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(111,50,255,.1); }
.lead-form textarea { resize: vertical; }
.form-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.lead-form__honeypot { position: absolute; left: -9999px; }
.form-message { margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; font-size: 14px; font-weight: 750; }
.form-message--success { color: #145a32; background: #e7f8ed; }
.form-message--error { color: #8b1c1c; background: #fdeaea; }

.site-footer { padding: 72px 0 94px; color: rgba(255,255,255,.7); background: #0d0b11; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr .7fr; gap: 45px; }
.footer-brand { color: #fff; font-size: 19px; font-weight: 900; display: inline-flex; align-items: center; }
.footer-brand span { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 8px; border-radius: 11px; background: var(--gradient); }
.site-footer h2 { margin: 0 0 13px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.site-footer p { margin: 15px 0 0; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.site-footer__bottom ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.mobile-actions { display: none; }

.content-shell { min-height: 70vh; padding-top: var(--header-height); }
.archive-hero, .single-hero { padding: 90px 0 62px; color: #fff; background: var(--ink); }
.archive-hero h1, .single-hero h1 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.05; letter-spacing: -.05em; }
.archive-hero p, .single-hero p { max-width: 740px; margin: 20px 0 0; color: rgba(255,255,255,.68); font-size: 18px; }
.single-cover { margin-top: -32px; position: relative; z-index: 2; }
.single-cover img { width: 100%; max-height: 720px; object-fit: cover; border-radius: var(--radius-lg); }
.entry-content { padding-top: 60px; padding-bottom: 100px; font-size: 18px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2em; line-height: 1.18; letter-spacing: -.03em; }
.entry-content h2 { font-size: 38px; }
.entry-content h3 { font-size: 28px; }
.entry-content a { color: var(--purple); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 34px 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--purple); font-size: 22px; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-numbers { padding: 9px 14px; border-radius: 10px; background: var(--soft); font-weight: 800; }
.page-numbers.current { color: #fff; background: var(--purple); }
.error-page { min-height: 60vh; display: grid; align-items: center; text-align: center; }
.error-page h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1; letter-spacing: -.05em; }

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 320px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery img { aspect-ratio: 1.8 / 1; }
  .team-card { grid-template-columns: 1fr; }
  .team-card__image { height: 420px; }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .site-footer__grid > div:last-child { grid-column: 2; }
}

@media (max-width: 880px) {
  :root { --header-height: 68px; --container: min(100% - 28px, 740px); }
  .site-header { height: var(--header-height); }
  .nav-toggle { display: block; }
  .site-header.is-scrolled .nav-toggle, body:not(.dstudio-landing) .nav-toggle { background: var(--soft); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 28px; padding: 86px 28px 36px; color: #fff; background: rgba(18,13,25,.98); transform: translateY(-110%); transition: transform .28s ease; }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 24px; }
  .site-nav__cta { margin-top: 8px; }
  .hero { min-height: 850px; }
  .hero__overlay { background: linear-gradient(0deg, rgba(14,9,22,.95) 0%, rgba(14,9,22,.72) 68%, rgba(14,9,22,.3) 100%); }
  .hero__content { padding-top: 160px; }
  .hero__proof { grid-template-columns: 1fr; gap: 14px; }
  .hero__proof div { min-width: 0; padding: 0 0 0 18px; border-left: 1px solid rgba(255,255,255,.25); }
  .hero__proof div:first-child { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.25); }
  .section-heading--split, .livehub__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 38px; }
  .section-heading--split { align-items: start; }
  .media-frame { order: -1; }
  .media-frame img { min-height: auto; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 430px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(n+3) { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
  .section-heading--sticky { position: static; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:last-child { grid-column: auto; }
  .mobile-actions { position: fixed; z-index: 999; left: 10px; right: 10px; bottom: 9px; display: grid; grid-template-columns: .8fr 1.25fr 1fr; padding: 6px; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: rgba(15,11,21,.94); backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0,0,0,.28); }
  .mobile-actions a { display: grid; place-items: center; min-height: 44px; color: #fff; font-size: 12px; font-weight: 850; border-radius: 12px; }
  .mobile-actions__primary { background: var(--gradient); }
  .site-footer { padding-bottom: 130px; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 24px); --radius: 22px; --radius-lg: 30px; }
  .section { padding: 74px 0; }
  .hero { min-height: 820px; }
  .hero__content { padding-top: 130px; }
  .hero h1 { font-size: clamp(40px, 12.5vw, 58px); }
  .hero__lead { font-size: 17px; }
  .hero__actions .button { width: 100%; }
  .trust-strip__inner { justify-content: flex-start; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading p:not(.eyebrow) { font-size: 16px; }
  .service-grid, .team-grid, .post-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .project-gallery img { aspect-ratio: 1.45 / 1; }
  .event-card { min-height: 400px; }
  .event-card figcaption { left: 22px; right: 22px; bottom: 22px; }
  .process-grid { grid-template-columns: 1fr; border-top: 0; }
  .process-grid article, .process-grid article + article { margin: 0 !important; padding: 25px 0 !important; border-top: 1px solid var(--line); border-right: 0; }
  .process-grid h3 { margin-top: 22px; }
  .team-card { min-height: auto; }
  .team-card__image { height: 420px; }
  .team-card__content { padding: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 24px 18px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .archive-hero, .single-hero { padding: 70px 0 50px; }
  .entry-content { font-size: 17px; padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   UX/UI reinforcement 1.1 – preserve the current visual DNA
   ========================================================= */
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
.scroll-progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.site-nav__list a {
  position: relative;
}
.site-nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav__list a:hover::after,
.site-nav__list a.is-active::after {
  transform: scaleX(1);
}
.site-nav__list a.is-active {
  opacity: 1;
}
.hero__content {
  max-width: 1180px;
}
.hero h1 {
  max-width: 930px;
}
.hero__lead {
  max-width: 760px;
}
.hero__response {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 17px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  font-weight: 750;
}
.hero__response span {
  color: var(--lime);
  font-size: 10px;
  filter: drop-shadow(0 0 8px rgba(180,255,102,.7));
}
.quick-needs {
  position: relative;
  z-index: 4;
  padding: 30px 0 0;
  background: #fff;
}
.quick-needs__label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.quick-needs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.quick-need {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28,16,48,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.quick-need strong {
  font-size: 15px;
  line-height: 1.25;
}
.quick-need span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.quick-need:hover {
  transform: translateY(-3px);
  border-color: rgba(111,50,255,.38);
  box-shadow: 0 16px 38px rgba(28,16,48,.11);
}
.quick-needs + .section {
  padding-top: clamp(68px, 8vw, 112px);
}
.service-card {
  min-height: 345px;
}
.service-card h3 {
  text-wrap: balance;
}
.service-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.service-card:focus-within {
  border-color: rgba(111,50,255,.45);
  box-shadow: var(--shadow);
}
.media-zoom {
  position: relative;
  cursor: zoom-in;
}
.media-zoom::after {
  content: '↗';
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(18,13,25,.62);
  backdrop-filter: blur(8px);
  font-size: 17px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.media-zoom:hover::after,
.media-zoom:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.media-frame figcaption,
.project-gallery figcaption {
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 2;
  padding: 8px 11px;
  color: #fff;
  border-radius: 999px;
  background: rgba(18,13,25,.7);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
}
.media-frame:hover figcaption,
.media-frame:focus-visible figcaption,
.project-gallery figure:hover figcaption,
.project-gallery figure:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}
.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fff 0%, #faf7ff 100%);
}
.project-cta div {
  display: grid;
  gap: 4px;
}
.project-cta strong {
  font-size: 18px;
}
.project-cta span {
  color: var(--muted);
  font-size: 14px;
}
.team-card__image img {
  object-position: center 18%;
}
.form-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}
.form-heading span {
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.form-heading strong {
  font-size: 23px;
  line-height: 1.2;
}
.need-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 20px;
}
.need-selector button {
  min-height: 44px;
  padding: 10px 12px;
  color: #4b4453;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfafc;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.need-selector button:hover,
.need-selector button.is-selected {
  color: var(--purple-dark);
  border-color: rgba(111,50,255,.45);
  background: rgba(111,50,255,.08);
}
.optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}
.form-more {
  margin: 4px 0 18px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.form-more summary {
  position: relative;
  padding: 14px 28px 14px 0;
  color: var(--purple-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
}
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::after {
  content: '+';
  position: absolute;
  right: 3px;
  top: 12px;
  font-size: 20px;
  line-height: 1;
}
.form-more[open] summary::after { content: '−'; }
.form-more[open] {
  padding-bottom: 3px;
}
.lead-form button[type='submit']:disabled {
  cursor: wait;
  opacity: .7;
}
.desktop-zalo {
  position: fixed;
  z-index: 998;
  right: 20px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 16px 7px 7px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(21,14,31,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0,0,0,.25);
  font-size: 13px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}
.desktop-zalo:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 54px rgba(0,0,0,.34);
}
.desktop-zalo__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  font-weight: 950;
}
.media-lightbox[hidden] { display: none; }
.media-lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 70px 22px 34px;
  color: #fff;
  background: rgba(8,6,11,.94);
  backdrop-filter: blur(12px);
}
.media-lightbox img {
  max-width: min(1180px, 100%);
  max-height: calc(100svh - 145px);
  border-radius: 20px;
  box-shadow: 0 36px 100px rgba(0,0,0,.5);
}
.media-lightbox p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.75);
  text-align: center;
  font-size: 13px;
}
.media-lightbox__close {
  position: fixed;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}
body.lightbox-open { overflow: hidden; }

@media (max-width: 1080px) {
  .quick-needs__grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 300px; }
}

@media (max-width: 880px) {
  .site-nav__list a::after { display: none; }
  .hero {
    min-height: auto;
  }
  .hero__content {
    padding-top: 138px;
    padding-bottom: 64px;
  }
  .hero__proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin-top: 36px;
  }
  .hero__proof div,
  .hero__proof div:first-child {
    min-width: 0;
    padding: 0 12px;
    border-left: 1px solid rgba(255,255,255,.23);
  }
  .hero__proof div:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .hero__proof strong { font-size: 23px; }
  .hero__proof span { font-size: 10px; }
  .project-cta { align-items: flex-start; flex-direction: column; }
  .desktop-zalo { display: none; }
}

@media (max-width: 600px) {
  .hero__content { padding-top: 116px; padding-bottom: 50px; }
  .hero h1 {
    font-size: clamp(38px, 11.6vw, 52px);
    line-height: 1.01;
    letter-spacing: -.047em;
  }
  .hero__lead { margin-top: 21px; line-height: 1.5; }
  .hero__actions { margin-top: 25px; }
  .hero__actions .button { min-height: 50px; }
  .hero__response { align-items: flex-start; line-height: 1.4; }
  .hero__proof { margin-top: 31px; }
  .hero__proof div { padding-inline: 9px; }
  .hero__proof strong { font-size: 20px; }
  .hero__proof span { font-size: 9px; line-height: 1.35; }
  .trust-strip__inner { min-height: 62px; }
  .quick-needs { padding-top: 22px; }
  .quick-needs__grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .quick-needs__grid::-webkit-scrollbar { display: none; }
  .quick-need {
    flex: 0 0 76%;
    min-height: 82px;
    scroll-snap-align: start;
  }
  .quick-needs + .section { padding-top: 58px; }
  .service-card { min-height: 255px; padding: 25px; }
  .service-card h3 { margin-top: 45px; }
  .section-heading h2 { font-size: 36px; }
  .brand-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .brand-chips::-webkit-scrollbar { display: none; }
  .brand-chips span { flex: 0 0 auto; }
  .media-frame figcaption,
  .project-gallery figcaption { opacity: 1; transform: none; }
  .media-zoom::after { opacity: 1; transform: none; }
  .project-cta { padding: 22px; }
  .project-cta .button { width: 100%; }
  .need-selector { grid-template-columns: 1fr 1fr; }
  .need-selector button { min-height: 48px; }
  .mobile-actions { bottom: max(9px, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
}

@media (hover: none) {
  .button:hover,
  .service-card:hover,
  .quick-need:hover,
  .desktop-zalo:hover { transform: none; }
}

/* =========================================================
   Mobile header hotfix 1.2
   Giữ nguyên visual hiện tại; chỉ sửa menu bị rò nội dung,
   CTA Zalo dư và độ trong suốt của header khi cuộn.
   ========================================================= */
@media (max-width: 880px) {
  /* Header khi cuộn phải kín hoàn toàn để chữ phía dưới không xuyên qua. */
  .site-header.is-scrolled,
  body:not(.dstudio-landing) .site-header,
  body.menu-open .site-header {
    color: var(--ink);
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 1px 0 rgba(20, 14, 30, .09), 0 8px 24px rgba(23, 20, 29, .05);
  }

  .site-header {
    isolation: isolate;
  }

  .site-header__inner,
  .brand,
  .nav-toggle {
    position: relative;
    z-index: 1002;
  }

  /* Khóa hoàn toàn menu khi đang đóng, tránh Safari/iOS làm lộ
     các mục “Bài viết”, “Liên hệ” và nút CTA ra phía sau header. */
  .site-nav {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -104%, 0);
    transition: transform .28s ease, opacity .18s ease, visibility 0s linear .28s;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition: transform .28s ease, opacity .18s ease, visibility 0s;
  }

  /* Mobile đã có thanh CTA cố định dưới màn hình nên bỏ nút trùng trong menu. */
  .site-nav__cta {
    display: none !important;
  }

  /* Hai mục này không cần trên menu mobile vì đã có CTA đáy và phần bài viết ở trang chủ. */
  .site-nav__list a[href*="#news"],
  .site-nav__list a[href*="#contact"] {
    display: none !important;
  }

  /* Xóa khoảng trống của li sau khi ẩn link trên trình duyệt hỗ trợ :has(). */
  .site-nav__list li:has(> a[href*="#news"]),
  .site-nav__list li:has(> a[href*="#contact"]) {
    display: none !important;
  }

  /* Nút hamburger luôn rõ và gọn trên nền trắng khi cuộn. */
  .site-header.is-scrolled .nav-toggle,
  body:not(.dstudio-landing) .nav-toggle,
  body.menu-open .nav-toggle {
    color: var(--ink);
    background: var(--soft);
  }
}

/* =========================================================
   D.Studio Insights 1.3
   Giữ nguyên hệ màu, typography và bo góc hiện tại; mở rộng
   trải nghiệm thư viện bài viết và trang đọc bài.
   ========================================================= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 750;
}
.breadcrumbs a { color: rgba(255,255,255,.78); transition: color .2s ease; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current='page'] {
  max-width: min(420px, 52vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-hero { position: relative; overflow: hidden; padding-bottom: 78px; }
.blog-hero::after {
  content: '';
  position: absolute;
  right: -160px;
  bottom: -270px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,63,164,.34), transparent 68%);
  pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; }
.archive-description p { margin-bottom: 0; }
.blog-tools {
  position: relative;
  z-index: 5;
  margin-top: -28px;
}
.blog-tools__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 55px rgba(28,16,48,.12);
  backdrop-filter: blur(16px);
}
.blog-search {
  flex: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--soft);
}
.blog-search > span { padding-left: 17px; color: var(--purple); font-size: 24px; line-height: 1; transform: rotate(-20deg); }
.blog-search input {
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}
.blog-search input::placeholder { color: #817988; }
.blog-search:focus-within { border-color: rgba(111,50,255,.5); box-shadow: 0 0 0 4px rgba(111,50,255,.08); }
.blog-search button,
.blog-sort button {
  min-height: 42px;
  margin-right: 6px;
  padding: 9px 18px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: var(--gradient);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}
.blog-sort { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.blog-sort label { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.blog-sort select {
  min-height: 52px;
  padding: 0 38px 0 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}
.category-filter {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-top: 18px;
  padding-bottom: 5px;
  scrollbar-width: none;
}
.category-filter::-webkit-scrollbar { display: none; }
.category-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  color: #514959;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.category-chip span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 10px;
}
.category-chip:hover,
.category-chip.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--gradient);
}
.category-chip.is-active span { color: var(--purple-dark); background: #fff; }
.blog-featured-section { padding-bottom: 56px; }
.blog-list-section { padding-top: 30px; }
.featured-post {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.featured-post__media { min-height: 470px; overflow: hidden; background: var(--soft); }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.featured-post:hover .featured-post__media img { transform: scale(1.025); }
.featured-post__content { align-self: center; padding: clamp(34px, 5vw, 68px); }
.featured-post__content h2 { margin: 14px 0 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.06; letter-spacing: -.045em; }
.featured-post__content > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.post-card { display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-5px); border-color: rgba(111,50,255,.24); box-shadow: 0 22px 55px rgba(28,16,48,.13); }
.post-card__media { position: relative; }
.post-card__category {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding: 7px 11px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(18,13,25,.7);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.post-card__content { display: flex; flex: 1; flex-direction: column; }
.post-card__content .text-link { margin-top: auto; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.post-card__meta a { color: inherit; }
.post-card__meta a:hover { color: var(--pink); }
.post-card__meta span { color: #aaa2b0; }
.blog-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.blog-results-head h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.blog-results-head__aside { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; font-weight: 750; }
.blog-results-head__aside a { color: var(--purple); font-weight: 850; }
.pagination { margin-top: 46px; }
.pagination .nav-links > ul,
.pagination .page-numbers:not(.current):not(.prev):not(.next) { list-style: none; }
.pagination .nav-links,
.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination li { margin: 0; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 13px;
  font-weight: 850;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { color: #fff; border-color: transparent; background: var(--gradient); }
.empty-state {
  display: grid;
  justify-items: center;
  max-width: 680px;
  margin: 30px auto 0;
  padding: clamp(40px, 7vw, 78px) 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft);
  text-align: center;
}
.empty-state > span { display: grid; place-items: center; width: 72px; height: 72px; color: #fff; border-radius: 22px; background: var(--gradient); font-size: 32px; font-weight: 950; }
.empty-state h2 { margin: 22px 0 8px; font-size: 32px; letter-spacing: -.035em; }
.empty-state p { max-width: 520px; margin: 0 0 25px; color: var(--muted); }
.blog-contact-cta { padding: 0 0 clamp(70px, 9vw, 120px); }
.blog-contact-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: clamp(32px, 5vw, 62px);
  color: #fff;
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.blog-contact-cta__inner::after { content: ''; position: absolute; width: 340px; height: 340px; right: -100px; bottom: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(255,63,164,.45), transparent 70%); }
.blog-contact-cta__inner > * { position: relative; z-index: 1; }
.blog-contact-cta h2 { max-width: 700px; margin: 0; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.04em; }
.blog-contact-cta p:not(.eyebrow) { max-width: 680px; margin: 15px 0 0; color: rgba(255,255,255,.68); }

/* Single article */
.single-hero .breadcrumbs { margin-bottom: 32px; }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: #d9c8ff; font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.single-meta a { color: inherit; }
.single-meta span { color: rgba(255,255,255,.36); }
.single-author-line { display: flex; align-items: center; gap: 10px; margin-top: 25px; color: rgba(255,255,255,.68); font-size: 13px; }
.single-author-line__mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border-radius: 10px; background: var(--gradient); font-weight: 950; }
.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  justify-content: center;
  align-items: start;
  gap: clamp(34px, 5vw, 76px);
  padding-top: 66px;
  padding-bottom: 110px;
}
.article-sidebar { position: sticky; top: calc(var(--header-height) + 28px); display: grid; gap: 18px; }
.article-toc,
.article-share { border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.article-toc summary { position: relative; padding: 17px 42px 17px 18px; cursor: pointer; font-size: 13px; font-weight: 900; list-style: none; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary::after { content: '+'; position: absolute; top: 13px; right: 17px; color: var(--purple); font-size: 22px; }
.article-toc[open] summary::after { content: '−'; }
.article-toc nav {
  min-width: 0;
  padding: 0 18px 17px;
  overflow: hidden;
}
.article-toc ol {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: article-section;
}
.article-toc li {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  float: none;
  counter-increment: article-section;
}
.article-toc a {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
  writing-mode: horizontal-tb;
}
.article-toc a::before {
  content: counter(article-section, decimal-leading-zero);
  display: block;
  width: 24px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.7;
}
.article-toc__label {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
.article-toc a:hover,
.article-toc a.is-active { color: var(--ink); }
.article-toc li.article-toc__subitem {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-left: 12px;
}
.article-toc li.article-toc__subitem > a {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-weight: 650;
}
/* Tương thích dữ liệu/cache cũ: vô hiệu hóa xung đột của class chung is-subitem. */
.article-toc li.is-subitem {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 12px !important;
  float: none !important;
  position: static !important;
  transform: none !important;
  writing-mode: horizontal-tb !important;
}
.article-toc li.is-subitem > a {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  white-space: normal !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
}
.article-toc.is-empty { display: none; }
.article-share { padding: 17px 18px; }
.article-share > strong { display: block; margin-bottom: 11px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.article-share__buttons { display: grid; gap: 7px; }
.article-share a,
.article-share button { min-height: 38px; padding: 8px 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; text-align: center; font-size: 11px; font-weight: 800; }
.article-share a:hover,
.article-share button:hover { color: var(--purple); border-color: rgba(111,50,255,.35); }
.copy-feedback { min-height: 18px; margin: 7px 0 0; color: var(--purple); font-size: 10px; font-weight: 750; }
.article-main { min-width: 0; }
.article-main .entry-content { padding: 0; }
.entry-content > :first-child { margin-top: 0; }

.entry-content h2[id],
.entry-content h3[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
.entry-content p { margin: 0 0 1.35em; }
.entry-content ul,
.entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: .45em; }
.entry-content figure { margin: 36px 0; }
.entry-content figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; text-align: center; }
.entry-content table { width: 100%; margin: 32px 0; border-collapse: collapse; font-size: 15px; }
.entry-content th,
.entry-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--soft); }
.entry-content iframe { max-width: 100%; border-radius: var(--radius); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-tags strong { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.article-tags a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-size: 11px; font-weight: 800; }
.article-author-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fff 0%, #faf7ff 100%);
}
.article-author-box__mark { display: grid; place-items: center; width: 58px; height: 58px; color: #fff; border-radius: 18px; background: var(--gradient); font-size: 23px; font-weight: 950; }
.article-author-box .eyebrow { margin-bottom: 3px; }
.article-author-box h2 { margin: 0; font-size: 22px; }
.article-author-box p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.post-navigation > div { min-width: 0; }
.post-navigation > div:empty { display: none; }
.post-navigation a { display: block; min-height: 100%; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 14px; font-weight: 850; line-height: 1.4; }
.post-navigation div:last-child { text-align: right; }
.post-navigation span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.related-posts { border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__media { min-height: 390px; }
  .article-layout { grid-template-columns: minmax(0, 820px); }
  .article-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .blog-hero { padding-bottom: 64px; }
  .blog-tools { margin-top: -20px; }
  .blog-tools__inner { align-items: stretch; flex-direction: column; padding: 12px; border-radius: 18px; }
  .blog-search { width: 100%; grid-template-columns: auto minmax(0, 1fr); }
  .blog-search button { grid-column: 1 / -1; width: calc(100% - 12px); margin: 0 6px 6px; }
  .blog-sort { justify-content: space-between; }
  .blog-sort select { flex: 1; }
  .category-filter { padding-top: 13px; }
  .featured-post__media { min-height: 260px; }
  .featured-post__content { padding: 28px 24px 32px; }
  .featured-post__content h2 { font-size: 32px; }
  .blog-results-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .blog-results-head__aside { width: 100%; justify-content: space-between; }
  .blog-contact-cta__inner { align-items: flex-start; flex-direction: column; }
  .blog-contact-cta__inner .button { width: 100%; }
  .breadcrumbs { margin-bottom: 22px; }
  .breadcrumbs [aria-current='page'] { max-width: 42vw; }
  .single-meta { line-height: 1.5; }
  .article-layout { gap: 28px; padding-top: 40px; padding-bottom: 78px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-share { display: none; }
  .article-toc { width: 100%; min-width: 0; }
  .article-toc summary { min-height: 52px; display: flex; align-items: center; }
  .article-toc[open] summary { border-bottom: 1px solid var(--line); }
  .article-toc nav {
    width: 100%;
    min-width: 0;
    max-height: min(52vh, 440px);
    padding: 15px 16px 17px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .article-toc a { grid-template-columns: 24px minmax(0, 1fr); gap: 7px; font-size: 12.5px; line-height: 1.48; }
  .article-toc li.article-toc__subitem,
  .article-toc li.is-subitem { padding-left: 10px !important; }
  .entry-content h2 { font-size: 30px; }
  .entry-content h3 { font-size: 24px; }
  .article-author-box { grid-template-columns: auto 1fr; }
  .article-author-box .button { grid-column: 1 / -1; width: 100%; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation div:last-child { text-align: left; }
}



/* Horizontal D.Studio identity: new symbol + existing site typography */
.brand__mark--image {
  overflow: hidden;
  padding: 0;
  background: transparent;
  box-shadow: 0 7px 18px rgba(94, 31, 154, .20);
}
.brand__mark--image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.brand__text strong {
  white-space: nowrap;
}
.brand__text small {
  white-space: nowrap;
}

.footer-brand--logo {
  gap: 10px;
}
.footer-brand__mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  overflow: hidden;
  flex: 0 0 44px;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .22);
}
.footer-brand__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.footer-brand__text {
  display: grid;
  line-height: 1;
}
.footer-brand__text strong {
  color: #fff;
  font-size: 19px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.footer-brand__text small {
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  letter-spacing: .26em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .brand {
    min-width: 0;
  }
  .brand__mark--image {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  .brand__text strong {
    font-size: 17px;
  }
  .brand__text small {
    font-size: 9px;
    letter-spacing: .24em;
  }
}
