/* ── Variables ── */
:root {
  --ink: #0F0F0F;
  --bg: #F7F7F7;
  --bg-alt: #FFFFFF;
  --accent: #6B7B8D;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', Helvetica Neue, sans-serif;
}

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

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 0.95rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Navigation ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 4vw;
  border-bottom: 1px solid rgba(15,15,15,0.06);
}
.nav-logo {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--ink); }

/* ── Hero: side-by-side ── */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 4vw 6rem;
  min-height: 80vh;
}
.hero-greeting {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero h1 strong {
  font-weight: 600;
}
.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--accent);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  transition: opacity 0.3s;
}
.hero-cta:hover { opacity: 0.8; color: var(--bg); }
.hero-photo img {
  width: 100%;
  max-width: 260px;
  object-fit: contain;
  margin-left: auto;
}

/* ── Credibility Line (below hero CTA) ── */
.credibility-line {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 2rem;
  letter-spacing: 0.02em;
}

/* ── Personality Lines ── */
.personality-line {
  padding: 3.5rem 4vw;
  text-align: center;
}
.personality-line p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--accent);
  max-width: 680px;
  margin: 0 auto;
}

/* ── Section Utility ── */
.section { padding: 7rem 4vw; }
.section-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 700px;
}
.section-description {
  font-size: 0.95rem;
  color: var(--accent);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── Alternating Backgrounds ── */
.bg-light { background: var(--bg); }
.bg-white { background: var(--bg-alt); }

/* ── Process Flow ── */
.process-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
}
.process-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}
.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}
.process-number {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.process-step h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--accent);
  line-height: 1.6;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  opacity: 0.3;
}

/* ── Film Break: full-width row ── */
.film-break {
  padding: 0;
  width: 100%;
}
.film-break img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  object-position: top;
}

/* ── Capabilities ── */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.capabilities-grid.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}
.capability-card {
  border: 1px solid rgba(15,15,15,0.12);
  padding: 2.5rem;
  background: var(--bg);
}
.bg-white .capability-card { background: var(--bg-alt); }
.capability-number {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.capability-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
}
.capability-card p {
  font-size: 0.92rem;
  color: var(--accent);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.capability-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.capability-pill {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid rgba(15,15,15,0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

/* ── Case Study Cards (homepage) ── */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.case-card {
  border-top: 1px solid var(--ink);
  padding-top: 1.5rem;
}
.case-card-image {
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.case-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case-card:hover .case-card-image img {
  transform: scale(1.03);
}
.case-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.case-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.case-tags span,
.case-tag, .tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(107,123,141,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.tag { margin-right: 0.4rem; margin-bottom: 0.4rem; }
.case-card p {
  font-size: 0.88rem;
  color: var(--accent);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.case-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ── Brands ── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(15,15,15,0.08);
  margin-top: 2rem;
}
.brand-tile {
  background: var(--bg);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.bg-white .brand-tile { background: var(--bg-alt); }

/* ── About Teaser: photo LEFT, text RIGHT ── */
.about-teaser {
  padding: 7rem 4vw;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-teaser-image img {
  width: 100%;
  max-width: 300px;
  max-height: 380px;
  object-fit: cover;
}
.about-teaser-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.about-teaser-text p {
  font-size: 0.95rem;
  color: var(--accent);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.about-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ── CTA ── */
.cta { padding: 7rem 4vw; text-align: center; }
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta p {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-email {
  font-size: 1rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

/* ── Footer ── */
.footer {
  padding: 3rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(15,15,15,0.08);
  font-size: 0.75rem;
  color: var(--accent);
}

/* ══════════════════════════════════════
   Case Study Detail Pages — CENTERED
   ══════════════════════════════════════ */
.case-hero {
  padding: 6rem 4vw 2rem;
  max-width: 780px;
  margin: 0 auto;
}
.case-hero .case-tags { margin-bottom: 1.5rem; }
.case-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.case-hero .subtitle,
.case-hero .hero-subtitle {
  font-size: 1.05rem;
  color: var(--accent);
  line-height: 1.7;
  max-width: 560px;
}
.case-hero-image {
  margin-top: 2rem;
}
.case-hero-image img,
img.case-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.case-meta {
  display: flex;
  gap: 3rem;
  padding: 2rem 4vw 3rem;
  max-width: 780px;
  margin: 0 auto;
}
.case-meta .meta-item h3,
.case-meta .meta-item .meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.case-meta .meta-item p {
  font-size: 0.88rem;
  color: var(--ink);
}
.case-meta-item {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.case-body {
  padding: 0 4vw 4rem;
  max-width: 780px;
  margin: 0 auto;
}
.case-body h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 3rem 0 1rem;
}
.case-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}
.case-section { margin-bottom: 0; }
.case-photo { margin: 2.5rem 0; }
.case-photo img,
img.case-photo {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.case-outcome {
  padding: 4rem 4vw;
  border-top: 1px solid rgba(15,15,15,0.08);
  max-width: 780px;
  margin: 0 auto;
}
.case-outcome h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.case-outcome p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #333;
}
.case-outcomes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.case-outcomes li {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.case-outcomes li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--accent);
}
/* Takeaway — simple bordered card, NOT blockquote */
.case-takeaway {
  padding: 3rem 4vw 6rem;
  max-width: 780px;
  margin: 0 auto;
}
.takeaway-card {
  border: 1px solid rgba(15,15,15,0.1);
  padding: 2.5rem;
  background: var(--bg-alt);
}
.takeaway-card p.takeaway-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.takeaway-card p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}

/* ── About Full Page ── */
.about-hero {
  padding: 6rem 4vw 2rem;
  max-width: 780px;
}
.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.about-hero p,
.about-hero .subtitle {
  font-size: 1rem;
  color: var(--accent);
  line-height: 1.7;
  max-width: 560px;
}
.about-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding: 3rem 4vw 6rem;
}
.about-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
}
.about-sidebar img { width: 100%; object-fit: contain; }
.about-main h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
}
.about-main h2:first-child { margin-top: 0; }
.about-main p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}
.about-photo { margin: 2rem 0; }
.about-photo img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}
.about-section { margin-bottom: 2.5rem; }
.about-section:first-child h2 { margin-top: 0; }
.experience-timeline { margin-top: 1rem; }
.timeline-item { margin-bottom: 1.5rem; }
.timeline-item h3 { font-size: 0.95rem; font-weight: 400; }
.timeline-item p { font-size: 0.85rem; color: var(--accent); }
.about-main ul { list-style: none; padding: 0; }
.about-main ul li {
  font-size: 0.92rem;
  color: #333;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.experience-item, .education-item { margin-bottom: 1.5rem; }
.experience-item h3, .education-item h3 { font-size: 0.95rem; font-weight: 400; }
.experience-item span, .education-item span { font-size: 0.8rem; color: var(--accent); }
.experience-item p.role, .experience-item p.dates { font-size: 0.85rem; color: var(--accent); margin-bottom: 0.15rem; }
.experience-item p.dates { font-size: 0.8rem; }
.education-item p { font-size: 0.85rem; color: var(--accent); margin-bottom: 0; }
.experience-list, .education-list { margin-top: 1rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
  .capabilities-grid, .capabilities-grid.three-col { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .about-teaser { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .about-sidebar { position: static; max-width: 280px; }
  .process-flow { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); padding-top: 0; }
  .case-meta { flex-direction: column; gap: 0.5rem; }
  .film-break img { height: 30vh; }
}
