:root {
  --charcoal: #20211f;
  --ink: #2d2d2a;
  --warm-white: #f7f4ee;
  --stone: #d7d0c4;
  --stone-dark: #8d877c;
  --olive: #68715a;
  --olive-deep: #444b3b;
  --line: rgba(32, 33, 31, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 23, 21, 0.16);
  --image-text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
  --sans: Inter, Manrope, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

body.lang-zh [data-en],
body:not(.lang-zh) [data-zh] {
  display: none;
}

body.lang-zh {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Heiti SC", sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 22px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.95);
  color: var(--charcoal);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 700;
}

.brand-logo {
  width: 168px;
  height: 55px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  filter: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle,
.menu-toggle {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.language-toggle {
  min-width: 64px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 40px;
  place-items: center;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 22, 20, 0.78), rgba(21, 22, 20, 0.3) 54%, rgba(21, 22, 20, 0.08)),
    linear-gradient(0deg, rgba(21, 22, 20, 0.54), transparent 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin: 0 clamp(20px, 6vw, 84px) clamp(48px, 9vh, 86px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--white);
  text-shadow: var(--image-text-shadow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.8vw, 92px);
  text-shadow: var(--image-text-shadow);
}

h2 {
  margin-bottom: 22px;
  color: var(--charcoal);
  font-size: clamp(32px, 4.8vw, 64px);
}

h3 {
  color: var(--charcoal);
  font-size: 22px;
  line-height: 1.25;
}

body.lang-zh h1,
body.lang-zh h2,
body.lang-zh .project-preview h3,
body.lang-zh .project-modal-header h2,
body.lang-zh .project-detail-list h3,
body.lang-zh .cta h2 {
  font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-weight: 600;
  line-height: 1.12;
}

body.lang-zh h1 {
  max-width: 780px;
  font-size: clamp(38px, 5.6vw, 76px);
}

body.lang-zh h2 {
  font-size: clamp(30px, 4.2vw, 54px);
}

body.lang-zh .project-preview h3 {
  font-size: clamp(30px, 3.8vw, 48px);
}

body.lang-zh .project-modal-header h2 {
  font-size: clamp(28px, 3vw, 40px);
}

body.lang-zh .project-detail-list h3 {
  font-size: clamp(24px, 2.6vw, 34px);
}

body.lang-zh .cta h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.8vw, 52px);
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--white);
  font-size: clamp(17px, 1.6vw, 21px);
  text-shadow: var(--image-text-shadow);
}

.hero-actions,
.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.button.primary {
  border-color: var(--olive-deep);
  background: var(--olive-deep);
  color: var(--white);
}

.hero .button.primary {
  border-color: var(--warm-white);
  background: var(--warm-white);
  color: var(--charcoal);
}

.button.ghost {
  color: var(--white);
}

.button.light {
  border-color: var(--warm-white);
  background: var(--warm-white);
  color: var(--charcoal);
}

.button:hover,
.button:focus-visible {
  background: var(--charcoal);
  color: var(--white);
}

.section,
.section-band {
  padding: clamp(76px, 10vw, 140px) clamp(20px, 5vw, 70px);
}

.section-band {
  background: var(--white);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.section-copy,
.section-heading,
.split-copy,
.contact-copy {
  max-width: 760px;
}

.section-copy p,
.split-copy p,
.contact-copy p {
  color: #55544f;
  font-size: 18px;
}

.intro-image,
.split-media {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro-image img,
.split-media img {
  width: 100%;
  height: min(64vw, 680px);
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 94px);
  align-items: center;
}

.services {
  background: #efebe3;
}

.section-heading {
  margin-bottom: clamp(34px, 6vw, 74px);
}

.section-heading.wide {
  max-width: 980px;
}

.section-intro {
  max-width: 680px;
  color: #c9c1b4;
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--warm-white);
}

.service-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-item div {
  position: relative;
  z-index: 1;
  background: var(--warm-white);
  padding: 26px;
}

.service-item p,
.process-list p {
  color: #636058;
}

.projects {
  background: var(--charcoal);
  color: var(--warm-white);
}

.projects h2,
.projects h3 {
  color: var(--warm-white);
}

.project-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  background: #2d2d2a;
}

.project-card.feature {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 20, 18, 0.9), rgba(20, 20, 18, 0.42) 48%, rgba(20, 20, 18, 0.12));
  content: "";
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card-copy {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.project-card-copy p {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-shadow: var(--image-text-shadow);
  text-transform: uppercase;
}

.project-card-copy h3 {
  max-width: 520px;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 500;
  text-shadow: var(--image-text-shadow);
}

.project-card-copy > span {
  display: block;
  max-width: 560px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.55;
  text-shadow: var(--image-text-shadow);
}

.project-detail-list {
  margin-top: 18px;
  border: 1px solid rgba(247, 244, 238, 0.14);
}

.project-library,
.project-detail-list {
  display: none;
}

.project-browser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
}

.project-browser-panel,
.project-preview {
  border: 1px solid rgba(247, 244, 238, 0.16);
  background:
    linear-gradient(145deg, rgba(247, 244, 238, 0.1), rgba(247, 244, 238, 0.025)),
    rgba(247, 244, 238, 0.04);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}

.project-browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.14);
}

.project-browser-head p,
.project-browser-head span {
  margin: 0;
  color: rgba(247, 244, 238, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 10px;
  max-height: none;
  overflow: visible;
  padding: 10px;
}

.project-select-button {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 238, 0.1);
  background: #11120f;
  color: var(--warm-white);
  cursor: pointer;
  margin: 0;
  padding: 0;
  text-align: left;
  transition: border 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-select-button::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(12, 13, 11, 0.92), rgba(12, 13, 11, 0.42) 50%, rgba(12, 13, 11, 0.08)),
    linear-gradient(135deg, rgba(104, 113, 90, 0.36), transparent 42%);
  content: "";
  opacity: 0.88;
  transition: opacity 180ms ease;
}

.project-select-button::after {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  bottom: 14px;
  left: 14px;
  border: 1px solid rgba(247, 244, 238, 0.22);
  content: "";
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-select-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
  transition: filter 180ms ease, transform 180ms ease;
}

.project-select-button strong {
  display: block;
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 42px;
  left: 18px;
  color: var(--warm-white);
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 0.98;
  text-shadow: var(--image-text-shadow);
}

.project-select-button small,
.project-select-button span {
  position: absolute;
  z-index: 3;
  color: var(--white);
  font-size: 12px;
  text-shadow: var(--image-text-shadow);
}

.project-select-button > span:first-of-type {
  position: static;
}

.project-select-button small {
  right: 18px;
  bottom: 18px;
  left: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-select-button > span:last-child {
  display: grid;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(247, 244, 238, 0.36);
  background: rgba(12, 13, 11, 0.46);
  color: var(--white);
  font-family: var(--serif);
  font-size: 20px;
}

.project-select-button:nth-child(1),
.project-select-button:nth-child(6),
.project-select-button:nth-child(9) {
  grid-column: span 2;
}

.project-select-button:nth-child(5),
.project-select-button:nth-child(8) {
  grid-row: span 2;
}

.project-select-button:nth-child(6) {
  grid-row: span 2;
}

.project-select-button.is-active,
.project-select-button:hover,
.project-select-button:focus-visible {
  border-color: rgba(215, 208, 196, 0.48);
  background: rgba(247, 244, 238, 0.1);
  outline: none;
  transform: translateY(-4px);
}

.project-select-button.is-active::before,
.project-select-button:hover::before,
.project-select-button:focus-visible::before {
  opacity: 0.68;
}

.project-select-button.is-active::after,
.project-select-button:hover::after,
.project-select-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.project-select-button.is-active img,
.project-select-button:hover img,
.project-select-button:focus-visible img {
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.04);
}

.project-preview {
  display: none;
}

.project-preview > img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
}

.project-preview::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(247, 244, 238, 0.18), transparent 24%),
    linear-gradient(0deg, rgba(20, 20, 18, 0.92), rgba(20, 20, 18, 0.44) 48%, rgba(20, 20, 18, 0.1));
  content: "";
}

.project-preview::before {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 22px;
  bottom: 22px;
  left: 22px;
  border: 1px solid rgba(247, 244, 238, 0.2);
  content: "";
  pointer-events: none;
}

.project-preview > div {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 30px;
  left: 30px;
  max-width: 680px;
}

.project-preview p {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-shadow: var(--image-text-shadow);
  text-transform: uppercase;
}

.project-preview h3 {
  margin-bottom: 10px;
  color: var(--warm-white);
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 0.98;
  text-shadow: var(--image-text-shadow);
}

.project-preview span {
  display: block;
  margin-bottom: 22px;
  color: var(--white);
  text-shadow: var(--image-text-shadow);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.project-modal.is-open {
  display: block;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 14, 12, 0.72);
}

.project-modal-panel {
  position: absolute;
  inset: 24px;
  overflow: auto;
  background: #171815;
  color: var(--warm-white);
  box-shadow: var(--shadow);
}

.project-modal-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 24, 21, 0.94);
  padding: 22px clamp(18px, 4vw, 42px);
  backdrop-filter: blur(16px);
}

.project-modal-header p {
  margin-bottom: 6px;
  color: var(--stone);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-modal-header h2 {
  margin-bottom: 4px;
  font-size: clamp(30px, 3.4vw, 46px);
}

.project-modal-header span {
  color: rgba(247, 244, 238, 0.68);
}

.modal-close {
  border: 1px solid rgba(247, 244, 238, 0.44);
  background: transparent;
  color: var(--warm-white);
  cursor: pointer;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-modal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 148px;
  gap: 10px;
  padding: clamp(18px, 4vw, 42px);
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(247, 244, 238, 0.12);
  background: #0d0e0c;
  cursor: pointer;
  padding: 0;
}

.gallery-tile:nth-child(7n + 1),
.gallery-tile:nth-child(7n + 5) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile:nth-child(11n + 3) {
  grid-column: span 2;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(0deg, rgba(13, 14, 12, 0.7), transparent 58%);
  content: "";
  transition: border 180ms ease, background 180ms ease;
}

.gallery-tile span {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 7px;
  color: var(--warm-white);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.62);
}

.gallery-tile:hover,
.gallery-tile:focus-visible,
.gallery-tile.is-active {
  border-color: rgba(215, 208, 196, 0.72);
  outline: none;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img,
.gallery-tile.is-active img {
  filter: brightness(1.08) saturate(1.02);
  transform: translateY(-3px);
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after,
.gallery-tile.is-active::after {
  border-color: rgba(247, 244, 238, 0.4);
  background: linear-gradient(0deg, rgba(13, 14, 12, 0.34), transparent 56%);
}

.slideshow-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.slideshow-modal.is-open {
  display: block;
}

.slideshow-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 8, 0.9);
}

.slideshow-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 3vw, 46px);
}

.slideshow-panel figure {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 74vh;
}

.slideshow-panel figure img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.slideshow-panel figcaption {
  position: absolute;
  right: 0;
  bottom: -34px;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(247, 244, 238, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.slideshow-close,
.slideshow-nav {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(247, 244, 238, 0.42);
  background: rgba(247, 244, 238, 0.06);
  color: var(--warm-white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.slideshow-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 14px;
}

.slideshow-nav {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: 0;
}

.slideshow-nav span {
  display: block;
  width: 18px;
  height: 18px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.slideshow-nav.previous span {
  transform: rotate(-45deg) translate(2px, 2px);
}

.slideshow-nav.next span {
  transform: rotate(135deg) translate(2px, 2px);
}

.slideshow-nav:hover,
.slideshow-nav:focus-visible,
.slideshow-close:hover,
.slideshow-close:focus-visible {
  background: var(--warm-white);
  color: var(--charcoal);
  outline: none;
}

.project-detail-list article {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 1px;
  background: rgba(247, 244, 238, 0.14);
}

.project-detail-list article > div:first-child {
  padding: clamp(24px, 4vw, 42px);
  background: var(--charcoal);
}

.project-detail-list h3 {
  color: var(--warm-white);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
}

.project-detail-list p {
  margin-bottom: 0;
  color: rgba(247, 244, 238, 0.7);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(247, 244, 238, 0.14);
}

.mini-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.why {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-self: start;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-grid > span {
  min-height: 104px;
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--warm-white);
  color: var(--charcoal);
  font-weight: 700;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-list article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list article > span {
  display: block;
  margin-bottom: 54px;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 42px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 96px);
  background: #efebe3;
}

.contact-logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  margin: 0 0 clamp(24px, 4vw, 40px);
  object-fit: contain;
}

.contact-details {
  display: grid;
  gap: 20px;
  margin: 40px 0 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  color: var(--olive);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--olive-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  padding: 13px 14px;
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--olive);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--olive-deep);
  font-size: 13px;
  font-weight: 700;
}

.form-status.is-error {
  color: #9d2d20;
}

.cta {
  justify-content: space-between;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 70px);
  background: var(--olive-deep);
  color: var(--warm-white);
}

.cta h2 {
  max-width: 860px;
  margin: 0;
  color: var(--warm-white);
  font-size: clamp(32px, 4.4vw, 58px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 70px);
  background: var(--charcoal);
  color: rgba(247, 244, 238, 0.72);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 160px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

@media (max-width: 1080px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.feature {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    top: 99px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(247, 244, 238, 0.98);
    color: var(--charcoal);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
  }

  .intro,
  .split,
  .why,
  .contact,
  .project-detail-list article,
  .project-browser {
    grid-template-columns: 1fr;
  }

  .project-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
    max-height: none;
  }

  .project-modal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slideshow-panel {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 10px;
  }

  .intro-image img,
  .split-media img {
    height: 66vw;
    min-height: 320px;
  }

  .hero {
    min-height: 88vh;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand {
    gap: 8px;
  }

  .main-nav {
    top: 73px;
  }

  .brand-logo {
    width: 124px;
    height: 41px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 42px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
    line-height: 1.04;
  }

  .section,
  .section-band {
    padding: 64px 18px;
  }

  .service-grid,
  .project-library,
  .why-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-rows: auto 1fr;
  }

  .service-item img {
    height: 230px;
  }

  .project-card,
  .project-card img {
    min-height: 390px;
  }

  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .mini-gallery img {
    height: 260px;
  }

  .project-select-button:nth-child(1),
  .project-select-button:nth-child(5),
  .project-select-button:nth-child(6),
  .project-select-button:nth-child(8),
  .project-select-button:nth-child(9) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-selector {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .project-select-button > span:last-child {
    display: none;
  }

  .project-modal-panel {
    inset: 10px;
  }

  .project-modal-header {
    align-items: stretch;
    flex-direction: column;
  }

  .project-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .slideshow-panel {
    grid-template-columns: 1fr 1fr;
    align-content: center;
  }

  .slideshow-panel figure {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 64vh;
  }

  .slideshow-nav {
    width: 54px;
    height: 54px;
  }

  .slideshow-nav.previous {
    grid-column: 1;
    grid-row: 2;
  }

  .slideshow-nav.next {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-tile:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-header {
    gap: 16px;
  }

  .header-actions {
    gap: 8px;
  }
}
