@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --ink: #0d1117;
  --ink-2: #151b23;
  --text: #26313d;
  --muted: #667485;
  --paper: #ffffff;
  --page: #f1f5f8;
  --line: #d8e0e8;
  --line-dark: rgba(255, 255, 255, 0.16);
  --tiger: #f26a21;
  --teal: #119b78;
  --blue: #2569d4;
  --violet: #7d5be8;
  --red: #d64e45;
  --shadow: 0 24px 80px rgba(6, 12, 20, 0.16);
  --soft-shadow: 0 18px 50px rgba(20, 31, 43, 0.1);
  --max: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 25, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 25, 32, 0.035) 1px, transparent 1px),
    var(--page);
  background-size: 32px 32px;
  font-family:
    "Pretendard",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    system-ui,
    sans-serif;
  line-height: 1.62;
  letter-spacing: 0;
}

body.is-lock {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

p,
h1,
h2,
h3,
li,
dd,
figcaption {
  margin-top: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

::selection {
  background: rgba(242, 106, 33, 0.26);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--tiger), var(--teal), var(--blue));
  transform-origin: left center;
}

.scroll-top {
  position: fixed;
  right: max(22px, calc((100vw - var(--max)) / 2 + 18px));
  bottom: 24px;
  z-index: 80;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.82);
  color: white;
  box-shadow: 0 18px 46px rgba(6, 12, 20, 0.26);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 12px, 0) scale(0.96);
  backdrop-filter: blur(16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 160ms ease;
}

.scroll-top span {
  display: block;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-1px);
}

.scroll-top:hover {
  background: var(--tiger);
  transform: translate3d(0, 8px, 0) scale(1);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(10, 14, 19, 0.62);
  color: white;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(3, 7, 12, 0.24);
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(13, 17, 23, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 36px rgba(10, 18, 28, 0.12);
}

.brand {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 42px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-size: 15px;
  font-weight: 900;
}

.brand small {
  color: currentColor;
  font-size: 11px;
  font-weight: 650;
  opacity: 0.64;
}

nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 3px;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  color: currentColor;
  font-size: 13px;
  font-weight: 850;
  opacity: 0.72;
  transition:
    opacity 160ms ease,
    background 160ms ease,
    color 160ms ease;
  white-space: nowrap;
}

nav a:hover,
nav a.is-active {
  background: rgba(242, 106, 33, 0.13);
  color: var(--tiger);
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.hero-media,
.hero-media img,
.hero-scrim,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.7;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 9, 14, 0.95), rgba(6, 9, 14, 0.73) 42%, rgba(6, 9, 14, 0.32)),
    linear-gradient(180deg, rgba(6, 9, 14, 0.18), rgba(6, 9, 14, 0.9));
}

.hero-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, black, transparent 74%);
  opacity: 0.45;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding-top: 178px;
  padding-bottom: 176px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--tiger);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffb375;
  backdrop-filter: blur(12px);
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 92px;
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.55;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.link-row a,
.inquiry-strip a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button {
  padding: 0 16px;
  border: 1px solid transparent;
}

.button:hover,
.link-row a:hover,
.inquiry-strip a:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--tiger);
  color: white;
  box-shadow: 0 16px 36px rgba(242, 106, 33, 0.32);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  backdrop-filter: blur(14px);
}

.hero-product-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
  background: rgba(8, 12, 18, 0.64);
  backdrop-filter: blur(18px);
}

.hero-product-rail a {
  position: relative;
  display: grid;
  min-height: 128px;
  align-content: center;
  gap: 5px;
  padding: 22px 24px;
  border-right: 1px solid var(--line-dark);
  overflow: hidden;
}

.hero-product-rail a:last-child {
  border-right: 0;
}

.hero-product-rail a::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--tiger);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.hero-product-rail a:nth-child(2)::before {
  background: var(--teal);
}

.hero-product-rail a:nth-child(3)::before {
  background: var(--blue);
}

.hero-product-rail a:nth-child(4)::before {
  background: var(--red);
}

.hero-product-rail a:hover::before {
  transform: scaleX(1);
}

.hero-product-rail span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 900;
}

.hero-product-rail strong {
  color: white;
  font-size: 17px;
  line-height: 1.2;
}

.hero-product-rail small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.section {
  scroll-margin-top: 112px;
  padding: 136px 24px;
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.company-section {
  background:
    linear-gradient(90deg, rgba(242, 106, 33, 0.08), transparent 36%),
    var(--paper);
}

.company-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.company-copy {
  position: relative;
  padding-top: 10px;
  padding-left: 28px;
  border-left: 3px solid var(--tiger);
  color: var(--text);
  font-size: 19px;
  font-weight: 650;
}

.company-copy p:last-child {
  margin-bottom: 0;
}

.leader-section {
  background:
    linear-gradient(180deg, #f9fafb, #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.leader-profile {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px 42px;
  align-items: start;
}

.leader-heading {
  grid-column: 1 / span 5;
}

.founder-overview {
  grid-column: 7 / -1;
  max-width: 680px;
}

.founder-role {
  margin-bottom: 14px;
  color: var(--tiger);
  font-size: 13px;
  font-weight: 950;
}

.founder-overview h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 950;
  line-height: 0.95;
}

.founder-overview > p:not(.founder-role) {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.72;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.founder-tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.founder-career {
  grid-column: 7 / -1;
  display: grid;
  margin-top: 18px;
  border-top: 1px solid rgba(13, 17, 23, 0.16);
}

.founder-career div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.founder-career span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.founder-career strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.products-section {
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--ink);
  color: white;
}

.products-heading {
  margin-bottom: 36px;
}

.products-heading h2 {
  color: white;
}

.product-chapter {
  position: relative;
  scroll-margin-top: 112px;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
  min-height: 780px;
  padding: 92px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-chapter::before {
  content: "";
  position: absolute;
  top: 92px;
  bottom: 92px;
  left: -20px;
  width: 2px;
  background: linear-gradient(var(--tiger), transparent);
  opacity: 0.76;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 900ms ease;
}

.product-chapter.is-visible::before {
  transform: scaleY(1);
}

.product-shipcheck::before {
  background: linear-gradient(var(--teal), transparent);
}

.product-webtoon::before {
  background: linear-gradient(var(--blue), transparent);
}

.product-reception::before {
  background: linear-gradient(var(--red), transparent);
}

.chapter-copy {
  position: sticky;
  top: 124px;
}

.chapter-number {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 950;
}

.tessera-logo {
  width: min(286px, 86%);
  margin-bottom: 28px;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.product-chapter h3 {
  margin-bottom: 20px;
  color: white;
  font-size: 64px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.product-chapter p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 650;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 30px;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: var(--tiger);
}

.product-shipcheck .feature-list li::before {
  background: var(--teal);
}

.product-webtoon .feature-list li::before {
  background: var(--blue);
}

.product-reception .feature-list li::before {
  background: var(--red);
}

.link-row a {
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.link-row a:hover {
  border-color: rgba(242, 106, 33, 0.68);
  background: rgba(242, 106, 33, 0.18);
}

.inquiry-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.product-reception .inquiry-strip {
  border-left-color: var(--red);
}

.inquiry-strip strong {
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.inquiry-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 650;
}

.inquiry-strip a {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: white;
  color: var(--ink);
  white-space: nowrap;
}

.media-stage {
  --float-y: 0px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.media-stage.three-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.media-mosaic .media-frame {
  flex: 0 0 calc(50% - 7px);
}

.tessera-mosaic .media-dnd {
  flex-basis: calc(62% - 7px);
}

.tessera-mosaic .media-kanban {
  flex-basis: calc(38% - 7px);
  margin-top: 28px;
}

.tessera-mosaic .media-tall {
  flex-basis: calc(34% - 7px);
  margin-left: 8%;
}

.tessera-mosaic .media-screenshot {
  flex-basis: calc(58% - 7px);
  margin-top: -38px;
}

.webtoon-mosaic .media-top {
  flex-basis: calc(61% - 7px);
}

.webtoon-mosaic .media-workflow {
  flex-basis: calc(39% - 7px);
  margin-top: 30px;
}

.webtoon-mosaic .media-workbench {
  flex-basis: calc(45% - 7px);
  margin-left: 7%;
}

.webtoon-mosaic .media-preview {
  flex-basis: calc(32% - 7px);
  margin-top: 22px;
}

.media-frame {
  --hover-y: 0px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0f141b;
  box-shadow: var(--shadow);
  transform: translate3d(0, calc(var(--float-y, 0px) + var(--hover-y, 0px)), 0);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 260ms ease;
}

.media-frame:hover {
  --hover-y: -5px;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.media-wide {
  grid-column: 1 / -1;
}

.media-open {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.media-open::after {
  content: "크게 보기";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(7, 10, 14, 0.72);
  color: white;
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.media-open:hover::after,
.media-open:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.media-open:focus-visible {
  outline: 3px solid rgba(242, 106, 33, 0.5);
  outline-offset: -3px;
}

.media-open img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  background: #eef2f6;
  transition:
    transform 420ms ease,
    filter 180ms ease;
}

.media-open:hover img {
  filter: brightness(0.92) saturate(1.04);
  transform: scale(1.018);
}

.media-mosaic .media-open img {
  display: block;
  object-fit: contain;
}

.product-tessera .media-dnd img {
  aspect-ratio: 1280 / 651;
  object-fit: contain;
}

.product-tessera .media-kanban img {
  aspect-ratio: 1280 / 489;
  object-fit: contain;
}

.product-tessera .media-tall img {
  aspect-ratio: 960 / 788;
  object-fit: contain;
}

.product-tessera .media-screenshot img {
  aspect-ratio: 1456 / 814;
  object-fit: contain;
}

.media-top img {
  aspect-ratio: 16 / 10;
}

.media-workflow img {
  aspect-ratio: 1600 / 1496;
  object-fit: contain;
  object-position: center;
  background: #f4f6f9;
}

.product-webtoon .media-top img {
  aspect-ratio: 1600 / 1038;
  object-fit: contain;
}

.product-webtoon .media-workbench img {
  aspect-ratio: 1200 / 1080;
  object-fit: contain;
}

.product-webtoon .media-preview img {
  aspect-ratio: 800 / 1818;
  object-fit: contain;
  object-position: top center;
}

.media-portrait img {
  aspect-ratio: 4 / 5;
  object-position: top center;
}

.media-mosaic figcaption {
  min-height: 0;
  padding: 10px 12px;
  font-size: 11.5px;
}

figcaption {
  min-height: 46px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.42;
}

.info-section {
  background:
    linear-gradient(90deg, transparent, rgba(17, 155, 120, 0.08)),
    var(--paper);
}

.info-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 58px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 34px;
}

.contact-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.contact-intro img {
  width: 78px;
  height: 84px;
  object-fit: contain;
}

.contact-intro strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.14;
}

.contact-intro p {
  max-width: 520px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.contact-intro a {
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.company-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 0;
}

.company-info div {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.company-info dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.company-info dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.wide-info {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.site-footer a {
  color: white;
}

.lightbox {
  width: min(94vw, 1320px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #090d12;
  color: white;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(4, 7, 11, 0.84);
  backdrop-filter: blur(6px);
}

.lightbox-image {
  width: 100%;
  height: calc(92vh - 76px);
  object-fit: contain;
  background: #070a0e;
  touch-action: pan-x pan-y pinch-zoom;
}

.lightbox-caption {
  margin: 0;
  padding: 14px 64px 16px 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 750;
}

.lightbox-close {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(9, 13, 18, 0.9);
  color: white;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.lightbox-close span {
  display: block;
  font-size: 32px;
  font-weight: 650;
  line-height: 1;
  transform: translateY(-2px);
}

.lightbox-close:hover {
  background: var(--tiger);
}

[data-reveal] {
  --reveal-y: 34px;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, var(--reveal-y), 0);
  transition:
    opacity 720ms ease,
    filter 720ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  --reveal-y: 0px;
  opacity: 1;
  filter: blur(0);
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-2.2%, 1.4%, 0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner {
    padding-top: 178px;
  }

  h1 {
    font-size: 68px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-product-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-product-rail a:nth-child(2) {
    border-right: 0;
  }

  .hero-product-rail a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .company-layout,
  .info-layout,
  .product-chapter {
    grid-template-columns: 1fr;
  }

  .leader-profile {
    grid-template-columns: 1fr;
  }

  .leader-heading,
  .founder-overview,
  .founder-career {
    grid-column: 1 / -1;
  }

  .chapter-copy {
    position: static;
  }

  .product-chapter {
    min-height: auto;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 116px;
  }

  body {
    background-size: 24px 24px;
  }

  .site-header {
    top: 0;
    width: 100%;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 12px 16px 10px;
  }

  .brand img {
    width: 36px;
    height: 39px;
  }

  nav a {
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 44% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(6, 9, 14, 0.82), rgba(6, 9, 14, 0.72) 46%, rgba(6, 9, 14, 0.92)),
      linear-gradient(90deg, rgba(6, 9, 14, 0.84), rgba(6, 9, 14, 0.42));
  }

  .hero-inner {
    width: min(calc(100% - 32px), var(--max));
    padding-top: 158px;
    padding-bottom: 38px;
  }

  h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .link-row {
    display: grid;
  }

  .button,
  .link-row a {
    width: 100%;
  }

  .hero-product-rail {
    position: relative;
    grid-template-columns: 1fr;
    width: 100%;
    border-top: 1px solid var(--line-dark);
  }

  .hero-product-rail a {
    min-height: 88px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .hero-product-rail a:last-child {
    border-bottom: 0;
  }

  .section {
    scroll-margin-top: 132px;
    padding: 78px 18px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .company-layout {
    gap: 28px;
  }

  .company-copy {
    padding-left: 18px;
    font-size: 16px;
  }

  .leader-profile {
    gap: 28px;
  }

  .founder-overview h3 {
    font-size: 36px;
  }

  .founder-overview > p:not(.founder-role) {
    font-size: 15px;
  }

  .founder-career div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .founder-tags span {
    font-size: 11px;
  }

  .products-section {
    padding-top: 78px;
  }

  .product-chapter {
    scroll-margin-top: 132px;
    padding: 72px 0 72px 14px;
    gap: 28px;
  }

  .product-chapter::before {
    left: 0;
  }

  .product-chapter h3 {
    font-size: 40px;
  }

  .product-chapter p {
    font-size: 15px;
  }

  .media-stage,
  .media-stage.three-up,
  .company-info {
    grid-template-columns: 1fr;
  }

  .media-mosaic .media-frame {
    --float-y: 0px !important;
    flex-basis: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .media-wide {
    grid-column: auto;
  }

  .media-open img,
  .media-top img,
  .media-workflow img,
  .media-portrait img,
  .product-tessera .media-dnd img,
  .product-tessera .media-kanban img,
  .product-tessera .media-tall img {
    aspect-ratio: 16 / 10;
  }

  .media-workflow img {
    aspect-ratio: 1600 / 1496;
    object-fit: contain;
  }

  .product-webtoon .media-top img {
    aspect-ratio: 1600 / 1038;
    object-fit: contain;
  }

  .product-webtoon .media-workbench img {
    aspect-ratio: 1200 / 1080;
    object-fit: contain;
  }

  .product-webtoon .media-preview img {
    aspect-ratio: 800 / 1818;
    object-fit: contain;
  }

  .product-tessera .media-dnd img {
    aspect-ratio: 1280 / 651;
    object-fit: contain;
    background: #0f141b;
  }

  .product-tessera .media-kanban img {
    aspect-ratio: 1280 / 489;
    object-fit: contain;
    background: #0f141b;
  }

  .product-tessera .media-tall img {
    aspect-ratio: 960 / 788;
    object-fit: contain;
    background: #0f141b;
  }

  .product-tessera .media-screenshot img {
    aspect-ratio: 1456 / 814;
    object-fit: contain;
    background: #0f141b;
  }

  .inquiry-strip {
    grid-template-columns: 1fr;
  }

  .inquiry-strip a {
    grid-column: auto;
    grid-row: auto;
    width: fit-content;
  }

  .contact-intro {
    grid-template-columns: 1fr;
  }

  .contact-intro img {
    width: 64px;
    height: 70px;
  }

  .contact-intro strong {
    font-size: 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 18px;
  }

  .scroll-top {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }

  .lightbox {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .lightbox-image {
    height: calc(100vh - 116px);
  }

  .lightbox-caption {
    min-height: 116px;
    padding: 14px 86px 24px 16px;
  }

  .lightbox-close {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    width: min(calc(100% - 26px), var(--max));
  }

  h1 {
    font-size: 42px;
  }

  .section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .product-chapter h3 {
    font-size: 34px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
