/* ===========================
   FONTS
=========================== */
@font-face {
  font-family: 'NewForest';
  src: url('Fonts/NewForest-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Feature Deck (Commercial Type) — trial */
@font-face {
  font-family: 'FeatureDeck';
  src: url('Fonts/FeatureDeck-Light-Trial.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('Fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('Fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('Fonts/Roboto-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* ===========================
   CUSTOM CURSOR — disabled, using standard OS cursor
=========================== */
.cursor-dot,
.cursor-ring {
  display: none;
}

/* ===========================
   GRID
=========================== */
:root {
  --max-w: 1440px;
  --gutter: 44px;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #fffef4;
  color: #1e1e1e;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   NAV
=========================== */
nav {
  z-index: 100;
}

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

.nav-links a {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1e1e1e;
  position: relative;
}

/* Underline slides in from right → left on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: #1e1e1e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===========================
   HERO ANIMATION
=========================== */

/* Classic fade-up (subtitle) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Case study hero — image fades in over black */
@keyframes heroReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Word-split reveal: each word slides up from behind a clip */
@keyframes wordSlideUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0);    }
}

/* Wrapper clips the word so it appears to rise from nothing */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.0;
}

.word-space {
  display: inline-block;
  width: 0.28em; /* matches the visual gap between words */
}

.hero-word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordSlideUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===========================
   HOME NAV
=========================== */
.home-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px var(--gutter);
  position: relative;
}

/* Burger always visible on homepage, pinned left */
.home-nav .burger {
  display: flex;
  position: absolute;
  left: var(--gutter);
}

.home-nav-logo {
  font-family: 'NewForest', serif;
  font-weight: normal;
  font-size: 50px !important;
  color: #1e1e1e;
}

/* Homepage nav panel */
/* Nav panel — always in DOM, slides in from left */
.home-nav .nav-links {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 33vw;
  height: 100vh;
  background: #1e1e1e;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 160px var(--gutter) 40px;
  gap: 20px;
  z-index: 150;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-20px);
  transition:
    opacity 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    transform 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0.42s;
}

.home-nav .nav-links.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(0);
  transition:
    opacity 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    transform 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0s;
}

/* Tablet: 60% width */
@media (max-width: 1024px) {
  .home-nav .nav-links {
    width: 60vw;
  }
}

/* Mobile: full screen, centered */
@media (max-width: 768px) {
  .home-nav .nav-links {
    width: 100vw;
    align-items: center;
  }
}

.home-nav .nav-links a {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 42px;
  color: #FFFEF4;
  text-transform: none;
}

.home-nav .nav-links a::after {
  display: none;
}

/* Stagger li items on enter */
.home-nav .nav-links li {
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.home-nav .nav-links.open li { opacity: 1; transform: translateY(0); }
.home-nav .nav-links.open li:nth-child(1) { transition-delay: 0.18s; }
.home-nav .nav-links.open li:nth-child(2) { transition-delay: 0.25s; }
.home-nav .nav-links.open li:nth-child(3) { transition-delay: 0.32s; }

/* Logo flips to cream when menu is open */
.home-nav-logo {
  position: relative;
  z-index: 200;
  transition: color 0.3s ease;
}
.home-nav.menu-open .home-nav-logo {
  color: #fffef4;
}

/* Burger sits above everything */
.home-nav .burger {
  z-index: 300;
}

/* Full-width overlay — sits above page content, below nav stacking context */
#nav-blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 30, 30, 0.45);
  z-index: 50;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}
#nav-blur-overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  #nav-blur-overlay { display: none; }
}

/* ===========================
   HOME HERO
=========================== */
.home-hero {
  text-align: center;
  padding: 90px var(--gutter) 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.home-statement {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(36px, 6.5vw, 80px);
  line-height: 1.1;
  color: #1e1e1e;
  max-width: 21ch;
  margin: 0 auto;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* ===========================
   AREAS OF WORK
=========================== */
.home-areas {
  padding: 0 var(--gutter) 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.home-section-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: #1e1e1e;
  margin-bottom: 5px;
}

.home-areas-list {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(14px, 2.1vw, 24px);
  color: #1e1e1e;
  line-height: 1.5;
}

/* ===========================
   WORK INDEX
=========================== */
.home-work {
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.home-work .home-section-label {
  padding-top: 48px;
  margin-bottom: 16px;
}

.work-row {
  display: block;
  padding: 24px 0;
  border-top: 1px solid rgba(30, 30, 30, 0.12);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.work-row:last-child {
  border-bottom: 1px solid rgba(30, 30, 30, 0.12);
}

.work-row:hover {
  opacity: 0.45;
}

.work-row--soon {
  cursor: default;
  opacity: 0.4;
}

.work-row--soon:hover {
  opacity: 0.4;
}

.work-row-name {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.0;
  color: #1e1e1e;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.work-row-desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 21px;
  color: #1e1e1e;
  line-height: 1.5;
}

/* ===========================
   HOME FOOTER
=========================== */
.home-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px var(--gutter) 56px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.home-footer-copy {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
}

.home-footer-enquiries {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
  transition: opacity 0.2s;
}

.home-footer-enquiries:hover {
  opacity: 0.45;
}

/* ===========================
   WORK GRID (HOME)
=========================== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  margin-top: 72px;
}

.project-tile {
  display: block;
  cursor: pointer;
}

.tile-img-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ccc;
}

/* No resting overlay — clean image at all times */
.tile-img-wrap::after { display: none; }

.tile-img-wrap img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-tile:hover .tile-img-wrap img {
  transform: scale(1.04);
}

/* Arrow indicator: rotates in on hover */
.view-indicator {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.project-tile:hover .view-indicator {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Coming Soon badge */
.coming-soon-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #FFFEF4;
  color: #1e1e1e;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 10px 10px;
  text-transform: uppercase;
  z-index: 2;
}

.tile-info {
  padding: 14px 4px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tile-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 21px;
  color: #1e1e1e;
}

.tile-desc {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: 16px;
  color: #1e1e1e;
}

/* ===========================
   FOOTER
=========================== */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px var(--gutter) 56px;
  margin-top: 40px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.footer-copy {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
  text-transform:uppercase;
}

.footer-email {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 20px);
  color: #1e1e1e;
  position: relative;
  text-transform:uppercase;

}

.footer-email::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: #1e1e1e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===========================
   CASE STUDY NAV
=========================== */
.case-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  z-index: 100;
}

.case-nav .back-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1e1e1e;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.case-nav .back-link:hover {
  opacity: 0.45;
}

/* ===========================
   CASE STUDY HERO
=========================== */
.case-hero {
  padding-top: 80px;
  position: relative;
}

.case-hero-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #222;
}

.case-hero-img img {
  object-position: center top;
}

/* ===========================
   CASE STUDY INTRO
=========================== */
.case-intro {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  padding: 64px 40px;
  max-width: 1200px;
}

.case-intro h1 {
  font-family: 'NewForest', serif;
  font-weight: normal;
  font-size: clamp(40px, 3vw, 72px);
  line-height: 1.0;
  margin-bottom: 28px;
  color: #1e1e1e;
}

.case-intro .description {
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
  max-width: 500px;
  color: #1e1e1e;
}

.case-meta {
  padding-top: 4px;
}

.meta-item {
  border-top: 1px solid rgba(30, 30, 30, 0.15);
  padding: 14px 0;
}

.meta-item:last-child {
  border-bottom: 1px solid rgba(30, 30, 30, 0.15);
}

.meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 5px;
}

.meta-value {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #1e1e1e;
}

/* ===========================
   CASE STUDY SECTIONS
=========================== */
.case-section {
  padding: 48px 40px;
}

.case-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(30, 30, 30, 0.12);
}

/* Full-width image */
.case-img-full {
  width: 100%;
  overflow: hidden;
}

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

/* Two-column image grid */
.case-img-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

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

/* Three-column image grid */
.case-img-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

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

/* ===========================
   OTHER WORK (CASE STUDY FOOTER)
=========================== */
.other-work {
  padding: 64px var(--gutter) 0;
  border-top: 1px solid rgba(30, 30, 30, 0.12);
  margin-top: 80px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.other-work-label {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  color: #1e1e1e;
  margin-bottom: 20px;
  line-height: 1.1;
}

.other-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===========================
   DOLAN / TERRA ROOTS SPECIFIC
=========================== */
.dolan-hero-bg {
  background: #2D5EDB;
}

.terra-hero-bg {
  background: #6B3B2A;
}

/* ===========================
   INNER NAV (case study pages)
   Burger left, logo centered
=========================== */
.inner-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px var(--gutter);
  position: relative;
}

.inner-nav .burger {
  display: flex;
  position: absolute;
  left: var(--gutter);
}

/* Inner nav panel — always in DOM, slides in */
.inner-nav .nav-links {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 33vw;
  height: 100vh;
  background-color: #1e1e1e;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 160px var(--gutter) 40px;
  gap: 20px;
  z-index: 150;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-20px);
  transition:
    opacity 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    transform 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0.42s;
}

.inner-nav .nav-links.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(0);
  transition:
    opacity 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    transform 0.42s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0s;
}

/* Tablet: 60% width */
@media (max-width: 1024px) {
  .inner-nav .nav-links { width: 60vw; }
}

/* Mobile: full screen, centered */
@media (max-width: 768px) {
  .inner-nav .nav-links { width: 100vw; align-items: center; }
}

.inner-nav .nav-links a {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 42px;
  color: #fffef4;
  text-decoration: none;
}

.inner-nav .nav-links a::after { display: none; }

/* Stagger li items on enter */
.inner-nav .nav-links li {
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.inner-nav .nav-links.open li { opacity: 1; transform: translateY(0); }
.inner-nav .nav-links.open li:nth-child(1) { transition-delay: 0.18s; }
.inner-nav .nav-links.open li:nth-child(2) { transition-delay: 0.25s; }
.inner-nav .nav-links.open li:nth-child(3) { transition-delay: 0.32s; }

/* Logo flips to cream when menu is open */
.inner-nav .nav-logo {
  position: relative;
  z-index: 200;
  transition: color 0.3s ease;
}
.inner-nav.menu-open .nav-logo {
  color: #fffef4;
}

.inner-nav .burger {
  z-index: 300;
}

.nav-logo {
  font-family: 'NewForest', serif;
  font-weight: normal;
  font-size: 50px;
  color: #1e1e1e;
  line-height: 1;
  position: relative;
  letter-spacing: -0.01em;
}

.nav-logo::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: #1e1e1e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===========================
   CASE STUDY HERO (new)
=========================== */
.cs-hero {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #000;
}

.cs-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: heroReveal 0.9s ease-out 0.1s both;
}

/* Full-bleed hero variant (Hart Haus) — matches cs-hero side margins */
.cs-hero-full {
  max-width: var(--max-w);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.cs-hero-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  animation: heroReveal 0.9s ease-out 0.1s both;
}

.cs-hero-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 6vw, 86px);
  color: #ffffff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===========================
   CASE STUDY INTRO (new)
=========================== */
.cs-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding: 72px var(--gutter) 62px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.cs-title {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(36px, 3vw, 72px);
  color: #1e1e1e;
  margin-bottom: 20px;
  line-height: 1.0;
}

.cs-body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #1e1e1e;
  margin-bottom: 0;
}

.cs-body + .cs-body {
  margin-top: 20px;
}

.cs-credits {
  margin-top: 32px;
}

.cs-credits-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #1e1e1e;
  margin-bottom: 6px;
}

.cs-credits-item {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #1e1e1e;
  opacity: 0.7;
}

.cs-credits-item a {
  color: #1e1e1e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===========================
   THE BRIEF — typographic pull
=========================== */
.cs-brief {
  padding: 80px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.cs-brief-quote {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 34px);
  color: #1e1e1e;
  line-height: 1.35;
  max-width: 680px;
  margin: 0 auto;
}

/* ===========================
   NAMING & STRATEGY
=========================== */
.cs-strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.cs-strategy-col {}

.cs-strategy-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(30, 30, 30, 0.45);
  margin-bottom: 14px;
}

.cs-strategy-name {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  color: #1e1e1e;
  margin-bottom: 24px;
}

/* ===========================
   PLACEHOLDER BLOCKS
=========================== */
.cs-placeholder {
  width: 100%;
  background: #f5f4ef;
  border: 1px dashed rgba(30, 30, 30, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  margin-bottom: 16px;
}

.cs-placeholder span {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(30, 30, 30, 0.4);
  line-height: 1.6;
  max-width: 320px;
}

/* ===========================
   SECTION CAPTION
=========================== */
.cs-caption {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cs-strategy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cs-brief {
    padding: 56px var(--gutter);
  }
}

.cs-website-link {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #1e1e1e;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 16px;
}

.cs-website-link--inactive {
  color: rgba(30, 30, 30, 0.3);
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-coming-soon {
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30, 30, 30, 0.38);
  border: 1px solid rgba(30, 30, 30, 0.2);
  border-radius: 20px;
  padding: 2px 8px;
}

.cs-services-label {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 21px;
  color: #1e1e1e;
  margin-bottom: 8px;
  display: block;
}

.cs-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-services li {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #1e1e1e;
}

/* ===========================
   CASE STUDY SECTIONS (new)
=========================== */
.cs-section {
  padding: 40px var(--gutter) 0;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.cs-section-label {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: 18px;
  color: #1e1e1e;
  margin-bottom: 16px;
}

.cs-section-header {
  margin-bottom: 48px;
}

.cs-section-header .cs-section-label {
  margin-bottom: 1px;
}

.cs-section-header .cs-caption {
  margin-bottom: 0;
}

.cs-img-block {
  width: 100%;
  margin-bottom: 16px;
}

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

/* Two-column image grid (Hart Haus) */
.cs-img-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cs-img-2col img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hart Haus — 3-col screenshot crop grid */
.hh-screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.hh-screenshot-grid .hh-crop {
  overflow: hidden;
}

.hh-screenshot-grid .hh-crop img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   YUZ MUSEUM — image-led layout
   ============================================= */

.yuz-img-full {
  width: 100%;
  margin-bottom: 16px;
}

.yuz-img-full img,
.yuz-img-full .cs-placeholder {
  width: 100%;
  display: block;
}

.yuz-img-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.yuz-img-2col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yuz-img-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.yuz-img-3col img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dolan: force both images to fill the row height equally */
.dolan-2col {
  align-items: stretch;
}

.dolan-2col img {
  height: 100%;
  object-fit: cover;
}

/* 2-col logo grid (Terra Roots brand identity) */
.cs-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cs-logo-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   HART HAUS — SPLIT HERO
=========================== */

.hh-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 90px);
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}

.hh-hero-split-img {
  overflow: hidden;
}

.hh-hero-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hh-hero-split-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px var(--gutter) 64px;
}

.hh-hero-split-text h1 {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: 1.0;
  color: #1e1e1e;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hh-hero-context {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 30, 30, 0.38);
}

/* ===========================
   HART HAUS — EDITORIAL PULL
=========================== */

.hh-copy-feature {
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  min-height: 520px;
  border-top: 1px solid #cccccc;
  padding-top:50px;
}

.hh-copy-feature-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
}

.hh-copy-feature p {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(30px, 11vw, 98px);
  line-height: 1.15;
  color: #1e1e1e;
}

.hh-copy-feature-img {
  overflow: hidden;
}

.hh-copy-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   HART HAUS — PULL QUOTES
=========================== */

.hh-quotes {
  padding: 0;
}

.hh-quote {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid rgba(30, 30, 30, 0.1);
  align-items: start;
}

.hh-quote:last-child {
  border-bottom: 1px solid rgba(30, 30, 30, 0.1);
}

.hh-quote-label {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: 18px;
  color: #1e1e1e;
  padding-top: 6px;
}

.hh-quote-text {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  line-height: 1.1;
  color: #1e1e1e;
}

.hh-quote-text--lg { font-size: clamp(32px, 4.5vw, 64px); }
.hh-quote-text--md { font-size: clamp(24px, 3.2vw, 46px); }
.hh-quote-text--sm { font-size: clamp(20px, 2.4vw, 34px); }

/* Extra breathing room between tagline block and writing section */
.hh-copy-feature + .cs-section {
  padding-top: 80px;
}

/* ===========================
   HART HAUS — TONE OF VOICE
=========================== */

.hh-tov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(30, 30, 30, 0.1);
  border: 1px solid rgba(30, 30, 30, 0.1);
  margin-top: 24px;
}

.hh-tov-item {
  background: #fffef4;
  padding: 40px 32px 48px;
}

.hh-tov-name {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 42px);
  color: #1e1e1e;
  line-height: 1.0;
  margin-bottom: 16px;
}

.hh-tov-desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #1e1e1e;
}

/* ===========================
   ABOUT PAGE (split layout)
=========================== */

/* Two-column: text left, image right */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 100px);
  padding: 0 var(--gutter);
  gap: 40px;
  align-items: start;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  margin-top:30px;
}

.about-left {
  margin-top: -10px;
}

/* Large studio intro paragraph */
.about-studio-intro {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  color: #1e1e1e;
  margin-bottom: 34px;
}

/* "ABOUT US" small uppercase label */
.about-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
  display: block;
  text-transform:uppercase;
}

/* Bios + Services side-by-side sub-grid */
.about-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 30px;
}

/* Bio blocks stacked vertically */
.about-bios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Bio paragraphs — name is first words of paragraph, no separate heading */
.about-bio-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
  padding-bottom:20px;
}

/* Services column */
.about-services-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
  margin-bottom: 8px;
  display: block;
  text-transform:uppercase;
}

.about-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-services-list li {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #1e1e1e;
  line-height: 24px;
}

/* Right column: image sticks to viewport */
.about-right {
  position: sticky;
  top: 0;
  overflow: hidden;
  aspect-ratio:1/1;
  min-width:100%;
}

.about-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===========================
   CONTACT PAGE
=========================== */

/* Centered-logo nav used only on contact page */
.contact-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  position: relative;
  z-index: 100;
}

.contact-nav .nav-logo {
  font-family: 'NewForest', serif;
  font-weight: normal;
  font-size: clamp(28px, 3.2vw, 48px);
  color: #1e1e1e;
  line-height: 1;
  transition: opacity 0.2s;
}

.contact-nav .nav-logo:hover {
  opacity: 0.5;
}

/* Burger always visible on contact page */
.contact-nav .burger {
  position: absolute;
  left: 40px;
  display: flex;
}

/* 2-col layout: image left, text right */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px var(--gutter);
  align-items: center;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.contact-img {
  overflow: hidden;
}

/* Portrait photo — let image define its own height */
.contact-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.contact-content {
  padding: 0 20px;
}

/* Single paragraph; email is inline and bold at the end */
.contact-body {
  font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  color: #1e1e1e;
}

/* Inline email link — bold and dark, no underline */
.contact-email-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  color: #1e1e1e;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-email-link:hover {
  opacity: 0.45;
}

/* About + Contact responsive */
@media (max-width: 900px) {
  .about-split {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  /* About: stack to single column; text first, image second on mobile */
  .about-split {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 48px;
    min-height: auto;
  }

  /* Image is first in DOM but should appear below text on mobile */
  .about-right {
    order: 2;
    position: relative;
    height: 70vw;
  }

  .about-left {
    order: 1;
    padding: 48px 0 0;
  }

  .about-studio-intro {
    margin-bottom: 56px;
  }

  /* Bios + services stack on tablet */
  .about-bottom {
    grid-template-columns: 1fr;
  
  }

  /* Contact */
  .contact-wrap { padding: 24px; gap: 24px; }
  .contact-nav { padding: 20px 24px; }
  .contact-nav .burger { left: 24px; }
}

@media (max-width: 540px) {
  .about-split {
    padding: 0 20px;
    gap: 40px;
  }

  .about-left {
    padding: 40px 0 0;
  }

  .about-studio-intro {
    font-size: 21px;
    margin-bottom: 20px;
  }

  .about-right {
    height: 80vw;
  }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; padding: 20px; }
  .contact-content { padding: 32px 0 0; }
  .contact-nav { padding: 16px 20px; }
  .contact-nav .burger { left: 20px; }
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* "Explore Our Work" heading spans full grid width */
.work-grid-heading {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 21px;
  color: #1e1e1e;
  margin-bottom: 20px;
}

/* Staggered delays for work grid tiles */
.work-grid .project-tile:nth-child(1) { transition-delay: 0s; }
.work-grid .project-tile:nth-child(2) { transition-delay: 0.07s; }
.work-grid .project-tile:nth-child(3) { transition-delay: 0.14s; }
.work-grid .project-tile:nth-child(4) { transition-delay: 0.21s; }

/* ===========================
   DOLAN — PAGE-SPECIFIC
=========================== */

/* Hero background fallback */
.dolan-cs-hero {
  background: #2563F5;
}

/* Hero logo overlay: stacked layout for "DolaN 余多褶" */
.dolan-hero-text {
  flex-direction: column;
  gap: 6px;
  line-height: 1;
  font-family: 'NewForest', serif;
  font-size: clamp(40px, 7vw, 100px);
  letter-spacing: 0.05em;
}

.dolan-sub {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.38em;
  letter-spacing: 0.25em;
  opacity: 0.9;
}

/* 2-col logo tile grid */
.dolan-logo-grid {
  gap: 0;
  margin-bottom: 16px;
}

.dolan-logo-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 48px);
  aspect-ratio: 3 / 2;
  gap: 10px;
}

.dolan-logo-light {
  background: #ffffff;
  color: #1e1e1e;
}

.dolan-logo-dark {
  background: #1e1e1e;
  color: #ffffff;
}

.dolan-wordmark {
  font-family: 'NewForest', serif;
  font-weight: normal;
  font-size: clamp(28px, 5vw, 80px);
  line-height: 1;
  display: block;
}

.dolan-wordmark-sub {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 1.4vw, 18px);
  letter-spacing: 0.12em;
  display: block;
  opacity: 0.8;
}

.dolan-wordmark-sub-sm {
  font-size: clamp(10px, 1.1vw, 14px);
}

/* Colour palette grid */
.dolan-palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: 16px;
}

.dolan-swatch {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(10px, 1.5vw, 20px);
}

.swatch-label {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: clamp(9px, 1vw, 13px);
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.swatch-values {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(7px, 0.7vw, 10px);
  color: rgba(255, 255, 255, 0.75);
  display: block;
  line-height: 1.7;
}

/* Mobile: palette collapses to 3 columns */
@media (max-width: 768px) {
  .dolan-palette {
    grid-template-columns: repeat(3, 1fr);
  }

  .dolan-swatch {
    aspect-ratio: auto;
    padding: 16px;
    min-height: 100px;
  }
}

@media (max-width: 540px) {
  /* dolan-logo-grid stays 2-col on mobile */

  .dolan-logo-tile {
    aspect-ratio: 2 / 1;
  }

  .dolan-hero-text {
    font-size: clamp(28px, 11vw, 60px);
  }

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

/* ===========================
   INNER NAV RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .inner-nav {
    padding: 20px 24px;
  }
  .inner-nav .burger { left: 24px; }
}

/* At tablet, collapse intro to 1 col early since right col needs room */
@media (max-width: 900px) {
  .cs-intro {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 24px 48px;
  }

  .cs-section {
    padding: 64px 24px 0;
  }
}

@media (max-width: 540px) {
  .inner-nav {
    padding: 16px 20px;
  }
  .inner-nav .burger { left: 20px; }

  .cs-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px 32px;
  }

  .cs-section {
    padding: 48px 20px 0;
  }

  .cs-hero-logo {
    font-size: clamp(18px, 7vw, 40px);
    letter-spacing: 0.1em;
  }
  /* logo grids stay 2-col on mobile */
}

/* ===========================
   HOME PAGE RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .home-hero {
    padding: 96px var(--gutter);
  }
}

@media (max-width: 540px) {
  .home-nav {
    padding: 20px 20px;
  }

  .home-hero {
    padding: 72px 20px;
  }

  .home-areas {
    padding: 0 20px 40px;
  }

  .home-work {
    padding: 0 20px;
  }

  .work-row-name {
    font-size: clamp(36px, 11vw, 52px);
  }

  .home-footer {
    padding: 40px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ===========================
   BURGER BUTTON (hidden on desktop)
=========================== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1e1e1e;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.3s ease,
              background-color 0.3s ease;
  transform-origin: center;
}

/* Animate to X when open */
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fffef4; }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fffef4; }

/* ===========================
   RESPONSIVE — TABLET (≤900px)
=========================== */
@media (max-width: 900px) {
  nav {
    padding: 20px 24px;
  }

  .nav-links {
    gap: 24px;
  }

  .hero {
    padding: 100px 24px 48px;
  }

  .tile-info {
    padding: 12px 4px 20px;
  }

  .tile-name {
    font-size: 17px;
  }

  footer {
    padding: 40px 24px 48px;
  }

  .case-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px;
  }

  .case-section {
    padding: 40px 24px;
  }

  .other-work {
    padding: 48px 24px 0;
  }
}

/* ===========================
   BURGER NAV (≤768px — mobile landscape breakpoint)
=========================== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  /* Home nav — keep logo centred, burger absolute left */
  #main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  /* Case study nav */
  .case-nav {
    justify-content: space-between;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fffef4;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 20px;
    z-index: 150;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-family: 'FeatureDeck', 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: #1e1e1e;
  }

  /* Keep burger on top of open menu */
  .burger {
    z-index: 200;
    position: relative;
  }
}

/* ===========================
   RESPONSIVE — MOBILE (≤540px)
=========================== */
@media (max-width: 540px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 20px;
  }

  .hero {
    padding: 88px 20px 40px;
  }

  .hero-title {
    font-size: 19.5vw;
    margin-bottom: 8px;
  }

  .hero-sub {
    font-size: 14px;
    text-align: center;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px;
  }

  .tile-info {
    padding: 10px 4px 18px;
  }

  .tile-name {
    font-size: 15px;
  }

  .tile-desc {
    font-size: 14px;
  }

  footer {
    padding: 32px 20px 40px;
  }

  .footer-email {
    font-size: 14px;
  }

  .case-nav {
    padding: 16px 20px;
  }

  .case-intro {
    padding: 40px 20px;
  }

  .case-intro h1 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .case-section {
    padding: 32px 20px;
  }

  .case-img-2col,
  .case-img-3col {
    grid-template-columns: 1fr;
  }

  .other-work {
    padding: 40px 20px 0;
  }

  .other-work-grid {
    grid-template-columns: 1fr;
  }
}
