:root {
  --ink: #0b1f33;
  --ink-soft: #18334d;
  --paper: #f6f7f2;
  --white: #ffffff;
  --gold: #f3b63f;
  --gold-deep: #a96d00;
  --blue: #4da7d9;
  --blue-soft: #eef5f8;
  --line: #d9e0e5;
  --muted: #526272;
  --container: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p { font-size: 18px; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .15s ease;
}

.skip-link:focus { transform: translateY(0); }

/* Header and information architecture */
.site-header { background: var(--white); }

.top-utility {
  min-height: 34px;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-utility-inner > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-utility a:hover,
.top-utility a:focus-visible { color: var(--gold); text-decoration: underline; }

.identity-bar { border-bottom: 1px solid var(--line); }

.identity-wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #080b0f;
  border: 1px solid rgba(11, 31, 51, .16);
}

.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-size: 1.16rem; font-weight: 800; }
.brand-copy small { margin-top: 7px; color: var(--gold-deep); font-size: .78rem; font-weight: 700; }

.identity-meta {
  display: grid;
  justify-items: end;
  line-height: 1.35;
}

.identity-meta strong { color: var(--ink-soft); font-size: .9rem; }
.identity-meta span { margin-top: 5px; color: var(--muted); font-size: .82rem; }

.nav-band { position: relative; z-index: 30; background: var(--ink); }

.nav-wrap {
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.main-nav { display: flex; align-items: stretch; }

.main-nav a {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  font-weight: 700;
  transition: background .15s ease, color .15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] { background: var(--ink-soft); color: var(--white); }

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: var(--gold);
}

.nav-contact {
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: .83rem;
  font-weight: 800;
  transition: background .15s ease;
}

.nav-contact:hover,
.nav-contact:focus-visible { background: #ffd276; }

.mobile-nav { display: none; }

.utility-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.utility-strip-inner {
  min-height: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: .84rem;
}

.utility-label {
  padding-right: 18px;
  color: var(--gold-deep);
  border-right: 1px solid var(--line);
  font-weight: 800;
  text-transform: uppercase;
}

.utility-strip a { color: var(--ink-soft); font-weight: 700; }
.utility-strip a:hover { color: var(--gold-deep); text-decoration: underline; }

/* Lead profile */
.hero { padding: 54px 0 0; background: var(--paper); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 800;
  text-transform: none;
}

.eyebrow > span { width: 30px; height: 3px; background: var(--gold); }

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(3.3rem, 6.2vw, 5.9rem);
  font-weight: 760;
  line-height: 1;
}

h1 em,
h2 em,
.manifesto em { color: var(--gold-deep); font-style: normal; font-weight: 800; }

.hero-role {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
}

.hero-lead {
  max-width: 670px;
  margin: 16px 0 0;
  color: #34485a;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 800;
  transition: background .15s ease, border-color .15s ease;
}

.button-primary { background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.button-primary:hover,
.button-primary:focus-visible { background: var(--ink-soft); border-color: var(--ink-soft); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  border-bottom: 1px solid currentColor;
  font-size: .9rem;
  font-weight: 750;
}

.text-link:hover,
.text-link:focus-visible { color: var(--gold-deep); }

.portrait { margin: 0; }

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: none;
}

.portrait figcaption span:first-child { color: var(--ink); }

.profile-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-summary > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.profile-summary > div:last-child { border-right: 0; }
.profile-summary span { color: var(--gold-deep); font-size: .78rem; font-weight: 800; }
.profile-summary strong { color: var(--ink-soft); font-size: .94rem; font-weight: 700; }

/* Structured content modules */
.section { padding: clamp(72px, 8vw, 104px) 0; }

.split-heading,
.section-top,
.connect-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 52px;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink-soft);
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label.light { color: var(--muted); }

.section-content h2,
.section-top h2,
.method-intro h2,
.connect h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 750;
  line-height: 1.12;
}

.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 64px);
  margin: 38px 0 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-grid p { margin: 0; color: var(--muted); font-size: 18px; }
.dark-link { color: var(--ink); }

.expertise { background: var(--blue-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-top { align-items: start; margin-bottom: 42px; }
.section-top h2 em { color: var(--gold-deep); }

.expertise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expertise-item {
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink-soft);
  border-radius: var(--radius);
}

.item-no { display: block; margin-bottom: 28px; color: var(--gold-deep); font-size: .75rem; font-weight: 800; }
.item-kicker { display: block; margin: 0 0 8px; color: #267da8; font-size: .8rem; font-weight: 800; }
.expertise-item h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.25; }
.expertise-item > p { margin: 22px 0 0; padding-top: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 18px; }

.method { background: var(--white); }

.method .container {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(56px, 8vw, 110px);
}

.method-intro .section-label { margin-bottom: 28px; }
.method-intro h2 { font-size: clamp(2.15rem, 3.7vw, 3.35rem); }
.method-intro > p { max-width: 560px; margin: 26px 0 0; color: var(--muted); font-size: 18px; }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink-soft); }

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}

.process-list li > span { color: var(--gold-deep); font-size: .75rem; font-weight: 800; padding-top: 4px; }
.process-list strong { color: var(--ink-soft); font-size: 1.08rem; }
.process-list p { margin: 5px 0 0; color: var(--muted); font-size: 18px; }

.manifesto {
  background: var(--ink);
  color: var(--white);
  border-top: 5px solid var(--gold);
}

.manifesto-inner { padding-block: clamp(74px, 8vw, 106px); }

.manifesto blockquote {
  max-width: auto;
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.6rem, 5.8vw, 5.6rem);
  font-weight: 750;
  line-height: 1.08;
}

.manifesto blockquote em { color: var(--gold); text-decoration: none; }
.manifesto span { display: block; margin-top: 28px; color: rgba(255, 255, 255, .65); font-size: .8rem; font-weight: 800; text-transform: uppercase; }

.connect { background: var(--paper); }
.connect .eyebrow { margin-bottom: 28px; }
.connect h2 { max-width: 930px; }
.connect h2 em { color: var(--gold-deep); }
.connect-main > p { max-width: 850px; margin: 24px 0 0; color: var(--muted); }

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  padding: 13px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 760;
}

.email-link:hover,
.email-link:focus-visible { border-color: var(--ink-soft); }

.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.social-links a { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: .82rem; font-weight: 700; }
.social-links a:hover,
.social-links a:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Footer */
.site-footer { padding: 30px 0; background: var(--ink); color: var(--white); border-top: 4px solid var(--gold); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: center;
}

.footer-inner > div:first-child { display: grid; line-height: 1.3; }
.footer-inner strong { font-size: .95rem; }
.footer-inner span { margin-top: 4px; color: rgba(255, 255, 255, .58); font-size: .78rem; }
.footer-inner > a,
.footer-copy { margin: 0; color: rgba(255, 255, 255, .68); font-size: .78rem; }
.footer-inner > a:hover { color: var(--gold); text-decoration: underline; }

.reveal { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .top-utility { display: none; }
  .identity-meta { display: none; }
  .main-nav,
  .nav-contact { display: none; }
  .nav-wrap { min-height: 50px; align-items: center; justify-content: space-between; }
  .nav-wrap::before { content: "Danh mục thông tin"; color: rgba(255, 255, 255, .78); font-size: .82rem; font-weight: 700; }
  .mobile-nav { display: block; }

  .menu-button {
    width: 42px;
    height: 38px;
    display: grid;
    place-content: center;
    gap: 6px;
    margin-left: auto;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius);
    color: var(--white);
    cursor: pointer;
    list-style: none;
  }

  .menu-button::-webkit-details-marker { display: none; }
  .menu-button span:not(.sr-only) { width: 18px; height: 2px; background: currentColor; transition: transform .15s ease; }
  .mobile-nav[open] .menu-button span:first-child { transform: translateY(4px) rotate(45deg); }
  .mobile-nav[open] .menu-button span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .mobile-nav-panel {
    position: absolute;
    top: 50px;
    right: 0;
    left: 0;
    display: grid;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, visibility .15s;
  }

  .mobile-nav[open] .mobile-nav-panel { visibility: visible; opacity: 1; pointer-events: auto; }
  .mobile-nav-panel a { min-height: 48px; display: flex; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; font-weight: 700; }
  .mobile-nav-panel a:last-child { border-bottom: 0; }
  .mobile-nav-panel a:hover,
  .mobile-nav-panel a:focus-visible,
  .mobile-nav-panel a[aria-current="page"] { background: var(--blue-soft); color: var(--ink-soft); }

  .hero-grid { grid-template-columns: 1fr; }
  .portrait { width: min(72%, 500px); margin-left: auto; }
  .split-heading,
  .section-top,
  .connect-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-top { margin-bottom: 34px; }
  .expertise-list { grid-template-columns: 1fr; }
  .expertise-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .expertise-item .item-no { grid-row: 1 / span 2; margin: 0; }
  .expertise-item > p { grid-column: 2; }
  .method .container { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .top-utility-inner { min-height: 34px; }
  .top-utility-inner > div { display: none; }
  .identity-wrap { min-height: 84px; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-copy strong { font-size: 1.05rem; }
  .utility-strip-inner { grid-template-columns: 1fr auto; gap: 12px; min-height: 48px; }
  .utility-label { display: none; }
  .utility-strip-inner > span:not(.utility-label) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.3rem); line-height: 1.04; }
  .hero-lead { margin-top: 25px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .portrait { width: 100%; margin-top: 6px; }
  .portrait figcaption { flex-direction: column; gap: 2px; }
  .profile-summary { grid-template-columns: 1fr; margin-top: 38px; }
  .profile-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-summary > div:last-child { border-bottom: 0; }

  .section { padding-block: 64px; }
  .about-grid { grid-template-columns: 1fr; }
  .expertise-item { display: block; padding: 24px; }
  .expertise-item .item-no { margin-bottom: 20px; }
  .expertise-item > p { margin-top: 18px; }
  .manifesto blockquote br { display: none; }
  .email-link { word-break: break-word; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}

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