:root {
  --ink: #241b14;
  --muted: #7f7367;
  --paper: #f3eee4;
  --line: #d1c4b2;
  --soft: #e5dac7;
  --accent: #9c5f32;
  --green: #6f7668;
  --gold: #b88d56;
  --walnut: #3a2417;
  --oak: #c79a62;
  --stone: #c8bdab;
  --linen: #fbf7ee;
  --bronze: #9f7248;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(199, 154, 98, .22), transparent 30vw),
    radial-gradient(circle at 85% 6%, rgba(111, 118, 104, .14), transparent 28vw),
    linear-gradient(135deg, rgba(80, 51, 32, .045) 0 12%, transparent 12% 24%, rgba(80, 51, 32, .035) 24% 36%, transparent 36%),
    var(--paper);
  font-family: var(--font);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff5e7;
  background:
    linear-gradient(90deg, rgba(45, 24, 12, .74), rgba(155, 98, 50, .54) 48%, rgba(45, 24, 12, .64)),
    repeating-linear-gradient(92deg, rgba(255, 227, 181, .12) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, rgba(255, 238, 205, .16), rgba(58, 31, 16, .08));
  border-bottom: 1px solid rgba(255, 233, 198, .22);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 226, .16),
    0 10px 34px rgba(23, 15, 9, .18);
  backdrop-filter: blur(18px) saturate(1.12);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -34px;
  left: 0;
  height: 34px;
  content: "";
  background: linear-gradient(180deg, rgba(37, 20, 11, .22), transparent);
  pointer-events: none;
}

.site-header.scrolled,
.site-header.open {
  color: #fff5e7;
  background:
    linear-gradient(90deg, rgba(45, 24, 12, .86), rgba(148, 91, 44, .7) 48%, rgba(45, 24, 12, .82)),
    repeating-linear-gradient(92deg, rgba(255, 227, 181, .13) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, rgba(255, 238, 205, .16), rgba(58, 31, 16, .12));
  border-bottom: 1px solid rgba(255, 219, 166, .28);
  backdrop-filter: blur(20px) saturate(1.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 500;
  line-height: .9;
  text-transform: lowercase;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 0 2px 16px rgba(20, 10, 4, .46);
}

.brand span {
  display: inline-block;
  padding: 5px 0 6px;
  border-bottom: 1px solid rgba(255, 245, 231, .38);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  font-size: 15px;
}

.desktop-nav button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.desktop-nav a,
.desktop-nav button {
  position: relative;
}

.desktop-nav a::after,
.desktop-nav button::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transition: width .25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav button:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 245, 231, .52);
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 245, 231, .07);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.mega {
  position: fixed;
  inset: 78px 0 auto;
  z-index: 35;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) 2fr minmax(240px, .75fr);
  gap: 34px;
  padding: 30px clamp(18px, 4vw, 56px) 34px;
  background:
    linear-gradient(120deg, rgba(255, 252, 244, .98), rgba(229, 218, 199, .98)),
    var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(58, 36, 23, .16);
  transform: translateY(-18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.mega.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mega-panel {
  display: none;
  grid-column: 1 / 3;
  grid-template-columns: minmax(180px, .45fr) 1fr 1fr;
  gap: 28px;
}

.mega-panel.active {
  display: grid;
}

.mega-title {
  font-size: clamp(24px, 4vw, 54px);
  line-height: .94;
  font-weight: 500;
}

.mega-title span {
  font-size: .55em;
}

.pill,
.filters button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.pill.active,
.filters button.active {
  color: var(--paper);
  background: var(--walnut);
}

.link-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.link-grid a {
  width: fit-content;
  color: #493427;
  font-size: clamp(17px, 1.9vw, 27px);
  line-height: 1.08;
}

.studio-links {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  margin-top: 0;
}

.search {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 9px;
}

.search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 112px clamp(18px, 4vw, 56px) clamp(34px, 5vw, 62px);
  overflow: hidden;
  background: var(--walnut);
  color: #fff8eb;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 13, 9, .52) 0%, rgba(18, 13, 9, .24) 30%, transparent 58%),
    linear-gradient(0deg, rgba(17, 12, 8, .2) 0%, transparent 38%, rgba(17, 12, 8, .08) 100%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 248, 235, .08) 47% 47.25%, transparent 47.25% 100%);
  mix-blend-mode: screen;
  opacity: .28;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: min(720px, 62vw);
  padding-bottom: clamp(86px, 10vh, 130px);
}

.hero-copy::before {
  display: none;
}

.hero h1 {
  margin: 0;
  max-width: 7.4em;
  font-size: clamp(64px, 9.1vw, 144px);
  line-height: .82;
  font-weight: 500;
  text-wrap: balance;
  text-shadow: 0 18px 44px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .55);
}

.clocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: clamp(26px, 4vw, 54px);
  color: rgba(255, 248, 235, .72);
  text-shadow: 0 8px 20px rgba(0, 0, 0, .55);
  font-size: clamp(13px, 1.5vw, 18px);
}

.clocks b {
  margin-left: 7px;
  color: #fff8eb;
  font-weight: 500;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.material-tags span {
  border: 1px solid rgba(255, 248, 235, .34);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(18, 13, 9, .26);
  color: rgba(255, 248, 235, .82);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.hero-slide-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1f1710;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.05) brightness(1.13);
  transform: scale(1.015);
  transition: opacity .35s ease, transform .8s ease, filter .35s ease;
}

.hero-media img.is-changing {
  opacity: .72;
  transform: scale(1.035);
  filter: saturate(1.04) brightness(1.08);
}

.hero-slide-controls {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 52px);
  left: auto;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
  padding: 10px 10px 16px;
  color: #fff8eb;
  background: rgba(22, 16, 11, .34);
  border: 1px solid rgba(255, 248, 235, .24);
  backdrop-filter: blur(14px);
}

.hero-slide-controls::after {
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 10px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(213, 177, 132, .95), rgba(255, 248, 235, .8));
  transform-origin: left center;
  animation: heroProgress 4.5s linear infinite;
}

.hero-slide-frame.is-resetting .hero-slide-controls::after {
  animation: none;
}

@keyframes heroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-slide-controls button {
  border: 1px solid rgba(255, 248, 235, .42);
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff8eb;
  background: rgba(255, 248, 235, .08);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.hero-slide-controls button:hover {
  background: rgba(255, 248, 235, .18);
  transform: translateY(-1px);
}

.hero-slide-controls span {
  min-width: 72px;
  text-align: center;
  color: rgba(255, 248, 235, .74);
  font-size: 13px;
}

.hero-media figcaption {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 4vw, 56px);
  bottom: calc(clamp(24px, 4vw, 52px) + 78px);
  max-width: min(420px, calc(100vw - 36px));
  padding: 9px 12px;
  color: rgba(255, 248, 235, .9);
  background: rgba(22, 16, 11, .34);
  border: 1px solid rgba(255, 248, 235, .2);
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
  backdrop-filter: blur(12px);
  text-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}

.projects figcaption {
  padding-top: 12px;
  color: rgba(255, 248, 235, .68);
  font-size: 13px;
}

.section {
  display: grid;
  grid-template-columns: minmax(160px, .35fr) 1fr;
  gap: clamp(24px, 5vw, 78px);
  padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px);
}

.expertise {
  background:
    linear-gradient(180deg, rgba(251, 247, 238, .7), rgba(229, 218, 199, .55)),
    var(--paper);
}

.section-label p,
.section-label h2,
.section-bar h2 {
  margin: 0;
}

.section-label p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 16px;
}

.section-label h2,
.section-bar h2 {
  font-size: clamp(30px, 5vw, 80px);
  line-height: .95;
  font-weight: 500;
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
  background: rgba(251, 247, 238, .32);
}

.service-list article {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) auto minmax(220px, .9fr);
  gap: 22px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding-left .25s ease;
}

.service-list article:hover {
  padding-left: 16px;
  background: rgba(199, 154, 98, .12);
}

.service-list h3,
.service-list p {
  margin: 0;
}

.service-list h3 {
  font-size: clamp(24px, 3.4vw, 52px);
  line-height: .98;
  font-weight: 500;
}

.service-list a,
.text-link,
.section-bar a,
.projects figcaption a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-list p {
  color: #5e5145;
  font-size: clamp(15px, 1.4vw, 20px);
}

.moments {
  padding: 0 clamp(18px, 4vw, 56px) clamp(70px, 9vw, 124px);
  background:
    linear-gradient(180deg, rgba(243, 238, 228, .2), rgba(213, 198, 178, .45));
}

.section-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.moment-grid article {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: rgba(251, 247, 238, .62);
  border: 1px solid rgba(209, 196, 178, .72);
}

.moment-grid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.92) contrast(.98) sepia(.08);
}

.moment-grid time,
.insight-list time {
  color: var(--muted);
  font-size: 13px;
}

.moment-grid h3 {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 25px);
  line-height: 1.05;
  font-weight: 500;
}

.projects {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: stretch;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 4vw, 56px);
  color: #fff8eb;
  background:
    linear-gradient(105deg, rgba(36, 27, 20, .96), rgba(78, 49, 31, .9)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px),
    var(--walnut);
}

.project-list {
  display: grid;
  align-content: center;
  border-top: 1px solid rgba(255, 248, 235, .24);
}

.project-list a {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 248, 235, .24);
  color: rgba(255, 248, 235, .58);
  font-size: clamp(28px, 4.8vw, 78px);
  line-height: .93;
  transition: color .25s ease, transform .25s ease;
}

.project-list a.active,
.project-list a:hover {
  color: #fff8eb;
  transform: translateX(10px);
}

.project-list span {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.3;
}

.projects figure {
  margin: 0;
}

.projects figure img {
  height: min(72vh, 720px);
  min-height: 430px;
  object-fit: cover;
  border: 1px solid rgba(255, 248, 235, .2);
  filter: saturate(.9) contrast(.98) sepia(.1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .32);
}

.sectors {
  background:
    radial-gradient(circle at 78% 30%, rgba(159, 114, 72, .18), transparent 28vw),
    linear-gradient(135deg, var(--soft), #d8cbb8);
}

.sector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 6vw, 76px);
}

.sector-tabs button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.sector-tabs button.active {
  color: var(--paper);
  background: var(--walnut);
}

.sector-board p {
  max-width: 960px;
  min-height: 2.8em;
  margin: 0;
  font-size: clamp(28px, 5vw, 82px);
  line-height: 1;
  font-weight: 500;
}

.people {
  padding: clamp(70px, 10vw, 130px) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7f1e5, #ebe0cf);
}

.people > p,
.people .text-link {
  margin-left: clamp(18px, 4vw, 56px);
  margin-right: clamp(18px, 4vw, 56px);
}

.people > p {
  max-width: 940px;
  margin-top: 0;
  font-size: clamp(28px, 5vw, 78px);
  line-height: 1;
  font-weight: 500;
}

.people > p span {
  display: inline-block;
  width: .48em;
  height: .48em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oak), var(--walnut));
}

.people-strip {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 34px 0 24px;
  animation: drift 26s linear infinite;
}

.people-strip img {
  width: clamp(170px, 18vw, 290px);
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(.92) sepia(.07);
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% + 50vw)); }
}

.insight {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, var(--linen), #efe4d1);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
  border-top: 1px solid var(--line);
}

.insight-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 1.9vw, 28px);
  line-height: 1.08;
  text-transform: uppercase;
}

.insight-list time {
  flex: 0 0 auto;
  text-transform: none;
}

.footer {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px) 34px;
  color: #fff8eb;
  background:
    radial-gradient(circle at 70% 12%, rgba(184, 141, 86, .22), transparent 26vw),
    linear-gradient(120deg, #21160f, #3a2417 55%, #25170f);
}

.footer-mark {
  margin-bottom: clamp(44px, 8vw, 92px);
  color: rgba(255, 248, 235, .5);
  font-size: clamp(30px, 6vw, 100px);
  line-height: .9;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, .8fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
}

.contact-grid h2 {
  max-width: 740px;
  margin: 0 0 24px;
  font-size: clamp(34px, 6vw, 96px);
  line-height: .93;
  font-weight: 500;
}

.contact-grid h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.contact-grid p {
  max-width: 520px;
  color: rgba(255, 248, 235, .68);
  font-size: 18px;
  line-height: 1.45;
}

form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 248, 235, .78);
  font-size: 14px;
}

label span {
  margin-left: 7px;
  color: rgba(255, 248, 235, .45);
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 248, 235, .35);
  border-radius: 0;
  outline: 0;
  padding: 11px 0;
  color: #fff8eb;
  background: transparent;
}

textarea {
  resize: vertical;
}

form button {
  justify-self: start;
  min-width: 124px;
  border: 1px solid #d5b184;
  border-radius: 999px;
  padding: 12px 20px;
  color: #241b14;
  background: #d5b184;
  cursor: pointer;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  margin-top: clamp(56px, 8vw, 120px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 248, 235, .2);
  color: rgba(255, 248, 235, .67);
  font-size: 14px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom address {
  font-style: normal;
  line-height: 1.55;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mega {
    inset: 78px 0 0;
    grid-template-columns: 1fr;
    align-content: start;
    overflow: auto;
  }

  .mega-panel,
  .mega-panel.active {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .search {
    align-self: start;
  }

  .projects,
  .contact-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: end;
  }

  .projects figure img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-slide-controls {
    right: 18px;
    bottom: 24px;
  }

  .hero-media figcaption {
    right: 18px;
    bottom: 104px;
  }

  .section {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr auto;
    padding: 18px 0;
  }

  .service-list article p {
    grid-column: 1 / -1;
  }

  .moment-grid,
  .insight-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    padding-top: 96px;
  }

  .hero-copy {
    max-width: 100%;
    padding-bottom: 142px;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 68px);
  }

  .clocks,
  .material-tags {
    gap: 10px;
  }

  .hero-slide-controls {
    grid-template-columns: 1fr auto 1fr;
    width: calc(100vw - 36px);
  }

  .hero-slide-controls button:first-child {
    justify-self: start;
  }

  .hero-slide-controls button:last-child {
    justify-self: end;
  }

  .hero-media figcaption {
    left: 18px;
    text-align: left;
  }

  .moment-grid,
  .insight-list {
    grid-template-columns: 1fr;
  }

  .insight-list a {
    display: grid;
  }

  .sector-board p,
  .people > p {
    font-size: clamp(30px, 12vw, 56px);
  }
}
