/* The Originators - static HTML/CSS export */
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/CabinetGrotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-vietnamese.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; }

:root {
  --bg: #f5f2ec;
  --ink: #171517;
  --black: #000;
  --white: #fff;
  --purple: #5425c7;
  --purple-card: #5529c9;
  --dark: #171517;
  --card-1: #d8d0cb;
  --card-2: #2c2640;
  --think-1: #d2c4bf;
  --think-2: #e5e0d9;
  --display: "Cabinet Grotesk", "Inter", sans-serif;
  --body: "Satoshi", "Inter", sans-serif;
  --ease: cubic-bezier(.2, 0, .2, 1);
  --pad: 54px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.page { max-width: 1200px; margin: 0 auto; }
.section { padding-left: var(--pad); padding-right: var(--pad); }

/* Typography */
.label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}
.link-arrow { transition: opacity .25s var(--ease), letter-spacing .25s var(--ease); }
.link-arrow:hover { opacity: .6; }

/* Keyboard focus: visible ring for keyboard users, invisible to mouse users. */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
  border-radius: 2px;
}
/* On dark sections the purple ring is too low-contrast against #171517. */
.origin :focus-visible,
.contact :focus-visible,
.case--2:focus-visible,
.post--3:focus-visible { outline-color: var(--white); }
/* Skip link: only reachable by keyboard, jumps past the nav. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--purple);
  color: var(--white);
}
.skip-link:focus { left: var(--pad); top: 8px; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: var(--bg);
}
.nav__logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a, .nav__cta { letter-spacing: 1.3px; }
.nav__cta { letter-spacing: 1.2px; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* Hero */
.hero {
  min-height: min(900px, 100svh);
  padding-top: 46px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
}
.hero__body { margin-top: clamp(96px, 19vh, 208px); }
.hero__title {
  margin-top: 24px;
  font-size: 108px;
  line-height: .86;
  letter-spacing: -5px;
}
.hero__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Believe */
.believe { padding-top: 160px; padding-bottom: 140px; }
.believe__list { margin-top: 86px; }
.believe__list p {
  font-family: var(--display);
  font-weight: 700;
  font-size: 61px;
  line-height: .98;
  letter-spacing: -2.4px;
  text-transform: uppercase;
}
/* .55 keeps the two-tone rhythm while clearing WCAG 3:1 for large text (was .35 = 2.20:1). */
.believe__list p:nth-child(even) { color: rgba(23, 21, 23, .55); margin-bottom: 28px; }
.believe__claim {
  margin-top: 90px;
  color: var(--purple);
  font-size: 74px;
  line-height: .9;
  letter-spacing: -3px;
}

/* Origin point */
.origin {
  background: var(--dark);
  color: var(--white);
  padding-top: 126px;
  padding-bottom: 126px;
}
.origin__title {
  margin-top: 78px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 67px;
  line-height: .92;
  letter-spacing: -2.8px;
  text-transform: uppercase;
}

/* Work */
.work { background: var(--white); padding-top: 148px; padding-bottom: 148px; }
.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.work__title {
  color: var(--black);
  text-align: right;
  font-size: 82px;
  line-height: .87;
  letter-spacing: -3px;
}
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
}
.case + .case { margin-top: 64px; }
.case--1 { background: var(--card-1); height: 560px; }
.case--2 { background: var(--card-2); color: var(--white); height: 460px; width: 78%; }
.case::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.06));
  opacity: 0; transition: opacity .5s var(--ease);
}
.case:hover::before { opacity: 1; }
.case > * { position: relative; }
.case__title {
  margin-top: 4px;
  color: var(--black);
  font-size: 72px;
  line-height: .85;
  letter-spacing: -3px;
}
.case--2 .case__title { color: var(--white); font-size: 64px; letter-spacing: -2.5px; }
.case__desc {
  margin-top: 16px;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -.38px;
}
.case__link { margin-top: 12px; color: var(--purple); }
.case--2 .case__link { color: var(--white); }
.case__link span { display: inline-block; transition: transform .3s var(--ease); }
.case:hover .case__link span { transform: translateX(6px); }

/* Think */
.think { padding-top: 110px; padding-bottom: 128px; }
.think__title {
  margin-top: 88px;
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 57px;
  line-height: .93;
  letter-spacing: -2.2px;
  text-transform: uppercase;
}
.think__grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 321px);
  gap: 18px;
}
.post {
  height: 340px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .4s var(--ease);
}
.post:hover { transform: translateY(-6px); }
.post--1 { background: var(--think-1); }
.post--2 { background: var(--think-2); }
.post--3 { background: var(--purple-card); color: var(--white); }
.post__title {
  margin-top: 17px;
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 31px;
  line-height: .95;
  letter-spacing: -1px;
}
.post--3 .post__title { color: var(--white); }
.post__read { margin-top: 15px; color: var(--purple); }
.post--3 .post__read { color: var(--white); }

/* Capabilities */
.caps { background: var(--white); padding-top: 140px; padding-bottom: 140px; }
.caps__title {
  margin-top: 8px;
  color: var(--black);
  font-size: 78px;
  line-height: .87;
  letter-spacing: -3px;
}
.caps__list { margin-top: 64px; }
.caps__list li {
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  cursor: default;
  transition: color .25s var(--ease), transform .3s var(--ease);
}
.caps__list li:first-child, .caps__list li:hover { color: var(--purple); }
.caps__list li:hover { transform: translateX(8px); }
.caps__list:hover li:first-child:not(:hover) { color: var(--black); }

/* Contact / footer */
.contact {
  background: var(--dark);
  color: var(--white);
  min-height: 720px;
  padding-top: 132px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
}
.contact__title {
  margin-top: 62px;
  font-size: 84px;
  line-height: .86;
  letter-spacing: -3.5px;
}
.btn {
  align-self: flex-start;
  margin-top: 44px;
  display: inline-block;
  padding: 14px 22px;
  background: var(--purple);
  color: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--white); color: var(--purple); }
.footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer__brand { font-size: 12px; line-height: 1.45; letter-spacing: 1.1px; }
.footer__right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 10px;
  text-align: right;
}
.footer__right .sep { opacity: .45; }
.footer__copy { flex-basis: 100%; }
.footer a:hover { opacity: .6; }

/* Reveal animations (mirrors Framer appear: y offset + fade, ease .2,0,.2,1) */
.reveal { opacity: 0; transform: translateY(var(--y, 28px)); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   ANIMATION (doi chieu ban goc theoriginators.framer.website)
   Ban goc dung easing cubic-bezier(.25,0,.5,1) va offset vao
   theo kich thuoc chu: nhan 18px, tieu de lon 36px.
   ============================================================ */
:root { --ease-fr: cubic-bezier(.25, 0, .5, 1); }

/* --- 1. SCROLL TO DISCOVER: mui ten xoay 360 do theo scroll ---
   Goc xoay do script.js ghi vao bien --rot khi cuon trang. */
.bob {
  display: inline-block;
  animation: bob 2.4s var(--ease) infinite;
}
.hero__foot .bob {
  animation: none;
  transform: rotate(var(--rot, 0deg));
  will-change: transform;
}

/* --- 2. ANIMATION CHO TEXT: vao theo tung dong ---
   Moi dong tu an duoi mot khung cat roi truot len. */
.line-rise { display: block; overflow: hidden; }
.line-rise > span {
  display: block;
  transform: translateY(105%);
  transition: transform .9s var(--ease-fr);
  transition-delay: var(--ld, 0s);
  will-change: transform;
}
.is-in .line-rise > span,
.line-rise.is-in > span { transform: translateY(0); }

/* --- 3. ORIGIN POINT 01: line tim chay tu trai qua phai ---
   Ban goc la thanh cao 3px, scale tu 0.1 len 1. */
.origin__rule {
  height: 3px;
  margin-top: 26px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-fr);
  transition-delay: var(--d, .15s);
  will-change: transform;
}
.origin__rule.is-in { transform: scaleX(1); }

/* --- 4. HOVER CHO CARD Work + Think --- */
.case {
  transition: transform .5s var(--ease-fr), box-shadow .5s var(--ease-fr);
  will-change: transform;
}
.case:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(23, 21, 23, .16); }
.case__title { transition: transform .5s var(--ease-fr); }
.case:hover .case__title { transform: translateX(10px); }

.post {
  transition: transform .5s var(--ease-fr), box-shadow .5s var(--ease-fr);
  will-change: transform;
}
.post:hover { transform: translateY(-10px); box-shadow: 0 22px 50px rgba(23, 21, 23, .14); }
.post__title { transition: transform .5s var(--ease-fr); }
.post:hover .post__title { transform: translateX(6px); }
.post__read span,
.post__read::after { display: inline-block; transition: transform .35s var(--ease-fr); }
.post:hover .post__read::after { transform: translateX(6px); }

/* --- 5. HAVE SOMETHING WORTH ORIGINATING: chu lon vao tung dong --- */
.contact__title .line-rise > span { transition-duration: 1s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bob { animation: none; transform: none; }
  .line-rise > span { transform: none; transition: none; }
  .origin__rule { transform: scaleX(1); transition: none; }
  .case:hover, .post:hover { transform: none; box-shadow: none; }
  .case:hover .case__title, .post:hover .post__title { transform: none; }
}

/* Tablet */
@media (max-width: 1199px) {
  :root { --pad: 40px; }
  .hero__title { font-size: clamp(56px, 9vw, 108px); letter-spacing: -.045em; }
  .believe__list p { font-size: clamp(36px, 5.2vw, 61px); letter-spacing: -.04em; }
  .believe__claim { font-size: clamp(42px, 6.2vw, 74px); }
  .origin__title { font-size: clamp(38px, 5.6vw, 67px); }
  .work__title { font-size: clamp(48px, 6.8vw, 82px); }
  .case__title { font-size: clamp(44px, 6vw, 72px); }
  .case--2 .case__title { font-size: clamp(40px, 5.4vw, 64px); }
  .think__title { font-size: clamp(34px, 4.8vw, 57px); }
  .think__grid { grid-template-columns: repeat(3, 1fr); }
  .caps__title { font-size: clamp(46px, 6.5vw, 78px); }
  .contact__title { font-size: clamp(48px, 7vw, 84px); }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --pad: 20px; }
  .nav { padding: 16px 0; }
  .nav__links { display: none; }
  .hero { min-height: 100svh; padding-top: 20px; padding-bottom: 28px; }
  .hero__body { margin-top: 96px; }
  .hero__title { font-size: 13.4vw; letter-spacing: -.045em; line-height: .88; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 48px; }
  .believe { padding-top: 96px; padding-bottom: 96px; }
  .believe__list { margin-top: 48px; }
  .believe__list p { font-size: 9.2vw; }
  .believe__claim { margin-top: 56px; font-size: 11vw; }
  .origin { padding-top: 80px; padding-bottom: 80px; }
  .origin__title { margin-top: 44px; font-size: 9.6vw; letter-spacing: -.04em; }
  .work { padding-top: 88px; padding-bottom: 88px; }
  .work__head { flex-direction: column-reverse; align-items: flex-start; gap: 24px; margin-bottom: 36px; }
  .work__title { text-align: left; font-size: 13vw; }
  .case { padding: 22px; }
  .case--1 { height: 440px; }
  .case--2 { width: 100%; height: 400px; }
  .case + .case { margin-top: 20px; }
  .case__title, .case--2 .case__title { font-size: 12vw; letter-spacing: -.04em; }
  .case__desc { font-size: 16px; }
  .think { padding-top: 88px; padding-bottom: 88px; }
  .think__title { margin-top: 36px; font-size: 8.4vw; }
  .think__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .post { height: 260px; }
  .caps { padding-top: 88px; padding-bottom: 88px; }
  .caps__title { font-size: 13vw; }
  .caps__list { margin-top: 40px; }
  .caps__list li { font-size: 7.4vw; line-height: 1.12; }
  .contact { min-height: 0; padding-top: 88px; padding-bottom: 36px; }
  .contact__title { margin-top: 36px; font-size: 12.4vw; }
  .footer { flex-direction: column; gap: 24px; margin-top: 96px; }
  .footer__right { justify-content: flex-start; text-align: left; }
}
