:root {
  --ink: #161513;
  --muted: #7a756c;
  --hair: #e6e1d8;
  --paper: #f7f5f1;
  --white: #fffcf8;
  --accent: #9a6844;
  --header-h: 4.7rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Arial Nova Light", "Arial Nova", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
::selection { background: #ead9c8; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--hair);
  background: color-mix(in srgb, var(--white) 90%, transparent);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 0.7rem clamp(1.1rem, 3vw, 2.6rem);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  flex-shrink: 0;
}
.wordmark:hover { color: inherit; }
.wordmark-logo {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}
.wordmark-text {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}
.wordmark-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}
.wordmark-sub {
  position: relative;
  padding-left: 0.9rem;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.wordmark-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.08rem;
  bottom: 0.08rem;
  width: 1px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.35rem 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.05rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  font-size: 14px;
  letter-spacing: 0;
  color: #5c574e;
  padding: 0.2rem 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.nav-social {
  display: flex;
  gap: 0.65rem;
  margin-left: 0.55rem;
}
.nav-social a {
  display: flex;
  width: 1.2rem;
  height: 1.2rem;
  color: #6a6a6a;
  padding: 0;
}
.nav-social a::after { display: none; }
.nav-social svg { width: 100%; height: 100%; fill: currentColor; }

body:has(.home-stage) .site-footer { display: none; }

.home-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: center;
  align-items: center;
  column-gap: 1.4rem;
  min-height: calc(100vh - var(--header-h) - 10.5rem);
  padding: 1.1rem clamp(0.8rem, 3vw, 2.4rem) 0.6rem;
}
.home-contact {
  padding: 0.8rem clamp(1.4rem, 8vw, 7rem) 2.6rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
  max-width: 30rem;
}
.home-contact p { margin: 0; }
.home-contact a { color: inherit; }
.home-contact a:hover { color: var(--ink); }
.home-contact-name {
  margin: 0 0 0.55rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--ink);
  font-weight: 500;
}
.gallery-arrow {
  width: auto;
  min-width: 1.4rem;
  height: auto;
  padding: 0.2rem 0.1rem;
  justify-self: center;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: #8f8f8f;
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 300;
}
.gallery-arrow:hover {
  color: var(--ink);
  background: transparent !important;
  border: 0 !important;
  transform: none;
  box-shadow: none;
}
.home-frame {
  position: relative;
  width: auto;
  max-width: min(1100px, 86vw);
  justify-self: center;
}
.home-frame a { display: block; color: inherit; }
.home-slides {
  position: relative;
  width: auto;
  line-height: 0;
  overflow: visible;
  background: none;
}
.home-slides img {
  position: relative;
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 780px);
  object-fit: contain;
  background: none;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.home-slides img.is-active {
  opacity: 1;
  z-index: 1;
}
.home-slides img:not(.is-active) {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.home-caption {
  display: block;
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: left;
}
.home-caption strong {
  display: block;
  font-weight: 300;
  color: var(--ink);
}
.home-caption span {
  display: block;
  margin-top: 0.2rem;
}
.home-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.home-dots button {
  width: 0.42rem;
  height: 0.42rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfc8bb;
}
.home-dots button[aria-current="true"] { background: var(--ink); width: 1.15rem; }

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem clamp(1.1rem, 3vw, 2.6rem) 5rem;
}
.page-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2;
}
h1 { font-size: 14px; margin: 0 0 1.4rem; }
h2 { font-size: 14px; margin: 0 0 0.8rem; }
h3 { font-size: 14px; margin: 0 0 0.4rem; }
.lede { max-width: 40rem; color: #5f5a52; margin: 0 0 1.6rem; }

.klg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.15rem;
}
#news-grid {
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.6rem;
  max-width: none;
  margin: 0;
  padding: 0 0 2rem;
}
#news-grid .klg-tile-media { aspect-ratio: 4 / 3; }
#news-grid .klg-tile h3 {
  margin: 0 0 0.7rem;
  font-size: 14px;
  line-height: 1.25;
}
#news-grid .klg-tile p {
  margin: 0.55rem 0 0;
  font-size: 14px;
}
.klg-tile {
  display: block;
  color: inherit;
  min-width: 0;
}
.klg-tile:hover { color: inherit; }
.klg-tile-media {
  display: block;
  overflow: hidden;
  background: none;
  aspect-ratio: 4 / 3;
}
.klg-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: none;
}
.klg-tile h3 {
  margin: 0.75rem 0 0.15rem;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0;
}
.klg-tile p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.6rem;
  padding: 0;
}
.filters button {
  border: 1px solid transparent;
  background: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.filters button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--ink);
}

.contact-mast { padding: 0.4rem 0 2rem; }
.contact-mast h1 { margin: 0 0 1.2rem; }
.contact-brand {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.contact-lines { margin: 0; color: #555; font-size: 0.92rem; }
.contact-lines a { color: inherit; }

.about-block,
.awards-block {
  padding: 1.6rem 0 0.6rem;
  max-width: none;
}
.about-block h2,
.awards-block h2 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}
.about-block p { margin: 0 0 1rem; color: #555; }
.awards-block ul { list-style: none; margin: 0; padding: 0; }
.awards-block li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--hair);
  color: #555;
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2.4rem 0 0;
}
.contact-panel label {
  display: block;
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-panel input,
.contact-panel textarea,
.custom-select-trigger {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-bottom: 1px solid var(--hair);
  background: none;
  padding: 0.5rem 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.contact-panel button[type="submit"],
.more-projects-btn,
.join-mail {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-panel button[type="submit"]:hover,
.more-projects-btn:hover,
.join-mail:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.field-error { color: #a33; font-size: 0.75rem; letter-spacing: 0; text-transform: none; }
.form-status { font-size: 0.85rem; color: #666; }
.map-embed {
  margin-top: 1.2rem;
  aspect-ratio: 16 / 10;
  background: #ece7de;
  border-radius: 0.28rem;
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.custom-select { position: relative; }
.custom-select-menu {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 0.3rem;
}
.custom-select-menu li { padding: 0.4rem 0.7rem; cursor: pointer; text-transform: none; letter-spacing: 0; }
.custom-select-menu li:hover { background: #f3eee6; }

.project-hero img {
  width: 100%;
  height: min(74vh, 760px);
  object-fit: cover;
}
.project-page {
  max-width: 88rem;
  margin: 0 auto;
  padding: 2rem 1.6rem 1rem;
}
.project-head {
  max-width: 52rem;
  margin: 0;
  padding: 0 0 1.5rem;
  text-align: left;
}
.project-head h1 {
  margin: 0 0 1.15rem;
  font-size: 22px;
  font-weight: 300;
}
.project-kicker {
  margin: 0 0 1.35rem;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-facts {
  margin: 0;
  max-width: none;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a4741;
  line-height: 1.85;
}
.project-reel {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 58rem;
  margin: 0 auto 2.2rem;
}
.reel-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 52rem;
  cursor: grab;
}
.reel-track {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: max-content;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.reel-item {
  margin: 0;
  flex: 0 0 auto;
  max-width: 100%;
  cursor: pointer;
}
.reel-item img,
.reel-item video {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: min(52vh, 34rem);
  object-fit: contain;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.reel-item video {
  background: none;
  max-width: 52rem;
}
.reel-arrow {
  position: static;
  flex: 0 0 1.8rem;
  width: 1.8rem;
  height: 2.2rem;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  transform: none;
}
.reel-arrow svg { width: 1.1rem; height: 1.1rem; display: block; margin: 0 auto; }
.reel-arrow--prev { left: auto; }
.reel-arrow--next { right: auto; }
.reel-arrow:hover { color: #000; }
.project-story {
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
  color: #333;
  font-size: 14px;
  line-height: 1.75;
}
.project-intro {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.project-story p + p { margin-top: 1.05rem; }
.project-story-heading {
  margin: 1.6rem 0 0.7rem;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-nextprev {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: none;
  margin: 3.2rem 0 0;
  padding: 2.4rem clamp(1.4rem, 6vw, 5rem) 4.2rem;
}
.project-nextprev-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: inherit;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.15;
}
.project-nextprev-link:hover { color: inherit; }
.project-nextprev-link--next { margin-left: auto; }
.project-nextprev-caret {
  display: flex;
  width: 0.7rem;
  flex-shrink: 0;
}
.project-nextprev-caret svg { width: 100%; height: auto; }
.gallery,
.more-projects,
.article-page,
.join-masthead,
.join-openings,
.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.8rem clamp(1.1rem, 3vw, 2.6rem);
}
.article-page { max-width: 1280px; }
.news-masthead {
  padding: 0 0 0.4rem;
  max-width: none;
  margin: 0;
}
.project-copy { text-align: center; color: #555; font-size: 14px; }
.meta-label { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; color: var(--muted); }
.meta-value { font-style: italic; }
.meta-sep { margin: 0 0.6rem; color: var(--hair); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.gallery-item {
  margin: 0;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
}
.gallery-item-map img { object-fit: contain; }
.gallery-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-pager a { color: var(--ink); }
.gallery-pager span { opacity: 0.35; }
.more-projects { text-align: center; padding-bottom: 4rem; }

.join-pair {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}
.join-apply {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 0.6rem;
  padding: 1.5rem 1.55rem;
}
.join-list { padding-left: 1.1rem; color: #555; }
.join-note { color: var(--muted); font-size: 0.82rem; }
.join-vacancy { border-top: 1px solid var(--hair); padding-top: 1rem; color: #555; }
.join-vacancy-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--muted);
}

.article-head {
  max-width: none;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hair);
}
.article-head h1 {
  margin: 0 0 0.7rem;
  font-size: 14px;
  line-height: 1.2;
}
.article-hero-clip { display: none; }
.news-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-standfirst {
  max-width: none;
  margin: 0 0 0.55rem;
  color: #3f3b35;
  font-size: 1.12rem;
}
.article-byline {
  max-width: none;
  color: var(--muted);
  font-size: 0.82rem;
}
.article-spread {
  display: block;
}
.article-spread::after {
  content: "";
  display: table;
  clear: both;
}
.article-body {
  max-width: none;
}
.article-body .article-clip {
  float: right;
  width: min(46%, 28rem);
  margin: 0 0 1.2rem 1.85rem;
}
.article-body p {
  color: #555;
  margin: 0 0 0.95rem;
}
.article-pull {
  margin: 1.2rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-style: italic;
}
.news-clip img { width: 100%; }
.news-clip figcaption { color: var(--muted); font-size: 0.78rem; margin-top: 0.4rem; }
.news-source { font-size: 0.82rem; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 16, 13, 0.88);
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }

.site-footer {
  padding: 2.6rem clamp(1.1rem, 3vw, 2.6rem) 2.5rem;
  border-top: 1px solid var(--hair);
  background: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.6rem;
}
.footer-blurb, .site-footer p { color: #6d675e; font-size: 14px; }
.footer-note {
  margin: 1.8rem 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 80, 40, 0.28);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { color: #fff; background: #1ebe5d; transform: translateY(-2px); }
.wa-float svg { width: 1.7rem; height: 1.7rem; }

.empty { padding: 0 2.4rem 3rem; color: var(--muted); }

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 1180px;
  margin: 0 auto 0.5rem;
  padding: 0 clamp(1.1rem, 3vw, 2.6rem) 1.4rem;
}
.page-shell .notes {
  max-width: none;
  margin: 0 0 0.5rem;
  padding: 1.6rem 0 1.4rem;
}
.notes article {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 0.55rem;
  padding: 1.15rem 1.2rem;
}
.notes p { color: #555; }

@media (max-width: 960px) {
  .join-pair, .contact-panel, .footer-grid, .notes { grid-template-columns: 1fr; }
  .article-body .article-clip {
    float: none;
    width: 100%;
    margin: 0 0 1.2rem;
  }
  .home-frame { width: auto; max-width: calc(100vw - 4.4rem); }
  #news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-header { position: sticky; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--hair);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem 1.2rem;
    gap: 0.85rem;
  }
  .site-nav.is-open { display: flex; }
  .klg-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stage { column-gap: 0.55rem; padding: 0.6rem 0.4rem 1rem; }
  .home-slides { max-height: 52vh; }
  .project-nextprev { flex-direction: column; align-items: flex-start; }
  .project-nextprev-link { font-size: 20px; }
  .project-nextprev-link--next { margin-left: 0; }
  .wordmark-name { font-size: 14px; }
  .wordmark-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
