/* ============================== */
/* MANHAL SULTANA - SHARED STYLES */
/* ============================== */

:root {
  --bg: #f5efe6;
  --bg-soft: #ede5d6;
  --bg-dark: #2a2620;
  --text: #1f1d1a;
  --text-soft: #4a4640;
  --text-mute: #7a7468;
  --accent: #b85c38;
  --line: #d8cdb8;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  background: rgba(245, 239, 230, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px; max-width: 1200px; margin: 0 auto;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-soft); text-decoration: none;
  font-size: 14px; letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }

/* SECTION TAG */
.section-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 32px;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 100px;
}

section { padding: 120px 0; border-bottom: 1px solid var(--line); }

/* PLACEHOLDER NOTE */
.placeholder-note {
  background: rgba(184, 92, 56, 0.1);
  border: 1px dashed var(--accent);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--accent);
  font-style: italic;
  font-family: var(--serif);
}

/* HERO */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 300; line-height: 0.98;
  letter-spacing: -0.035em; margin-bottom: 60px;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5; max-width: 56ch;
  color: var(--text-soft); font-weight: 300;
  font-style: italic;
}

/* ABOUT */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 80px; align-items: start;
}
.about-photo {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: sticky; top: 100px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-mute);
  text-align: center;
  padding: 24px;
  font-size: 14px;
  line-height: 1.5;
  background-image: linear-gradient(135deg, #ede5d6 0%, #d8cdb8 100%);
}
.about-text {
  font-family: var(--serif);
}
.about-text .lead {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.3; font-weight: 300;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
}
.about-text .lead em { font-style: italic; color: var(--accent); }
.about-text p {
  font-size: 17px; line-height: 1.65;
  color: var(--text-soft); margin-bottom: 24px;
  font-family: var(--sans); font-weight: 400;
}
.about-text p:last-child { margin-bottom: 0; }

/* DATA WALKTHROUGH SECTION */
.walkthrough-header {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; margin-bottom: 80px; align-items: end;
}
.walkthrough-header h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300; letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
}
.walkthrough-header h2 em { font-style: italic; color: var(--accent); }

.walkthrough-steps {
  display: grid;
  gap: 60px;
  position: relative;
}

.walkthrough-step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.step-num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.step-content h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.step-content .label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-content p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}

.step-visual {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-mute);
  font-style: italic;
  font-family: var(--serif);
}

.step-visual.data {
  font-family: 'Courier New', monospace;
  font-style: normal;
  text-align: left;
  color: var(--text);
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.8;
}
.step-visual.data .accent { color: var(--accent); font-weight: bold; }

.step-visual.copy {
  background: linear-gradient(135deg, #e8b8a0 0%, #d4825a 100%);
  color: white;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  padding: 32px;
  text-align: left;
  line-height: 1.4;
  align-items: flex-start;
  justify-content: flex-start;
}

.step-visual.result {
  background: var(--bg-dark);
  color: var(--bg);
  font-family: var(--serif);
  flex-direction: column;
  text-align: center;
}

.step-visual.result .num {
  font-size: 64px;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  font-style: normal;
  margin-bottom: 8px;
}
.step-visual.result .label-result {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.7);
  font-style: normal;
  font-family: var(--sans);
}

/* BRANDS */
.brands-header h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300; letter-spacing: -0.025em;
  line-height: 1.05; margin-bottom: 16px;
  max-width: 18ch;
}
.brands-header h2 em { font-style: italic; color: var(--accent); }
.brands-sub {
  font-family: var(--sans);
  font-size: 17px; color: var(--text-soft);
  margin-bottom: 80px;
  max-width: 60ch;
  line-height: 1.6;
}

.logo-wall {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 24px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  transition: background 0.2s ease;
  min-height: 180px;
  text-align: center;
  background: var(--bg);
}
.logo-cell:hover { background: var(--bg-soft); }
.logo-placeholder {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}
.logo-cell .desc {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.4;
  font-style: italic;
  font-family: var(--serif);
}

/* WORK - FORMAT B */
.work-header {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; margin-bottom: 100px; align-items: end;
}
.work-header h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300; letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
}
.work-header h2 em { font-style: italic; color: var(--accent); }

.case-study-list {
  display: grid; gap: 100px;
}

.case-study {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}
.case-study:hover { transform: translateY(-4px); }
.case-study:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}
.case-study:nth-child(even) .case-thumb { order: 2; }
.case-study:nth-child(even) .case-content { order: 1; }

.case-thumb {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-thumb.parenting {
  background: linear-gradient(135deg, #d8b8c0 0%, #b07585 100%);
  color: white;
  font-size: 56px;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: -0.02em;
}

.case-thumb.healthcare {
  background: linear-gradient(135deg, #a8b5a0 0%, #6b7d65 100%);
  color: white;
  padding: 60px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.3;
}

.case-thumb.viral {
  background: linear-gradient(135deg, #e8b8a0 0%, #d4825a 100%);
  color: white;
  padding: 50px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.3;
}

.case-content .category {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}

.case-content h3 {
  font-family: var(--serif);
  font-size: 36px; font-weight: 400;
  line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.case-content p {
  font-size: 16px; color: var(--text-soft);
  line-height: 1.65; margin-bottom: 20px;
}

.case-stats {
  display: flex; gap: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case-stat .num {
  font-family: var(--serif);
  font-size: 32px; font-weight: 400;
  letter-spacing: -0.02em; color: var(--accent);
  line-height: 1; margin-bottom: 4px;
}
.case-stat .label {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-mute);
}

.read-more {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.case-study:hover .read-more { opacity: 0.7; }

/* TOOLS */
.tools-header h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300; letter-spacing: -0.025em;
  line-height: 1.05; margin-bottom: 16px;
  max-width: 16ch;
}
.tools-header h2 em { font-style: italic; color: var(--accent); }
.tools-sub {
  font-family: var(--sans);
  font-size: 17px; color: var(--text-soft);
  margin-bottom: 60px;
  max-width: 60ch;
  line-height: 1.6;
}

.tools-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}
.tool-block {
  border: 1px solid var(--line);
  padding: 32px 24px;
  background: var(--bg-soft);
}
.tool-block h4 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 400;
  font-style: italic; color: var(--accent);
  margin-bottom: 8px;
}
.tool-block .description {
  font-size: 13px; color: var(--text-mute);
  margin-bottom: 20px; font-style: italic;
  font-family: var(--serif);
}
.tool-list { list-style: none; }
.tool-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--text-soft);
}
.tool-list li:last-child { border-bottom: none; }

/* CONTACT */
.contact {
  padding: 140px 0; border-bottom: none;
}
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 40px; max-width: 14ch;
}
.contact h2 em { font-style: italic; color: var(--accent); }
.contact-lead {
  font-family: var(--sans);
  font-size: 18px; color: var(--text-soft);
  font-weight: 400; line-height: 1.65;
  max-width: 50ch; margin-bottom: 60px;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-grid h4 {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 12px; font-weight: 500;
}
.contact-grid a {
  display: block;
  font-family: var(--serif);
  font-size: 28px; color: var(--text);
  text-decoration: none; font-style: italic;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-grid a:hover { border-color: var(--accent); color: var(--accent); }
.contact-grid .static {
  font-family: var(--serif);
  font-size: 22px; font-style: italic;
  color: var(--text-soft); margin-bottom: 32px;
}

.location-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.location-row svg {
  flex-shrink: 0;
  fill: var(--accent);
  width: 18px;
  height: 22px;
}

/* FOOTER */
footer {
  padding: 32px 0; font-size: 13px;
  color: var(--text-mute);
  border-top: 1px solid var(--line);
  font-style: italic;
  font-family: var(--serif);
}
footer .container {
  display: flex; justify-content: space-between;
}

/* CASE STUDY DETAIL PAGES */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}
.cs-back:hover { color: var(--accent); }
.cs-back::before { content: "←"; }

.cs-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.cs-hero .category {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.cs-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 32px;
  max-width: 22ch;
}
.cs-hero h1 em { font-style: italic; color: var(--accent); }
.cs-hero .lede {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 60ch;
  line-height: 1.5;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.cs-meta h4 {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 8px;
}
.cs-meta p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text);
  font-style: italic;
}

.cs-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.cs-section h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 32px;
  max-width: 22ch;
}
.cs-section h2 em { font-style: italic; color: var(--accent); }
.cs-section p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 65ch;
}

.cs-section .pullquote {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  padding: 32px 0 32px 32px;
  border-left: 2px solid var(--accent);
  margin: 40px 0;
  max-width: 28ch;
}

.cs-image-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-mute);
  margin: 40px 0;
}

.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  margin-top: 60px;
}
.cs-stat-cell {
  padding: 48px 32px;
  border-right: 1px solid var(--line);
}
.cs-stat-cell:last-child { border-right: none; }
.cs-stat-cell .num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.cs-stat-cell .label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 8px;
}
.cs-stat-cell p {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
}

.cs-cta {
  padding: 80px 0;
  text-align: center;
}
.cs-cta h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  line-height: 1.1;
}
.cs-cta h2 em { font-style: italic; color: var(--accent); }
.cs-cta a {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text);
  padding: 18px 36px;
  text-decoration: none;
  margin-top: 16px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.cs-cta a:hover { background: var(--accent); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .container, .container-narrow { padding: 0 24px; }
  .hero { padding: 70px 0 50px; }
  .hero h1 { font-size: 48px; }
  section { padding: 80px 0; }
  .about-grid, .work-header, .walkthrough-header, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { position: static; aspect-ratio: 1; }
  .case-study, .case-study:nth-child(even) { grid-template-columns: 1fr; gap: 32px; }
  .case-study:nth-child(even) .case-thumb,
  .case-study:nth-child(even) .case-content { order: initial; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .case-content h3 { font-size: 28px; }
  .walkthrough-step { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .step-num { font-size: 48px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-stat-cell { border-right: none; border-bottom: 1px solid var(--line); }
  footer .container { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .cs-meta { grid-template-columns: 1fr; }
}
