@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ─── Tokens ─── */
:root {
  --black: #000;
  --white: #fff;
  --blue: #1e00ff;
  --surface: #f7f7f7;
  --border: #e8e8e8;
  --muted: #666;
  --font: 'Manrope', system-ui, sans-serif;
  --max: 1160px;
  --prose: 760px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font);
  font-size: 22px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
}

/* ─── Nav ─── */
.site-nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--black);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  transition: color 0.15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--blue); }


/* ─── Hero ─── */
.hero {
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--black);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 22px;
}

.hero-headline {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 26px;
  color: var(--black);
  line-height: 1.6;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 22px;
  border-radius: 100px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { opacity: 0.82; }

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-ghost:hover { background: var(--black); color: var(--white); }

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--surface);
  border-radius: 8px;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* ─── About ─── */
.about {
  padding: 80px 0;
  border-bottom: 1px solid var(--black);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.section-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
}

.about .section-row {
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  padding-top: 5px;
}

.about-body .section-label {
  margin-bottom: 24px;
}

.about-body p {
  font-size: 22px;
  line-height: 1.75;
  color: var(--black);
  margin-bottom: 24px;
}

.about-body p:last-child { margin-bottom: 0; }

.experience-list {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.experience-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 10px 0;
  font-size: 22px;
  line-height: 1.5;
}

.exp-company {
  font-weight: 700;
  font-size: 22px;
}

.exp-detail {
  color: var(--black);
  font-size: 22px;
}

/* ─── Work ─── */
.work {
  padding: 80px 0;
  border-bottom: 1px solid var(--black);
}

.work-header {
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}

.work-card {
  background: var(--white);
  padding: 0;
  display: block;
  transition: border-color 0.15s;
  position: relative;
  border: 1.5px solid transparent;
  border-radius: 4px;
  overflow: hidden;
}

.work-card:hover { border-color: var(--black); }

.card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  background: var(--blue);
  position: relative;
}

.card-body {
  padding: 18px 20px 22px;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-bg-blue { background: var(--blue); }
.thumb-bg-dark { background: #1a1a2e; }
.thumb-bg-gray { background: #e8e8f0; }

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--black);
}

.card-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  transition: color 0.15s;
}

.card-desc {
  font-size: 22px;
  line-height: 1.65;
  color: var(--black);
}


/* ─── Contact ─── */
.contact {
  padding: 80px 0;
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.contact-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  padding: 0;
  max-width: 640px;
}

.contact-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 10px 0;
  align-items: center;
}

.contact-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
}

.contact-value {
  font-size: 22px;
  color: var(--black);
  transition: color 0.15s;
}
.contact-value:hover { color: var(--blue); }

footer {
  background: var(--white);
  border-top: 1px solid var(--black);
  padding: 20px 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--black);
  font-weight: 500;
}

/* ─── Case Study Pages ─── */
.cs-hero {
  padding: 72px 0 64px;
}

.cs-hero-inner {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 0 40px;
}

.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 40px;
  transition: color 0.15s;
  letter-spacing: 0.02em;
}
.cs-back:hover { color: var(--blue); }

.cs-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cs-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
}

.cs-intro {
  font-size: 26px;
  line-height: 1.6;
  color: var(--black);
}

.cs-cover {
  background: var(--blue);
  max-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cs-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  pointer-events: none;
}

.cs-cover img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.cs-cover-placeholder {
  width: 100%;
  height: 380px;
  background: var(--blue);
}

/* ─── Case Study Body ─── */
.cs-body {
  padding: 80px 0 100px;
}

.cs-body-inner {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 0 40px;
}

.cs-section {
  margin-bottom: 64px;
}

.cs-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 18px;
}

.cs-section p {
  font-size: 22px;
  line-height: 1.75;
  color: var(--black);
  margin-bottom: 22px;
}
.cs-section p:last-child { margin-bottom: 0; }

.cs-section ul,
.cs-section ol {
  margin-bottom: 16px;
}

.cs-section ul:not(.results-list) {
  list-style: none;
  padding: 0;
}

.cs-section ul:not(.results-list):not(.chip-list) {
  list-style: disc;
  padding-left: 22px;
}

.cs-section ul:not(.results-list):not(.chip-list) li {
  font-size: 22px;
  line-height: 1.7;
  color: var(--black);
  padding: 4px 0;
}

.cs-section ol {
  padding-left: 0;
  list-style: none;
  counter-reset: steps;
}

.cs-section ol li {
  counter-increment: steps;
  position: relative;
  padding: 10px 0 10px 44px;
  font-size: 22px;
  line-height: 1.7;
  color: var(--black);
}

.cs-section ol li::before {
  content: counter(steps, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.05em;
  position: absolute;
  left: 0;
  top: 16px;
}

.cs-section strong { font-weight: 700; }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.chip-list li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--black);
  position: static;
}

.chip-list li::before { display: none; }

.results-list {
  list-style: disc;
  padding-left: 22px;
}

.results-list li {
  padding: 4px 0;
  font-size: 22px;
  line-height: 1.65;
  color: var(--black);
}

.cs-figure {
  margin: 44px 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.cs-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
  border-radius: 8px;
  pointer-events: none;
}

.cs-figure img { width: 100%; }

.cs-figure-placeholder {
  width: 100%;
  height: 280px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-figure-caption {
  font-size: 16px;
  color: var(--black);
  padding: 12px 0;
  font-weight: 500;
}

.cs-divider {
  border: none;
  border-top: 1px solid var(--black);
  margin: 64px 0;
}

/* ─── CS Footer ─── */
.cs-end {
  background: var(--white);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: 48px 0;
}

.cs-end-inner {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cs-end-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  transition: color 0.15s;
}
.cs-end-home:hover { color: var(--blue); }

/* ─── UX Samples page ─── */
.sample-list {
  list-style: none;
  padding: 0;
}

.sample-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--black);
}

.sample-thumb {
  width: 160px;
  flex-shrink: 0;
  aspect-ratio: 16/10;
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
}

.sample-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-body { flex: 1; }

.sample-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.sample-desc {
  font-size: 22px;
  line-height: 1.65;
  color: var(--black);
  margin-bottom: 14px;
}

.sample-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  transition: color 0.15s;
}
.sample-link:hover { color: var(--blue); }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .section-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about .section-row {
    grid-template-columns: 1fr;
  }
  .about-photo {
    order: -1;
    max-width: 320px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .experience-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 720px) {
  .nav-inner { padding: 0 24px; }
  .hero { padding: 56px 0 64px; }
  .hero-inner { padding: 0 24px; }
  .section-inner { padding: 0 24px; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-inner { padding: 0 24px; }
  .contact-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { padding: 0 24px; }
  .cs-hero-inner, .cs-body-inner, .cs-end-inner { padding: 0 24px; }
  .sample-item { flex-direction: column; gap: 20px; }
  .sample-thumb { width: 100%; }
  .nav-links .hide-mobile { display: none; }
  .cs-end-inner { flex-direction: column; align-items: flex-start; }
}
