:root {
  --bg: #101a1d;
  --ink: #eef5f5;
  --muted: #aabbbf;
  --line: #ffffff26;
  --ice: #ccf2fa;
  --lilac: #a6a5ff;
  --gold: #ffe1a0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}
.wrap {
  max-width: 1440px;
  margin: auto;
  padding: 0 6%;
}
.skip {
  position: fixed;
  top: -60px;
  left: 15px;
  padding: 15px;
  background: var(--ice);
  color: var(--bg);
  z-index: 30;
}
.skip:focus {
  top: 10px;
}
header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.4px;
}
.brand span {
  display: block;
  font-size: 9px;
  letter-spacing: 3.6px;
  font-weight: 400;
  margin-top: 5px;
}
nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
}
nav a:hover {
  color: var(--ice);
}
.nav-contact {
  border-bottom: 1px solid var(--ice);
  padding-bottom: 5px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 740px;
  align-items: center;
  gap: 3%;
  padding: 60px 0 75px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 16px #ccf2fa88;
}
.hero h1 {
  font-size: clamp(65px, 7.4vw, 112px);
  line-height: 0.96;
  letter-spacing: -6px;
  font-weight: 800;
  margin: 34px 0 22px;
  position: relative;
  z-index: 2;
}
.gradient {
  background: linear-gradient(
    115deg,
    var(--ice),
    var(--lilac) 55%,
    var(--gold)
  );
  color: transparent;
  background-clip: text;
}
.role {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.intro {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 350px;
  margin-top: 27px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
}
.primary {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--ice);
  color: var(--bg);
  padding: 18px 22px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
}
.primary:hover {
  background: var(--gold);
}
.text-link {
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.portrait {
  position: relative;
  margin: 0;
}
/* Ảnh chân dung Hero */
.portrait img {
    width: 100%;
    max-height: 580px;
    aspect-ratio: 1 / 1.12;
    object-fit: cover;
    object-position: center 40%;
}
.portrait:before {
  content: "";
  position: absolute;
  inset: -16px 18px 15px -15px;
  border: 1px solid #ccf2fa38;
  border-radius: 190px 190px 2px 2px;
  z-index: -1;
}
.portrait figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 17px;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}
.badge {
  position: absolute;
  right: -20px;
  top: 35px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(12deg);
  font-size: 11px;
  line-height: 1.6;
  box-shadow: 0 0 0 7px #101a1d;
}
.badge b {
  font-size: 24px;
}
.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}
.ticker {
  background: var(--ice);
  color: var(--bg);
  padding: 23px 0;
  overflow: hidden;
}
.ticker div {
  display: flex;
  justify-content: space-around;
  gap: 26px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}
.ticker i {
  font-style: normal;
  color: #6c759a;
}
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 42px;
}
.label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
}
.index {
  color: var(--muted);
  font-size: 10px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}
h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -2.4px;
  margin: 0;
  font-weight: 500;
}
.about p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 24px;
}
.signature {
  font-size: 27px;
  letter-spacing: -1px;
  color: var(--ice);
  font-style: italic;
}
.service-heading {
  margin-bottom: 48px;
}
.service {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 25px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.number {
  font: 12px monospace;
  color: var(--muted);
}
.service h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -1px;
}
.service p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}
.service small {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ice);
  display: block;
  margin-bottom: 12px;
}
.tools {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10%;
  align-items: start;
}
.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tool {
  border: 1px solid var(--line);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.tool b {
  display: grid;
  place-content: center;
  width: 32px;
  height: 32px;
  background: #203238;
  color: var(--ice);
  font-size: 15px;
  border-radius: 5px;
}
.tool:nth-child(4) b,
.tool:nth-child(5) b {
  color: #bdb5ff;
  background: #29263c;
}
.poster-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
}
/* Ảnh trong section phía dưới */
.poster-section img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}
.poster-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 390px;
}
.quote {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 30px 0;
}
.mini {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}
.contact {
  text-align: center;
  padding: 100px 0 85px;
  background: radial-gradient(ellipse at 50% 120%, #29434d, transparent 65%);
}
.contact h2 {
  font-size: clamp(43px, 6vw, 85px);
  max-width: 850px;
  margin: 28px auto;
}
.contact p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.contact-links {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.contact-note {
  border: 1px solid var(--line);
  display: inline-block;
  padding: 13px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 10px;
  color: var(--muted);
}
footer a {
  color: var(--ice);
}
.menu {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px;
}
.reveal {
  animation: appear 0.7s ease both;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 112px;
  }
}
@media (max-width: 800px) {
  .wrap {
    padding: 0 7%;
  }
  header {
    height: 74px;
  }
  .menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 26px 7%;
    z-index: 20;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
    gap: 55px;
  }
  .hero h1 {
    font-size: clamp(60px, 14vw, 96px);
    letter-spacing: -4px;
  }
  .portrait {
    width: 90%;
    margin: 0 auto 25px;
  }
  .portrait img {
    aspect-ratio: 1/1;
  }
  .badge {
    right: -17px;
  }
  .hero-bottom {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .section {
    padding: 65px 0;
  }
  .about,
  .tools,
  .poster-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service {
    grid-template-columns: 30px 1fr;
    gap: 15px;
  }
  .service p {
    grid-column: 2;
  }
  .service h3 {
    font-size: 25px;
  }
  .ticker div {
    font-size: 11px;
    justify-content: flex-start;
    padding-left: 24px;
  }
  .section-top {
    margin-bottom: 30px;
  }
  .contact {
    padding: 68px 0;
  }
  .contact h2 {
    letter-spacing: -2px;
  }
  footer {
    gap: 22px;
    align-items: flex-start;
    font-size: 9px;
  }
  .poster-section img {
    max-width: 520px;
  }
  .role {
    font-size: 11px;
    letter-spacing: 2px;
  }
  .actions {
    gap: 22px;
  }
  .primary {
    padding: 16px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    animation: none;
  }
}

@media (max-width: 600px) {
    .tool-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tool {
        min-width: 0;
        padding: 12px 10px;
        gap: 8px;
        font-size: 11px;
    }

    .tool b {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
        font-size: 13px;
    }
}
