@font-face {
  font-family: "Noto Sans Portfolio";
  src: url("assets/fonts/noto-sans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Portfolio";
  src: url("assets/fonts/noto-sans-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Display Portfolio";
  src: url("assets/fonts/noto-sans-display-bold-vi.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #fff;
  --text: #17191c;
  --muted: #505761;
  --silver: #f8f9fa;
  --silver-deep: #f1f4f6;
  --stroke: #e3e7eb;
  --radius: 24px;
  --body: "Noto Sans Portfolio", Arial, sans-serif;
  --head: "Noto Sans Display Portfolio", var(--body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 1rem/1.6 var(--body); }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid #444b53; outline-offset: 4px; }
img { display: block; width: 100%; max-width: 100%; object-fit: cover; }
.wrap { width: min(calc(100% - 80px), 1180px); margin-inline: auto; }
section, footer { scroll-margin-top: 1.5rem; }
.skip { position: absolute; left: .7rem; top: .5rem; transform: translateY(-160%); background: var(--white); padding: .6rem 1rem; z-index: 2; }
.skip:focus { transform: none; }

.navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; border-bottom: 1px solid var(--stroke); }
.wordmark { text-decoration: none; font: 700 1.06rem var(--head); letter-spacing: -.02em; white-space: nowrap; }
.wordmark span { color: #727985; }
nav { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.75rem); font-size: .88rem; }
nav a { text-decoration: none; color: var(--muted); font-weight: 620; }
nav a:hover, .text-link:hover, .card h3 a:hover { text-decoration: underline; }
.nav-contact { background: var(--silver); border-radius: 999px; color: var(--text); padding: .48rem .88rem; }
.nav-contact:hover { background: var(--silver-deep); }

.hero { display: grid; grid-template-columns: 1.06fr 1fr; gap: 13px; margin-top: 32px; }
.hero-copy { background: linear-gradient(145deg, #fff 10%, #f5f7fa 100%); border: 1px solid var(--stroke); border-radius: var(--radius); padding: clamp(1.5rem, 4.5vw, 3.7rem); align-content: center; }
.kicker { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, .hero-role, dd { font-family: var(--head); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(3.35rem, 5.6vw, 5.25rem); line-height: 1.19; margin: .5rem 0 .7rem; }
h1 .title-dot { color: #747b86; }
.hero-role { font-size: clamp(1.5rem, 2.6vw, 2.45rem); line-height: 1.2; }
.intro { margin-top: 1.15rem; max-width: 41ch; color: var(--muted); }
.actions { margin-top: 1.55rem; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.button, .text-link { display: inline-flex; align-items: center; gap: .7rem; font-size: .86rem; font-weight: 730; }
.button { justify-content: center; min-height: 44px; padding: .6rem .96rem; border-radius: 10px; text-decoration: none; }
.button-primary { background: var(--text); color: var(--white); }
.button-primary:hover { background: #363a40; }
.text-link { text-decoration: none; min-height: 36px; }
.text-link span { color: #5d6570; }
.hero-art { display: grid; position: relative; overflow: hidden; min-height: 380px; isolation: isolate; border-radius: var(--radius); background: var(--silver-deep); }
.hero-art img { position: absolute; height: 100%; filter: saturate(.88) brightness(1.12) contrast(.96); object-position: 53% 55%; }
figcaption { position: absolute; bottom: 14px; left: 14px; padding: .4rem .75rem; background: var(--white); border-radius: 9px; font-size: .71rem; color: var(--muted); }
.hero-profile { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.hero-profile div { padding: .72rem 1.05rem; border-radius: 14px; background: var(--silver); border: 1px solid var(--stroke); }
.hero-profile span, .hero-profile strong { display: block; }
.hero-profile span { font-size: .74rem; color: var(--muted); }
.hero-profile strong { font-size: .94rem; }

.stats { padding-top: 40px; }
.section { padding-top: clamp(48px, 7vw, 94px); }
.section-top { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem 1rem; margin-bottom: 1.15rem; }
h2 { font-size: clamp(2rem, 4.1vw, 3.65rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.95rem); line-height: 1.15; }
.section-top p, .note { color: var(--muted); font-size: .84rem; }
.section-top.compact h2 { font-size: clamp(1.3rem, 2.55vw, 1.85rem); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: .65rem; }
.stat-grid > div { min-width: 0; background: var(--silver); border: 1px solid var(--stroke); padding: clamp(.65rem, 2vw, 1.35rem); border-radius: 16px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .38rem; }
dt { color: var(--muted); font-size: .82rem; }
dd { font-size: clamp(1.6rem, 3.6vw, 3.25rem); }

.featured { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius); background: var(--silver-deep); border: 1px solid var(--stroke); overflow: hidden; }
.featured > img { height: 100%; aspect-ratio: 1.5; filter: saturate(.9) brightness(1.08); }
.featured-copy { align-self: center; padding: clamp(1.35rem, 4.5vw, 3.6rem); }
.featured h3 { font-size: clamp(2.55rem, 5.3vw, 5rem); line-height: 1.12; margin: .55rem 0 .95rem; }
.metric { color: var(--muted); font-weight: 690; font-size: .84rem; }
.featured-copy .metric { margin: .75rem 0 1.15rem; }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 13px; }
.card { min-width: 0; border-radius: 18px; overflow: hidden; background: var(--silver); border: 1px solid var(--stroke); padding: .55rem; }
.card-image { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--silver-deep); }
.card-image img { height: auto; aspect-ratio: 1.62; filter: saturate(.9) brightness(1.08); }
.card-image:focus-visible { outline-offset: -4px; outline-color: white; }
.out { position: absolute; bottom: 8px; right: 8px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--white); border-radius: 9px; }
.card :is(.kicker, h3, .metric, .note) { margin-inline: .45rem; }
.card .kicker { margin-top: .8rem; margin-bottom: .3rem; }
.card h3 { margin-bottom: .46rem; font-size: clamp(1.2rem, 2vw, 1.65rem); }
.card h3 a { text-decoration: none; }
.card :is(.metric, .note) { margin-bottom: .55rem; }
.more-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 13px 0 .7rem; }
.more-projects a { display: flex; justify-content: space-between; gap: .65rem; padding: .8rem 1rem; border: 1px solid var(--stroke); border-radius: 14px; font-weight: 710; text-decoration: none; }
.more-projects a:hover { background: var(--silver); }
.more-projects small { display: block; color: var(--muted); font-size: .78rem; font-weight: 450; }

.script-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 13px; }
.script-grid > div, blockquote { border: 1px solid var(--stroke); border-radius: var(--radius); padding: clamp(1.3rem, 3.6vw, 2.9rem); }
.script-grid > div { background: var(--silver); }
.script-grid h2 { margin: .6rem 0 1rem; font-size: clamp(1.9rem, 3.7vw, 3.45rem); }
.script-grid .text-link { margin-top: .75rem; }
blockquote { background: #fff; font-size: .94rem; }
blockquote p+p { margin-top: .85rem; }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.service-grid article { border: 1px solid var(--stroke); border-radius: 18px; background: var(--silver); padding: clamp(1.15rem, 3vw, 2rem); }
.service-grid h3 { margin-bottom: .55rem; }
.service-grid p { color: var(--muted); }
.process-heading { margin-top: 1.9rem; font-size: 1.23rem; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: .85rem 0; padding: 0; list-style-position: inside; }
.process li { border: 1px solid var(--stroke); border-radius: 13px; padding: .72rem; font-size: .89rem; }
.process li::marker { color: var(--muted); font-weight: 800; }

footer { padding-block: clamp(43px, 7vw, 85px) 29px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.2rem 2rem; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--silver-deep); padding: clamp(1.3rem, 4.5vw, 3rem); }
.footer-grid h2 { margin: .48rem 0 .65rem; }
.footer-grid p { color: var(--muted); }
.footer-actions { display: grid; gap: .45rem; justify-items: start; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .hero-copy { padding: 1.55rem; }
  h1 { font-size: clamp(2.65rem, 5.75vw, 4.5rem); }
  .hero-art { min-height: 355px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .navigation { align-items: flex-start; flex-direction: column; padding: .8rem 0 .65rem; gap: .62rem; min-height: auto; }
  nav { justify-content: space-between; width: 100%; gap: .35rem; font-size: .82rem; }
  .nav-contact { padding: .35rem .55rem; }
  .hero { margin-top: 18px; }
  .hero, .featured, .projects, .more-projects, .script-grid, .service-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 1.25rem; }
  h1 { font-size: clamp(2.4rem, 9.7vw, 4.3rem); }
  .hero-art { min-height: 0; aspect-ratio: 1.65; }
  .hero-profile { gap: 5px; }
  .hero-profile div { padding: .53rem .45rem; border-radius: 10px; }
  .hero-profile span { font-size: .67rem; }
  .hero-profile strong { font-size: .77rem; line-height: 1.35; }
  .section-top { display: block; }
  .section-top p { margin-top: .4rem; }
  .stat-grid, .process { grid-template-columns: 1fr 1fr; }
  .featured > img { height: auto; aspect-ratio: 1.65; }
  .featured h3 br { display: none; }
  .featured h3 br::after { content: " "; }
  .featured h3 { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.profile-meta { margin-top: .85rem; color: var(--muted); font-size: .84rem; }
.portrait img { object-position: 50% 25%; filter: none; }
.stats .section-top p, #du-an .section-top p { margin-top: .35rem; }
.channel-strip { margin-top: 14px; padding: clamp(1rem, 2.2vw, 1.55rem); border: 1px solid var(--stroke); border-radius: 18px; background: var(--silver); }
.channel-strip h3 { font-size: 1.23rem; }
.channel-strip .note { margin-top: .25rem; }
.channel-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: .9rem; }
.channel-links :is(a, .channel-stat) { position: relative; padding: .68rem .85rem; border: 1px solid var(--stroke); border-radius: 11px; background: var(--white); text-decoration: none; }
.channel-links a:hover { background: var(--silver-deep); }
.channel-links span:not([aria-hidden]) { display: block; }
.channel-links span { color: var(--muted); font-size: .82rem; }
.channel-links span[aria-hidden] { position: absolute; top: .65rem; right: .8rem; }
.featured { background: var(--silver); }
.featured > img { filter: none; aspect-ratio: 16/9; object-fit: contain; }
.featured h3 { font-size: clamp(1.85rem, 3.35vw, 3.3rem); }
.project-role { color: var(--muted); font-size: .83rem; margin: .65rem 0; }
.featured-copy .metric { margin: 0 0 .65rem; }
.project-views { font-weight: 700; font-size: 1.13rem; }
.video-links { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: .72rem; }
.platform-button { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; min-height: 38px; padding: .35rem .65rem; border: 1px solid var(--stroke); border-radius: 9px; font-weight: 700; font-size: .81rem; color: var(--text); background: var(--white); text-decoration: none; }
.platform-button:hover { background: var(--silver-deep); }
.projects { grid-template-columns: repeat(2,minmax(0,1fr)); }
.project-card-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 0 .5rem .53rem; flex: 1; }
.card { display: flex; flex-direction: column; }
.card .card-image img { aspect-ratio: 16/9; filter: none; }
.card-image.mongolia { background: #202122; }
.card .card-image.mongolia img { object-fit: contain; }
.card .project-card-copy :is(.kicker,h3,.metric) { margin-inline: 0; }
.card .project-card-copy .metric { margin-bottom: .6rem; }
.project-card-copy .video-links { margin-top: auto; }
.project-note { margin-top: .75rem; }
.caption-panel { grid-column: 1/-1; border: 1px solid var(--stroke); border-radius: 14px; padding: .8rem 1rem; background: var(--silver); }
.caption-panel summary { font-weight: 700; cursor: pointer; }
.caption-panel p { margin-top: .65rem; }
.caption-panel ul { margin: .55rem 0 .2rem; padding-left: 1.2rem; }
.topics-panel { margin-top: .75rem; background: var(--white); }
.capabilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; margin-top: .85rem; }
.capabilities > div { border: 1px solid var(--stroke); border-radius: 13px; padding: .8rem .95rem; }
.capabilities dt { font-size: .96rem; color: var(--text); font-weight: 700; }
.capabilities dd { font: .84rem/1.55 var(--body); color: var(--muted); margin-top: .25rem; }
.process small { display: block; color: var(--muted); font-size: .8rem; margin-top: .27rem; }
.footer-actions { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; }
.footer-actions .button { width: 100%; min-height: 44px; }
.contact-detail { grid-column: 1/-1; overflow-wrap: anywhere; font-size: .85rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; margin-top: .85rem; font-size: .84rem; }
.footer-social a { text-decoration: none; }
.footer-social a:hover { text-decoration: underline; }
@media(max-width: 820px) {
  .capabilities { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 680px) {
  .projects { grid-template-columns: 1fr; }
  .portrait { aspect-ratio: 1.3; }
  .portrait img { object-position: 50% 19%; }
  .channel-links { grid-template-columns: 1fr; gap: 6px; }
  .featured h3 { font-size: 2rem; }
  .footer-actions { justify-items: stretch; }
}

/* Shared alignment for headings, numeric labels and calls to action. */
:is(.hero-copy, .featured-copy, .project-card-copy, .channel-links a, .service-grid article, .footer-grid) {
  text-align: left;
}
:is(h1, h2, .hero-role, .featured h3) {
  min-width: 0;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}
.display-lettering {
  display: block;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3.32rem, 6.6vw, 5.4rem); line-height: 1.2; }
.hero-role { font-size: clamp(1.45rem, 2.55vw, 2.35rem); line-height: 1.17; }
h2 { font-size: clamp(2.4rem, 5vw, 4.65rem); }
.section-top > div { min-width: 0; }
.section-top.compact h2 { font-size: clamp(1.95rem, 4.2vw, 3.55rem); }
.script-grid h2 { font-size: clamp(2.2rem, 4vw, 3.85rem); }
.featured h3 { font-size: clamp(2.2rem, 3.95vw, 3.7rem); line-height: 1.2; }
.project-card-copy h3 { width: 100%; }
.stat-grid > div { align-items: flex-start; }
.stat-grid dd, .count-up { font-variant-numeric: tabular-nums; }
.count-up { white-space: nowrap; }

.channel-links :is(a, .channel-stat) {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  column-gap: .7rem;
  padding: .75rem 2rem .75rem .9rem;
}
.channel-logo {
  grid-row: 1 / span 2;
  justify-self: center;
  display: block;
  width: 28px;
  height: 28px;
}
.channel-links .channel-label { grid-column: 2; }
.channel-links span.channel-count:not([aria-hidden]) {
  display: inline-flex;
  color: var(--channel-ink);
  background: var(--channel-tint);
  border-radius: 7px;
  padding: .08rem .42rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}
.channel-links .channel-count .count-up { color: inherit; font-size: inherit; }
.channel-youtube { --channel-ink: #a12433; --channel-tint: #fae9ec; }
.channel-facebook { --channel-ink: #18469c; --channel-tint: #e8efff; }
.channel-tiktok { --channel-ink: #08635e; --channel-tint: #e2f4f1; }

.footer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .63fr);
  align-items: start;
}
.footer-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
  align-items: start;
  min-width: 0;
}
.contact-item {
  width: 100%;
  min-width: 0;
  padding: .75rem .9rem;
  display: grid;
  gap: .28rem;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--white);
}
.footer-actions .contact-item .button {
  justify-content: space-between;
  padding: .05rem 0;
  min-height: 0;
  border: 0;
  color: var(--text);
  background: none;
  text-align: left;
}
.contact-item :is(.button, .contact-detail):hover { text-decoration: underline; }
.contact-detail { grid-column: auto; color: var(--muted); }
@media (max-width: 950px) {
  h1 { font-size: clamp(2.85rem, 5.8vw, 5.3rem); }
}
@media (max-width: 680px) {
  h1 { font-size: clamp(2.5rem, 10.5vw, 4.6rem); }
  h2 { font-size: clamp(2.12rem, 8.2vw, 3.4rem); }
  .section-top.compact h2 { font-size: clamp(1.85rem, 7.5vw, 2.8rem); }
  .script-grid h2, .featured h3 { font-size: clamp(2.05rem, 7.8vw, 2.85rem); }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
}

.thanks-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.3rem, 5vw, 4.5rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.45rem, 5vw, 4.6rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #262b32, #14161a 70%);
  color: #f5f6f7;
}
.thanks-panel h2 {
  font-size: clamp(2.8rem, 7.5vw, 7rem);
  color: #f5f6f7;
}
.thanks-copy {
  display: grid;
  gap: .9rem;
  max-width: 54ch;
  color: #dce0e5;
  line-height: 1.65;
}
.thanks-copy strong { color: #fff; }
@media (max-width: 680px) {
  .thanks-panel { grid-template-columns: minmax(0, 1fr); }
}

.upwork-contact { align-self: center; margin: 0; font-weight: 700; }
