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

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --bg:        #080808;
  --bg-2:      #111111;
  --bg-3:      #1a1a1a;
  --border:    #222222;
  --text-1:    #efefef;
  --text-2:    #888888;
  --text-3:    #444444;
  --accent:    #6b9fc4;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:     1160px;
  --r-sm:      8px;
  --r:         16px;
  --r-lg:      24px;
  --t:         0.2s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--text-1); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
button { font-family: var(--font); cursor: pointer; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   IMAGE SYSTEM
   All image containers use position:relative + aspect-ratio.
   Inside them put <img> OR leave the .img-placeholder div.
   To add your image: replace <div class="img-placeholder">
   with <img src="images/yourfile.jpg" alt="Description" />
   ============================================================ */
.img-container {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}

.img-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px dashed var(--border);
}

/* ============================================================
   COMMON ELEMENTS
   ============================================================ */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t);
  border: none;
}

.btn-accent { background: var(--accent); color: #000; }
.btn-accent:hover { background: #84b3d4; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--text-1); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--text-2); background: var(--bg-2); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  font-weight: 450;
  color: var(--text-2);
  transition: color var(--t);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text-1); }

.nav__cta {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: all var(--t);
}
.nav__cta:hover { border-color: var(--accent); color: var(--accent); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--t);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 0 4px;
}
.nav__mobile a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--text-1); }
.nav__mobile.open { display: flex; }

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  padding: 72px 0 100px;
  border-bottom: 1px solid var(--border);
}


.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
  color: #dcdcdc;
}

.hero__title .accent { color: var(--accent); }

.hero__subtitle {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-2);
  max-width: 860px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section { padding: 100px 0; }

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

.section__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section__title--muted {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--text-2);
}

.section__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t);
  white-space: nowrap;
}
.section__link:hover { color: var(--text-1); }

/* ============================================================
   RECENT DESIGNS GRID
   ============================================================ */
.designs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.design-card {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color var(--t), transform var(--t);
}
.design-card:hover { border-color: #333; transform: translateY(-4px); }

.design-card__image {
  aspect-ratio: 4/3;
}
.design-card:hover .design-card__image img,
.design-card:hover .design-card__image .img-placeholder { transform: scale(1.04); }

.design-card__body { padding: 16px 20px 20px; }
.design-card__title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.design-card__meta { font-size: 12px; color: var(--text-2); }

/* ============================================================
   CASE STUDIES LIST (HOME PAGE)
   ============================================================ */
.case-studies { border-top: 1px solid var(--border); }

.cs-item {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.cs-item:last-child { border-bottom: none; }

.cs-item.reverse { direction: rtl; }
.cs-item.reverse > * { direction: ltr; }

.cs-item__image {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.cs-item:hover .cs-item__image img { transform: scale(1.04); }
.cs-item:hover .cs-item__image .img-placeholder { transform: scale(1.04); }

.cs-item__content { display: flex; flex-direction: column; gap: 18px; }

.cs-item__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.cs-item__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.cs-item__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #dcdcdc;
}
.cs-item__title .dash {
  font-size: 0.65em;
  font-weight: 400;
  vertical-align: middle;
  color: var(--text-2);
}

.cs-item__tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.cs-item__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}

.cs-item__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cs-item__meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.cs-item__meta-value { font-size: 13px; font-weight: 500; color: var(--text-2); }

.view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  transition: gap var(--t), color var(--t);
  width: fit-content;
}
.view-more:hover { gap: 14px; color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__logo { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.footer__logo span { color: var(--accent); }

.footer__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--t);
}
.footer__links a:hover { color: var(--text-1); }

.footer__copy { font-size: 12px; color: var(--text-3); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { padding: 100px 0 80px; }

.about-hero__body {
  max-width: 900px;
}

.about-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-hero__title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 28px;
  color: #dcdcdc;
}

.about-hero__bio {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.about-hero__image {
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

.bio-highlight {
  background: none;
  color: #c8c8c8;
  font-weight: 500;
}

.imdb-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.5;
  transition: color 0.2s ease;
}
.imdb-link:hover { color: var(--text-1); }
.imdb-link__logo {
  width: 48px;
  border-radius: 5px;
  flex-shrink: 0;
}

/* Certifications + Skills */
.about-cs { padding: 80px 0; border-top: 1px solid var(--border); }

.about-cs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-cs__col > .section__label { margin-bottom: 28px; }

/* Cert card */
.cert-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cert-card__meta {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.cert-card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.cert-card--row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.cert-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.cert-card__meta--muted {
  color: var(--text-2);
  margin-bottom: 2px;
}

/* Skill groups */
.skill-group { margin-bottom: 28px; }
.skill-group__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.skill-group__items {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.85;
}

/* Contact section */
.about-contact { padding: 80px 0; border-top: 1px solid var(--border); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.contact-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-links { display: flex; flex-direction: column; gap: 12px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-2);
  transition: border-color var(--t), background var(--t);
}
.contact-link:hover {
  border-color: var(--accent);
  background: rgba(107, 159, 196, 0.07);
}
.contact-link__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-2);
}
.contact-link__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3px;
}
.contact-link__value { font-size: 15px; font-weight: 500; }

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-hero {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--border);
}

.projects-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 700px;
}

.projects-hero__desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 80px 0;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  transition: border-color var(--t), transform var(--t);
  display: block;
}
.project-card:hover { border-color: #333; transform: translateY(-4px); }

.project-card__image { aspect-ratio: 16/10; }
.project-card:hover .project-card__image img,
.project-card:hover .project-card__image .img-placeholder { transform: scale(1.04); }

.project-card__body { padding: 28px; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.project-card__desc { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.project-card__footer { display: flex; align-items: center; justify-content: space-between; }
.project-card__year { font-size: 12px; color: var(--text-3); font-weight: 500; }

/* ============================================================
   CASE STUDY PAGE
   ============================================================ */
.cs-page-hero { padding: 80px 0 0; }

.cs-page-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cs-page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--t);
}
.cs-page-hero__back:hover { color: var(--text-1); }

.cs-page-hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}

.cs-page-hero__title {
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 24px;
  max-width: 900px;
}

.cs-page-hero__desc {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 660px;
  margin-bottom: 56px;
}

.cs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.cs-stat {
  padding: 24px;
  background: var(--bg-2);
}
.cs-stat__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.cs-stat__value { font-size: 14px; font-weight: 600; }

.cs-hero-image {
  margin-top: 60px;
  aspect-ratio: 16/7;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
}

/* Case study narrow content column */
.cs-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.cs-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.cs-section:last-child { border-bottom: none; }

.cs-section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cs-section__label::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.cs-section__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cs-section__body {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.88;
}
.cs-section__body p + p { margin-top: 16px; }

.cs-section__body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cs-section__body ul {
  padding-left: 20px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-section__body ul li { color: var(--text-2); line-height: 1.7; }

/* Image blocks inside case study */
.cs-img {
  margin: 36px 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.cs-img__inner {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
}

.cs-img__inner.tall { aspect-ratio: 4/3; }
.cs-img__inner.portrait { aspect-ratio: 3/4; }

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

.cs-img__caption {
  padding: 12px 18px;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
}

.cs-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 36px 0;
}

.cs-img-grid .cs-img { margin: 0; }

/* Highlight / pull quote */
.cs-highlight {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: rgba(107, 159, 196, 0.07);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.cs-highlight p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.7;
}

/* Impact stats */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.impact-stat {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-2);
  text-align: center;
}
.impact-stat__number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1;
}
.impact-stat__label { font-size: 12px; color: var(--text-2); line-height: 1.5; }

/* NDA Notice */
.nda-notice {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  margin: 60px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-2);
}

.nda-notice__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.nda-notice__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.nda-notice__text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.nda-notice__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--t), opacity var(--t);
}
.nda-notice__cta:hover { gap: 10px; opacity: 0.85; }

/* Next project */
.cs-next {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cs-next__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.cs-next__link {
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  transition: color var(--t);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.cs-next__link:hover { color: var(--accent); }

.cs-next__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--t);
}
.cs-next__all:hover { color: var(--text-2); }

/* ============================================================
   PASSWORD OVERLAY
   ============================================================ */
.pw-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pw-card { max-width: 440px; width: 100%; text-align: center; }
.pw-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--accent);
}
.pw-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.pw-subtitle {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.pw-form { display: flex; flex-direction: column; gap: 12px; }
.pw-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color var(--t);
  text-align: center;
  letter-spacing: 0.1em;
}
.pw-input:focus { border-color: var(--accent); }
.pw-input::placeholder { color: var(--text-3); letter-spacing: 0; }
.pw-error { font-size: 13px; color: #e07070; display: none; }

/* ============================================================
   CASE STUDY INDIVIDUAL PAGE
   ============================================================ */
.cs-page-hero {
  width: 100%;
  height: 480px;
  overflow: hidden;
}
.cs-page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cs-page-header { padding: 48px 0 40px; }
.cs-page-header__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cs-page-header__number {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.cs-page-header__title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #dcdcdc;
  margin-bottom: 40px;
}

/* Insight cards grid */
.cs-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.cs-insight-grid .cs-highlight { margin: 0; }
.cs-insight-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 80px 0 72px; }

  .designs-grid { grid-template-columns: repeat(2, 1fr); }

  .cs-item { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .cs-item.reverse { direction: ltr; }

  .about-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .about-hero__image { max-width: 400px; aspect-ratio: 1/1; }

  .about-cs__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .projects-grid { grid-template-columns: 1fr; }

  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .cs-hero-image { aspect-ratio: 16/9; }
  .impact-stats { grid-template-columns: 1fr 1fr; }
  .cs-img-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 60px; }
  section { padding: 70px 0; }
  .designs-grid { grid-template-columns: 1fr; }
  .cs-stats { grid-template-columns: 1fr 1fr; }
  .impact-stats { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cs-page-hero { height: 240px; }
  .cs-insight-grid { grid-template-columns: 1fr; }
}
