/* ============================================================
   SIMMCO AFRICA — Stylesheet
   Palette from the logo: deep brown ink on cream, ochre accent
   ============================================================ */

:root {
  --ink: #432519;          /* logo brown, sampled from SIMMCO LOGO.png */
  --ink-deep: #2E1810;
  --cream: #F4EDE3;
  --paper: #FFFFFF;
  --sand: #E4D6C2;
  --ochre: #C58B2E;
  --clay: #A45A2A;
  --muted: #8A7461;
  --line: rgba(67, 37, 25, 0.16);
  --line-light: rgba(244, 237, 227, 0.18);

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Chonburi', 'Georgia', serif;

  --pad: clamp(20px, 4vw, 64px);
  --section: clamp(80px, 10vw, 160px);
  --radius: 6px;
  --ease: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: var(--ochre); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

/* Subtle dotted texture across the cream ground */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background-image: radial-gradient(circle at 1px 1px, rgba(67,37,25,.12) 1px, transparent 1.6px);
  background-size: 22px 22px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 1001;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------
   Type & utilities
   ------------------------------------------------------------ */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5.4vw, 88px);
  line-height: 1.02;
}
.statement .accent, .accent { color: var(--ochre); }

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 96px) 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .muted, .section--dark p.lead { color: var(--sand); }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 820px; }
.lead { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 0 var(--pad);
  margin-bottom: clamp(40px, 6vw, 96px);
}

.link-all {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
  white-space: nowrap;
  transition: color .3s;
}
.link-all:hover { color: var(--ochre); }
.link-all .count {
  font-size: 10px;
  background: var(--ink);
  color: var(--cream);
  padding: 3px 7px;
  border-radius: 2px;
}
.link-all--light .count { background: var(--cream); color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color .3s var(--ease);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ochre);
  transform: translateX(-101%);
  transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn:hover { color: var(--ink-deep); }
.btn > * { position: relative; z-index: 1; }
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn--big { font-size: clamp(13px, 1.4vw, 17px); padding: 22px 34px; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--outline:hover { color: var(--ink-deep); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li, .tally__tags span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .3s, color .3s, border-color .3s;
}
.section--dark .tag-list li { border-color: var(--line-light); }

/* Wordmark (loader, header fallback, footer) */
.logo__text, .loader__word, .footer__logo > div {
  font-family: var(--font-display);
  line-height: 0.9;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.logo__text small, .loader__word small, .footer__logo small {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.34em;
  letter-spacing: 0.6em;
  margin-left: 0.6em;
  margin-top: 0.22em;
}

/* Pattern tiles echoing the logo's tribal linework */
.tile-0 { background: repeating-linear-gradient(-30deg, var(--ink) 0 14px, var(--cream) 14px 18px, var(--ink) 18px 22px, var(--ochre) 22px 30px); }
.tile-1 { background: radial-gradient(circle, var(--cream) 0 6px, transparent 7px) 0 0/40px 40px, radial-gradient(circle, var(--ochre) 0 3px, transparent 4px) 20px 20px/40px 40px, var(--ink); }
.tile-2 { background: linear-gradient(135deg, var(--ochre) 25%, transparent 25%) 0 0/60px 60px, linear-gradient(315deg, var(--cream) 25%, transparent 25%) 0 0/60px 60px, var(--ink); }
.tile-3 { background: repeating-linear-gradient(90deg, var(--ink) 0 22px, var(--cream) 22px 26px), repeating-linear-gradient(0deg, transparent 0 22px, rgba(197,139,46,.6) 22px 26px); background-blend-mode: multiply; }
.tile-4 { background: repeating-radial-gradient(circle at 50% 50%, var(--ink) 0 18px, var(--ochre) 18px 22px, var(--ink) 22px 40px, var(--cream) 40px 44px); }

/* ------------------------------------------------------------
   Loader (home only)
   ------------------------------------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform .9s var(--ease);
}
.loader.is-done { transform: translateY(-100%); }
.loader__mark img {
  width: clamp(110px, 20vw, 180px);
  height: auto;
  animation: markIn 1s var(--ease) both, markFloat 3s ease-in-out 1s infinite;
}
@keyframes markIn { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes markFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.loader__word { font-size: clamp(40px, 7vw, 72px); color: var(--ink); }
.loader__bar {
  position: relative;
  width: min(60vw, 260px);
  height: 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.loader__label {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  z-index: 2;
  mix-blend-mode: difference;
  filter: invert(1) hue-rotate(180deg);
}
.loader__fill { position: absolute; inset: 0; width: 0%; background: var(--ink); transition: width .2s linear; }

/* ------------------------------------------------------------
   Cursor
   ------------------------------------------------------------ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border: 2px solid var(--ochre);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s;
  display: none;
}
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor.is-hover { width: 48px; height: 48px; background: rgba(197, 139, 46, .18); }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  color: var(--ink);
  transition: transform .5s var(--ease), color .4s, background .4s, box-shadow .4s, padding .4s;
}
.header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(244, 237, 227, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled.on-dark { background: rgba(67, 37, 25, .9); box-shadow: 0 1px 0 var(--line-light); }
.header.is-hidden { transform: translateY(-100%); }
.header.on-dark { color: var(--cream); }

.logo { display: inline-flex; align-items: center; }
.logo__img { height: 44px; width: auto; display: none; }
.logo.has-img .logo__img--dark { display: block; }
.logo.has-img .logo__text { display: none; }
.logo__text { font-size: 26px; }
.header.on-dark .logo.has-img .logo__img--dark,
body.menu-open .logo.has-img .logo__img--dark { display: none; }
.header.on-dark .logo.has-img .logo__img--light,
body.menu-open .logo.has-img .logo__img--light { display: block; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .3s;
}
.nav__cta:hover, .nav__cta.is-active { background: var(--ochre); color: var(--ink-deep) !important; }
.nav__cta::after { display: none !important; }
.header.on-dark .nav__cta { background: var(--cream); color: var(--ink) !important; }
.header.on-dark .nav__cta:hover { background: var(--ochre); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 101; }
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

body.menu-open .header { color: var(--cream); transform: none; background: transparent; box-shadow: none; backdrop-filter: none; }

/* ------------------------------------------------------------
   Fullscreen Menu
   ------------------------------------------------------------ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--cream);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__inner {
  min-height: 100%;
  padding: 110px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.menu__list li a {
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 80px);
  line-height: 1.08;
  text-transform: uppercase;
  display: inline-flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu__list li a::before {
  content: attr(data-index);
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 10px;
  color: var(--ochre);
}
.menu.is-open .menu__list li a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .22s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .28s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .34s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .40s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .46s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .52s; }
.menu.is-open .menu__list li:nth-child(7) a { transition-delay: .58s; }
.menu__list li a:hover, .menu__list li a.is-active { color: var(--ochre); }
.menu__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--sand);
}
.menu__social { display: flex; flex-wrap: wrap; gap: 24px; }

/* ------------------------------------------------------------
   Home hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 140px var(--pad) 60px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__stack { position: relative; z-index: 1; display: flex; flex-direction: column; }
.hero__word {
  font-family: var(--font-display);
  font-size: clamp(52px, 11.5vw, 184px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  display: block;
  opacity: 0;
  transform: translateY(60%) skewY(4deg);
  transform-origin: left bottom;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i) * 0.08s + 0.2s);
}
body.is-ready .hero__word { opacity: 1; transform: none; }
.hero__word--accent { color: var(--ochre); }
.hero__side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.7;
  color: var(--muted);
  opacity: 0;
  transition: opacity 1s var(--ease) .9s;
}
body.is-ready .hero__side { opacity: 1; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; color: var(--ink); }
.hero__scroll i { width: 1px; height: 48px; background: var(--sand); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 50%;
  background: var(--ink);
  animation: scrollLine 1.6s var(--ease) infinite;
}
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

/* ------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  padding: clamp(150px, 20vw, 220px) var(--pad) clamp(48px, 6vw, 96px);
  max-width: 1200px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7.5vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.page-hero__title--sm { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.08; }
.page-hero__lead { font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; color: var(--muted); max-width: 720px; }
.page-hero .btn { margin-top: 36px; }

/* ------------------------------------------------------------
   Ticker
   ------------------------------------------------------------ */
.ticker { overflow: hidden; white-space: nowrap; padding: 14px 0; }
.ticker--ink { background: var(--ink); color: var(--cream); }
.ticker--ochre { background: var(--ochre); color: var(--ink-deep); }
.ticker__track { display: inline-flex; gap: 40px; animation: ticker 30s linear infinite; will-change: transform; }
.ticker__track--reverse { animation-direction: reverse; }
.ticker__track span {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 28px);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.ticker__track span::after { content: ''; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); opacity: .55; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   Manifesto (home)
   ------------------------------------------------------------ */
.manifesto { padding: var(--section) var(--pad); max-width: 1400px; }
.manifesto__title { margin-bottom: 48px; }
.manifesto__title .line { display: block; }
.manifesto__body { max-width: 620px; font-size: clamp(16px, 1.5vw, 20px); color: var(--muted); margin-bottom: 48px; }

/* ------------------------------------------------------------
   Work accordion (home)
   ------------------------------------------------------------ */
.work { padding: var(--section) 0; }
.work__wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  padding: 0 var(--pad);
  align-items: start;
}
.work__list { border-top: 1px solid var(--line); }
.work__item { border-bottom: 1px solid var(--line); }
.work__row {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr 1.4fr 32px;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  text-align: left;
  transition: padding .4s var(--ease);
}
.work__row:hover { padding-left: 12px; }
.work__num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--ochre); }
.work__client { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.work__name { font-family: var(--font-display); font-size: clamp(20px, 2.3vw, 32px); line-height: 1.05; transition: color .3s; }
.work__plus { font-family: var(--font-display); font-size: 26px; text-align: right; transition: transform .4s var(--ease); }
.work__item.is-active .work__plus { transform: rotate(45deg); }
.work__item.is-active .work__name { color: var(--clay); }
.work__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.work__item.is-active .work__detail { grid-template-rows: 1fr; }
.work__detail > * { overflow: hidden; }
.work__detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; padding: 0 0 36px 64px; }
.work__detail-grid dt, .meta-grid dt, .credits dt { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--ochre); margin-bottom: 8px; }
.work__detail-grid dd, .meta-grid dd { font-size: 14px; font-weight: 500; }
.work__info { grid-column: 1 / -1; }
.work__info dd { color: var(--muted); max-width: 640px; line-height: 1.6; }
.work__more { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; border-bottom: 2px solid currentColor; padding-bottom: 4px; transition: color .3s; }
.work__more:hover { color: var(--ochre); }

.work__preview {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.work__preview-tile {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.work__preview-tile.is-active { opacity: 1; transform: none; pointer-events: auto; }
.work__preview-tile span, .card__tile span, .project-tile span {
  font-family: var(--font-display);
  line-height: 1;
  color: var(--cream);
  mix-blend-mode: overlay;
  opacity: .85;
}
.work__preview-tile span { font-size: clamp(120px, 16vw, 240px); }

/* ------------------------------------------------------------
   Work grid (work.html)
   ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--pad); margin-bottom: clamp(32px, 4vw, 56px); }
.filter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.filter b { font-size: 10px; color: var(--muted); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter.is-active b { color: var(--ochre); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: 0 var(--pad);
}
.card.is-hidden { display: none; }
.card__link { display: block; }
.card__tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: transform .5s var(--ease);
}
.card__tile span { font-size: clamp(72px, 8vw, 120px); transition: transform .6s var(--ease); }
.card__link:hover .card__tile { transform: translateY(-4px); }
.card__link:hover .card__tile span { transform: scale(1.08); }
.card__body { padding: 18px 4px 0; }
.card__client { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.card__title { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.1; margin-bottom: 8px; transition: color .3s; }
.card__link:hover .card__title { color: var(--clay); }
.card__meta { font-size: 12px; color: var(--muted); }

/* ------------------------------------------------------------
   Project page
   ------------------------------------------------------------ */
.project-tile {
  margin: 0 var(--pad);
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.project-tile span { font-size: clamp(120px, 18vw, 300px); }
.project-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 120px);
  padding: clamp(48px, 6vw, 96px) var(--pad);
}
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.project-meta__h { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--ochre); margin: 32px 0 14px; }
.credits div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.credits dt { margin: 0; color: var(--muted); letter-spacing: .12em; }
.credits dd { font-size: 14px; font-weight: 500; }

.prose { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; }
.prose p + p { margin-top: 1.2em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre); margin: 2em 0 .6em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 1em 0; }
.prose li + li { margin-top: .4em; }
.prose a { border-bottom: 1px solid var(--ochre); }
.prose strong { font-weight: 700; }
.section--dark .prose { color: var(--sand); }

.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  margin: 0 var(--pad);
  padding: 32px 0 var(--section);
  border-top: 1px solid var(--line);
  align-items: center;
}
.pager__link { display: flex; flex-direction: column; gap: 6px; transition: color .3s; }
.pager__link:hover { color: var(--clay); }
.pager__link small { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--ochre); }
.pager__link span { font-family: var(--font-display); font-size: clamp(18px, 2vw, 28px); line-height: 1.1; }
.pager__link--next { text-align: right; align-items: flex-end; }
.pager__all { font-size: 11px; font-weight: 700; letter-spacing: .2em; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; transition: background .3s, color .3s; }
.pager__all:hover { background: var(--ink); color: var(--cream); }

/* ------------------------------------------------------------
   About (dark block + values, team, timeline)
   ------------------------------------------------------------ */
.about { background: var(--ink); color: var(--cream); padding: var(--section) var(--pad); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); margin-bottom: clamp(64px, 8vw, 128px); }
.about__body p { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; margin-bottom: 24px; color: var(--sand); }
.about__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.about__stats strong { display: block; font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); line-height: 1; }
.about__stats strong::after { content: '+'; color: var(--ochre); font-size: .6em; }
.about__stats span { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.about__services, .steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.service {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line-light);
  transition: background .4s var(--ease), padding .4s var(--ease), color .4s;
}
.service:last-child { border-right: 0; }
.service:hover { background: var(--ochre); color: var(--ink-deep); padding-left: 24px; }
.service:hover p, .service:hover .service__num { color: var(--ink-deep); }
.service__num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; display: block; margin-bottom: 40px; color: var(--ochre); }
.service h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 12px; text-transform: uppercase; }
.service p { font-size: 14px; line-height: 1.6; color: var(--sand); transition: color .4s; }
.steps--light { border-color: var(--line); }
.steps--light .service { border-color: var(--line); }
.steps--light .service p { color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 var(--pad); }
.value { background: var(--cream); padding: 36px 28px; }
.value__num { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ochre); display: block; margin-bottom: 28px; }
.value h3 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 12px; line-height: 1.1; }
.value p { font-size: 14px; line-height: 1.6; color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 40px); padding: 0 var(--pad); }
.person__avatar {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  color: var(--cream);
  margin-bottom: 16px;
}
.person h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 4px; }
.person p { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.timeline { margin: 0 var(--pad); border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1; color: var(--ochre); }
.timeline h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.timeline p { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------
   Services
   ------------------------------------------------------------ */
.tally { padding: var(--section) 0; }
.tally__list { border-top: 1px solid var(--line); margin: 0 var(--pad); }
.tally__item {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding .4s var(--ease);
}
.tally__item:hover { padding-left: 16px; }
.tally__item:hover h3 { color: var(--clay); }
.tally__item h3 { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 30px); line-height: 1.1; transition: color .3s; }
.tally__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tally__item:hover .tally__tags span { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.svc-list { margin: 0 var(--pad); border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 96px); padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc__num { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ochre); display: block; margin-bottom: 18px; }
.svc__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; }
.svc__lead { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; margin-bottom: 18px; }
.svc__text { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 28px; max-width: 640px; }
.svc .tag-list { margin-bottom: 28px; }
.svc .tag-list li { text-transform: none; letter-spacing: 0.02em; font-weight: 500; font-size: 13px; }
.tally__tags span { max-width: 100%; white-space: normal; text-align: left; }

/* ------------------------------------------------------------
   News
   ------------------------------------------------------------ */
.news { padding: var(--section) 0; }
.news__list { margin: 0 var(--pad); border-top: 1px solid var(--line); }
.news__item { border-bottom: 1px solid var(--line); }
.news__item a { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 36px 0; transition: padding .4s var(--ease); }
.news__item a:hover { padding-left: 16px; }
.news__item a:hover h3 { color: var(--clay); }
.news__meta { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.news__meta time { color: var(--ink); }
.news__tags { color: var(--ochre); }
.news__item h3 { font-family: var(--font-display); font-size: clamp(18px, 2vw, 28px); line-height: 1.25; margin-bottom: 12px; max-width: 900px; transition: color .3s; }
.news__item p { font-size: 14px; color: var(--muted); max-width: 700px; }
.article-body { padding: 0 var(--pad) var(--section); max-width: 900px; }

/* ------------------------------------------------------------
   Featured cards
   ------------------------------------------------------------ */
.featured { padding: var(--section) var(--pad); }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  border-radius: var(--radius);
}
.feature::before { content: ''; position: absolute; inset: 0; z-index: -1; transition: transform 1s var(--ease); }
.feature:hover::before { transform: scale(1.05); }
.feature--studio::before { background: radial-gradient(ellipse at 85% 15%, rgba(197,139,46,.85) 0%, transparent 45%), linear-gradient(180deg, #4a2d1b 0%, var(--ink-deep) 100%); }
.feature--region::before { background: repeating-radial-gradient(circle at 50% 120%, transparent 0 40px, rgba(244,237,227,.18) 40px 42px), linear-gradient(180deg, #4a2d1b 0%, var(--ink-deep) 100%); }
.feature__content { padding: 40px; max-width: 520px; }
.feature h3 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 48px); line-height: 1; margin-bottom: 16px; }
.feature p { font-size: 14px; line-height: 1.6; color: var(--sand); margin-bottom: 24px; }
.feature__link { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--ochre); }

/* ------------------------------------------------------------
   Studio page
   ------------------------------------------------------------ */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 48px); padding: 0 var(--pad); }
.spec h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.spec li { font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.spec li span:last-child { color: var(--muted); white-space: nowrap; }

.table-wrap { margin: 0 var(--pad); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rates { width: 100%; min-width: 640px; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.rates th { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); }
.rates td:first-child { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px); }
.rates .muted { font-size: 13px; }

/* ------------------------------------------------------------
   Forms
   ------------------------------------------------------------ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  border-radius: 0;
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23432519' stroke-width='1.5'/%3E%3C/svg%3E") right center no-repeat; padding-right: 24px; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--muted); }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea { color: var(--cream); border-bottom-color: var(--line-light); }
.section--dark .field input:focus, .section--dark .field textarea:focus { border-bottom-color: var(--cream); }

/* ------------------------------------------------------------
   Contact page
   ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 120px); padding: 0 var(--pad); align-items: start; }
.details dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--ochre); margin-bottom: 6px; }
.details dd { font-size: 16px; }
.details dd a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.details dd a:hover { color: var(--clay); border-color: var(--clay); }
.map {
  margin-top: 32px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 45%, var(--ochre) 0 8px, transparent 9px),
    radial-gradient(circle at 60% 45%, transparent 0 14px, rgba(197,139,46,.35) 15px 17px, transparent 18px),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px),
    var(--paper);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.map span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: var(--cream); padding: 8px 12px; border-radius: 999px; }

/* ------------------------------------------------------------
   CTA band & footer (dark)
   ------------------------------------------------------------ */
.cta-band { background: var(--ink); color: var(--cream); padding: var(--section) var(--pad); position: relative; overflow: hidden; }
.cta-band::after {
  content: '';
  position: absolute;
  right: -6%; bottom: -10%;
  width: clamp(260px, 38vw, 560px);
  aspect-ratio: 1;
  background: url(../assets/mark.svg) center/contain no-repeat;
  opacity: .12;
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 7vw, 112px); line-height: 1; margin-bottom: 48px; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.cta-band .btn { background: var(--cream); color: var(--ink); }
.cta-band .btn:hover { color: var(--ink-deep); }
.cta-band .link-all { text-transform: none; letter-spacing: .06em; font-size: 14px; }

.footer { background: var(--ink-deep); color: var(--cream); padding: clamp(64px, 8vw, 120px) var(--pad) 32px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1.4fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer__logo { display: flex; align-items: center; gap: 24px; }
.footer__mark { width: clamp(64px, 8vw, 120px); }
.footer__logo > div { font-size: clamp(32px, 5.5vw, 84px); align-items: flex-start; }
.footer__tag { margin-top: 24px; font-size: 14px; color: var(--sand); max-width: 420px; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 10px; letter-spacing: 0.22em; color: var(--ochre); margin-bottom: 16px; }
.footer__cols p, .footer__cols a { display: block; font-size: 14px; margin-bottom: 8px; color: var(--sand); transition: color .3s; }
.footer__cols a:hover { color: var(--ochre); }
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer__right { justify-self: end; display: flex; align-items: center; gap: 28px; }
.footer__bottom a:hover { color: var(--ochre); }
.footer__up { font-weight: 700; color: var(--cream); }
.footer__cta { margin-top: 24px; text-transform: none; letter-spacing: .06em; font-size: 13px; }
.cta-band__lead { font-size: clamp(16px, 1.5vw, 20px); color: var(--sand); max-width: 520px; margin: -24px 0 40px; line-height: 1.6; }

/* Studio signature: ZSL mark + two-line credit (same wording as the Pulse Park app, styled to this site) */
.madeby {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  letter-spacing: 0;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  transition: border-color .3s, background .3s;
}
.madeby:hover { border-color: var(--ochre); background: rgba(197, 139, 46, .08); }
.madeby__mark { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; display: block; }
.madeby__copy { display: flex; flex-direction: column; line-height: 1.2; }
.madeby__copy small { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre); }
.madeby__copy strong { font-family: var(--font-display); font-weight: 400; font-size: 15px; letter-spacing: .02em; color: var(--cream); white-space: nowrap; }
@media (max-width: 820px) {
  .footer__bottom { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .madeby { justify-self: start; }
  .footer__right { justify-self: start; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------
   Empty states (no projects / news yet)
   ------------------------------------------------------------ */
.empty {
  margin: 0 var(--pad);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  max-width: 720px;
}
.empty__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.05; margin-bottom: 14px; }
.empty__text { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 28px; max-width: 520px; }
.details__social { margin-top: 8px; }
.details__map { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); border-bottom: 0 !important; }
.details__map:hover { color: var(--clay) !important; }
.footer__cols p[data-company="address"] { line-height: 1.55; }
.details__social .tag-list a { display: inline-block; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------
   404
   ------------------------------------------------------------ */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.notfound__code { font-family: var(--font-display); font-size: clamp(96px, 20vw, 280px); line-height: .9; color: var(--ochre); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .work__wrap { grid-template-columns: 1fr; }
  .work__preview { display: none; }
  .about__services, .steps { grid-template-columns: repeat(2, 1fr); }
  .service { border-bottom: 1px solid var(--line-light); }
  .steps--light .service { border-bottom-color: var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .project-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 40px; padding-top: 120px; }
  .hero__side { align-items: flex-start; text-align: left; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .work__row { grid-template-columns: 36px 1fr 28px; grid-template-rows: auto auto; }
  .work__client { grid-column: 2; }
  .work__name { grid-column: 2; grid-row: 2; }
  .work__plus { grid-row: 1 / span 2; }
  .work__detail-grid { grid-template-columns: 1fr 1fr; padding-left: 52px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .tally__item, .svc { grid-template-columns: 1fr; gap: 14px; }
  .news__item a { grid-template-columns: 1fr; gap: 12px; }
  .news__meta { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .featured__grid { grid-template-columns: 1fr; }
  .feature { min-height: 320px; }
  .project-tile { aspect-ratio: 4 / 3; }
  .form { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__all { grid-column: 1 / -1; justify-self: start; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .about__services, .steps { grid-template-columns: 1fr; }
  .service { border-right: 0; }
  .work__detail-grid, .meta-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .logo__img { height: 36px; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
