:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5f6b70;
  --paper: #f6f7f4;
  --white: #ffffff;
  --line: #d8dfdc;
  --teal: #0c7c77;
  --teal-deep: #075653;
  --amber: #d9922e;
  --sage: #dfe8dd;
  --graphite: #283238;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.12);
  --soft-grid: rgba(12, 124, 119, 0.12);
  --soft-line: rgba(16, 24, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR",
    "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.65;
}

body::selection {
  background: rgba(12, 124, 119, 0.18);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 247, 244, 0.86);
  border-bottom: 1px solid rgba(216, 223, 220, 0.78);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

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

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 30px);
  color: #2e393e;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 128px clamp(20px, 6vw, 96px) 72px;
  background:
    linear-gradient(90deg, rgba(246, 247, 244, 0.98) 0%, rgba(246, 247, 244, 0.9) 28%, rgba(246, 247, 244, 0.34) 58%, rgba(16, 24, 32, 0.12) 100%),
    url("assets/hero-ai-production.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12, 124, 119, 0.55), transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: keep-all;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  line-height: 0.95;
  font-weight: 850;
  overflow-wrap: normal;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.06;
  font-weight: 820;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  line-height: 1.25;
}

.text-nowrap {
  white-space: nowrap;
}

.hero-name {
  margin: 18px 0 0;
  color: var(--teal-deep);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 760;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #253036;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  font-weight: 520;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 780;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease,
    transform 180ms ease, background 180ms ease;
}

.button::after {
  width: 0;
  height: 1px;
  margin-left: 0;
  background: currentColor;
  content: "";
  opacity: 0;
  transition: width 180ms ease, margin-left 180ms ease, opacity 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.14);
}

.button:hover::after,
.button:focus-visible::after {
  width: 18px;
  margin-left: 10px;
  opacity: 1;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-item {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 26px clamp(20px, 4vw, 56px);
  background: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.intro-item::after {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: 0;
  height: 3px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.intro-item:hover {
  background: #fbfcf9;
}

.intro-item:hover::after {
  transform: scaleX(1);
}

.intro-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.intro-item strong {
  font-size: clamp(1.05rem, 2vw, 1.44rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.section::before,
.section::after,
.contact-section::before,
.contact-section::after {
  position: absolute;
  pointer-events: none;
  content: "";
  animation-play-state: paused;
  will-change: background-position, opacity, transform;
}

.section.ambient-active::before,
.section.ambient-active::after,
.contact-section.ambient-active::before,
.contact-section.ambient-active::after {
  animation-play-state: running;
}

.section-light {
  background: var(--white);
}

.section-light::before {
  top: 52px;
  right: -88px;
  width: min(500px, 46vw);
  height: min(390px, 38vw);
  background:
    radial-gradient(circle at 14% 20%, rgba(12, 124, 119, 0.5) 0 4px, transparent 5px),
    radial-gradient(circle at 48% 12%, rgba(217, 146, 46, 0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 34%, rgba(16, 24, 32, 0.3) 0 4px, transparent 5px),
    radial-gradient(circle at 28% 72%, rgba(12, 124, 119, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 84% 78%, rgba(217, 146, 46, 0.28) 0 4px, transparent 5px),
    linear-gradient(24deg, transparent 0 19%, rgba(12, 124, 119, 0.16) 19.2% 19.7%, transparent 20% 100%),
    linear-gradient(128deg, transparent 0 34%, rgba(16, 24, 32, 0.11) 34.2% 34.7%, transparent 35% 100%),
    linear-gradient(72deg, transparent 0 59%, rgba(12, 124, 119, 0.12) 59.2% 59.7%, transparent 60% 100%);
  opacity: 0.7;
  transform: rotate(-3deg);
  animation: network-drift 9s ease-in-out infinite alternate;
}

.section-light::after {
  top: 116px;
  right: 3vw;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 52%, rgba(12, 124, 119, 0.14) 53% 54%, transparent 55%),
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(217, 146, 46, 0.12) 29% 30%, transparent 31%),
    radial-gradient(circle at 52% 12%, rgba(12, 124, 119, 0.36) 0 3px, transparent 4px),
    radial-gradient(circle at 84% 56%, rgba(217, 146, 46, 0.28) 0 3px, transparent 4px),
    radial-gradient(circle at 26% 76%, rgba(16, 24, 32, 0.22) 0 2px, transparent 3px);
  opacity: 0.55;
  animation: orbit-soft 12s linear infinite;
}

.section-quiet {
  background: var(--sage);
}

.section-quiet::before {
  right: clamp(20px, 5vw, 72px);
  bottom: 42px;
  width: min(520px, 44vw);
  height: 190px;
  background:
    radial-gradient(circle at 14% 26%, rgba(12, 124, 119, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 48% 50%, rgba(12, 124, 119, 0.32) 0 5px, transparent 6px),
    radial-gradient(circle at 82% 73%, rgba(217, 146, 46, 0.28) 0 5px, transparent 6px),
    linear-gradient(12deg, transparent 0 16%, rgba(12, 124, 119, 0.22) 16.2% 17%, transparent 17.2% 100%),
    linear-gradient(8deg, transparent 0 47%, rgba(12, 124, 119, 0.18) 47.2% 48%, transparent 48.2% 100%),
    linear-gradient(10deg, transparent 0 78%, rgba(217, 146, 46, 0.2) 78.2% 79%, transparent 79.2% 100%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.36) 73px 74px);
  opacity: 0.68;
  animation: pipeline-flow 6s linear infinite;
}

.section-quiet::after {
  left: clamp(20px, 5vw, 72px);
  bottom: 74px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    conic-gradient(from 90deg, rgba(12, 124, 119, 0.22), transparent 24%, rgba(217, 146, 46, 0.2) 32%, transparent 58%, rgba(12, 124, 119, 0.16) 72%, transparent),
    radial-gradient(circle, transparent 0 55%, rgba(255, 255, 255, 0.32) 56% 57%, transparent 58%);
  opacity: 0.42;
  animation: orbit-soft 16s linear infinite reverse;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

#about .split {
  row-gap: clamp(18px, 2.4vw, 30px);
}

.copy-stack {
  display: grid;
  gap: 20px;
}

.copy-stack p,
.section-note,
.contact-copy p {
  margin: 0;
  color: #3a464b;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.ad-concept-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(980px, 100%);
  margin: 0 auto;
  transition: grid-template-columns 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-concept-card {
  appearance: none;
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 0;
  aspect-ratio: 4 / 5;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: #dde4e0;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.07);
  cursor: zoom-in;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.ad-concept-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
  transform: scale(1.01);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 220ms ease;
}

.ad-concept-label {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 9px 10px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.2), rgba(16, 24, 32, 0.62));
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px) saturate(1.2);
}

.ad-concept-label small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.ad-concept-label::before {
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.ad-concept-label::after {
  display: block;
  width: 22px;
  height: 1px;
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.ad-concept-card:hover,
.ad-concept-card:focus-visible {
  border-color: rgba(12, 124, 119, 0.28);
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.13);
  transform: translateY(-4px);
  outline: none;
}

.ad-concept-card:hover img,
.ad-concept-card:focus-visible img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.055);
}

@media (hover: hover) and (min-width: 861px) {
  .ad-concept-grid.active-1,
  .ad-concept-grid:has(.ad-concept-card:nth-child(1):is(:hover, :focus-visible)) {
    grid-template-columns: 1.7fr 0.9fr 0.9fr 0.9fr;
  }

  .ad-concept-grid.active-2,
  .ad-concept-grid:has(.ad-concept-card:nth-child(2):is(:hover, :focus-visible)) {
    grid-template-columns: 0.9fr 1.7fr 0.9fr 0.9fr;
  }

  .ad-concept-grid.active-3,
  .ad-concept-grid:has(.ad-concept-card:nth-child(3):is(:hover, :focus-visible)) {
    grid-template-columns: 0.9fr 0.9fr 1.7fr 0.9fr;
  }

  .ad-concept-grid.active-4,
  .ad-concept-grid:has(.ad-concept-card:nth-child(4):is(:hover, :focus-visible)) {
    grid-template-columns: 0.9fr 0.9fr 0.9fr 1.7fr;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 14, 18, 0.72);
  backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: fit-content;
  max-width: min(940px, 100%);
  max-height: calc(100vh - 72px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(246, 247, 244, 0.96);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(12px) scale(0.985);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox.is-open .image-lightbox-panel {
  transform: translateY(0) scale(1);
}

.image-lightbox-panel img {
  width: auto;
  max-width: min(940px, calc(100vw - 36px));
  max-height: calc(100vh - 148px);
  object-fit: contain;
  background: #101820;
}

.image-lightbox-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.image-lightbox-panel figcaption::after {
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(16, 24, 32, 0.22);
  content: "";
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(16, 24, 32, 0.56);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: background 160ms ease, transform 160ms ease;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: rgba(16, 24, 32, 0.78);
  outline: none;
  transform: scale(1.04);
}

body.lightbox-open {
  overflow: hidden;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.experience-section {
  background: var(--paper);
}

.experience-section::before {
  top: 84px;
  left: -130px;
  width: min(560px, 48vw);
  height: 340px;
  background:
    linear-gradient(150deg, transparent 0 22%, rgba(12, 124, 119, 0.18) 22.2% 23%, transparent 23.2% 100%),
    linear-gradient(168deg, transparent 0 38%, rgba(217, 146, 46, 0.18) 38.2% 39%, transparent 39.2% 100%),
    linear-gradient(142deg, transparent 0 58%, rgba(12, 124, 119, 0.16) 58.2% 59%, transparent 59.2% 100%),
    radial-gradient(circle at 18% 76%, rgba(12, 124, 119, 0.36) 0 4px, transparent 5px),
    radial-gradient(circle at 40% 54%, rgba(217, 146, 46, 0.32) 0 4px, transparent 5px),
    radial-gradient(circle at 68% 36%, rgba(12, 124, 119, 0.34) 0 4px, transparent 5px),
    radial-gradient(circle at 88% 22%, rgba(16, 24, 32, 0.24) 0 3px, transparent 4px),
    repeating-linear-gradient(90deg, transparent 0 66px, rgba(16, 24, 32, 0.05) 67px 68px);
  opacity: 0.72;
  transform: rotate(2deg);
  animation: graph-pulse 7s ease-in-out infinite;
}

.experience-section::after {
  top: 94px;
  left: 54px;
  width: min(440px, 38vw);
  height: 260px;
  background:
    linear-gradient(90deg, rgba(12, 124, 119, 0.2), rgba(12, 124, 119, 0.02)) 0 18% / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(217, 146, 46, 0.2), rgba(217, 146, 46, 0.02)) 0 48% / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(16, 24, 32, 0.12), rgba(16, 24, 32, 0.02)) 0 78% / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(12, 124, 119, 0.18), transparent) -50% 0 / 42% 100% no-repeat;
  opacity: 0.54;
  animation: chart-scan 5.4s linear infinite;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-item {
  position: relative;
  min-height: 280px;
  padding: 28px;
  background: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.proof-item::before {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 58px;
  height: 44px;
  border-top: 1px solid rgba(12, 124, 119, 0.22);
  border-right: 1px solid rgba(12, 124, 119, 0.22);
  content: "";
  opacity: 0.8;
  transition: width 180ms ease, height 180ms ease;
}

.proof-item:hover {
  background: #fbfcf9;
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.08);
  transform: translateY(-4px);
}

.proof-item:hover::before {
  width: 78px;
  height: 60px;
}

.proof-item span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#services::before {
  top: 78px;
  right: -80px;
  width: min(520px, 45vw);
  height: 420px;
  background:
    linear-gradient(rgba(12, 124, 119, 0.16), rgba(12, 124, 119, 0.16)) 44px 54px / 128px 72px no-repeat,
    linear-gradient(rgba(217, 146, 46, 0.14), rgba(217, 146, 46, 0.14)) 232px 96px / 148px 84px no-repeat,
    linear-gradient(rgba(16, 24, 32, 0.1), rgba(16, 24, 32, 0.1)) 118px 232px / 180px 96px no-repeat,
    linear-gradient(90deg, rgba(12, 124, 119, 0.14), transparent 64%) 64px 142px / 300px 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(217, 146, 46, 0.16), transparent) 0 0 / 42% 100% no-repeat,
    radial-gradient(circle at 42px 54px, rgba(12, 124, 119, 0.36) 0 4px, transparent 5px),
    radial-gradient(circle at 380px 180px, rgba(217, 146, 46, 0.32) 0 4px, transparent 5px),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(16, 24, 32, 0.035) 55px 56px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(16, 24, 32, 0.035) 55px 56px);
  opacity: 0.68;
  animation: module-sweep 6.2s linear infinite;
}

#services::after {
  top: 160px;
  right: 10vw;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle at 18% 28%, rgba(12, 124, 119, 0.34) 0 3px, transparent 4px),
    radial-gradient(circle at 42% 18%, rgba(16, 24, 32, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 54%, rgba(217, 146, 46, 0.32) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 76%, rgba(12, 124, 119, 0.28) 0 3px, transparent 4px),
    radial-gradient(circle at 32% 84%, rgba(16, 24, 32, 0.16) 0 2px, transparent 3px);
  opacity: 0.5;
  animation: particle-drift 8s ease-in-out infinite alternate;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 24, 32, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card::after {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(12, 124, 119, 0.32);
  box-shadow: 0 22px 56px rgba(16, 24, 32, 0.12);
  transform: translateY(-5px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.card-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 850;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(32px, 7vw, 86px);
}

.process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(16, 24, 32, 0.15);
  border: 1px solid rgba(16, 24, 32, 0.15);
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 96px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.64);
  transition: background 180ms ease, transform 180ms ease;
}

.process-list li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--teal);
  content: "";
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 180ms ease;
}

.process-list li:hover {
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(4px);
}

.process-list li:hover::before {
  transform: scaleY(1);
}

.process-list strong {
  color: var(--teal-deep);
  font-size: 1.05rem;
}

.process-list span {
  color: #38454a;
}

.profile-list {
  margin: 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  justify-self: end;
  width: min(760px, 100%);
}

#profile {
  padding-top: clamp(52px, 6vw, 86px);
  padding-bottom: clamp(52px, 6vw, 86px);
}

.profile-compact {
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.profile-heading {
  max-width: 280px;
}

.profile-heading .eyebrow {
  margin-bottom: 10px;
  font-size: 0.72rem;
}

.profile-heading h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: 0;
}

#profile::before {
  top: 44px;
  right: clamp(20px, 5vw, 72px);
  width: min(340px, 32vw);
  height: 240px;
  background:
    linear-gradient(90deg, transparent, rgba(12, 124, 119, 0.2), transparent) 0 -40% / 100% 34% no-repeat,
    linear-gradient(rgba(16, 24, 32, 0.1), rgba(16, 24, 32, 0.1)) 32px 48px / 250px 1px no-repeat,
    linear-gradient(rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.08)) 32px 98px / 320px 1px no-repeat,
    linear-gradient(rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.08)) 32px 148px / 280px 1px no-repeat,
    linear-gradient(rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.08)) 32px 198px / 300px 1px no-repeat,
    radial-gradient(circle at 78% 28%, transparent 0 28px, rgba(217, 146, 46, 0.22) 29px 30px, transparent 31px),
    radial-gradient(circle at 78% 28%, rgba(217, 146, 46, 0.18) 0 4px, transparent 5px);
  opacity: 0.34;
  animation: document-scan 5.8s linear infinite;
}

#profile::after {
  right: 8vw;
  bottom: 42px;
  width: 105px;
  height: 160px;
  background:
    repeating-linear-gradient(90deg, rgba(12, 124, 119, 0.18) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, rgba(217, 146, 46, 0.16), transparent);
  opacity: 0.22;
  animation: data-pulse 4.6s ease-in-out infinite;
}

.profile-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease, background 180ms ease, padding-left 180ms ease;
}

.profile-list div:hover {
  padding-left: 6px;
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(12, 124, 119, 0.28);
}

.profile-list dt {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 720;
}

.profile-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 560;
  overflow-wrap: anywhere;
}

.contact-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  background: var(--graphite);
  color: var(--white);
}

.contact-section::before {
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(114, 201, 191, 0.24) 0 3px, transparent 4px),
    radial-gradient(circle at 32% 72%, rgba(217, 146, 46, 0.18) 0 3px, transparent 4px),
    radial-gradient(circle at 64% 26%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 78%, rgba(114, 201, 191, 0.18) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(114, 201, 191, 0.14), transparent 38%) 0 26% / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(217, 146, 46, 0.14), transparent) -40% 72% / 44% 1px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 74px, rgba(255, 255, 255, 0.035) 75px 76px);
  opacity: 0.78;
  animation: signal-sweep 7.5s linear infinite;
}

.contact-section::after {
  top: 50%;
  right: 9vw;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, rgba(114, 201, 191, 0.12) 35% 36%, transparent 37%),
    radial-gradient(circle, transparent 0 58%, rgba(217, 146, 46, 0.1) 59% 60%, transparent 61%),
    conic-gradient(from 120deg, rgba(114, 201, 191, 0.18), transparent 28%, rgba(217, 146, 46, 0.14), transparent 62%, rgba(114, 201, 191, 0.12));
  opacity: 0.5;
  transform: translateY(-50%);
  animation: orbit-soft 18s linear infinite;
}

.contact-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  justify-self: end;
}

.contact-copy .eyebrow {
  color: #72c9bf;
}

.contact-copy p {
  max-width: 660px;
  margin-top: 22px;
  color: #d7e1de;
}

.contact-panel {
  position: relative;
  z-index: 1;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-panel:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(114, 201, 191, 0.42);
  transform: translateY(-3px);
}

.contact-panel span {
  display: block;
  color: #a9bab7;
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.contact-panel a {
  display: inline-block;
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(1.18rem, 2vw, 1.62rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel p {
  margin: 16px 0 0;
  color: #cfdad7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #0c1216;
  color: #dfe7e5;
  font-size: 0.92rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer p {
  color: #93a19e;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  background: var(--white);
}

.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 80px;
}

.legal-main h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.98;
  margin-bottom: 22px;
}

.legal-main h2 {
  margin-top: 44px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-main p,
.legal-main li {
  color: #3f4b50;
}

.legal-main ul {
  padding-left: 20px;
}

.legal-meta {
  color: var(--muted);
  font-weight: 700;
}

.reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  html.js body:not(.hero-ready) .brand-mark {
    opacity: 0.7;
    transform: translateY(-8px) scale(0.92);
  }

  html.js body:not(.hero-ready) .brand strong,
  html.js body:not(.hero-ready) .brand small {
    opacity: 0;
    transform: translateY(-6px);
  }

  html.js body:not(.hero-ready) .hero .eyebrow,
  html.js body:not(.hero-ready) .hero h1,
  html.js body:not(.hero-ready) .hero-name,
  html.js body:not(.hero-ready) .hero-lede,
  html.js body:not(.hero-ready) .hero-actions {
    opacity: 0;
  }

  html.js body:not(.hero-ready) .hero .eyebrow {
    transform: translateY(18px);
  }

  html.js body:not(.hero-ready) .hero h1 {
    transform: translateY(44px) scale(0.985);
  }

  html.js body:not(.hero-ready) .hero-name {
    transform: translateY(28px);
  }

  html.js body:not(.hero-ready) .hero-lede {
    transform: translateY(24px);
  }

  html.js body:not(.hero-ready) .hero-actions {
    transform: translateY(18px);
  }

  body.hero-ready .hero {
    animation: hero-settle 2800ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body.hero-ready .brand-mark {
    animation: brand-ready 920ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
  }

  body.hero-ready .brand strong,
  body.hero-ready .brand small {
    animation: brand-copy-ready 760ms cubic-bezier(0.16, 1, 0.3, 1) 620ms both;
  }

  body.hero-ready .hero .eyebrow {
    animation: hero-copy-in 760ms cubic-bezier(0.16, 1, 0.3, 1) 340ms both;
  }

  body.hero-ready .hero h1 {
    animation: hero-title-in 1120ms cubic-bezier(0.16, 1, 0.3, 1) 470ms both;
  }

  body.hero-ready .hero-name {
    animation: hero-copy-in 820ms cubic-bezier(0.16, 1, 0.3, 1) 720ms both;
  }

  body.hero-ready .hero-lede {
    animation: hero-copy-in 860ms cubic-bezier(0.16, 1, 0.3, 1) 980ms both;
  }

  body.hero-ready .hero-actions {
    animation: hero-actions-in 820ms cubic-bezier(0.16, 1, 0.3, 1) 1280ms both;
  }
}

@keyframes hero-settle {
  from {
    background-position: center right 118px;
  }

  to {
    background-position: center right;
  }
}

@keyframes brand-ready {
  from {
    opacity: 0.7;
    transform: translateY(-8px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes brand-copy-ready {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(44px) scale(0.985);
  }

  64% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-actions-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes network-drift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    transform: rotate(-3deg) translate3d(0, 0, 0);
  }

  to {
    background-position: 12px -10px, -8px 10px, 8px 12px, -12px -6px, 10px 8px, 14px 0, -12px 0, 10px 0;
    transform: rotate(-3deg) translate3d(-8px, 6px, 0);
  }
}

@keyframes orbit-soft {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 44px 0;
  }
}

@keyframes pipeline-flow {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: 18px -6px, -22px 7px, 16px 10px, 22px 0, -18px 0, 26px 0, 74px 0;
  }
}

@keyframes graph-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: rotate(2deg) translate3d(0, 0, 0);
  }

  50% {
    opacity: 0.76;
    transform: rotate(2deg) translate3d(12px, -6px, 0);
  }
}

@keyframes chart-scan {
  from {
    background-position: 0 18%, 0 48%, 0 78%, -50% 0;
  }

  to {
    background-position: 0 18%, 0 48%, 0 78%, 160% 0;
  }
}

@keyframes module-sweep {
  from {
    background-position:
      44px 54px,
      232px 96px,
      118px 232px,
      64px 142px,
      -44% 0,
      42px 54px,
      380px 180px,
      0 0,
      0 0;
  }

  to {
    background-position:
      48px 48px,
      224px 104px,
      126px 226px,
      72px 142px,
      144% 0,
      50px 62px,
      370px 172px,
      0 56px,
      56px 0;
  }
}

@keyframes particle-drift {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.38;
  }

  to {
    transform: translate3d(-18px, 14px, 0);
    opacity: 0.58;
  }
}

@keyframes document-scan {
  from {
    background-position:
      0 -40%,
      32px 48px,
      32px 98px,
      32px 148px,
      32px 198px,
      0 0,
      0 0;
  }

  to {
    background-position:
      0 150%,
      36px 48px,
      28px 98px,
      34px 148px,
      30px 198px,
      0 0,
      0 0;
  }
}

@keyframes data-pulse {
  0%,
  100% {
    opacity: 0.24;
    transform: translateY(0);
  }

  50% {
    opacity: 0.42;
    transform: translateY(-8px);
  }
}

@keyframes signal-sweep {
  from {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 26%,
      -40% 72%,
      0 0;
  }

  to {
    background-position:
      22px -16px,
      -16px 12px,
      14px 18px,
      -10px -12px,
      0 26%,
      140% 72%,
      76px 0;
  }
}

.section::before,
.section::after,
.contact-section::before,
.contact-section::after {
  animation-play-state: paused !important;
}

.section.ambient-active::before,
.section.ambient-active::after,
.contact-section.ambient-active::before,
.contact-section.ambient-active::after {
  animation-play-state: running !important;
}

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

@media (max-width: 1120px) {
  .intro-band,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 78vh;
    padding: 74px 20px 56px;
    background:
      linear-gradient(180deg, rgba(246, 247, 244, 0.98) 0%, rgba(246, 247, 244, 0.9) 42%, rgba(246, 247, 244, 0.58) 100%),
      url("assets/hero-ai-production.png") center right / cover no-repeat;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 5rem);
  }

  .intro-band,
  .split,
  .ad-concept-grid,
  .service-grid,
  .proof-grid,
  .process,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section::before,
  .section::after,
  .contact-section::before {
    opacity: 0.32;
  }

  .ad-concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 26px;
  }

  .process-list li,
  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-copy {
    justify-self: start;
  }

  .site-footer {
    align-items: start;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro-item {
    min-height: 112px;
  }

  .ad-concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-panel {
    padding: 20px;
  }

  .contact-panel a {
    font-size: 0.92rem;
    font-weight: 780;
    line-height: 1.35;
    overflow-wrap: normal;
    white-space: nowrap;
  }
}
