/* Carolina Conte — editorial exploration
   A visual layer over styles.css. All existing assets and logo are unchanged. */
:root {
  --paper: #f0ede6;
  --paper-2: #fbfaf6;
  --charcoal: #242321;
  --ink: #242321;
  --white: #faf8f3;
  --accent: #d65d43;
  --line: rgba(36, 35, 33, .17);
  --radius: 6px;
}
body { background: #eeebe4; }
html { scroll-padding-top: 94px; }
.shell { width: min(1360px, calc(100% - 56px)); }
.site-header {
  top: 10px;
  width: min(1360px, calc(100% - 56px));
  height: 70px;
  margin: 10px auto 16px;
  border-radius: 5px;
  padding: 0 34px;
  color: var(--ink);
  background: rgba(250, 248, 243, .94);
  border: 1px solid rgba(36,35,33,.09);
  box-shadow: 0 8px 40px rgba(32,29,23,.055);
}
.brand { font-size: 13px; letter-spacing: .04em; }
.nav { gap: clamp(16px, 2.3vw, 36px); font-size: 11px; }
.nav a { opacity: .7; transition: opacity .2s ease; }
.nav a:hover { opacity: 1; }
.menu-toggle span { background: var(--ink); }

/* CINEMATIC HERO — the original video and logo remain in place */
.hero {
  min-height: min(790px, 88svh);
  border-radius: 5px;
  padding: 110px clamp(30px, 5vw, 88px) 0;
}
.hero-copy { max-width: 730px; padding-bottom: 108px; }
.hero-logo-stage { width: min(640px, 64vw); margin-top: 22px; }
.hero-headline {
  font-size: clamp(26px, 2.9vw, 42px);
  letter-spacing: -.035em;
  line-height: 1.16;
  max-width: 680px;
  margin-top: 24px;
}
.hero-text { max-width: 510px; font-size: 14px; line-height: 1.75; }
.hero-actions { margin-top: 25px; }
.hero-actions .button { min-height: 50px; border-radius: 3px; transition: transform .2s ease, background .2s ease; }
.hero-actions .button:hover { transform: translateY(-3px); }
.button-dark { background: var(--white); color: var(--ink); }
.button-light { background: rgba(255,255,255,.08); }
.hero-video, .hero-video-still { object-position: 65% center; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(19,18,17,.83) 0%, rgba(19,18,17,.54) 38%, rgba(19,18,17,.10) 78%),
    linear-gradient(0deg, rgba(19,18,17,.92) 0%, rgba(19,18,17,.06) 57%);
}
.hero-play { right: clamp(32px, 5vw, 82px); bottom: 114px; }
.hero-play-icon { width: 74px; height: 74px; background: var(--white); color: var(--ink); }
.trust-strip { background: rgba(24,23,22,.8); min-height: 62px; gap: 22px; }
.trust-logos i { font-size: 11px; }

/* Heading language: spacious, expressive, less boxed-in */
.portfolio, .gallery, .brand-work, .journal, .certifications, .editorial-approach {
  margin-top: 16px;
  border-radius: 5px;
  padding: clamp(36px, 6vw, 90px);
}
.section-heading { margin-bottom: 42px; gap: 28px; align-items: end; }
.section-heading h2 { font-size: clamp(54px, 7.4vw, 112px); line-height: .92; letter-spacing: -.06em; }
.section-heading > p { max-width: 345px; font-size: 13px; line-height: 1.7; color: rgba(36,35,33,.68); }
.section-kicker { letter-spacing: .11em; font-size: 10px; opacity: .75; margin-bottom: 22px; }
.section-kicker::before { content: "✳ "; color: var(--accent); }
.portfolio { background: var(--paper-2); }

/* Selected work: use existing real interface images, not empty mock labels */
.project-spotlight { min-height: clamp(420px, 48vw, 620px); margin-bottom: 0; border-radius: 4px; }
.spotlight-side { border-radius: 4px; box-shadow: 0 26px 60px rgba(0,0,0,.35); }
.editorial-spotlight-note {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 19px 0 42px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}
.editorial-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: normal;
}
.editorial-spotlight-note > span:last-child { opacity: .68; }
.video-grid.editorial-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 56px 20px;
  padding-top: 38px;
}
.editorial-project-grid .editorial-project-card {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  overflow: visible;
  box-shadow: none;
  transition: none;
}
.editorial-project-grid .editorial-project-card.is-active { border: 0; box-shadow: none; }
.editorial-project-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 3px;
  background: #e5e0d7;
}
.editorial-project-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
}
.editorial-project-card:hover .editorial-project-image img { transform: scale(1.035); }
.editorial-project-info { position: relative; padding: 20px 40px 0 0; }
.editorial-project-info .editorial-index { color: var(--accent); }
.editorial-project-info h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-size: clamp(25px, 2.4vw, 36px);
  margin: 10px 0 8px;
}
.editorial-project-info p { font-size: 13px; margin: 0; opacity: .67; line-height: 1.55; }
.editorial-project-arrow {
  position: absolute;
  right: 0;
  top: 44px;
  font-size: 24px;
  transition: transform .2s ease;
}
.editorial-project-card:hover .editorial-project-arrow { transform: translate(3px, -3px); }
.editorial-project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.spotlight-side-content img {
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* An image-rich break, with the original interface assets */
.gallery { background: var(--charcoal); }
.gallery .section-heading > p { color: rgba(255,255,255,.65); }
.gallery .section-heading h2 { font-size: clamp(50px, 6.8vw, 96px); }
.masonry { gap: 12px; grid-auto-rows: clamp(145px, 14vw, 210px); }
.masonry .tile { border-radius: 4px; }
.brand-work { background: #e9e5dc; }
.brand-work .section-heading h2 { font-size: clamp(55px, 7vw, 105px); }
.brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 18px; }
.brand-mark { border-radius: 3px; aspect-ratio: 5 / 4; background: var(--paper-2); }
.brand-card h3 { font-family: "Fraunces", serif; font-size: 24px; letter-spacing: -.02em; }
.brand-tags span { border-radius: 2px; font-size: 9px; padding: 5px 8px; }
.brand-card:hover .brand-mark { box-shadow: 0 15px 35px rgba(0,0,0,.11); }

/* A proper editorial about story, using the original portrait */
.split-grid { margin-top: 16px; }
.about {
  min-height: 650px;
  grid-template-columns: 1.05fr .95fr;
  padding: clamp(36px, 6vw, 90px);
  gap: clamp(28px, 5vw, 78px);
  border-radius: 5px;
  background: #f6f3ed;
}
.about h2 { font-size: clamp(60px, 7vw, 108px); line-height: .9; letter-spacing: -.05em; margin-bottom: 42px; }
.about p:not(.section-kicker) { font-size: 15px; line-height: 1.78; max-width: 560px; }
.about-portrait { border-radius: 2px; border: 0; }
.about-portrait img { height: auto; }
.cv-link { margin-top: 30px; padding-bottom: 9px; }

/* What I do: three pillars instead of six panels + a tools wall */
.editorial-approach { background: var(--paper-2); }
.editorial-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.editorial-pillar {
  min-height: 300px;
  padding: 28px 30px 40px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.editorial-pillar + .editorial-pillar { border-left: 1px solid var(--line); padding-left: 30px; }
.editorial-pillar .editorial-index { color: var(--accent); }
.editorial-pillar h3 {
  font-family: "Fraunces", serif;
  font-size: clamp(27px, 2.7vw, 42px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -.03em;
  margin: 64px 0 16px;
}
.editorial-pillar p { max-width: 340px; font-size: 13px; line-height: 1.7; opacity: .75; margin: 0; }
.editorial-toolbelt { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 30px; padding-top: 28px; align-items: baseline; }
.editorial-toolbelt .editorial-index { color: var(--accent); }
.editorial-toolbelt p { margin: 0; font-family: "JetBrains Mono", monospace; font-size: 12px; line-height: 2; }
.editorial-toolbelt p span { color: var(--accent); margin: 0 7px; }

/* Writing + credentials stay available, but they don't overwhelm the work */
.journal { background: #e9e5dc; }
.journal-card { border-radius: 3px; }
.certifications {
  background: var(--paper-2);
  color: var(--ink);
}
.certifications .section-heading,
.certifications .section-heading h2,
.certifications .section-heading > p,
.certifications .editorial-credentials summary,
.certifications .cert-card,
.certifications .cert-card h3,
.certifications .cert-card p,
.certifications .cert-list,
.certifications .cert-meta {
  color: var(--ink);
}
.certifications .cert-card {
  background: rgba(36,35,33,.035);
  border-color: rgba(36,35,33,.15);
}
.certifications .cert-issuer { color: #a44833; }
.certifications .section-heading { margin-bottom: 28px; }
.editorial-credentials { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.editorial-credentials summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: "Fraunces", serif; font-size: clamp(20px, 2.1vw, 27px);
}
.editorial-credentials summary::-webkit-details-marker { display: none; }
.editorial-credentials summary span { font-size: 24px; transition: transform .2s ease; }
.editorial-credentials[open] summary span { transform: rotate(45deg); }
.editorial-credentials .cert-grid { padding: 0 0 28px; }
.contact { margin-top: 16px; border-radius: 5px; min-height: 600px; }
.site-footer { padding: 30px 6px 45px; }


/* Calendly — a direct booking experience, not a contact form */
.booking {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 84px);
  margin-top: 16px;
  padding: clamp(36px, 5.5vw, 82px);
  border-radius: 5px;
  background: var(--paper-2);
  align-items: start;
}
.booking-copy {
  min-width: 0;
  padding: clamp(12px, 2vw, 35px) 0 0;
  position: sticky;
  top: 114px;
}
.booking h2 {
  font-size: clamp(50px, 5.5vw, 84px);
  letter-spacing: -.055em;
  line-height: .96;
  margin-bottom: 32px;
}
.booking-description {
  margin: 0;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  opacity: .78;
  max-width: 380px;
}
.booking-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.booking-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: .04em;
  opacity: .75;
}
.booking-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease;
}
.booking-link:hover, .booking-fallback a:hover { color: var(--accent); }
.booking-link span { font-size: 20px; }
.booking-calendar {
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(36,35,33,.11);
  border-radius: 5px;
  box-shadow: 0 18px 56px rgba(34,31,26,.06);
  overflow: hidden;
}
.booking-calendar-top {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(36,35,33,.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: .075em;
}
.booking-live { display: inline-flex; align-items: center; gap: 8px; color: #53685d; white-space: nowrap; }
.booking-live i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3e9863;
}
.booking .calendly-inline-widget { width: 100%; min-width: 0; }
.booking-fallback {
  margin: 0;
  padding: 14px 22px 19px;
  border-top: 1px solid rgba(36,35,33,.08);
  color: rgba(36,35,33,.65);
  font-size: 12px;
  line-height: 1.5;
}
.booking-fallback a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .booking { grid-template-columns: minmax(0,1fr); padding: 48px 32px; gap: 34px; }
  .booking-copy { position: static; padding: 0; }
  .booking h2 { font-size: clamp(52px, 8vw, 74px); }
  .booking-next { margin-top: 25px; }
  .booking-link { margin-top: 22px; }
}
@media (max-width: 560px) {
  .booking { padding: 36px 16px; gap: 26px; }
  .booking h2 { font-size: clamp(46px, 12vw, 58px); margin-bottom: 20px; }
  .booking-description { font-size: 13px; }
  .booking-next { gap: 12px; }
  .booking-index { font-size: 9px; }
  .booking-calendar-top { padding: 13px 12px; font-size: 8px; letter-spacing: 0; }
  .booking-fallback { padding-inline: 12px; }
  .booking .calendly-inline-widget { height: 760px !important; }
}

/* Tablet */
@media (max-width: 900px) {
  .shell, .site-header { width: min(100% - 30px, 1360px); }
  .site-header { padding: 0 22px; }
  .nav { background: #faf8f3; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .hero { min-height: 760px; padding: 65px 38px 0; }
  .hero-logo-stage { width: min(540px, 76vw); }
  .hero-play { right: 38px; bottom: 104px; }
  .portfolio, .gallery, .brand-work, .journal, .certifications, .editorial-approach { padding: 48px 32px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about { min-height: 0; grid-template-columns: 1fr; padding: 52px 36px; }
  .about-portrait img { height: auto; max-height: 660px; object-fit: contain; }
  .editorial-pillars { grid-template-columns: 1fr; }
  .editorial-pillar { min-height: 0; padding: 24px 0 30px; }
  .editorial-pillar + .editorial-pillar { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .editorial-pillar h3 { margin: 24px 0 10px; }
  .editorial-toolbelt { grid-template-columns: 1fr; gap: 10px; }
}
/* Phone: intentional single column, retaining existing mobile-specific poster */
@media (max-width: 560px) {
  .shell, .site-header { width: calc(100% - 18px); }
  .site-header { height: 60px; padding: 0 16px; }
  .brand { font-size: 11px; }
  .nav { top: 67px; }
  .hero { min-height: 740px; padding: 0 18px; }
  .hero-copy { padding-bottom: 26px; }
  .hero-logo-stage { width: min(220px, 59vw); }
  .hero-headline { font-size: 22px; margin-top: 14px; line-height: 1.18; }
  .hero-video { object-position: 50% center; }
  .hero-video-still { object-position: right center; }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(17,16,15,.94) 0%, rgba(17,16,15,.45) 48%, rgba(17,16,15,.1) 100%);
  }
  .hero-play { top: 38px; right: 18px; bottom: auto; }
  .hero-play-icon { width: 54px; height: 54px; }
  .hero-actions .button { min-height: 48px; font-size: 11px; padding: 0 10px; }
  .trust-strip { padding: 12px 14px; }
  .trust-logos { flex-wrap: wrap; justify-content: center; gap: 9px 16px; }
  .trust-logos i { font-size: 10px; }
  .portfolio, .gallery, .brand-work, .journal, .certifications, .editorial-approach { padding: 36px 22px; }
  .section-heading { gap: 14px; margin-bottom: 24px; }
  .section-heading h2, .brand-work .section-heading h2, .gallery .section-heading h2 { font-size: clamp(44px, 11vw, 64px); }
  .section-heading > p { font-size: 12px; }
  .project-spotlight { min-height: 340px; }
  .spotlight-side { width: min(136px, 35vw); }
  .editorial-spotlight-note { display: block; padding: 18px 0 24px; font-size: 12px; }
  .editorial-spotlight-note > span { display: block; }
  .editorial-spotlight-note > span:last-child { margin-top: 8px; }
  .video-grid.editorial-project-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
  .editorial-project-image { aspect-ratio: 4 / 3; }
  .editorial-project-info { padding-top: 14px; }
  .editorial-project-info h3 { font-size: 27px; }
  .editorial-project-arrow { top: 32px; }
  .masonry { gap: 8px; grid-auto-rows: 145px; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .brand-card h3 { font-size: 18px; }
  .brand-tags span { font-size: 8px; padding: 5px; }
  .about { padding: 40px 24px; }
  .about h2 { font-size: 60px; margin-bottom: 30px; }
  .about p:not(.section-kicker) { font-size: 13px; }
  .editorial-pillar h3 { font-size: 32px; }
  .editorial-toolbelt p { font-size: 11px; line-height: 2; }
  .certifications .section-heading h2 { font-size: 52px; }
  .editorial-credentials summary { font-size: 19px; }
  .contact { padding: 40px 24px; }
  .site-footer { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-project-image img, .hero-actions .button, .editorial-project-arrow { transition: none; }
}

/* Mobile-first refinement: more breathing room, no overlapping spotlight mockups. */
@media (max-width: 560px) {
  .hero {
    min-height: clamp(665px, 94svh, 775px);
    padding-inline: 20px;
  }
  .hero-copy { padding-bottom: 26px; max-width: 100%; }
  .hero-logo-stage { width: min(232px, 62vw); }
  .hero-headline {
    max-width: 330px;
    font-size: clamp(23px, 6.2vw, 28px);
    line-height: 1.22;
    margin: 17px auto 0;
  }
  .hero-open { max-width: 320px; font-size: 10px; line-height: 1.55; margin-top: 14px; }
  .hero-actions { margin-top: 19px; gap: 8px; }
  .hero-actions .button { min-height: 46px; line-height: 1.3; }
  .hero-play { top: 25px; right: 20px; }
  .hero-play-icon { width: 50px; height: 50px; }

  .project-spotlight {
    min-height: clamp(300px, 83vw, 390px);
    border-radius: 3px;
  }
  .project-spotlight .spotlight-side { display: none; }
  .project-spotlight .spotlight-scrim {
    background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,.3) 100%);
  }
  .video-grid.editorial-project-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    margin-inline: -22px;
    padding: 24px 22px 26px;
  }
  .video-grid.editorial-project-grid::-webkit-scrollbar { display: none; }
  .editorial-project-grid .editorial-project-card {
    flex: 0 0 min(72vw, 320px);
    scroll-snap-align: start;
    min-width: 0;
  }
  .editorial-project-image { aspect-ratio: 4 / 3; }
  .editorial-project-info h3 { font-size: 25px; }
  .editorial-project-info p { font-size: 12px; }
  .editorial-spotlight-note { padding-bottom: 15px; }

  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(145px, 44vw, 205px); gap: 8px; }
  .masonry .tile:nth-child(2),
  .masonry .tile:nth-child(5) { grid-row: auto; }
  .masonry .tile { min-width: 0; }
  .masonry .tile-form { grid-column: 1 / -1; }
  .tile-gallery .tile-label, .tile-video .tile-label {
    font-size: 9px;
    text-align: left;
    margin: 7px;
    padding: 5px 7px;
  }
  .brand-grid { gap: 21px 12px; }
  .brand-mark { aspect-ratio: 1 / 1; }
  .brand-card { gap: 8px; }
  .brand-card h3 { font-size: clamp(16px, 4.6vw, 20px); line-height: 1.2; }
  .brand-tags { display: none; }
  .about { padding: 36px 22px; }
  .about-portrait img { max-height: none; }
  .editorial-pillars { border-top: 1px solid var(--ink); }
  .editorial-pillar { padding-block: 24px; }
  .editorial-toolbelt p { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .hero { padding-inline: 15px; }
  .hero-actions .button { font-size: 10px; padding-inline: 7px; }
  .editorial-project-grid .editorial-project-card { flex-basis: 77vw; }
  .brand-grid { gap: 18px 10px; }
  .brand-card h3 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video-grid.editorial-project-grid { scroll-behavior: auto; }
}

.editorial-mobile-hint { display: none; }
@media (max-width: 560px) {
  .editorial-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: .04em;
    margin: 15px 0 -12px;
    color: rgba(36,35,33,.7);
  }
  .editorial-mobile-hint span { font-size: 19px; color: var(--accent); }
}

/* Original brand signature in the free lower-right slot of Interfaces. */
.gallery .masonry .tile-logo {
  grid-column: 4;
  grid-row: 3;
  position: relative;
  overflow: hidden;
  padding: 18px;
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery .masonry .tile-logo img {
  display: block;
  width: min(100%, 230px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: none; /* Preserve the logo's original colors */
  background: transparent;
}
@media (max-width: 900px) {
  .gallery .masonry .tile-logo {
    grid-column: 2;
    grid-row: auto;
  }
}
@media (max-width: 560px) {
  .gallery .masonry .tile-logo { padding: 12px; }
  .gallery .masonry .tile-logo img { width: 100%; }
}

/* Dedicated project stories — clickable work and related gallery links. */
.brand-card { position: relative; }
.brand-card::after {
  content: "Read case study ↗";
  display: inline-flex;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .015em;
  margin-top: 1px;
}
.brand-card:hover::after { text-decoration: underline; text-underline-offset: 4px; }
.gallery-case-link {
  display: inline-flex;
  margin: 5px 0 0;
  width: fit-content;
  padding: 14px 19px;
  background: #faf8f3;
  color: #242321;
  border-radius: 3px;
  font: 500 12px "JetBrains Mono", monospace;
  text-decoration: none;
}
.gallery-case-link:hover { background: #e7e2d7; }
@media (max-width: 560px) {
  .brand-card::after { font-size: 9px; }
  .gallery-case-link { width: 100%; justify-content: center; }
}

/* Websites — editorial reel, portrait-only moving web previews */
.project-spotlight--websites{min-height:clamp(540px,53vw,760px);background:#141917;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;padding:clamp(28px,5vw,74px);gap:18px;isolation:isolate}
.project-spotlight--websites .spotlight-scrim{background:linear-gradient(90deg,rgba(10,15,13,.87) 0%,rgba(10,15,13,.69) 40%,rgba(10,15,13,.4) 100%);z-index:1}
.project-spotlight--websites .spotlight-story{position:relative;z-index:3;max-width:430px;color:#fff}
.spotlight-eyebrow{font:500 10px "JetBrains Mono",monospace;letter-spacing:.13em;color:#e1c7b9;margin:0 0 22px}
.spotlight-story h3{font:400 clamp(70px,8vw,125px)/.85 "Fraunces",Georgia,serif;letter-spacing:-.07em;margin:0 0 30px;color:#fff}
.spotlight-story h3 span{color:#ff7255}
.spotlight-description{font:400 clamp(14px,1.3vw,17px)/1.7 Inter,sans-serif;color:rgba(255,255,255,.84);margin:0;max-width:345px}
.project-spotlight--websites .spotlight-web-screens{position:relative;z-index:2;height:100%;min-height:440px;display:flex;align-items:center;justify-content:flex-end;gap:0;padding:18px 4px 18px 0}
.project-spotlight--websites .spotlight-side{position:relative;top:auto;left:auto;right:auto;transform:none;flex:none;width:clamp(165px,19vw,240px);aspect-ratio:9/16;border:1px solid rgba(255,255,255,.38);border-radius:12px;background:#101511;box-shadow:0 28px 70px rgba(0,0,0,.45);overflow:hidden}
.project-spotlight--websites .spotlight-side-right{transform:translate(0,22px) rotate(4deg)}
.project-spotlight--websites .spotlight-side .browser-bar{height:22px;flex:none}
.project-spotlight--websites .spotlight-website-video{display:block;width:100%;height:calc(100% - 22px);object-fit:cover;object-position:center top;background:#131c19}
@media(max-width:900px){.project-spotlight--websites{min-height:560px;grid-template-columns:.88fr 1.12fr;padding:30px 26px}.project-spotlight--websites .spotlight-web-screens{min-height:420px}.project-spotlight--websites .spotlight-side{width:clamp(150px,22vw,205px)}.spotlight-story h3{font-size:clamp(60px,8vw,95px)}}
@media(max-width:560px){
.project-spotlight--websites{min-height:680px;display:flex;flex-direction:column;justify-content:space-between;gap:0;padding:32px 22px 18px}
.project-spotlight--websites .spotlight-scrim{background:linear-gradient(180deg,rgba(10,15,13,.8),rgba(10,15,13,.44) 65%,rgba(10,15,13,.7))}
.project-spotlight--websites .spotlight-story{width:100%;flex:none}
.spotlight-eyebrow{font-size:9px;margin-bottom:14px}
.spotlight-story h3{font-size:clamp(59px,17vw,88px);margin-bottom:15px}
.spotlight-description{font-size:12px;line-height:1.55;max-width:310px}
.project-spotlight--websites .spotlight-web-screens{min-height:0;height:auto;flex:1;width:100%;max-height:425px;padding:12px 12px 8px 0;justify-content:flex-end;gap:0}
.project-spotlight--websites .spotlight-side{display:flex;width:min(44%,174px);aspect-ratio:9/16;max-height:345px}
.project-spotlight--websites .spotlight-side-right{transform:translateY(10px) rotate(4deg)}
.project-spotlight--websites .spotlight-side .browser-bar{height:18px}
.project-spotlight--websites .spotlight-website-video{height:calc(100% - 18px)}
}
@media(prefers-reduced-motion:reduce){.project-spotlight--websites .spotlight-side{transform:none}}

/* Three featured projects, balanced across desktop and tablet. */
@media(min-width:901px){.video-grid.editorial-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
@media(min-width:561px) and (max-width:900px){.video-grid.editorial-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-grid.editorial-project-grid>.editorial-project-card:last-child{grid-column:1/-1;max-width:650px}}

/* The Market Open Media project tile displays the actual website screenshot. */
.editorial-project-grid .market-open-media-card .editorial-project-image{background:#040c1b}
.editorial-project-grid .market-open-media-card .editorial-project-image img{object-fit:contain;object-position:center center}

/* Authentic Market Open Media website screenshot — show the complete design. */
.editorial-project-grid .market-open-media-card .editorial-project-image{background:#040c1b}
.editorial-project-grid .market-open-media-card .editorial-project-image img{object-fit:contain;object-position:center center}


/* Responsive section headers: keep title blocks anchored to the left. */
@media (max-width: 900px) {
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .section-heading > div {
    align-self: stretch;
    width: 100%;
    min-width: 0;
    margin-inline: 0;
  }
  .section-heading .section-kicker,
  .section-heading h2,
  .section-heading > p {
    text-align: left;
  }
}
@media (max-width: 560px) {
  .editorial-approach .section-heading,
  .editorial-approach .section-heading > div,
  .editorial-approach .section-heading h2,
  .editorial-approach .section-heading > p {
    align-self: flex-start;
    text-align: left;
    margin-left: 0;
  }
  .editorial-approach .section-heading > div {
    width: 100%;
  }
}


/* Archive gateway at the end of Selected Work. */
.case-index-cta{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  padding:29px 0 0;
  margin-top:44px;
  border-top:1px solid var(--line);
}
.case-index-cta .editorial-index{color:var(--accent)}
.case-index-cta p{
  max-width:485px;
  font:400 clamp(21px,2.2vw,29px)/1.3 Fraunces,Georgia,serif;
  letter-spacing:-.027em;
  margin:13px 0 0;
}
.case-index-cta a{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-width:265px;
  padding:18px 20px;
  background:var(--ink);
  color:#faf8f3;
  font:500 11px "JetBrains Mono",monospace;
  letter-spacing:.035em;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s;
}
.case-index-cta a:hover{background:#af4937}
.case-index-cta a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:650px){
  .case-index-cta{display:block;margin-top:31px;padding-top:25px}
  .case-index-cta p{font-size:25px}
  .case-index-cta a{width:100%;margin-top:22px}
}
@media(prefers-reduced-motion:reduce){.case-index-cta a{transition:none}}
