@font-face {
  font-family: 'Aujournuit';
  src: url('aujournuit-main/fonts/Aujournuit-Regular.woff2') format('woff2'),
       url('aujournuit-main/fonts/Aujournuit-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --paper:     #f5f5f2;
  --ink:       #1a1a1a;
  --ink-soft:  rgba(26,26,26,0.45);
  --ink-faint: rgba(26,26,26,0.1);
  --teal:      #4ECDC4;
  --serif:     'Aujournuit', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; }

/* ══ NAV ══ */
.ed-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink-faint);
}
.ed-back {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.ed-back:hover { color: var(--ink); }
.ed-nav-name {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
}
.ed-nav-meta {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.ed-mast-title em { font-style: normal; color: inherit; }

/* ══ MASTHEAD ══ */
.ed-masthead { padding: 0 48px; }
.ed-mast-rule { height: 1px; background: var(--ink-faint); }
.ed-mast-content {
  display: flex;
  align-items: flex-start;
  padding: 28px 0 24px;
}
.ed-mast-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7.5vw, 110px);
  font-weight: 400;
  line-height: 0.88;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex: 1;
  -webkit-text-stroke: 0.001px transparent;
  font-synthesis: none;
}
.ed-mast-count {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-transform: uppercase;
  padding-top: 10px;
  flex-shrink: 0;
}

/* ══ HERO MOSAIC — full bleed ══ */
.ed-mosaic {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 20px;
  padding: 20px 48px;
  height: 65vh;
  min-height: 480px;
  border-top: 1px solid var(--ink-faint);
  overflow: hidden;
}
.ed-mosaic-main {
  position: relative;
  overflow: hidden;
}
.ed-mosaic-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}
.ed-mosaic-main:hover img { transform: scale(1.03); }
.ed-mosaic-side {
  position: relative;
  overflow: hidden;
}
.ed-mosaic-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ══ SHARED TYPE ══ */
.ed-num {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--teal);
  font-weight: 500;
}
.ed-cat {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 6px 0 14px;
}
.ed-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 0.92;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  -webkit-text-stroke: 0.001px transparent;
  font-synthesis: none;
}
.ed-headline em { font-style: normal; color: inherit; }
.ed-headline--wide { font-size: clamp(40px, 5vw, 68px); }
.ed-deck {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 380px;
  margin-bottom: 28px;
}

/* ══ BUTTONS ══ */
.ed-read-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 18px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26,26,26,0.3);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ed-read-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.ed-view-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 18px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26,26,26,0.3);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ed-view-link:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ══ 3-COL GRID — full bleed ══ */
.ed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}
.ed-card {
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}
.ed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.ed-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
  flex-shrink: 0;
}
.ed-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.ed-card:hover .ed-card-img { transform: scale(1.04); }
.ed-card-body {
  padding: 22px 28px 32px;
  border-top: 1px solid var(--ink-faint);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ed-card-meta {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.ed-card-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  -webkit-text-stroke: 0.001px transparent;
  font-synthesis: none;
}
.ed-card-desc {
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 18px;
  flex: 1;
}

/* ══ WIDE CARD — full bleed ══ */
.ed-wide {
  display: grid;
  grid-template-columns: 38% 62%;
  grid-template-rows: minmax(460px, auto);
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--ink-faint);
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}
.ed-wide-img-wrap {
  position: relative;
  overflow: hidden;
}
.ed-wide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}
.ed-wide:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.06); }
.ed-wide:hover .ed-wide-img { transform: scale(1.03); }
.ed-wide-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ══ SHARED PAGE CONTAINER ══ */
.cs-page { max-width: 780px; margin: 0 auto; padding: 0 48px 120px; }
@media (max-width: 768px) { .cs-page { padding: 0 20px 80px; } }

/* ══ INDEX WORK LIST ══ */
.pg-work-list { margin: 3rem 0 5rem; }
.pg-work-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ink-faint);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}
.pg-work-item:first-child { border-top: 1px solid var(--ink-faint); }
.pg-work-item:hover { opacity: 0.5; }
.pg-work-thumb {
  width: 88px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
  display: block;
}
.pg-work-name {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--ink);
  flex: 1;
  letter-spacing: -0.01em;
}
.pg-work-cat {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .pg-work-cat { display: none; }
  .pg-work-thumb { width: 64px; height: 48px; }
}

/* ══ CASE STUDY BULLET LIST ══ */
.cs-bullet-list {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  padding: 0;
}
.cs-bullet-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ink-faint);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
}
.cs-bullet-list li:first-child { border-top: 1px solid var(--ink-faint); }
.cs-bullet-list li::before { display: none; }

/* ══ CONTACT ══ */
.ed-contact {
  padding: 80px 48px 90px;
  border-top: 1px solid var(--ink-faint);
}
.ed-contact-inner { max-width: 680px; }
.ed-contact-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2rem;
}
.ed-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ed-contact-link {
  font-size: 1rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.ed-contact-link:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 768px) {
  .ed-contact { padding: 60px 24px 72px; }
}

/* ══ FOOTER ══ */
.ed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  font-size: 11px;
  color: var(--ink-soft);
  border-top: 1px solid var(--ink-faint);
}
.ed-footer-back { letter-spacing: 0.06em; transition: color 0.2s; }
.ed-footer-back:hover { color: var(--ink); }

/* ══ FULL-WIDTH IMAGE ══ */
.ed-fullwidth {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
}
.ed-fullwidth img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ══ BRANDING GRID ══ */
.ed-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
  padding: 20px;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
}
.ed-brand-img-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0ee;
  padding: 48px 40px;
  min-height: 400px;
}
.ed-brand-img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
}
.ed-brand-body {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  min-height: 400px;
}

/* ══ CS PANEL ══ */
.cs-panel {
  position: fixed; top: 0; right: 0;
  width: 100vw; height: 100vh;
  background: #f5f5f2 !important; z-index: 500;
  display: flex; flex-direction: column;
  overflow: hidden; transform: translateX(100%);
}
.cs-accent-bar { height: 3px; width: 100%; flex-shrink: 0; }
.cs-close {
  position: fixed; top: 32px; right: 40px;
  width: 48px; height: 48px;
  background: rgba(26,26,26,0.05); border: 1px solid rgba(26,26,26,0.15);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 600; transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.cs-close span { position: absolute; width: 16px; height: 1.5px; background: rgba(26,26,26,0.7); }
.cs-close span:first-child { transform: rotate(45deg); }
.cs-close span:last-child  { transform: rotate(-45deg); }
.cs-close:hover { border-color: rgba(26,26,26,0.4); background: rgba(26,26,26,0.08); transform: scale(1.08); }
.cs-layout { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.cs-body {
  width: 45%; flex-shrink: 0; height: 100%; overflow-y: scroll;
  overscroll-behavior: contain; padding: 80px 64px 100px 72px;
  scrollbar-width: thin; scrollbar-color: rgba(26,26,26,0.15) transparent;
}
.cs-body::-webkit-scrollbar { width: 4px; }
.cs-body::-webkit-scrollbar-thumb { background: rgba(26,26,26,0.15); border-radius: 2px; }
.cs-media { flex: 1; display: none; align-items: center; justify-content: center; padding: 40px 32px; background: rgba(26,26,26,0.03); border-left: 1px solid var(--ink-faint); }
.cs-media.visible { display: flex; }
.cs-head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.cs-num { font-family: var(--serif); font-size: 13px; color: rgba(26,26,26,0.45) !important; letter-spacing: 0.14em; }
.cs-cat { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26,26,26,0.45) !important; }
.cs-title { font-family: var(--serif); font-size: clamp(39px, 5.6vw, 70px); line-height: 0.92; color: #1a1a1a !important; letter-spacing: -0.02em; margin-bottom: 48px; font-weight: 400; -webkit-font-smoothing: antialiased; }
.cs-section { margin-bottom: 36px; }
.cs-label { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal) !important; margin-bottom: 12px; }
.cs-problem { font-size: 16px; line-height: 1.78; color: #1a1a1a !important; font-weight: 300; }
.cs-insight { border-left: 2px solid var(--teal); padding-left: 24px; margin: 36px 0; font-size: 18px; font-style: italic; color: #1a1a1a !important; line-height: 1.6; font-weight: 300; }
.cs-stat-block { margin: 44px 0 84px; }
.cs-stat { font-family: var(--serif); font-size: clamp(80px, 13vw, 130px); line-height: 1.1; color: #1a1a1a !important; }
.cs-stat-label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26,26,26,0.45) !important; margin-top: 10px; }
.cs-detail { font-size: 15px; line-height: 1.82; color: #1a1a1a !important; font-weight: 300; margin-bottom: 40px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chip { padding: 6px 15px; border: 1px solid rgba(26,26,26,0.1) !important; border-radius: 100px; font-size: 11px; color: rgba(26,26,26,0.45) !important; letter-spacing: 0.04em; }
.cs-site-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #1a1a1a !important; border-bottom: 1px solid rgba(26,26,26,0.1); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.cs-site-link:hover { color: var(--teal) !important; border-color: var(--teal); }
.cs-backdrop { position: fixed; inset: 0; background: rgba(245,245,242,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 499; pointer-events: none; }
.cs-phone-mockup { width: 260px; height: 548px; background: #0d0d0d; border-radius: 44px; border: 1.5px solid rgba(0,0,0,0.12); box-shadow: 0 40px 90px rgba(0,0,0,0.18); position: relative; overflow: hidden; }
.cs-phone-mockup::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; background: #000; border-radius: 20px; z-index: 10; }
.cs-phone-mockup.no-island::before { display: none; }
.cs-phone-screen { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.cs-phone-screen video,.cs-phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.cs-scroll-img { width: 100%; animation: cs-phone-scroll 9s ease-in-out infinite alternate; }
.cs-scroll-img img { width: 100%; height: auto; display: block; }
@keyframes cs-phone-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-32%); }
}
.cs-pixel-mockup { display: none; width: 248px; height: 540px; background: #111; border-radius: 36px; border: 1.5px solid rgba(0,0,0,0.12); box-shadow: 0 40px 90px rgba(0,0,0,0.18); position: relative; overflow: hidden; }
.cs-pixel-mockup.visible { display: block; }
.cs-pixel-mockup.white { background: #f8f8f8; border-color: rgba(0,0,0,0.08); }
.cs-pixel-mockup.white .cs-pixel-punch { background: #d8d8d8; }
.cs-pixel-punch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 11px; height: 11px; background: #000; border-radius: 50%; z-index: 10; }
.cs-pixel-screen { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.cs-pixel-screen video,.cs-pixel-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cs-polaroid-mockup { display: none; background: #f0ede8; padding: 14px 14px 60px; border-radius: 3px; box-shadow: 0 32px 72px rgba(0,0,0,0.18); transform: rotate(-2deg); width: 340px; }
.cs-polaroid-mockup.visible { display: block; }
.cs-polaroid-screen { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #111; }
.cs-polaroid-screen video,.cs-polaroid-screen img { width: 100%; height: 100%; object-fit: cover; }
.cs-fill-mockup { display: none; width: 100%; height: 100%; }
.cs-fill-mockup.visible { display: flex; align-items: center; justify-content: center; }
.cs-fill-screen { position: relative; width: 100%; height: 100%; }
.cs-fill-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cs-fill-mockup.rounded { padding: 32px; }
.cs-fill-mockup.rounded .cs-fill-screen { width: 80%; height: 80%; border-radius: 24px; overflow: hidden; }
.cs-fill-mockup.fit-contain { background: #ebebea; padding: 40px; }
.cs-fill-mockup.fit-contain .cs-fill-screen { display: flex; align-items: center; justify-content: center; }
.cs-fill-mockup.fit-contain .cs-fill-screen img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 32px 64px rgba(0,0,0,0.12)); }

/* ══ MANIFESTO ══ */
.ed-manifesto {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 20px;
  padding: 100px 48px 120px;
  border-top: 1px solid var(--ink-faint);
}
.ed-manifesto-left {
  padding-right: 40px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.ed-manifesto-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7.5vw, 110px);
  font-weight: 400;
  line-height: 0.88;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 16px;
  -webkit-text-stroke: 0.001px transparent;
  font-synthesis: none;
}
.ed-manifesto-title em { font-style: normal; color: inherit; }
.ed-manifesto-right { padding-top: 4px; }
.ed-manifesto-line {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-faint);
  cursor: default;
  transition: padding-left 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.ed-manifesto-line:first-child { border-top: 1px solid var(--ink-faint); }
.ed-manifesto-num {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 500;
  flex-shrink: 0;
  width: 22px;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
}
.ed-manifesto-text {
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 300;
  transition: color 0.3s ease, font-weight 0.15s;
}
.ed-manifesto-line--last .ed-manifesto-text {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 27px);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
}
/* hover delight */
.ed-manifesto-line:hover { padding-left: 10px; }
.ed-manifesto-line:hover .ed-manifesto-num { transform: scale(1.2); opacity: 1; }
.ed-manifesto-line:hover .ed-manifesto-text { color: var(--ink); font-weight: 400; }

/* ══ HAAN SPLIT ══ */
.ed-haan-split {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 620px;
  cursor: pointer;
}
.ed-hs-img {
  overflow: hidden;
  position: relative;
}
.ed-hs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.ed-haan-split:hover .ed-hs-img img {
  transform: scale(1.03);
}
.ed-hs-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  background: var(--paper);
}

/* ══ HAAN SPLIT — DARK ══ */
.ed-haan-split--dark { background: #0d0d0d; }
.ed-haan-split--dark .ed-hs-body { background: #0d0d0d; }
.ed-haan-split--dark .ed-cat { color: rgba(255,255,255,0.3); }
.ed-haan-split--dark .ed-headline { color: #fff; }
.ed-haan-split--dark .ed-headline em { font-style: normal; color: inherit; }
.ed-haan-split--dark .ed-deck { color: rgba(255,255,255,0.52); }
.ed-haan-split--dark .ed-read-btn {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.2);
}
.ed-haan-split--dark .ed-read-btn:hover {
  background: #fff;
  color: #0d0d0d;
  border-color: #fff;
}

/* ══ COLLAGE WALL ══ */
.ed-cwall {
  background: #0c0c0c;
  padding: 80px 48px 100px;
  overflow: hidden;
}
.ed-cwall-header {
  margin-bottom: 56px;
}
.ed-cwall-header .ed-num { color: rgba(255,255,255,0.25); }
.ed-cwall-header .ed-cat { color: rgba(255,255,255,0.3); }
.ed-cwall-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1.8vw, 20px);
  align-items: center;
  perspective: 900px;
  perspective-origin: center center;
}
.cw-item {
  margin: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: z-index 0s;
  isolation: isolate;
}
.cw-float {
  will-change: transform;
}
.cw-item img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.55));
  transition: filter 0.35s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none;
}

/* ── Lightbox ── */
#cw-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  cursor: zoom-out;
}
.cwl-inner {
  position: relative;
  max-width: min(680px, 88vw);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cwl-inner img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 32px 80px rgba(0,0,0,0.7));
}
.cwl-close {
  position: absolute;
  top: -44px;
  right: -4px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 8px;
}
.cwl-close:hover { color: #fff; }
.cw-item:hover { z-index: 10; }
.cw-item:hover img {
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.75)) brightness(1.06);
}

/* ══ PAINTINGS ══ */
.ed-paintings {
  padding: 80px 48px 80px;
  overflow: hidden;
  background: #0d0d0d;
}
.ed-paintings .ed-cat { color: rgba(255,255,255,0.6); }
.ed-paintings .ed-paintings-h { color: #ffffff; }
.ed-paintings .ed-paintings-h em { font-style: normal; color: inherit; }
.ed-paintings p { color: rgba(255,255,255,0.78); }
.ed-paintings-header {
  margin-bottom: 36px;
}
.ed-paintings-h {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 0.5rem;
  -webkit-text-stroke: 0.001px transparent;
  font-synthesis: none;
}
.ed-paintings-h em {
  font-style: italic;
  color: var(--ink-soft);
}
.ed-paintings-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
}
.ed-paint-item {
  overflow: hidden;
  border-radius: 2px;
  background: #161616;
  aspect-ratio: 4 / 5;
}
.ed-paint-item img,
.ed-paint-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ed-paint-item:hover img,
.ed-paint-item:hover video {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .ed-paintings { padding: 60px 0 0; }
  .ed-paintings-header { padding: 0 20px; }
  .ed-paintings-masonry { gap: 6px; padding: 0 6px; }
}

/* ══ ABOUT ══ */
.ed-about {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 20px;
  padding: 100px 48px 120px;
  border-top: 1px solid var(--ink-faint);
}
.ed-about-left {
  padding-right: 40px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.ed-about-title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 16px;
  -webkit-text-stroke: 0.001px transparent;
  font-synthesis: none;
}
.ed-about-title em { font-style: normal; color: inherit; }
.ed-about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}
.ed-about-bio {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.82;
  color: var(--ink-soft);
  font-weight: 300;
}
.ed-about-bio strong { color: var(--ink); font-weight: 500; }

/* ══ CLIENTS ══ */
.ed-clients {
  padding: 0 48px 100px;
}
.ed-clients-rule {
  height: 1px;
  background: var(--ink-faint);
}
.ed-clients-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 20px 0 28px;
}
.ed-clients-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.ed-clients-list li {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-faint);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  padding-right: 40px;
  cursor: default;
}
.ed-clients-list li:hover { color: var(--ink); }

/* ══ FEATURED CASE STUDY ══ */
.ed-feature {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 700px;
  border-top: 1px solid var(--ink-faint);
  border-bottom: 1px solid var(--ink-faint);
  cursor: pointer;
  overflow: hidden;
}
.ed-feat-body {
  padding: 100px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--ink-faint);
}
.ed-feat-phone-col {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ebebea;
  padding: 60px 40px;
  position: relative;
}
.ed-feat-phone-wrap {
  width: 270px;
  height: 540px;
  background: linear-gradient(175deg, #272729 0%, #111113 60%, #0a0a0c 100%);
  border-radius: 50px;
  outline: 1.5px solid rgba(0,0,0,0.18);
  outline-offset: -1px;
  box-shadow:
    0 60px 120px rgba(0,0,0,0.24),
    0 20px 48px rgba(0,0,0,0.14),
    inset 0 1.5px 0 rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
  transition: transform 0.7s cubic-bezier(0.23,1,0.32,1), box-shadow 0.7s ease;
}
.ed-feature:hover .ed-feat-phone-wrap {
  transform: translateY(-10px) rotate(-1.5deg);
  box-shadow:
    0 80px 140px rgba(0,0,0,0.3),
    0 28px 60px rgba(0,0,0,0.16),
    inset 0 1.5px 0 rgba(255,255,255,0.14);
}
.ed-feat-phone-screen {
  position: absolute;
  inset: 6px;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
}
.ed-feat-phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(148deg, rgba(255,255,255,0.06) 0%, transparent 40%);
  border-radius: 44px;
  z-index: 2;
  pointer-events: none;
}
.ed-feat-scroll-img {
  width: 100%;
  animation: feat-phone-scroll 9s ease-in-out infinite alternate;
}
.ed-feat-scroll-img img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes feat-phone-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-32%); }
}
.ed-feat-phone-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 100px;
  z-index: 3;
  pointer-events: none;
}
.ed-feat-phone-btn-r {
  position: absolute;
  right: -3.5px; top: 115px;
  width: 3.5px; height: 68px;
  background: #1c1c1e;
  border-radius: 0 3px 3px 0;
}
.ed-feat-phone-btn-s {
  position: absolute;
  left: -3.5px; top: 82px;
  width: 3.5px; height: 28px;
  background: #1c1c1e;
  border-radius: 3px 0 0 3px;
}
.ed-feat-phone-btn-vu {
  position: absolute;
  left: -3.5px; top: 126px;
  width: 3.5px; height: 52px;
  background: #1c1c1e;
  border-radius: 3px 0 0 3px;
}
.ed-feat-phone-btn-vd {
  position: absolute;
  left: -3.5px; top: 190px;
  width: 3.5px; height: 52px;
  background: #1c1c1e;
  border-radius: 3px 0 0 3px;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .ed-nav, .ed-masthead, .ed-footer { padding-left: 20px; padding-right: 20px; }
  .ed-mosaic { grid-template-columns: 1fr; height: auto; min-height: 0; padding: 12px; gap: 12px; }
  .ed-mosaic-main { height: 52vw; }
  .ed-mosaic-side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; height: 30vw; gap: 12px; }
  .ed-grid { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .ed-card-img-wrap { height: 220px; }
  .ed-wide { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; padding: 12px; }
  .ed-wide-img-wrap { height: 56vw; min-height: 240px; }
  .ed-wide-body { padding: 32px 24px; }
  .ed-fullwidth { height: 56vw; min-height: 240px; }
  .ed-feature { grid-template-columns: 1fr; min-height: auto; }
  .ed-feat-body { padding: 48px 24px; border-right: none; border-bottom: 1px solid var(--ink-faint); }
  .ed-feat-phone-col { padding: 48px 24px; min-height: 460px; }
  .ed-brand-grid { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .ed-brand-img-wrap { min-height: 280px; }
  .ed-brand-body { padding: 32px 24px; min-height: auto; }
  .cs-body { width: 100%; padding: 48px 24px 80px; }
  .cs-media { display: none !important; }
  .ed-manifesto { grid-template-columns: 1fr; padding: 60px 20px 80px; gap: 40px; }
  .ed-manifesto-left { position: static; padding-right: 0; }
  .ed-haan-split { grid-template-columns: 1fr; min-height: auto; }
  .ed-hs-img { height: 56vw; min-height: 280px; }
  .ed-hs-body { padding: 40px 24px; }
  .ed-cwall { padding: 60px 20px 80px; }
  .ed-cwall-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cw-item img { width: 90%; }
  .ed-about { grid-template-columns: 1fr; padding: 60px 20px 80px; gap: 40px; }
  .ed-about-left { position: static; padding-right: 0; }
  .ed-clients { padding: 0 20px 80px; }
  .ed-clients-list li { font-size: clamp(22px, 6vw, 36px); padding-right: 24px; }
  .ed-about-inline { grid-template-columns: 1fr !important; min-height: auto !important; }
  .ed-about-inline-photo { min-height: 80vw !important; }
  .ed-about-inline-text { padding: 48px 24px !important; }
}
