:root {
  --bg: #ffffff;
  --ink: #0b0b0b;
  --muted: #9a9a9a;
  --border: #ececec;
  --accent: #000;
  --dark: #020617;
}


/* ================= RESET ================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Prevent flex / fixed elements from bleeding */
* {
  max-width: 100%;
}

/* Images & media never exceed viewport */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}


body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= CONTAINER ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HEADER / NAV ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;
}

/* Push page content below fixed header */
main.case-study {
  padding-top: 88px;
  /* match header height */
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 35px;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pill-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #000;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

/* ================= HAMBURGER ================= */
.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #000;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 16px;
  height: 2px;
  background: #000;
}

/* ================= OVERLAY MENU ================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #0f172a, var(--dark));
  color: #ffffff;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  overflow-y: auto;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

.menu-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border-color: #fff;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  color: #ffffff;
}

.menu-content {
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px;
  align-items: center;
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 700;
}

.menu-num {
  font-size: 14px;
  color: #94a3b8;
}

.menu-arrow {
  justify-self: end;
  width: 48px;
  height: 48px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= CASE STUDY LAYOUT ================= */
.case-study {
  max-width: 1600px;
  margin: 0 auto;
}

.cs-layout {
  display: flex;
}

/* ================= LEFT SIDEBAR (STATIC NAV) ================= */
.cs-sidebar {
  width: 30%;
  position: fixed;
  top: 61px;
  /* below header */
  left: 0;
  height: 100%;
  padding: 96px 80px;
  background: #ffffff;
  box-shadow: 10px 0 5px -5px rgba(115,115,115,0.15);
  overflow: auto;
}

.cs-sidebar h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 56px;
}

.cs-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-meta span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.cs-meta strong {
  font-size: 15px;
  font-weight: 500;
}

/* ================= LEFT NAV ================= */
.cs-nav {
  margin-top: 72px;
  padding-left: 20px;
  position: relative;
}

.cs-nav a {
  display: block;
  font-size: 14px;
  color: #9a9a9a;
  margin-bottom: 16px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.cs-nav a.active {
  color: #0f0f0f;
  transform: translateX(4px);
}

/* Progress indicator */
.cs-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: #0f0f0f;
  max-height: 100%;
}

/* ================= RIGHT CONTENT ================= */
.cs-content {
  width: 66%;
  margin-left: 34%;
  padding: 0 140px 220px;
  background: #fff;
}

.cs-section p {
  font-size: 17px;
  line-height: 1.85;
  color: #2e2e2e;
  margin-bottom: 24px;
}

/* ================= IMAGES ================= */
.img-placeholder {
  width: 100%;
  margin: 20px 0;
}

/* ================= WORK GRID ================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.work-card {
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #f5f5f5;
}

.work-card.featured {
  grid-column: span 2;
}

h3 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 400;
  line-height: 1.1;
}

h5 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 600;
}

/* Headings scale with viewport */
h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h5 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Body text scales cleanly */
p,
li {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  max-width: 90%;
}

/* Prevent text overflow */
h1,
h2,
h3,
h4,
h5,
p {
  word-wrap: break-word;
}

/* ================= UX TABLE ================= */
.uxr-table {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.uxr-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-weight: 600;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.uxr-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.uxr-col {
  font-size: 15px;
  line-height: 1.6;
}

/* ================= FOOTER ================= */
footer {
  
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 2000;
  background-color: #0f172a;
  color: #fff;
  font-size: small;
  text-align:center;
}

/* Prevent footer overlap */
main.case-study {
  padding-bottom: 80px;
  /* footer height */
}


/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .cs-layout {
    flex-direction: column;
  }

  .cs-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    top: 0;
    padding: 64px 32px;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .cs-layout,
  .cs-content {
    max-width: 100%;
    overflow-x: hidden;
  }

  .cs-nav {
    display: none;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .pill-btn {
    display: none;
  }

  .nav {
    height: 64px;
  }
}

@media (max-width: 480px) {
  .menu-item {
    font-size: 32px;
  }
}

/* CASE GRID */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 36px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 48px;
}

.case-card {
  width: 100%;
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 24px;
  background-color: #f3f3f3;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  transition: transform .35s ease;

  /* subtle elevation */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .04),
    0 8px 24px rgba(0, 0, 0, .06);

  transition:
    box-shadow .25s ease,
    transform .25s ease;
}

.case-card:hover {
  transform: translateY(-6px)
}

.case-body h3 {
  font-size:16px;
  margin: 0 0 8px;
  margin-top: 20px;
}

.case-body p {
  color: var(--text-muted)
}

.case-link {

  margin-top: 8px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

/* CASE PAGE */
.case-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
}

.case-intro {
  max-width: 100%;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.case-section {
  padding-top: 0;
}

.case-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
}

/* IMAGE PLACEHOLDER */
.image-placeholder {
  height: 260px;
  border-radius: var(--radius-lg);
  background: #e9ebef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

.image-placeholder.large {
  height: 360px
}

/*====================HOMEPAGE STYLE==================================*/
:root {
  --bg: #ffffff;
  --ink: #0b0b0b;
  --muted: #6b7280;
  --border: #e5e7eb;
  --surface: #f9fafb;
  --accent: #000;
  --dark: #020617;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden
}

a {
  text-decoration: none;
  color: inherit
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* tighter sections */
section {
  padding: 40px 0
}

/* ================= HEADER ================= */

header {
  position: fixed;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  left: 0;
  width: 100%;
  z-index: 5000;

}

/* Push page content below fixed header */
main.case-study {
  padding-top: 88px;
  /* match header height */
}


.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 35px;
  font-weight: 400;
  padding-right: 5px;

  img {
    width: 61%;
    height: auto;
    display: block;
  }

}


/* ================= MENU ================= */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #0f172a, var(--dark));
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: .4s ease;
  z-index: 50;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  padding: 32px 48px;
}

.menu-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.menu-content {
  max-width: 1000px;
  margin: 64px auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px;
  font-size: 56px;
  font-weight: 700;
}

.menu-num {
  font-size: 16px;
  color: #94a3b8
}

.menu-arrow {
  justify-self: end;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;

}

/* ================= HERO ================= */

.hero {
  padding: 120px 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 88px;
  line-height: 1;
  letter-spacing: -.03em;
}

.hero-copy p {
  font-size: 20px;
  max-width: 520px;
  color: #374151;
  margin: 20px 0 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
}

/* ================= BUTTONS ================= */

.btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid var(--border);
}

.btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ================= TYPOGRAPHY SYSTEM ================= */

.section-label {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 880px;
  margin-bottom: 24px;
}

.about-content p {
  max-width: 880px;
  color: #374151;
  margin-bottom: 16px;
}

/* ================= CASE STUDIES ================= */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  transition: .25s ease;
}

.case-card:hover {
  transform: translateY(-4px)
}

.case-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 14px;
}

.case-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

/* ================= PRINCIPLES ================= */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;


}

.principle-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;

  /* subtle elevation */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .03),
    0 6px 16px rgba(0, 0, 0, .05);

  transition:
    box-shadow .25s ease,
    transform .25s ease;
}

/* ================= STRATEGY ================= */

.highlight-card {
  background-color: #FFFF;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;

  /* subtle elevation */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .04),
    0 8px 24px rgba(0, 0, 0, .06);

  transition:
    box-shadow .25s ease,
    transform .25s ease;
}

.highlight-card ul {
  margin: 20px 0 20px 18px;
  line-height: 1.8;
  color: var(--muted);


}

/* ================= PARALLAX ================= */

[data-parallax] {
  opacity: 0;
  transform: translateY(20px);
  transition: .8s ease;
}

[data-parallax].is-visible {
  opacity: 1;
  transform: none;
}

/* ================= FOOTER ================= */

.footerHome {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px) {
  .hero-layout {
    grid-template-columns: 1fr
  }

  .hero-image {
    order: -1
  }

  .hero-copy h1 {
    font-size: 44px
  }

  .section-title {
    font-size: 34px
  }

  .case-grid,
  .principles-grid {
    grid-template-columns: 1fr
  }

  .menu-item {
    font-size: 40px
  }

  .menu-header,
  .menu-content {
    padding: 24px
  }
}
/* =====================================================
   MOBILE / TABLET RWD FIX — CASE STUDY
   ===================================================== */

/* GLOBAL SAFETY */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden;
  }
}

/* STACK LAYOUT INSTEAD OF SPLIT */
@media (max-width: 1024px) {
  .cs-layout {
    display: block;
    width: 100%;
  }
}

/* SIDEBAR → NORMAL TOP SECTION */
@media (max-width: 1024px) {
  .cs-sidebar {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
    overflow: visible;
  }
}

/* HIDE LEFT NAV ON MOBILE */
@media (max-width: 1024px) {
  .cs-nav {
    display: none;
  }
}

/* CONTENT FULL WIDTH */
@media (max-width: 1024px) {
  .cs-content {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 32px 24px 120px !important;
  }
}

/* FIX INTRO IMAGE STACKING */
@media (max-width: 768px) {
  .intro {
    display: block;
  }

  .intro > div {
    width: 100%;
  }

  .intro img {
    margin-top: 24px;
  }
}

/* IMAGE BLEED SAFETY */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* HEADER SPACING FIX (FIXED HEADER) */
@media (max-width: 1024px) {
  main.case-study {
    padding-top: 88px;
  }
}

/* FOOTER FIX */
@media (max-width: 1024px) {
  footer {
    position: relative;
    padding: 24px 16px;
  }
}
/* =========================================
   FIX HAMBURGER OVERLAP
   ========================================= */

/* When menu is open, hide hamburger completely */
body.menu-open .hamburger {
  opacity: 0;
  pointer-events: none;
}

/* Optional: also hide pill button to avoid overlap */
body.menu-open .pill-btn {
  opacity: 0;
  pointer-events: none;
}

/* Ensure overlay always sits above header */
.menu-overlay {
  z-index: 9000;
}

/* Header stays below overlay when menu is open */
header {
  z-index: 5000;
}
