/* =========================================================
   CREYA STUDIO — FULL SITE CSS
   Clean rewrite
   - Satoshi across the site
   - Unified light/dark theme
   - Minimal premium layout
   - Subtle motion and hover states
   - Matches current HTML structure
========================================================= */


/* =========================================================
   RESET
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* =========================================================
   THEME TOKENS
========================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #f7f7f8;
  --bg-3: #efeff1;
  --surface: #f4f4f5;
  --surface-2: #ebebee;

  --text: #141414;
  --text-2: #3b3b3f;
  --text-3: #6b6b72;
  --text-4: #9a9aa2;

  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.14);

  --nav-bg: rgba(255, 255, 255, 0.82);
  --pill-bg: rgba(0, 0, 0, 0.05);

  --btn-fill: #151515;
  --btn-text: #ffffff;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.12);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --hero-accent: #756CF5;
  --hero-accent-glow: rgba(199, 234, 0, 0.10);
  --hero-highlight-bg: rgba(124, 108, 255, 0.22);

  --section-x: 60px;
  --max-site: 1400px;
  --max-content: 1200px;
}

[data-theme="dark"] {
  --bg: #0c0c0d;
  --bg-2: #131314;
  --bg-3: #1a1a1c;
  --surface: #18181a;
  --surface-2: #222225;
  --accent: #8B7CFF;

  --text: #f2f2f3;
  --text-2: #d0d0d4;
  --text-3: #9898a1;
  --text-4: #6b6b74;

  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --nav-bg: rgba(12, 12, 13, 0.78);
  --pill-bg: rgba(255, 255, 255, 0.06);

  --btn-fill: #f2f2f3;
  --btn-text: #0c0c0d;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);

  --hero-accent-glow: rgba(199, 234, 0, 0.08);
  --hero-highlight-bg: rgba(150, 136, 255, 0.34);
}


/* =========================================================
   GLOBAL
========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

.page-shell {
  width: 100%;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 0 var(--section-x);
}

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

a,
button,
input,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: none;
}

::selection {
  background: rgba(124, 108, 255, 0.25);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.project-card-title,
.team-name,
.price-title,
.cta-title,
.wordmark {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text);
}

p {
  line-height: 1.7;
  letter-spacing: -0.01em;
}

p,
li,
a,
span {
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.feat-label,
.process-label,
.footer-col-title,
.price-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
}

.feat-label,
.process-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.6;
}


/* =========================================================
   BUTTONS
========================================================= */
.btn-pill,
.btn-outline,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn-pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--btn-fill);
  color: var(--btn-text);
  font-size: 14px;
  font-weight: 500;
}

.btn-pill:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn-outline {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--border-2);
  transform: translateY(-1px);
}


/* =========================================================
   NAV
========================================================= */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.fnav-inner {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-logo-img-dark {
  display: none;
}

[data-theme="dark"] .nav-logo-img-light {
  display: none;
}

[data-theme="dark"] .nav-logo-img-dark {
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin-left: auto;
  margin-right: 34px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--text-3);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--pill-bg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn,
.fnav-ham,
.nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  color: var(--text-3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.theme-btn:hover,
.fnav-ham:hover,
.nav-arrow:hover {
  background: var(--pill-bg);
  color: var(--text);
  transform: translateY(-1px);
}

.fnav-ham {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.fnav-ham span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform 0.3s cubic-bezier(.22,1,.36,1),
    opacity 0.3s cubic-bezier(.22,1,.36,1);
  transform-origin: center;
}

nav.menu-open .fnav-ham span:first-child {
  transform: translateY(6px) rotate(45deg);
}

nav.menu-open .fnav-ham span:nth-child(2) {
  opacity: 0;
}

nav.menu-open .fnav-ham span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.fnav-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.22,1,.36,1);
}

nav.menu-open .fnav-drawer {
  max-height: 260px;
}

.fnav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px 12px;
}

.fnav-drawer-links a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-3);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease;
}

.fnav-drawer-links a:hover {
  color: var(--text);
  background: var(--pill-bg);
}

.fnav-drawer-cta a {
  font-weight: 500;
  color: var(--text);
}


/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 80px;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}


.hero-media,
.hero-media-image,
.hero-media-overlay,
.hero-particles,
.hero-scroll-indicator,
.hero-stat {
  display: none !important;
}

/* subtle ambient light */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(124, 108, 255, 0.08),
    transparent 50%
  );
  filter: blur(46px);
  pointer-events: none;
  z-index: 0;
  animation: heroDrift 12s cubic-bezier(.22,1,.36,1) infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 56px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s 0.12s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-main {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 900px;
  min-width: 0;
}

.hero-dot {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--hero-accent);
  box-shadow: 0 0 0 0 rgba(199, 234, 0, 0.16);
  animation: heroDotPulse 2.8s ease-in-out infinite;
  margin-top: 14px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  max-width: 320px;
  min-width: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--text);
  text-align: left;
}

.hero-line {
  display: block;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero-highlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.04em;
  top: 0.58em;
  bottom: 0.02em;
  background: var(--hero-highlight-bg);
}

.hero-subtitle {
  max-width: 320px;
  margin-top: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-3);
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
}


/* =========================================================
   SHOWCASE
========================================================= */
.showcase {
  margin-top: -88px;
  padding: 0 0 84px;
  position: relative;
  z-index: 3;
}

.showcase-inner {
  width: 100%;
}

.showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.35s cubic-bezier(.22,1,.36,1),
    box-shadow 0.35s cubic-bezier(.22,1,.36,1),
    border-color 0.22s ease;
}

.showcase-media:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}

.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   PROCESS
========================================================= */
.process {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.process-inner {
  width: 100%;
  padding-top: 104px;
  padding-bottom: 104px;
}

.process-intro {
  margin-bottom: 72px;
}

.process-label {
  margin-bottom: 14px;
}

.process-desc {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}

.process-step {
  position: relative;
  min-width: 0;
}

.process-num {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text);
  opacity: 0.95;
}

.process-line {
  position: absolute;
  top: calc(clamp(52px, 6vw, 82px) / 2);
  left: calc(100% + 16px);
  width: calc(100% - 32px);
  height: 1px;
  background: var(--border);
  opacity: 0.6;
  pointer-events: none;
}

.process-name {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-3);
}



@media (max-width: 860px) {
  .process-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .process-intro {
    margin-bottom: 40px;
  }

  .process-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-top: 0;
  }

  .process-line {
    display: none;
  }

  .process-step {
    min-width: 0;
  }

  .process-num {
    font-size: clamp(44px, 10vw, 64px);
    margin-bottom: 8px;
  }

  .process-name {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .process-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-desc {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* =========================================================
   PROJECTS — HORIZONTAL RAIL
========================================================= */

.projects {
  padding: 104px 0;
}

.projects-inner {
  width: 100%;
}

/* HEAD ROW — label/title left, nav buttons right */

.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 72px;
}

.projects-nav-row {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.projects-nav-row-mobile {
  display: none;
  justify-content: center;
  margin-top: 18px;
}

.projects-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  color: var(--text-3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  font-size: 15px;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    opacity 0.22s ease;
}

.projects-nav:hover:not(:disabled) {
  background: var(--pill-bg);
  color: var(--text);
}

.projects-nav:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

/* RAIL */

.projects-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-right: clamp(56px, 6vw, 96px);
}

.projects-rail::-webkit-scrollbar {
  display: none;
}

/* CARD */

.project-card {
  flex: 0 0 clamp(480px, 46vw, 600px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  min-width: 0;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1);
}

/* CARD MEDIA */

.project-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-3);
  border-radius: 14px;
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(.22,1,.36,1);
  display: block;
}

.project-card:hover .project-card-img {
  transform: scale(1.02);
}

/* CARD BODY */

.project-card-body {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 14px 2px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-meta {
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.project-card-title {
  margin-bottom: 8px;
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 18ch;
}

.project-card-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  background: color-mix(in srgb, var(--pill-bg) 85%, transparent);
  color: var(--text-2);
  white-space: nowrap;
}

.project-card-desc {
  width: 100%;
  max-width: none;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--text-2);
  flex: 1;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  font-size: 13px;
  transition:
    color 0.2s cubic-bezier(.22,1,.36,1),
    border-color 0.2s cubic-bezier(.22,1,.36,1);
}

.project-card-link:hover {
  color: var(--text-2);
  border-color: var(--border-2);
}

.project-card-link span {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(.22,1,.36,1);
}

.project-card-link:hover span {
  transform: translateX(3px);
}

/* team link arrow — kept here since it shares the same pattern */
.team-link span {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(.22,1,.36,1);
}

.team-link:hover span {
  transform: translateX(3px);
}
/* =========================================================
   FOOTER
========================================================= */
footer {
  padding: 96px 0 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.35s ease;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 72px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-logo .nav-logo-mark svg {
  width: 13px;
  height: 13px;
}

.footer-tagline {
  max-width: 300px;
  font-size: 15px;
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: var(--text-3);
}

.footer-col-title {
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-wordmark {
  overflow: hidden;
  border-top: 1px solid var(--border);
  transition: border-color 0.35s ease;
}

.wordmark {
  padding: 18px var(--section-x) 0;
  font-size: clamp(84px, 14vw, 200px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text);
  white-space: nowrap;
  opacity: 0.06;
  user-select: none;
  transition: color 0.35s ease, opacity 0.35s ease;
}

.footer-bottom {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-4);
  transition: border-color 0.35s ease;
}

.footer-bottom a {
  color: var(--text-4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--text);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 860px) {
  footer {
    padding: 72px 0 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 48px;
  }

  .footer-brand,
  .footer-tagline {
    max-width: 100%;
  }

  .wordmark {
    padding: 16px 24px 0;
    font-size: clamp(64px, 18vw, 140px);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 64px 0 0;
  }

  .footer-tagline {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .footer-bottom-links {
    gap: 16px;
  }
}
/* =========================================================
   TEAM
   quieter, flatter, more editorial
========================================================= */
.team {
  padding: 104px 0;
}

.team-inner {
  width: 100%;
}

.team-header {
  margin-bottom: 72px;
}

.team-intro {
  max-width: 560px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* photo block */
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  filter: grayscale(0.08);
  transition: filter 0.3s ease, transform 0.45s cubic-bezier(.22,1,.36,1);
}

.team-photo img,
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* very soft interaction */
.team-card:hover .team-photo {
  filter: grayscale(0);
  transform: scale(1.015);
}

.team-name {
  margin-bottom: 4px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}

.team-role {
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text-2);
}

.team-location {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-3);
}

.team-bio {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--text-3);
  max-width: 32ch;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition:
    color 0.2s cubic-bezier(.22,1,.36,1),
    border-color 0.2s cubic-bezier(.22,1,.36,1);
}

.team-link:hover {
  color: var(--text-2);
  border-color: var(--border-2);
}

.team-tz {
  margin-top: 48px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-4);
}

@media (max-width: 860px) {
  .team {
    padding: 80px 0;
  }

  .team-header {
    margin-bottom: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team-intro {
    max-width: 100%;
    font-size: 16px;
  }

  .team-bio {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .team {
    padding: 72px 0;
  }

  .team-photo {
    border-radius: 14px;
  }

  .team-name {
    font-size: 20px;
  }

  .team-bio {
    font-size: 14px;
  }
}

/* =========================================================
   CTA
   Softer, more aligned with hero tone
========================================================= */
.cta-wrap {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.cta-inner {
  width: 100%;
}

.cta-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

/* remove old decorative overlay */
.cta-card::before {
  display: none;
}

.cta-email,
.cta-title,
.cta-sub,
.cta-btn {
  position: relative;
  z-index: 1;
}

.cta-email {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-3);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-email:hover {
  color: var(--text);
  border-color: var(--border-2);
}

.cta-title {
  margin: 0 0 18px;
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  max-width: 720px;
  
}

.cta-sub {
  max-width: 560px;
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-3);
  padding-top: 12px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--btn-fill);
  color: var(--btn-text);
  font-size: 14px;
  font-weight: 500;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease,
    box-shadow 0.22s ease;
}

.cta-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

@media (max-width: 860px) {
  .cta-wrap {
    padding: 88px 0;
  }

  .cta-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .cta-sub {
    font-size: 16px;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .cta-wrap {
    padding: 72px 0;
  }

  .cta-title {
    font-size: clamp(28px, 10vw, 36px);
    line-height: 1.1;
  }

  .cta-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .cta-btn {
    width: auto;
  }
}
/* =========================================================
   FOOTER
========================================================= */
footer {
  padding: 72px 0 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.35s ease;
}

.footer-top {
  width: 100%;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 80px;
}

.footer-tagline {
  max-width: 460px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-3);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-wordmark {
  overflow: hidden;
  margin: 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.35s ease;
}

.wordmark {
  padding: 20px var(--section-x) 0;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
  opacity: 0.07;
  color: var(--text);
  transition: color 0.35s ease, opacity 0.35s ease;
}

.footer-bottom {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-4);
  transition: border-color 0.35s ease;
}

.footer-bottom a {
  color: var(--text-4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--text);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}


/* =========================================================
   REVEAL ANIMATION UTILS
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(.22,1,.36,1),
    transform 0.6s cubic-bezier(.22,1,.36,1);
}

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

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }


/* =========================================================
   KEYFRAMES
========================================================= */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(199, 234, 0, 0.16);
  }
  50% {
    transform: scale(1.08);
    opacity: 0.92;
    box-shadow: 0 0 0 12px rgba(199, 234, 0, 0);
  }
}

@keyframes heroDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, -30px); }
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  :root {
    --section-x: 40px;
  }

  .hero-line {
    white-space: normal;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-top {
    gap: 48px;
  }

  .projects-rail {
    gap: 20px;
    padding-right: 56px;
  }

  .project-card {
    flex: 0 0 64vw;
  }
}

@media (max-width: 860px) {
  :root {
    --section-x: 24px;
  }

  .nav-links,
  .nav-right .btn-pill {
    display: none;
  }

  .fnav-ham {
    display: inline-flex;
  }

  .fnav-inner {
    height: 60px;
  }

  .nav-right {
    margin-left: auto;
    gap: 8px;
  }

  .theme-btn,
  .fnav-ham {
    width: 44px;
    height: 44px;
  }

  .theme-btn {
    opacity: 0.7;
  }

  .fnav-ham {
    opacity: 1;
    border-radius: 50%;
    border-color: var(--border);
  }

  .fnav-ham span {
    width: 16px;
    height: 2px;
    background: var(--text);
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-main {
    gap: 16px;
    max-width: 100%;
  }



  .hero-title {
    font-size: clamp(40px, 12vw, 74px);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .hero-line {
    white-space: normal;
  }

  .hero-highlight::before {
    left: -0.04em;
    right: -0.02em;
    top: 0.6em;
    bottom: 0.03em;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 15px;
  }

  .hero-side {
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .showcase {
    margin-top: -20px;
    padding-bottom: 56px;
  }

  .process-inner,
  .projects,
  .team {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .process-intro,
  .team-header {
    margin-bottom: 32px;
  }

  .projects-head {
    margin-bottom: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .projects-nav-row {
    gap: 6px;
  }

  .projects-nav-row-mobile {
    display: flex;
  }

  .projects-head .projects-nav-row {
    display: none;
  }

  .project-card {
    flex: 0 0 76vw;
  }

  .project-card-body {
    padding-top: 14px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-wrap {
    padding: 64px 0;
  }

  footer {
    padding: 60px 0 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-wordmark {
    margin: 0;
  }

  .wordmark {
    padding: 16px var(--section-x) 0;
    font-size: clamp(60px, 18vw, 140px);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 18px 0;
  }
}

@media (max-width: 480px) {
  .fnav-inner {
    height: 54px;
  }

  .nav-logo-img {
    height: 24px;
  }

  .nav-right {
    margin-left: auto;
    gap: 6px;
  }

  .theme-btn,
  .fnav-ham {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 32px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-main {
    gap: 12px;
    max-width: 100%;
  }

  .hero-dot {
    width: 12px;
    height: 12px;
    margin-top: 8px;
  }

  .hero-title {
    font-size: clamp(32px, 11vw, 48px);
    letter-spacing: -0.035em;
  }

  .hero-subtitle {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-side {
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .showcase {
    margin-top: -10px;
    padding-bottom: 48px;
  }

  .showcase-media,
  .project-card-media,
  .team-photo {
    border-radius: 14px;
  }

  .process-inner,
  .projects,
  .team {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .process-intro,
  .team-header {
    margin-bottom: 28px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .process-step:last-child {
    grid-column: 1 / -1;
  }

  .process-num {
    font-size: clamp(40px, 11vw, 54px);
    margin-bottom: 6px;
  }

  .process-name {
    font-size: 14px;
  }

  .projects-head {
    margin-bottom: 20px;
    gap: 14px;
  }

  .projects-nav {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .projects-rail {
    gap: 14px;
    padding-right: 0;
  }

  .project-card {
    flex: 0 0 100%;
  }

  .project-card-media {
    aspect-ratio: 1.3 / 1;
  }

  .project-card-body {
    padding-top: 12px;
  }

  .cta-title {
    font-size: clamp(32px, 10vw, 40px);
  }
}

@media (max-width: 390px) {
  :root {
    --section-x: 18px;
  }

  .hero-title {
    font-size: clamp(28px, 9.5vw, 36px);
  }

  .hero-dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
  }

  .process-steps {
    gap: 18px;
  }

  .process-num {
    font-size: clamp(40px, 11vw, 56px);
  }

  .footer-bottom-links {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
