/* Anton (Open Font License), served with the site; used only for the homepage headline. */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
}

/* ---------- Reset & base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #fdfdfb;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 253, 251, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1), left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    right 0.8s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s ease, transform 0.5s ease, opacity 0.5s ease;
}

.site-header.is-scrolled {
  top: 16px;
  left: 20px;
  right: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-24px);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px clamp(24px, 5vw, 64px) 28px clamp(12px, 2vw, 32px);
  transition: padding 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled .header-inner {
  padding: 14px clamp(24px, 5vw, 64px) 14px clamp(12px, 2vw, 32px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 68px;
  width: auto;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled .logo img {
  height: 55px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: #555;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #1a1a1a;
}

/* ---------- Main sections ---------- */
main {
  padding: 80px 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero p {
  margin-top: 20px;
  font-size: 1.15rem;
  color: #444;
  max-width: 46ch;
}

.hero .actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
}

/* ---------- Dark theme (index, work, contact) ---------- */
.theme-dark {
  background: #000;
  color: #fff;
}

.landing-page main {
  padding: 0;
}

.landing-page.theme-dark,
.brands-page.theme-dark,
.about-page.theme-dark {
  background: #161616;
  color: #f2f0ec;
}

.landing-page .nav-links a,
.brands-page .nav-links a,
.about-page .nav-links a {
  color: rgba(242, 240, 236, 0.7);
}

.landing-page .nav-links a:hover,
.landing-page .nav-links a[aria-current="page"],
.brands-page .nav-links a:hover,
.brands-page .nav-links a[aria-current="page"],
.about-page .nav-links a:hover,
.about-page .nav-links a[aria-current="page"] {
  color: #f2f0ec;
}

.theme-dark .site-header {
  top: 24px;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-dark .nav-links {
  transform: translateY(-6px);
}

.theme-dark .site-header.is-scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  box-shadow: none;
}

.theme-dark .site-header.is-hidden {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(-100%);
  opacity: 1;
  pointer-events: none;
}

.theme-dark .header-inner,
.theme-dark .site-header.is-scrolled .header-inner {
  padding: 24px clamp(24px, 5vw, 64px);
}

.theme-dark .logo img,
.theme-dark .site-header.is-scrolled .logo img {
  height: 42px;
  transition: none;
}

.theme-dark .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}

.theme-dark .nav-links a:hover,
.theme-dark .nav-links a[aria-current="page"] {
  color: #fff;
}

/* ---------- Dark theme: shared components (work, contact) ---------- */
.theme-dark .work-card {
  color: #fff;
}

.theme-dark .work-card-image {
  background: #141414;
  border: none;
  border-radius: 0;
}

.theme-dark .work-card-image .work-card-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.theme-dark .work-card-text p {
  color: rgba(255, 255, 255, 0.7);
}

.theme-dark .rotating-text {
  color: rgba(255, 255, 255, 0.5);
}

.theme-dark .contact-text p {
  color: rgba(255, 255, 255, 0.75);
}

.theme-dark .contact-block a.email {
  border-bottom-color: #fff;
}

.theme-dark .contact-links {
  color: rgba(255, 255, 255, 0.7);
}

.theme-dark .about-content p {
  color: rgba(255, 255, 255, 0.75);
}

.theme-dark .faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.theme-dark .faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.theme-dark .faq-question {
  color: #fff;
}

.theme-dark .faq-icon::before,
.theme-dark .faq-icon::after {
  background: rgba(255, 255, 255, 0.6);
}

.theme-dark .faq-answer-inner p {
  color: rgba(255, 255, 255, 0.65);
}

.theme-dark .faq-answer-inner a {
  color: #fff;
}

.theme-dark .site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Landing: hero ---------- */
.landing-hero {
  min-height: 68vh;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(190px, 25vh, 270px) clamp(24px, 5vw, 64px) clamp(56px, 8vh, 96px);
}

.landing-hero h1 {
  font-family: "Anton", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(3rem, 11.4vw, 12.5rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0;
  text-transform: uppercase;
  /* Anton's letters have built-in space on the left; pull back so the first letter
     lines up with the subline below. */
  margin-left: -0.028em;
}

.landing-hero p {
  margin-top: 16px;
  /* Same colour as the Work / Brands / Me links, slightly larger. */
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.7);
  max-width: none;
  white-space: nowrap;
}

/* ---------- Landing: image grid ---------- */
.landing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: #161616;
}

.landing-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #232323;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}

.landing-more-link {
  display: flex;
  justify-content: center;
  padding: 48px 0;
}

.landing-more-link a {
  font-size: 0.95rem;
  color: #f2f0ec;
}

.landing-grid-item span {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
}

.landing-grid-item img,
.landing-grid-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-grid-item video {
  transform: scale(1.03);
}

/* ---------- Landing: footer ---------- */
.landing-page .site-footer,
.brands-page .site-footer,
.about-page .site-footer {
  padding: 80px 0 100px;
  background: #161616;
  color: rgba(242, 240, 236, 0.5);
}

.landing-page .footer-links a,
.brands-page .footer-links a,
.about-page .footer-links a {
  color: #f2f0ec;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.footer-links a {
  font-size: 0.95rem;
  color: #fff;
}

.footer-links a:hover {
  color: #fff;
}

/* "Email copied" confirmation: floats above the link so nothing shifts. */
a[href^="mailto:"] {
  position: relative;
}

a[href^="mailto:"].is-copied::after {
  content: "Email copied";
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 4px;
  background: #f2f0ec;
  color: #161616;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  animation: email-copied 2s ease forwards;
}

@keyframes email-copied {
  0% { opacity: 0; transform: translate(-50%, 4px); }
  12%, 80% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.fade-in-view {
  opacity: 0;
  transition: opacity 1.8s ease;
}

.fade-in-view.is-visible {
  opacity: 1;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-primary {
  background: #1a1a1a;
  color: #fdfdfb;
}

.btn-primary:hover {
  background: #333;
}

.btn-secondary {
  border: 1px solid #ccc;
  color: #1a1a1a;
}

.btn-secondary:hover {
  border-color: #1a1a1a;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

/* ---------- Work grid ---------- */
.work-wrap {
  max-width: 1600px;
}

/* Start the grid at the same height and left edge as the other pages. */
.work-page main {
  padding-top: clamp(136px, 20vh, 230px);
}

/* Some thumbnail videos have a hairline of black at their edges; a tiny zoom hides it (same as the homepage). */
.work-card-image video {
  transform: scale(1.03);
}

.work-page .work-wrap {
  padding: 0 clamp(24px, 5vw, 64px);
}

.work-page .work-grid {
  margin-top: 0;
}

/* Columns sit almost edge to edge like the homepage grid; roomier rows keep each caption with its image. */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2px;
  row-gap: 48px;
  margin-top: 48px;
}

.work-card {
  display: block;
  color: #000;
}

.work-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px solid #000;
  border-radius: 8px;
  overflow: hidden;
}

.work-card-image img,
.work-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card-image img {
  transition: transform 0.4s ease;
}

.work-card-image img.crop-left {
  object-position: 20% center;
}

.work-card-image img.crop-top {
  object-position: center 15%;
}

.work-card-image img.crop-zoom {
  transform: scale(1.18);
}

.work-card:hover .work-card-image img.crop-zoom {
  transform: scale(1.22);
}

.work-card-image video.fit-contain {
  object-fit: contain;
  background: #000;
}

.work-card:hover .work-card-image img {
  transform: scale(1.04);
}

/* Unreleased projects: thumbnail stays visible but the card doesn't open or react on hover. */
.work-card.is-coming-soon {
  cursor: default;
}

.work-card.is-coming-soon:hover .work-card-image img {
  transform: none;
}

.work-card.is-coming-soon:hover .work-card-image img.crop-zoom {
  transform: scale(1.18);
}

/* "Coming soon" message appears over the thumbnail only on hover. */
.coming-soon-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #f2f0ec;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.is-coming-soon:hover .coming-soon-label {
  opacity: 1;
}

.landing-grid-item.is-coming-soon {
  cursor: default;
}

.work-card-text {
  margin-top: 16px;
}

.work-card-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.work-card-text p {
  margin-top: 2px;
  font-size: 0.85rem;
  color: #888;
}

/* ---------- Brands grid ---------- */
.brands-wrap {
  max-width: 1600px;
  padding: 0 clamp(24px, 5vw, 64px);
}

.brands-wrap h2 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brands-page main {
  padding-top: clamp(152px, 24vh, 270px);
}

.brands-intro h1 {
  font-size: clamp(2rem, 5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f2f0ec;
}

.brands-intro p {
  margin-top: 16px;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.55);
  white-space: nowrap;
}

.brands-frame {
  --line: #4a4947;
  margin-top: 80px;
}

.brands-grid {
  --scale: 0.8;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 16px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-logo.is-top {
  border-top: 1px solid var(--line);
}

.brand-logo.is-left {
  border-left: 1px solid var(--line);
}

.brand-logo.is-tl {
  border-top-left-radius: 16px;
}

.brand-logo.is-tr {
  border-top-right-radius: 16px;
}

.brand-logo.is-bl {
  border-bottom-left-radius: 16px;
}

.brand-logo.is-br {
  border-bottom-right-radius: 16px;
}

.brand-logo img {
  display: block;
  width: calc(var(--w) * 1px * var(--scale));
  height: auto;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 1;
  transform: translate(calc(var(--dx, 0) * 1%), calc(var(--dy, 0) * 1%));
}

/* ---------- About page ---------- */
.about-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.about-page main {
  padding-top: clamp(120px, 25vh, 260px);
  padding-bottom: 96px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 40px;
  align-items: start;
}

.about-photo img {
  width: min(100%, 304px);
  aspect-ratio: 1118 / 1638;
  object-fit: cover;
  border-radius: 20px;
}

.about-text h1 {
  font-size: clamp(2rem, 5vw, 3.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f2f0ec;
  margin-bottom: 48px;
}

.about-content p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.2em;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* The title is set on two deliberate lines only where there is room for it. */
.about-title-break {
  display: none;
}

@media (min-width: 1200px) {
  .about-text h1 {
    font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  }

  .about-title-break {
    display: inline;
  }
}

.about-page .about-content p {
  color: rgba(242, 240, 236, 0.65);
  /* Comfortable reading length; the heading can still use the full column. */
  max-width: 70ch;
}

/* About page: big statement, short bio with portrait, then services. */
.about-wrap {
  max-width: 1600px;
}

.about-label {
  font-size: 0.85rem;
  color: rgba(242, 240, 236, 0.6);
  margin-bottom: clamp(16px, 2vw, 28px);
}

.about-lessons {
  font-size: clamp(2.5rem, 6.6vw, 6.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #f2f0ec;
}

.about-me {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(24px, 2.5vw, 36px) 0;
  border-top: 1px solid rgba(242, 240, 236, 0.25);
  border-bottom: 1px solid rgba(242, 240, 236, 0.25);
  display: grid;
  gap: 32px;
}

.about-me p {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.45;
  color: rgba(242, 240, 236, 0.75);
  max-width: 48ch;
}

/* Section labels match the bio text size. */
.about-label {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.45;
}

.about-me img {
  width: min(100%, 460px);
  height: auto;
  display: block;
}

.about-services {
  margin-top: clamp(56px, 7vw, 96px);
}

.about-list {
  list-style: none;
  font-size: clamp(2.1rem, 5.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #f2f0ec;
}

.about-list li::before {
  content: "→ ";
}

.about-list + .about-label {
  margin-top: clamp(56px, 7vw, 96px);
}

@media (min-width: 900px) {
  .about-me {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-left: clamp(24px, 4vw, 72px);
    padding-right: clamp(24px, 4vw, 72px);
  }

  .about-me img {
    justify-self: end;
    width: min(100%, 460px);
  }

  .about-services {
    padding-left: clamp(24px, 4vw, 72px);
  }
}

/* Text fades up gently as it scrolls into view (class added by main.js). */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 120px;
  max-width: 720px;
}

.faq-list {
  margin-top: 24px;
  border-top: 1px solid #e5e5e0;
}

.faq-item {
  border-bottom: 1px solid #e5e5e0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #888;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 16px;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding-bottom: 22px;
  color: #444;
  max-width: 60ch;
}

.faq-answer-inner a {
  color: #000;
  text-decoration: underline;
}

/* ---------- Case pages ---------- */
.case-wrap {
  max-width: 1200px;
}

.case-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

h2.case-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h2.case-title.big {
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.case-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.case-subtitle {
  font-size: 1.15rem;
  color: #666;
  max-width: 40ch;
}

.case-scope {
  list-style: none;
}

.case-scope li {
  font-size: 0.9rem;
  font-weight: 400;
  color: #888;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.case-scope li:first-child {
  padding-top: 0;
}

.case-video {
  margin: 56px auto 0;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}

.case-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.case-video.is-placeholder {
  border: 2px solid #000;
  border-radius: 8px;
}

.case-video-row {
  margin: 24px auto 0;
  max-width: 960px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.case-video-item {
  flex: 1 1 320px;
  max-width: 320px;
}

.case-video-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
}

.case-video-placeholder {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 2px solid #000;
  border-radius: 8px;
}

.case-video-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}

.case-video-grid {
  margin: 56px auto 0;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.case-video-embed {
  aspect-ratio: 16 / 9;
}

.case-video-embed iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.case-video-grid-item .case-video-caption {
  text-align: left;
}

.case-concept {
  margin-top: 56px;
}

.case-concept-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

.case-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.case-asset-grid {
  margin: 56px auto 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-asset-placeholder {
  aspect-ratio: 4 / 3;
  border: 2px solid #000;
  border-radius: 8px;
}

.case-asset-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.case-manifesto {
  position: relative;
  margin-top: 24px;
  max-width: 1200px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
}

.case-manifesto-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-manifesto-slide {
  flex: 0 0 100%;
  height: 100%;
}

.case-manifesto-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-manifesto-prev,
.case-manifesto-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(253, 253, 251, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #000;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.case-manifesto-prev:hover,
.case-manifesto-next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.case-manifesto-prev {
  left: 16px;
}

.case-manifesto-next {
  right: 16px;
}

.case-manifesto-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.case-manifesto-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.case-manifesto-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* ---------- Case pages: editorial (image-led case studies) ---------- */
.case-page.theme-dark {
  background: #161616;
  color: #f2f0ec;
}

.case-page .nav-links a {
  color: rgba(242, 240, 236, 0.7);
}

.case-page .nav-links a:hover,
.case-page .nav-links a[aria-current="page"] {
  color: #f2f0ec;
}

.case-page .site-footer {
  background: #161616;
  color: rgba(242, 240, 236, 0.5);
}

.case-page .footer-links a {
  color: #f2f0ec;
}

.case-page main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 176px 0 64px;
}

.case-editorial-intro {
  padding: 56px clamp(24px, 5vw, 64px) 40px;
  display: grid;
  gap: 24px;
}

.case-editorial-intro .case-title {
  color: #f2f0ec;
  line-height: 1.02;
  margin-bottom: 8px;
}

/* Smaller section headings within a case read better with a little more line spacing. */
.case-editorial-intro h2.case-title {
  line-height: 1.18;
}

.case-editorial-eyebrow {
  font-size: 1.05rem;
  color: rgba(242, 240, 236, 0.55);
}

.case-editorial-desc {
  font-size: 1.05rem;
  color: rgba(242, 240, 236, 0.65);
  line-height: 1.65;
  max-width: 60ch;
}

.case-editorial-grid {
  padding: 0 clamp(24px, 5vw, 64px);
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.case-editorial-grid img,
.case-editorial-grid video {
  width: 100%;
  height: auto;
  display: block;
}

.case-editorial-grid.cols-2 img,
.case-editorial-grid.cols-2 video,
.case-editorial-grid.cols-3 img,
.case-editorial-grid.cols-3 video {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.natural img,
.case-editorial-grid.natural video {
  aspect-ratio: auto;
  height: auto;
  object-fit: initial;
}

.case-editorial-grid.ooh-row img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.square-row img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.pair-lipstick img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.pair-packaging img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.crop-3x2 img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.crop-8x5 img {
  aspect-ratio: 8 / 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.crop-4x3 img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-editorial-grid.crop-16x9 img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.case-editorial-section {
  padding-left: clamp(24px, 5vw, 64px);
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
}

.case-editorial-section.align-grid {
  padding-right: clamp(24px, 5vw, 64px);
  gap: 16px;
}

.case-editorial-section img,
.case-editorial-section video {
  width: 100%;
  height: auto;
  display: block;
}

.case-editorial-section > div {
  padding: 32px clamp(24px, 5vw, 64px);
}

.case-editorial-section h2 {
  color: #f2f0ec;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.case-editorial-section p {
  font-size: 1.05rem;
  color: rgba(242, 240, 236, 0.65);
  line-height: 1.65;
  max-width: 60ch;
}

.case-dual-text {
  padding: 0 clamp(24px, 5vw, 64px);
  margin-top: 72px;
  margin-bottom: 72px;
  display: grid;
  gap: 40px;
}

.case-dual-text h2 {
  color: #f2f0ec;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.case-dual-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.65);
}

.case-editorial-section p + p {
  margin-top: 10px;
}

.case-editorial-grid.narrow {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.case-editorial-grid.centered-narrow {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.case-text-columns {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(24px, 5vw, 64px);
  margin-top: 64px;
  display: grid;
  gap: 32px;
}

.case-text-columns h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f2f0ec;
  margin-bottom: 8px;
}

.case-text-columns p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.65);
  margin-bottom: 14px;
}

.case-award {
  margin-top: 16px;
  padding: 48px clamp(24px, 5vw, 64px) 64px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.case-award img {
  width: 206px;
  height: auto;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
}

.case-editorial-stats {
  padding: 0 clamp(24px, 5vw, 64px);
  margin-top: 72px;
  margin-bottom: 72px;
  display: grid;
  gap: 24px;
}

.case-editorial-stats .stats-list {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: #f2f0ec;
}

.case-editorial-stats p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.65);
}

.case-editorial-centered {
  max-width: 780px;
  margin: 72px auto;
  padding: 0 clamp(24px, 5vw, 64px);
  text-align: center;
}

.case-editorial-centered h2 {
  color: #f2f0ec;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.case-editorial-centered p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.65);
}

.case-editorial-centered p + p {
  margin-top: 1.65em;
}

/* Credits line at the end of a case, aligned with the images above. */
.case-credits {
  padding: 0 clamp(24px, 5vw, 64px);
  margin-top: 48px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.65);
}

/* "Next project" link at the bottom of every case page. */
.next-project {
  margin-top: clamp(72px, 10vw, 128px);
  border-top: 1px solid rgba(242, 240, 236, 0.12);
}

.next-project a {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  color: #f2f0ec;
}

.next-project-label {
  display: block;
  font-size: 1.05rem;
  color: rgba(242, 240, 236, 0.55);
  margin-bottom: 8px;
}

.next-project-title {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.next-project-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.next-project a:hover .next-project-arrow,
.next-project a:focus-visible .next-project-arrow {
  transform: translateX(10px);
}

.next-project-meta {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  color: rgba(242, 240, 236, 0.55);
}

/* Hides a hairline at the top edge of an image that can't be re-cropped (e.g. an animated GIF). */
.case-editorial-grid img.trim-top {
  clip-path: inset(2px 0 0 0);
  margin-top: -2px;
}

/* White frame for tightly cropped images such as press screenshots. */
.case-editorial-grid img.is-framed {
  padding: clamp(16px, 3vw, 32px);
  background: #fff;
}

.case-editorial-embed {
  aspect-ratio: 16 / 9;
}

.case-editorial-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.case-editorial-caption {
  padding: 0 clamp(24px, 5vw, 64px);
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(242, 240, 236, 0.55);
}

.case-editorial-caption-above {
  margin-top: 24px;
  margin-bottom: -4px;
}

.case-editorial-caption.narrow {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Two columns within the narrow width: image or pull quote on the left,
   supporting text on the right. Stacks on small screens. */
.case-split {
  max-width: 1400px;
  margin: 16px auto 0;
  padding: 0 clamp(24px, 5vw, 64px);
  display: grid;
  gap: 24px;
}

.case-split.is-text {
  margin-top: 32px;
  margin-bottom: 72px;
}

.case-split.media-wide {
  margin-bottom: 48px;
}

.case-split img {
  width: 100%;
  height: auto;
  display: block;
}

.case-split p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(242, 240, 236, 0.65);
  max-width: 52ch;
}

.case-split p + p {
  margin-top: 1.65em;
}

.case-split p strong {
  color: #f2f0ec;
}

.case-split blockquote p {
  color: #f2f0ec;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: none;
}

.case-split blockquote cite {
  display: block;
  margin-top: 28px;
  font-size: 1.05rem;
  font-style: normal;
  color: rgba(242, 240, 236, 0.65);
}

@media (min-width: 640px) {
  .case-split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .case-split.is-text {
    align-items: start;
  }

  .case-split.media-wide {
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
  }
}

/* ---------- Contact page ---------- */
.contact-page main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.site-contact {
  margin-top: 60px;
  padding-top: 100px;
  padding-bottom: 120px;
  border-top: 1px solid #e5e5e0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.talk-heading h2 {
  margin-bottom: 0;
  line-height: 1;
}

.rotating-text {
  position: relative;
  height: 2.6rem;
  overflow: hidden;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #888;
}

.rotating-word {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 2.6rem;
  opacity: 1;
  transform: translateY(0);
}

.rotating-word.is-exiting {
  animation: rotating-word-out 0.5s ease forwards;
}

.rotating-word.is-entering {
  animation: rotating-word-in 0.5s ease forwards;
}

@keyframes rotating-word-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(60%);
  }
}

@keyframes rotating-word-in {
  from {
    opacity: 0;
    transform: translateY(-60%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-text p {
  color: #444;
  max-width: 55ch;
}

.contact-text p + p {
  margin-top: 16px;
}

.contact-block {
  margin-top: 40px;
}

.contact-block a.email {
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-block;
  border-bottom: 2px solid #1a1a1a;
}

.contact-links {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  list-style: none;
  color: #555;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #e5e5e0;
  padding: 32px 0;
  font-size: 0.85rem;
  color: #888;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-grid {
    --scale: 0.9;
  }

  .about-content {
    grid-template-columns: minmax(320px, 680px) minmax(240px, 370px);
    column-gap: clamp(40px, 4vw, 72px);
    align-items: stretch;
    justify-content: center;
  }

  .about-photo {
    order: 1;
    position: relative;
  }

  /* The photo is exactly as tall as the text beside it and keeps its portrait shape. */
  .about-photo {
    display: flex;
    justify-content: flex-start;
  }

  .about-photo img {
    height: 0;
    min-height: 100%;
    width: auto;
    max-width: 100%;
    /* Slightly wider than the original photo: a little is trimmed from the top. */
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 70%;
  }

  .contact-content {
    grid-template-columns: 1fr 1.4fr;
    column-gap: 80px;
    align-items: start;
  }

  .case-intro {
    grid-template-columns: 1fr auto;
    column-gap: 80px;
    align-items: start;
  }

  .case-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-scope {
    min-width: 200px;
  }

  .case-editorial-intro {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    padding: 64px clamp(24px, 5vw, 64px) 48px;
  }

  .case-editorial-stats {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
  }

  .case-editorial-grid {
    margin-top: 16px;
    gap: 16px;
  }

  .case-editorial-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-editorial-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Columns sized in proportion to each image's aspect ratio (set via --cols),
     so images of different shapes share one row height with no cropping. */
  .case-editorial-grid.ratio-row {
    grid-template-columns: var(--cols, 1fr 1fr);
  }

  .case-text-columns {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .case-dual-text {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .case-editorial-section {
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
    min-height: 560px;
  }

  .case-editorial-section img,
  .case-editorial-section video {
    height: 100%;
    object-fit: cover;
  }

  .case-editorial-section > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .case-editorial-section.text-low > div {
    justify-content: flex-end;
    padding-bottom: clamp(32px, 8vw, 128px);
  }

  /* Show the image/video at its own proportions instead of cropping it to
     fill the section's minimum height. */
  .case-editorial-section.natural-media {
    min-height: 0;
  }

  .case-editorial-section.natural-media img,
  .case-editorial-section.natural-media video {
    height: auto;
    object-fit: initial;
  }

  .case-editorial-section.media-wide {
    grid-template-columns: 2.3fr 1fr;
  }

  .case-editorial-section.media-wide-sm {
    grid-template-columns: 1.3fr 1fr;
  }

  .case-editorial-section.compact {
    min-height: 0;
    align-items: center;
  }

  .case-editorial-section.compact video,
  .case-editorial-section.compact img {
    width: 70%;
    height: auto;
    object-fit: initial;
    justify-self: start;
  }

  .case-editorial-section.compact > div {
    padding-left: 0;
  }
}

@media (min-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-grid {
    --scale: 1;
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Menu button only exists on phones. */
.menu-toggle {
  display: none;
}

/* ---------- Phones ---------- */
@media (max-width: 639px) {
  /* Homepage heading flows as one paragraph instead of breaking at the desktop line breaks. */
  .landing-hero h1 br {
    display: none;
  }

  .landing-hero {
    min-height: 0;
    padding-top: 140px;
    padding-bottom: 48px;
  }

  /* Subtitles wrap instead of running off the screen. */
  .landing-hero p,
  .brands-intro p {
    white-space: normal;
  }
}

@media (max-width: 639px) {
  /* Two thumbnails per row on the homepage and the Work page. */
  .landing-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    row-gap: 32px;
  }

  .work-card-text {
    margin-top: 10px;
  }

  .work-card-text h3 {
    font-size: 0.9rem;
  }

  .work-card-text p {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  /* Smaller logo. */
  .logo img,
  .site-header.is-scrolled .logo img,
  .theme-dark .logo img,
  .theme-dark .site-header.is-scrolled .logo img {
    height: 34px;
  }

  .header-inner {
    padding: 18px 24px;
  }

  /* While the menu is open the header must not move or blur,
     otherwise the full-screen menu gets trapped inside it. */
  .menu-open .site-header,
  .menu-open .site-header.is-scrolled,
  .menu-open .site-header.is-hidden {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    top: 0;
    left: 0;
    right: 0;
  }

  .menu-open {
    overflow: hidden;
  }

  /* Menu button replaces the text links; tapping it opens a full-screen menu. */
  .menu-toggle {
    display: block;
    position: relative;
    width: 22px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    z-index: 2;
  }

  /* Closed: two short thin lines. Open: they turn into a thin cross. */
  .menu-toggle span {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #f2f0ec;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-4px);
  }

  .menu-toggle span:nth-child(2) {
    display: none;
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(4px);
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  #site-nav {
    position: fixed;
    inset: 0;
    background: #161616;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  .menu-open #site-nav {
    opacity: 1;
    visibility: visible;
  }

  #site-nav .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  #site-nav .nav-links a {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(242, 240, 236, 0.4);
    transition: color 0.2s ease;
  }

  #site-nav .nav-links a[aria-current="page"],
  #site-nav .nav-links a:hover,
  #site-nav .nav-links a:active,
  #site-nav .nav-links a:focus-visible {
    color: #f2f0ec;
  }

  /* Smaller headings. */
  /* Two lines on phones too, sized so "FIND THEIR VOICE." fits the width. */
  .landing-hero h1 {
    font-size: 12.4vw;
    line-height: 0.93;
  }

  .landing-hero h1 br {
    display: inline;
  }

  /* Every page title matches the homepage headline. */
  .case-title,
  .case-editorial-intro .case-title,
  .about-text h1 {
    font-size: 1.85rem;
    line-height: 1.1;
  }

  /* Me page statement, service lists and Brands title match the homepage headline. */
  .brands-intro h1,
  .about-lessons,
  .about-list {
    font-size: 1.85rem;
    line-height: 1.1;
  }

  /* Every section heading inside a page shares one size. */
  .case-editorial-section h2,
  .case-editorial-centered h2,
  .case-dual-text h2,
  .case-editorial-intro h2.case-title,
  .case-split blockquote p,
  .case-editorial-stats .stats-list,
  .next-project-title {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .case-text-columns h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  /* Captions and quote credits use the body text size. */
  .case-editorial-caption,
  .case-split blockquote cite {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  /* One spacing rhythm: 36px between any text block and the images around it.
     (Images within a group stay 16px apart; labels sit just above their image.) */
  .case-editorial-centered,
  .case-split.is-text,
  .case-editorial-stats,
  .case-dual-text,
  .case-text-columns {
    margin-top: 36px;
    margin-bottom: 36px;
  }

  .case-editorial-section {
    margin-bottom: 36px;
  }

  .case-editorial-section > div {
    padding-top: 36px;
    padding-bottom: 0;
  }

  .case-editorial-caption-above {
    margin-top: 36px;
  }

  .case-credits {
    margin-top: 36px;
  }

  .case-split.media-wide {
    margin-bottom: 36px;
  }

  /* A label straight after the intro sits at the usual intro-to-image distance. */
  .case-editorial-intro + .case-editorial-caption-above {
    margin-top: 4px;
  }

  .case-award {
    padding-top: 36px;
  }

  /* Smaller description and body text on phones. */
  .landing-hero p,
  .brands-intro p,
  .case-editorial-eyebrow,
  .case-editorial-desc,
  .case-editorial-section p,
  .case-editorial-centered p,
  .case-split p,
  .case-text-columns p,
  .case-dual-text p,
  .case-editorial-stats p,
  .case-credits,
  .about-label,
  .about-me p,
  .next-project-label,
  .next-project-meta {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  /* Content starts closer to the header on every page except the homepage. */
  .case-page main,
  .work-page main,
  .brands-page main,
  .about-page main {
    padding-top: 136px;
  }

  .case-editorial-intro {
    padding-top: 0;
    padding-bottom: 32px;
  }

  /* Thin gaps between images on project pages, like the homepage grid. */
  .case-editorial-grid,
  .case-editorial-section,
  .case-split {
    margin-top: 4px;
    gap: 4px;
  }

  .case-editorial-caption-above {
    margin-bottom: 4px;
  }

  /* Intro-style sections further down a case (e.g. Lime's "50,000+ posters")
     get space above them and flow as one line of text instead of fixed breaks. */
  main > .case-editorial-intro:not(:first-child) {
    padding-top: 36px;
  }

  .case-editorial-intro h2.case-title br {
    display: none;
  }

  .brands-frame {
    margin-top: 36px;
  }

  /* Brand logos get more breathing room inside their boxes. */
  .brands-grid {
    --scale: 0.55;
  }

  .brand-logo {
    padding: 22px;
  }

  .brand-logo img {
    max-width: 78%;
    max-height: 70%;
    object-fit: contain;
  }

  /* Award badges at the end of case studies stay small on phones. */
  .case-award {
    padding: 24px 24px 40px;
    gap: 14px;
  }

  .case-award img {
    width: 116px;
    padding: 10px;
    border-radius: 8px;
  }

  /* Smaller portrait on the Me page. */
  .about-me img {
    width: 62%;
  }

  /* Image + text sections keep the same side margins as the other images. */
  .case-editorial-section {
    padding-right: clamp(24px, 5vw, 64px);
  }

  .case-editorial-section > div {
    padding-left: 0;
    padding-right: 0;
  }

  /* The homepage shows 9 tiles; on phones the 9th is hidden so every row is a full pair. */
  .landing-grid > :nth-child(9) {
    display: none;
  }
}

/* All bold titles use Anton like the homepage headline (sizes unchanged).
   Kept at the end of the file so it overrides older title styles. */
.brands-intro h1,
.about-lessons,
.about-list,
.case-title,
.case-editorial-section h2,
.case-editorial-centered h2,
.case-dual-text h2,
.case-text-columns h3,
.case-editorial-stats .stats-list,
.next-project-title {
  font-family: "Anton", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brands-intro h1,
.about-lessons,
.case-title {
  margin-left: -0.028em;
}


/* Planted stats: lines sit closer together (desktop and phones). */
.case-editorial-stats .stats-list {
  line-height: 1.08;
}

/* Bold words inside centred text stand out in white, as in the two-column text. */
.case-editorial-centered p strong {
  color: #f2f0ec;
}

/* Centred text that sits closer to the image below it. */
.case-editorial-centered.tight-below {
  margin-bottom: 40px;
}

@media (max-width: 639px) {
  .case-editorial-centered.tight-below {
    margin-bottom: 24px;
  }
}

/* Me page statement a little bigger on phones too. */
@media (max-width: 639px) {
  .about-lessons {
    font-size: 2.3rem;
  }
}

/* Brands page: the line under the title sits closer to it. */
.brands-intro h1 {
  line-height: 1;
}

.brands-intro p {
  margin-top: 8px;
}

/* Me page labels ("15 years…", "Foundation", etc.) match the homepage subline size on desktop. */
@media (min-width: 640px) {
  .about-label {
    font-size: 1.12rem;
  }
}

/* Phones: bigger homepage headline (as large as fits on two lines), subline closer,
   and one project per row on the Work page. */
@media (max-width: 639px) {
  .landing-hero h1 {
    font-size: 13.6vw;
  }

  .landing-hero p {
    margin-top: 8px;
  }

}

/* Phones: homepage shows 5 projects, one per row (Work page stays two per row). */
@media (max-width: 639px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }

  /* Homepage tiles are landscape on phones, so they take less height. */
  .landing-grid-item {
    aspect-ratio: 4 / 3;
  }

  /* Show only MS Wine, Discover, Flaconi, Lime and Gabriella's on phones. */
  .landing-grid > :nth-child(4),
  .landing-grid > :nth-child(5),
  .landing-grid > :nth-child(8),
  .landing-grid > :nth-child(9) {
    display: none;
  }

  .logo img,
  .site-header.is-scrolled .logo img,
  .theme-dark .logo img,
  .theme-dark .site-header.is-scrolled .logo img {
    height: 28px;
  }

  .landing-hero h1 {
    line-height: 0.97;
  }
}

/* Phones: full-screen menu items in Anton, like the titles. */
@media (max-width: 639px) {
  #site-nav .nav-links a {
    font-family: "Anton", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 2.8rem;
  }
}

/* Phones: header sits higher; menu lines align with the visual centre of the logo letter. */
@media (max-width: 639px) {
  .header-inner {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .menu-toggle {
    top: -3px;
  }

  /* Homepage subline a little smaller. */
  .landing-hero p {
    font-size: 0.75rem;
  }

  /* Work page: client name and project type a little closer than the original. */
  .work-card-text h3 {
    line-height: 1.35;
  }

  .work-card-text p {
    margin-top: 1px;
  }

  /* Me page statement: slightly smaller with tighter lines. */
  .about-lessons {
    font-size: 2.05rem;
    line-height: 1;
  }
}

/* Quotes: the name sits right under the quote, with clear space before the next paragraph. */
.case-split blockquote cite {
  margin-top: 12px;
}

@media (max-width: 639px) {
  .case-split blockquote {
    margin-bottom: 20px;
  }

  /* Image + text pairs (e.g. Unbox corridor photo): text gets room above and below. */
  .case-split:not(.is-text) > div {
    padding: 28px 0;
  }

  /* Unbox: the yellow logo tile is shown smaller on phones. */
  .unbox-logo {
    width: 62% !important;
    justify-self: start;
  }
}
