/* Trio Architecture — chestnut, olive, desert tan, caramel, copper */

:root {
  --bg: #cbc9c1;
  --bg-dark: #480903;
  --text: #480903;
  --text-on-dark: #efe0bd;
  --line: rgba(72, 9, 3, 0.16);
  --line-on-dark: rgba(239, 224, 189, 0.18);
  --muted: #8a6a2f;
  --muted-on-dark: #cbab6e;
  --accent: #b64b12;
  --accent-light: #ce793a;
  --olive: #937a24;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Century Gothic", "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: "Century Gothic", "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}

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

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(233, 235, 230, 0.84);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  margin-left: 14px;
  line-height: 1;
}

.logo-text-trio {
  font-family: "Century Gothic", "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--olive);
}

.logo-text-sub {
  font-family: "Century Gothic", "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--olive);
  margin-top: 6px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
}

.main-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent);
}

.has-submenu {
  position: relative;
}

.has-submenu > a::after {
  content: "\25BE";
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.has-submenu:hover > a::after {
  color: var(--accent);
  transform: translateY(1px);
}

.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  padding: 22px 0 10px;
  margin-top: 0;
  list-style: none;
  background: #e9ebe6;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(72, 9, 3, 0.12);
  min-width: 230px;
  z-index: 30;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  display: block;
}

.submenu a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.submenu a:hover {
  color: var(--accent);
  background: rgba(182, 75, 18, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  margin-top: -85px;
  min-height: calc(86vh + 85px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1e1a12;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(255, 130, 69, 0.35) 0%, rgba(206, 121, 58, 0.35) 28%, rgba(182, 75, 18, 0.4) 60%, rgba(72, 9, 3, 0.55) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 30% 100%, rgba(147, 122, 36, 0.25), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text-on-dark);
}

.hero-tagline {
  margin-top: 28px;
  max-width: 480px;
  font-family: "Century Gothic", "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.4;
  color: var(--text-on-dark);
}

.hero-attribution {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 224, 189, 0.7);
}

/* Intro */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.intro-media {
  align-self: stretch;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  padding: 32px min(64px, 6vw) 32px 0;
}

.intro-content .btn {
  align-self: flex-start;
}

.intro-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-body p {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
}

.intro-body p.intro-statement {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 26px;
}

.intro-statement span {
  color: var(--accent);
  font-family: "Century Gothic", "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.intro-body p + p {
  margin-top: 24px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* Section headings */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 500;
}

.section-head .see-all {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-head .see-all:hover {
  color: var(--accent);
}

/* Carousel */

.carousel {
  position: relative;
  height: 92vh;
  min-height: 620px;
  max-height: 880px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(239, 224, 189, 0.4);
  background: rgba(28, 20, 12, 0.25);
  color: var(--text-on-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(28, 20, 12, 0.5);
  border-color: var(--text-on-dark);
}

.carousel-arrow--prev { left: 24px; }
.carousel-arrow--next { right: 24px; }

/* The Team */

.team-hero {
  padding: 64px 0 24px;
}

.team-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  margin-top: 8px;
}

.project-back {
  display: block;
  margin-top: 20px;
  width: fit-content;
}

.project-back + .project-back {
  margin-top: 10px;
}

.project-video {
  max-width: 900px;
  margin: 0 auto 100px;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 60px rgba(72, 9, 3, 0.22);
}

.project-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.project-gallery + .project-video {
  margin-top: -48px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding: 24px 0 100px;
}

.project-gallery .work-thumb.has-photo {
  cursor: pointer;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: rgba(20, 15, 10, 0.94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text-on-dark);
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--accent-light);
}

.lightbox-close {
  top: 28px;
  right: 32px;
  font-size: 32px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  line-height: 1;
  padding: 8px 14px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.team {
  padding: 40px 0 140px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.team-member {
  background: #f7f2e6;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px;
}

.team-photo {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  background: linear-gradient(155deg, #d9c49a, #b8925a);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo.has-photo::after {
  content: none;
}

.team-photo::after {
  content: "Photo coming soon";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(72, 9, 3, 0.4);
}

.team-member h3 {
  font-size: 18px;
  font-weight: 500;
}

.team-role {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.bio-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 0;
  background: none;
  border: none;
  font-family: "Century Gothic", "Questrial", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}

.bio-toggle-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -3px;
}

.bio-toggle[aria-expanded="true"] .bio-toggle-icon {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.team-bio {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.team-bio.is-open {
  max-height: 600px;
  opacity: 1;
}

.team-bio p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* Work grid */

.work {
  padding: 40px 0 140px;
  background: #d9d8d1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.work-card {
  display: block;
  cursor: pointer;
}

.work-thumb {
  aspect-ratio: 16 / 11;
  border-radius: 2px;
  background: linear-gradient(155deg, #d9c49a, #b8925a);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.work-card:hover .work-thumb {
  transform: scale(1.02);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-thumb.has-photo::after {
  content: none;
}

.work-thumb::after {
  content: "Image coming soon";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(72, 9, 3, 0.4);
}

.work-card h3 {
  font-size: 24px;
  font-weight: 500;
}

.work-card p {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.2s ease;
}

.work-card:hover p {
  color: var(--bg-dark);
}

.work-grid--gallery {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.work-grid--gallery .work-thumb {
  aspect-ratio: 4 / 5;
}

.work-grid--plain .work-thumb {
  margin-bottom: 0;
}

.work-meta {
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
}

.work-card:hover .work-meta {
  color: var(--muted);
}

/* Services */

/* Services — dark gallery */

.services {
  position: relative;
  padding: 0 0 120px;
  overflow: hidden;
  background: var(--svc-bg);
  color: var(--svc-text);

  --svc-bg: #2e2d2b;
  --svc-text: #fefefe;
  --svc-accent: #c47042;
  --svc-muted: rgba(254, 254, 254, 0.78);
  --svc-line: rgba(254, 254, 254, 0.16);
  --svc-numeral: rgba(196, 112, 66, 0.4);
}

.services > .wrap {
  position: relative;
  z-index: 1;
}

.svc-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 60vh, 580px);
  padding: 84px 32px 0;
  overflow: hidden;
  text-align: center;
}

.svc-cover-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: calc(clamp(420px, 60vh, 580px) + 340px);
  background:
    linear-gradient(to bottom, rgba(46, 45, 43, 0.87) 0%, rgba(46, 45, 43, 0.83) 32%, rgba(46, 45, 43, 0.9) 62%, rgba(46, 45, 43, 0.94) 100%),
    url("assets/services/collage-all.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 2.4s ease, transform 5s ease;
}

.svc-cover.is-visible + .svc-cover-bg {
  opacity: 1;
  transform: none;
}

.svc-cover-title {
  position: relative;
  z-index: 1;
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--svc-text);
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.6s ease 0.5s, transform 1.6s ease 0.5s;
}

.svc-cover.is-visible .svc-cover-title {
  opacity: 1;
  transform: none;
}

.svc-cover-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 40px auto 0;
  background: var(--svc-accent);
}

.svc-cover + .wrap {
  padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  .svc-cover-bg,
  .svc-cover-title {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.svc-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.svc-statement {
  margin-top: 22px;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--svc-text);
}

.svc-statement::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 28px auto 0;
  background: var(--svc-accent);
}

.svc-intro-text {
  margin-top: 32px;
}

.svc-intro-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--svc-muted);
}

.svc-intro-text p:first-child {
  font-size: 17px;
  line-height: 1.65;
  color: var(--svc-text);
}

.svc-intro-text p + p {
  margin-top: 20px;
}

.svc {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--svc-line);
  scroll-margin-top: 96px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.svc-intro + .svc {
  margin-top: 64px;
}


.svc-num {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--svc-accent);
}

.svc-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--svc-text);
}

.svc-tagline {
  margin-top: 16px;
  max-width: 340px;
  padding-left: 20px;
  border-left: 2px solid var(--svc-accent);
  font-size: 17px;
  line-height: 1.5;
  color: var(--svc-accent);
}

.svc--text .svc-num {
  margin-bottom: 0;
  font-size: clamp(44px, 5.5vw, 70px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.9;
  color: var(--svc-numeral);
}

.svc-body {
  margin-top: 28px;
}

.svc-lead {
  max-width: 760px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--svc-text);
}

.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 11px 24px;
  background: none;
  border: 1px solid var(--svc-accent);
  border-radius: 2px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--svc-accent);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.svc-more:hover,
.svc-more:focus-visible {
  background: var(--svc-accent);
  color: var(--svc-bg);
}

.svc-more-icon {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease, margin 0.3s ease;
}

.svc-more[aria-expanded="true"] .svc-more-icon {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.svc-more-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transition: grid-template-rows 0.5s ease, opacity 0.4s ease, visibility 0s linear 0.5s;
}

.svc-more-panel.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transition: grid-template-rows 0.5s ease, opacity 0.4s ease, visibility 0s;
}

.svc-more-panel > .svc-cols {
  min-height: 0;
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.5s ease;
}

.svc-more-panel.is-open > .svc-cols {
  padding-top: 26px;
}

.svc-cols {
  column-count: 2;
  column-gap: 56px;
}

.svc-cols p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--svc-muted);
  break-inside: avoid;
}

.svc--finale {
  text-align: center;
}

.svc--finale .svc-tagline {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  padding-left: 0;
  border-left: 0;
}

.svc--finale .svc-body {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.svc--finale .svc-lead {
  margin: 0 auto;
  font-size: 17px;
}

.svc--finale .svc-cols {
  padding-top: 20px;
  column-count: 1;
}

.svc--finale .svc-closing {
  margin-top: 32px;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--svc-accent);
}

@media (max-width: 900px) {
  .services {
    padding: 0 0 80px;
  }

  .svc-cover + .wrap {
    padding-top: 56px;
  }

  .svc,
  .svc-intro + .svc {
    margin-top: 40px;
    padding-top: 40px;
  }

  .svc-body {
    margin-top: 22px;
  }

  .svc-cols {
    column-count: 1;
  }

}

.svc-board {
  padding: 32px;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: 3px;
  scroll-margin-top: 100px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.svc-board:last-child {
  margin-bottom: 0;
}

.svc-board img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.service-item {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.service-item .num {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}

.service-item h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.service-item ul {
  list-style: none;
}

.service-item li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}

.service-item li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Spotlight (Casa by CH) */

.spotlight {
  padding: 40px 0 140px;
  background: #e9ebe6;
}

.spotlight .section-head {
  border-top-color: rgba(46, 45, 43, 0.3);
}

.spotlight .section-head h2 {
  color: #2e2d2b;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.spotlight-thumb {
  aspect-ratio: 16 / 11;
  border-radius: 2px;
  overflow: hidden;
}

.spotlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-copy p {
  font-size: 20px;
  line-height: 1.6;
  color: #2e2d2b;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background: #2e2d2b;
  color: var(--text-on-dark);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #5a5957;
}

.spotlight .btn {
  padding: 20px 52px;
  background: #2e2d2b;
  color: #fefefe;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(46, 45, 43, 0.28);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.spotlight .btn:hover {
  background: #cbc9c1;
  color: #2e2d2b;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(46, 45, 43, 0.36);
}

/* Awards & Publications */

.awards {
  padding: 40px 0 140px;
  background: #d9d8d1;
}

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

.featured-in {
  margin-top: 32px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}

.awards .btn {
  margin-top: 36px;
  padding: 20px 52px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(46, 45, 43, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.awards .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(46, 45, 43, 0.36);
}

.featured-in-label {
  margin-right: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

/* Contact / footer */

.contact {
  background: #1e1a12;
  color: var(--text-on-dark);
  padding: 120px 0 60px;
}

.contact h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  max-width: 640px;
  line-height: 1.2;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line-on-dark);
}

.contact-details h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 14px;
}

.contact-details p,
.contact-details a {
  font-size: 15px;
  color: var(--text-on-dark);
  line-height: 1.8;
}

.contact-details a:hover {
  color: var(--accent-light);
}

.contact-map {
  margin-top: 48px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.contact-map.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-map-frame {
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line-on-dark);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.contact-map .btn {
  background: #cbc9c1;
  color: #2e2d2b;
  margin-top: 24px;
  padding: 20px 52px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(46, 45, 43, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-map .btn:hover {
  background: #fefefe;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(46, 45, 43, 0.36);
}

.footer-bottom {
  margin-top: 80px;
  font-size: 13px;
  color: var(--muted-on-dark);
  display: flex;
  justify-content: space-between;
}

/* Responsive */

@media (max-width: 1080px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #e9ebe6;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 32px 24px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .submenu {
    display: block;
    position: static;
    margin: 0 0 8px;
    padding: 0;
    border: none;
    box-shadow: none;
    min-width: 0;
  }

  .submenu a {
    padding: 10px 0 10px 20px;
    font-size: 12px;
    border-bottom: none;
  }

  .nav-toggle {
    display: block;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .carousel {
    height: 60vh;
    min-height: 380px;
  }

  .intro-content {
    max-width: none;
    padding: 40px 32px;
  }

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

  .contact-details {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-map-frame iframe {
    height: 340px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
