:root {
  --ink: #101210;
  --soft-ink: #2f332e;
  --muted: #737a70;
  --paper: #f6f7f2;
  --paper-2: #ffffff;
  --line: #dfe3d8;
  --charcoal: #0f1412;
  --clay: #c35f3d;
  --sage: #4d6b57;
  --steel: #47687a;
  --ochre: #b99745;
  --mist: #dfe9e4;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(17, 23, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7f8f4 0%, #eef2ea 42%, #f8f7f1 100%);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(246, 247, 242, 0.72);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 18, 16, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 44px rgba(16, 18, 16, 0.08);
  display: flex;
  justify-content: space-between;
  left: clamp(12px, 2vw, 28px);
  padding: 12px 18px;
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  top: 14px;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
  z-index: 50;
}

.brand {
  display: grid;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--soft-ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--clay);
}

.hero-shell {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  min-height: 92vh;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    radial-gradient(circle at 78% 55%, rgba(164, 92, 66, 0.34), transparent 31%),
    linear-gradient(90deg, rgba(17, 23, 22, 0.9), rgba(17, 23, 22, 0.62) 42%, rgba(17, 23, 22, 0.2)),
    linear-gradient(0deg, rgba(17, 23, 22, 0.36), rgba(17, 23, 22, 0.08));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--paper-2);
  max-width: 820px;
  padding: clamp(128px, 18vh, 190px) clamp(20px, 7vw, 96px) 76px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #f2b48f;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

h1 {
  font-size: clamp(56px, 8.8vw, 118px);
  max-width: 980px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.hero-content p:not(.eyebrow) {
  color: rgba(251, 250, 246, 0.88);
  font-size: clamp(18px, 2vw, 23px);
  max-width: 640px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 22px;
  max-width: 720px;
}

.hero-proof span {
  background: rgba(251, 250, 246, 0.1);
  border: 1px solid rgba(251, 250, 246, 0.24);
  border-radius: 6px;
  color: rgba(251, 250, 246, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 9px 11px;
  text-transform: uppercase;
}

.hero-portrait {
  bottom: clamp(28px, 5vw, 64px);
  margin: 0;
  max-width: min(31vw, 390px);
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  width: 100%;
  z-index: 2;
}

.hero-portrait::before {
  border: 1px solid rgba(251, 250, 246, 0.36);
  content: "";
  inset: -12px 12px 12px -12px;
  position: absolute;
}

.hero-portrait img {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(251, 250, 246, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  height: auto;
  object-fit: cover;
  position: relative;
  width: 100%;
}

.hero-portrait figcaption {
  background: rgba(17, 23, 22, 0.78);
  border: 1px solid rgba(251, 250, 246, 0.18);
  bottom: 14px;
  color: var(--paper-2);
  display: grid;
  gap: 2px;
  left: 14px;
  padding: 12px 14px;
  position: absolute;
  right: 14px;
}

.hero-portrait figcaption strong {
  font-size: 15px;
}

.hero-portrait figcaption span {
  color: rgba(251, 250, 246, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-portrait {
  display: none;
}

.hero-actions,
.project-actions,
.document-list,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter-button,
.inline-link {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 12px 18px;
  text-transform: uppercase;
}

.button-primary,
.filter-button.is-active {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--white);
}

.button-secondary {
  background: rgba(251, 250, 246, 0.1);
  color: var(--paper-2);
}

.button:hover,
.button:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-1px);
}

.section-wrap,
.profile-band,
.contact-band,
.project-main {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 70px);
  scroll-margin-top: 96px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  max-width: 920px;
}

.section-heading p:not(.eyebrow),
.profile-copy p:not(.eyebrow),
.project-intro p,
.project-summary p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
  max-width: 760px;
}

.filter-row {
  margin-bottom: 26px;
}

.filter-button {
  background: transparent;
  color: var(--soft-ink);
  cursor: pointer;
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(17, 23, 22, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.project-card.is-hidden,
.project-card.is-folded {
  display: none;
}

.project-card.is-revealed {
  animation: project-card-reveal 520ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.project-card.is-revealed.reveal-delay-1 {
  animation-delay: 70ms;
}

.project-card.is-revealed.reveal-delay-2 {
  animation-delay: 140ms;
}

.project-card.is-revealed.reveal-delay-3 {
  animation-delay: 210ms;
}

.project-card.is-revealed.reveal-delay-4 {
  animation-delay: 280ms;
}

.project-card.is-revealed.reveal-delay-5 {
  animation-delay: 350ms;
}

.project-card.is-revealed.reveal-delay-6 {
  animation-delay: 420ms;
}

.project-card.is-revealed.reveal-delay-7 {
  animation-delay: 490ms;
}

.project-cover {
  aspect-ratio: 4 / 3;
  background: #202620;
  display: block;
  overflow: hidden;
}

.project-cover img {
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
  width: 100%;
}

.project-card:hover .project-cover img {
  transform: scale(1.035);
}

.project-card-body {
  display: grid;
  flex: 1;
  gap: 16px;
  padding: 22px;
}

.project-brand-lockup {
  align-items: center;
  background: #000;
  border: 1px solid rgba(17, 23, 22, 0.1);
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  flex: 0 0 auto;
  justify-self: start;
  overflow: hidden;
  width: 34px;
}

.project-brand-lockup img {
  aspect-ratio: 1;
  height: auto;
  width: 100%;
}

.project-meta-with-logo {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.project-meta,
.project-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  color: var(--ink);
  font-size: 29px;
}

.project-card p {
  color: var(--muted);
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.tag {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;

  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tag + .tag::before {
  content: "|";
  color: var(--muted);
  margin-right: 10px;
  opacity: 0.55;
}

.project-card details {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.project-card summary,
.gallery-section summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  list-style: none;
}

.project-card summary::-webkit-details-marker,
.gallery-section summary::-webkit-details-marker {
  display: none;
}

.project-card summary::after,
.gallery-section summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  transition: transform 220ms ease;
}

.project-card details[open] summary::after,
.gallery-section[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.mini-gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
}

.mini-gallery img {
  aspect-ratio: 1;
  border-radius: 4px;
  height: 100%;
  object-fit: cover;
  transition:
    filter 220ms ease,
    transform 220ms ease;
  width: 100%;
}

.mini-gallery img:hover {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.room-list {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin-top: 14px;
}

.room-list span {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 8px;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.room-list span:hover {
  background: rgba(195, 95, 61, 0.08);
  border-color: rgba(195, 95, 61, 0.2);
  color: var(--ink);
  transform: translateY(-1px);
}

.inline-link {
  color: var(--clay);
  justify-self: start;
}

.profile-band {
  background: var(--charcoal);
  color: var(--paper-2);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.profile-copy p:not(.eyebrow) {
  color: rgba(251, 250, 246, 0.72);
  margin-top: 20px;
}

.capability-list {
  border-top: 1px solid rgba(251, 250, 246, 0.18);
}

.capability-list div {
  border-bottom: 1px solid rgba(251, 250, 246, 0.18);
  display: grid;
  gap: 8px;
  grid-template-columns: 54px 1fr;
  padding: 22px 0;
}

.capability-list span {
  color: #f2b48f;
  font-weight: 800;
}

.capability-list strong {
  font-size: 20px;
}

.capability-list p {
  color: rgba(251, 250, 246, 0.68);
  grid-column: 2;
  margin: 0;
}

.contact-band {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.contact-grid {
  border-top: 1px solid var(--line);
}

.contact-grid > * {
  border-bottom: 1px solid var(--line);
  color: var(--soft-ink);
  display: block;
  font-weight: 700;
  padding: 18px 0;
}

.site-footer {
  align-items: center;
  background: var(--charcoal);
  color: rgba(251, 250, 246, 0.68);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding: 20px clamp(18px, 4vw, 56px);
  text-transform: uppercase;
}

.project-hero {
  color: var(--paper-2);
  min-height: 70vh;
  overflow: hidden;
  position: relative;
}

.project-hero > img {
  height: 100%;
  inset: 0;
  min-height: 70vh;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.project-hero::after {
  background:
    linear-gradient(90deg, rgba(17, 23, 22, 0.86), rgba(17, 23, 22, 0.36)),
    linear-gradient(0deg, rgba(17, 23, 22, 0.44), rgba(17, 23, 22, 0.1));
  content: "";
  inset: 0;
  position: absolute;
}

.project-hero-content {
  display: grid;
  gap: 18px;
  max-width: 880px;
  padding: clamp(120px, 19vh, 190px) clamp(20px, 7vw, 96px) 76px;
  position: relative;
  z-index: 1;
}

.project-page-logo {
  background: #000;
  border: 1px solid rgba(251, 250, 246, 0.2);
  border-radius: 8px;
  display: inline-flex;
  flex: 0 0 auto;
  height: auto;
  margin-right: 10px;
  vertical-align: middle;
  width: 46px;
}

.project-category-with-logo {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  max-width: max-content;
}

.project-hero-content p:not(.eyebrow) {
  color: rgba(251, 250, 246, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  margin: 0;
  max-width: 680px;
}

.back-link {
  color: rgba(251, 250, 246, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-main {
  display: grid;
  gap: 42px;
}

.project-summary {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.summary-panel {
  border-top: 1px solid var(--line);
  display: grid;
}

.summary-row {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.summary-row span:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-row span:last-child {
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.highlight-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.highlight-list li {
  border-left: 3px solid var(--clay);
  color: var(--soft-ink);
  padding-left: 12px;
}

.document-link {
  border-color: var(--steel);
  color: var(--steel);
}

.gallery-stack {
  display: grid;
  gap: 18px;
}

.gallery-section {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
}

.gallery-section summary h2 {
  font-size: clamp(27px, 4vw, 40px);
}

.gallery-intro {
  color: var(--muted);
  margin: 10px 0 22px;
  max-width: 720px;
}

.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  background: #202620;
  border: 0;
  border-radius: 6px;
  cursor: zoom-in;
  min-height: 180px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.gallery-item img,
.gallery-item video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery-item:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.video-item {
  cursor: default;
}

.media-badge {
  background: rgba(17, 23, 22, 0.8);
  border-radius: 4px;
  bottom: 8px;
  color: var(--paper-2);
  font-size: 11px;
  font-weight: 800;
  left: 8px;
  letter-spacing: 0.1em;
  padding: 5px 7px;
  position: absolute;
  text-transform: uppercase;
}

.lightbox {
  align-items: center;
  background: rgba(10, 12, 11, 0.92);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 68px clamp(14px, 4vw, 60px);
  position: fixed;
  z-index: 200;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 82vh;
  object-fit: contain;
  width: min(1200px, 100%);
}

.lightbox p {
  bottom: 20px;
  color: rgba(251, 250, 246, 0.78);
  left: 20px;
  margin: 0;
  position: absolute;
}

.lightbox-close,
.lightbox-nav {
  background: rgba(251, 250, 246, 0.08);
  border: 1px solid rgba(251, 250, 246, 0.32);
  border-radius: 6px;
  color: var(--paper-2);
  cursor: pointer;
  position: absolute;
}

.lightbox-close {
  font-size: 32px;
  height: 44px;
  right: 20px;
  top: 20px;
  width: 44px;
}

.lightbox-nav {
  font-size: 44px;
  height: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.empty-state {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1050px) {
  .project-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-summary,
  .profile-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 360px;
  }

  .hero-portrait {
    bottom: 44px;
    left: clamp(20px, 7vw, 96px);
    max-width: 280px;
    right: auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    position: absolute;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-shell,
  .hero-image {
    min-height: 980px;
  }

  .hero-content {
    padding-bottom: 430px;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof span {
    font-size: 11px;
  }

  .hero-portrait {
    bottom: 34px;
    left: 28px;
    max-width: min(68vw, 235px);
  }

  .project-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(7n + 1) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item {
    min-height: 240px;
  }

  .mini-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Modern editorial refresh */
.site-header.is-scrolled {
  background: rgba(246, 247, 242, 0.88);
  border-color: rgba(16, 18, 16, 0.12);
  box-shadow: 0 16px 52px rgba(16, 18, 16, 0.12);
  transform: translateY(1px);
}

.brand {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.site-nav {
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 12px;
}

.site-nav a {
  position: relative;
  transition: color 200ms ease;
}

.site-nav a::after {
  background: currentColor;
  bottom: -7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
  width: 100%;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-shell {
  min-height: 100svh;
  background: var(--charcoal);
  isolation: isolate;
}

.hero-image {
  min-height: 100svh;
  filter: saturate(0.72) contrast(1.08);
  opacity: 0.74;
  animation: hero-image-drift 1400ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  transform: scale(1.02);
  transform-origin: center;
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 20, 18, 0.92) 0%, rgba(15, 20, 18, 0.78) 42%, rgba(15, 20, 18, 0.2) 100%),
    linear-gradient(180deg, rgba(15, 20, 18, 0.18), rgba(15, 20, 18, 0.78));
}

.hero-content {
  max-width: min(820px, 72vw);
  padding: clamp(138px, 17vh, 178px) clamp(22px, 6vw, 86px) 72px;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p:not(.eyebrow),
.hero-proof,
.hero-actions,
.hero-shell > .hero-portrait,
.hero-shell > .mobile-portrait {
  animation: hero-rise 760ms cubic-bezier(0.2, 0.75, 0.22, 1) both;
}

.hero-content h1 {
  animation-delay: 90ms;
}

.hero-content p:not(.eyebrow) {
  animation-delay: 170ms;
}

.hero-proof {
  animation-delay: 250ms;
}

.hero-actions {
  animation-delay: 330ms;
}

.hero-shell > .hero-portrait,
.hero-shell > .mobile-portrait {
  animation-delay: 230ms;
}

h1 {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(58px, 9.5vw, 138px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

h2,
h3 {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-weight: 650;
}

.hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.42;
  max-width: 650px;
}

.eyebrow {
  color: var(--clay);
}

.hero-content .eyebrow {
  color: #ffb18f;
}

.hero-proof {
  margin: 28px 0 24px;
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.hero-proof span:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-2px);
}

.button,
.filter-button,
.inline-link {
  border-radius: 999px;
  min-height: 46px;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.button-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.44);
  color: #ffffff;
}

.hero-portrait {
  bottom: auto;
  max-width: clamp(220px, 27vw, 410px);
  right: clamp(18px, 5vw, 78px);
  top: clamp(112px, 18vh, 160px);
}

.hero-portrait::before {
  border-color: rgba(255, 255, 255, 0.18);
  inset: 14px -14px -14px 14px;
}

.hero-portrait img {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.44);
}

.hero-portrait figcaption {
  border-radius: 16px;
  bottom: 16px;
  left: 16px;
  right: 16px;
}

.section-wrap {
  padding-top: clamp(72px, 9vw, 130px);
}

.section-heading {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 76px);
  max-width: none;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.95;
}

.section-heading p:not(.eyebrow) {
  font-size: clamp(17px, 1.8vw, 21px);
}

.filter-row {
  margin: 34px 0 28px;
}

.filter-button {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(16, 18, 16, 0.14);
}

.filter-button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.project-grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(16, 18, 16, 0.1);
  border-radius: 24px;
  box-shadow: none;
  grid-column: span 4;
  position: relative;
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.project-card::after {
  border: 1px solid rgba(195, 95, 61, 0.2);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 260ms ease;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(195, 95, 61, 0.18);
  box-shadow: 0 24px 70px rgba(17, 23, 22, 0.12);
  transform: translateY(-6px);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card-featured {
  grid-column: span 8;
}

.project-cover {
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  margin: 12px 12px 0;
  position: relative;
}

.project-cover::after {
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.22), transparent 76%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  transition:
    opacity 260ms ease,
    transform 720ms ease;
}

.project-card-featured .project-cover {
  aspect-ratio: 16 / 8;
}

.project-cover img {
  border-radius: 18px;
  transition:
    filter 500ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project-card:hover .project-cover::after {
  opacity: 1;
  transform: translateX(120%);
}

.project-card:hover .project-cover img {
  filter: saturate(1.05) contrast(1.04);
}

.project-cover-placeholder {
  align-content: end;
  background:
    linear-gradient(135deg, rgba(77, 107, 87, 0.18), rgba(195, 95, 61, 0.18)),
    #f7f8f4;
  color: var(--ink);
  display: grid;
  height: 100%;
  padding: 24px;
}

.project-cover-placeholder span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-cover-placeholder strong {
  font-size: clamp(30px, 4vw, 58px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.project-card-body {
  gap: 14px;
  padding: 20px 22px 24px;
}

.project-brand-lockup {
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(17, 23, 22, 0.1);
  width: 38px;
}

.project-card-featured .project-brand-lockup {
  width: 40px;
}

.project-card h3 {
  font-size: clamp(27px, 3.2vw, 48px);
  letter-spacing: -0.045em;
}

.project-card p {
  font-size: 15px;
}

.project-subtitle {
  color: var(--sage);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.45;
  margin: -4px 0 0;
  text-transform: uppercase;
}

.tag {
  border-radius: 999px;
}

.process-band {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 244, 236, 0.88)),
    var(--paper-2);
  border: 1px solid rgba(16, 18, 16, 0.1);
  border-radius: 32px;
  display: grid;
  gap: clamp(28px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  margin: 0 clamp(16px, 5vw, 70px) clamp(54px, 8vw, 110px);
  padding: clamp(38px, 6vw, 72px);
}

.process-intro {
  align-self: start;
  display: grid;
  gap: 14px;
}

.process-intro h2 {
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 0.98;
}

.process-steps {
  background: rgba(16, 18, 16, 0.12);
  border: 1px solid rgba(16, 18, 16, 0.1);
  border-radius: 24px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.process-step {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 241, 0.96)),
    var(--paper-2);
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: clamp(20px, 2.8vw, 30px);
  position: relative;
  transition:
    background-color 240ms ease,
    transform 240ms ease;
}

.process-step::before {
  background: linear-gradient(90deg, var(--clay), rgba(77, 107, 87, 0.45));
  content: "";
  height: 3px;
  left: clamp(20px, 2.8vw, 30px);
  position: absolute;
  right: clamp(20px, 2.8vw, 30px);
  top: clamp(18px, 2.6vw, 26px);
  transform: scaleX(0.42);
  transform-origin: left;
  transition: transform 260ms ease;
}

.process-step:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 242, 232, 0.98)),
    var(--paper-2);
  transform: translateY(-3px);
}

.process-step:hover::before {
  transform: scaleX(1);
}

.process-step span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-top: 18px;
  text-transform: uppercase;
}

.process-step strong {
  color: var(--ink);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.05;
}

.process-step p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.profile-band {
  background: var(--charcoal);
  border-radius: 32px;
  margin: 0 clamp(16px, 5vw, 70px);
}

.contact-band {
  background: #ffffff;
  border-radius: 32px 32px 0 0;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 0;
  max-width: 680px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.contact-band .button-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.contact-band .button-secondary {
  background: rgba(16, 18, 16, 0.04);
  border-color: rgba(16, 18, 16, 0.18);
  color: var(--ink);
}

.contact-band .button:hover,
.contact-band .button:focus-visible {
  box-shadow: 0 14px 34px rgba(17, 23, 22, 0.12);
}

.contact-details {
  margin-top: 4px;
}

.case-study-band {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-study-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 244, 0.96)),
    var(--paper-2);
  border: 1px solid rgba(16, 18, 16, 0.1);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: clamp(20px, 2.8vw, 30px);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.case-study-card:hover {
  border-color: rgba(195, 95, 61, 0.22);
  box-shadow: 0 20px 58px rgba(17, 23, 22, 0.09);
  transform: translateY(-4px);
}

.case-study-card span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study-card h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.02;
}

.case-study-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.project-hero {
  min-height: clamp(500px, 68vh, 760px);
}

.project-hero > img {
  min-height: 100%;
}

.project-hero-content {
  max-width: min(960px, 90vw);
}

.project-hero-content h1 {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(48px, 7.4vw, 104px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.9;
  max-width: 940px;
}

.project-hero-no-cover {
  background:
    linear-gradient(135deg, rgba(77, 107, 87, 0.34), rgba(195, 95, 61, 0.18)),
    var(--charcoal);
}

.document-tile {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.document-tile span {
  color: var(--clay);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.document-tile h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.document-viewer {
  display: grid;
  gap: 16px;
}

.document-viewer summary {
  gap: 18px;
}

.document-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.document-load {
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  color: var(--paper-2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 12px 18px;
  text-transform: uppercase;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.document-load:hover,
.document-load:focus-visible {
  background: var(--clay);
  border-color: var(--clay);
}

.document-load:disabled {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}

.document-frame-shell {
  margin-top: 16px;
}

.document-frame {
  background: #ffffff;
  border: 1px solid rgba(16, 18, 16, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 18, 16, 0.08);
  height: min(78vh, 760px);
  min-height: 520px;
  width: 100%;
}

.project-grid {
  align-items: start;
}

.project-card {
  height: auto;
  min-height: 0;
}

.project-card-body {
  align-content: start;
}

.project-card details:not([open]) > :not(summary) {
  display: none;
}

.project-reveal {
  display: flex;
  justify-content: center;
  margin-top: clamp(26px, 4vw, 46px);
}

.project-reveal[hidden] {
  display: none;
}

.project-reveal-button {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 241, 232, 0.86)),
    var(--paper-2);
  border: 1px solid rgba(16, 18, 16, 0.16);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(17, 23, 22, 0.1);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 14px;
  letter-spacing: 0.1em;
  min-height: 54px;
  overflow: hidden;
  padding: 0 10px 0 24px;
  position: relative;
  text-transform: uppercase;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.project-reveal-button::before {
  background: linear-gradient(90deg, transparent, rgba(164, 92, 66, 0.16), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-105%);
  transition: transform 520ms ease;
}

.project-reveal-button:hover,
.project-reveal-button:focus-visible {
  border-color: rgba(164, 92, 66, 0.46);
  box-shadow: 0 22px 64px rgba(17, 23, 22, 0.14);
  transform: translateY(-2px);
}

.project-reveal-button:hover::before,
.project-reveal-button:focus-visible::before {
  transform: translateX(105%);
}

.project-reveal-button span {
  position: relative;
  z-index: 1;
}

.project-reveal-icon {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 22px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  transition:
    background-color 220ms ease,
    transform 220ms ease;
  width: 38px;
}

.project-reveal-button:hover .project-reveal-icon,
.project-reveal-button:focus-visible .project-reveal-icon {
  background: var(--clay);
  transform: rotate(90deg);
}

.project-reveal-button[aria-expanded="true"] .project-reveal-icon {
  transform: rotate(180deg);
}

.motion-ready .motion-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 680ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.motion-ready .motion-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .motion-delay-1 {
  transition-delay: 60ms;
}

.motion-ready .motion-delay-2 {
  transition-delay: 120ms;
}

.motion-ready .motion-delay-3 {
  transition-delay: 180ms;
}

.motion-ready .motion-delay-4 {
  transition-delay: 240ms;
}

.motion-ready .motion-delay-5 {
  transition-delay: 300ms;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-image-drift {
  from {
    transform: scale(1.06) translate3d(0, 10px, 0);
  }

  to {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
}

@keyframes project-card-reveal {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content p:not(.eyebrow),
  .hero-proof,
  .hero-actions,
  .hero-shell > .hero-portrait,
  .hero-shell > .mobile-portrait,
  .project-card.is-revealed {
    animation: none;
  }

  .motion-ready .motion-item,
  .motion-ready .motion-item.is-visible {
    opacity: 1;
    transform: none;
  }

  .project-card:hover {
    transform: none;
  }

  .project-reveal-button,
  .project-reveal-button::before,
  .project-reveal-icon,
  .project-card,
  .project-card::after,
  .project-cover::after,
  .project-cover img,
  .mini-gallery img,
  .room-list span,
  .motion-ready .motion-item {
    transition: none;
  }
}

@media (hover: none) {
  .project-card:hover,
  .hero-proof span:hover,
  .room-list span:hover {
    transform: none;
  }
}

@media (max-width: 1050px) {
  .hero-content {
    max-width: 76vw;
    padding-bottom: 72px;
  }

  .hero-portrait {
    max-width: 230px;
    right: 24px;
    top: 118px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-featured {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: center;
    border-radius: 18px;
    display: grid;
    gap: 8px;
    justify-items: start;
    left: 10px;
    position: fixed;
    right: 10px;
    top: 10px;
  }

  .brand {
    font-size: 10px;
  }

  .site-nav {
    flex-shrink: 1;
    font-size: 10px;
    gap: 14px;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-nav a[href="#contact"],
  .site-nav a[href="index.html#contact"],
  .site-nav a[href="../index.html#contact"] {
    display: none;
  }

  .hero-shell,
  .hero-image {
    min-height: 100svh;
  }

  .hero-content {
    max-width: 100%;
    padding: 250px 22px 42px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 88px);
  }

  .hero-portrait {
    left: auto;
    max-width: min(42vw, 178px);
    right: 22px;
    top: 92px;
  }

  .hero-portrait figcaption {
    display: none;
  }

  .hero-proof {
    margin-top: 22px;
  }

  .project-card,
  .project-card-featured {
    grid-column: 1 / -1;
  }

  .project-card-featured .project-cover,
  .project-cover {
    aspect-ratio: 4 / 3;
  }

  .profile-band {
    margin: 0 14px;
  }

  .hero-shell {
    display: block;
    gap: 18px;
    max-width: 100vw;
    min-height: 100svh;
    overflow-x: clip;
    padding: 100px 18px 36px;
    width: 100vw;
  }

  .hero-image {
    height: 100%;
    min-height: 100%;
  }

  .hero-content {
    grid-area: auto;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    width: 100%;
  }

  h1 {
    font-size: clamp(48px, 14vw, 58px);
    max-width: 320px;
    width: min(100%, 320px);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 15.5px;
    max-width: min(100%, 320px);
    overflow-wrap: break-word;
    width: min(100%, 320px);
  }

  .hero-portrait {
    align-self: start;
    bottom: auto !important;
    grid-area: auto;
    justify-self: end;
    left: 0 !important;
    margin: 0 0 18px 0 !important;
    max-width: none;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 104px !important;
  }

  .hero-portrait::before {
    inset: 10px -10px -10px 10px;
  }

  .document-frame {
    border-radius: 12px;
    height: 70vh;
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .hero-shell > .mobile-portrait {
    display: block;
    margin: 0 0 18px 0;
    position: relative;
    width: 112px;
    z-index: 2;
  }

  .mobile-portrait img {
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
    height: auto;
    object-fit: cover;
    width: 100%;
  }

  .hero-shell > .hero-portrait {
    display: none !important;
  }

  .project-hero-content {
    max-width: 100%;
    min-width: 0;
    padding: 140px 22px 48px;
    width: 100%;
  }

  .project-hero-content h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.96;
    max-width: 100%;
    overflow-wrap: break-word;
    width: 100%;
  }

  .project-page-logo {
    border-radius: 8px;
    width: 38px;
  }

  .project-hero-content p:not(.eyebrow) {
    font-size: 16px;
    max-width: 320px;
    overflow-wrap: break-word;
  }

  #projectCategory {
    line-height: 1.5;
    max-width: 320px;
    overflow-wrap: anywhere;
    width: min(100%, 320px);
  }

  .summary-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .summary-row span:last-child {
    text-align: left;
  }
}

/* Final responsive hero system */
.hero-shell {
  align-items: end;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(124px, 14vh, 168px) clamp(24px, 6vw, 86px) clamp(56px, 7vw, 86px);
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-content {
  max-width: min(740px, 58vw);
  padding: 0;
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  font-size: clamp(64px, 8.5vw, 128px);
  max-width: 100%;
}

.hero-content p:not(.eyebrow) {
  max-width: min(650px, 100%);
}

.hero-shell > .mobile-portrait {
  display: none;
}

.hero-shell > .hero-portrait {
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  max-width: none;
  position: absolute !important;
  right: clamp(24px, 6vw, 90px) !important;
  top: clamp(126px, 17vh, 170px) !important;
  width: clamp(240px, 24vw, 360px) !important;
  z-index: 3;
}

.project-hero {
  background: var(--charcoal);
  overflow: hidden;
  position: relative;
}

.project-hero > img {
  bottom: 0;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

@media (max-width: 1100px) {
  .hero-shell {
    align-content: center;
    align-items: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding: clamp(110px, 13vh, 140px) clamp(24px, 6vw, 58px) clamp(42px, 7vw, 72px);
  }

  .hero-shell > .mobile-portrait {
    display: block;
    margin: 0 0 22px;
    position: relative;
    width: clamp(112px, 18vw, 168px);
    z-index: 3;
  }

  .mobile-portrait img {
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.4);
    height: auto;
    object-fit: cover;
    width: 100%;
  }

  .hero-shell > .hero-portrait {
    display: none !important;
  }

  .hero-content {
    max-width: min(680px, 100%);
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(58px, 10.5vw, 92px);
    max-width: min(680px, 100%);
    width: 100%;
  }

  .hero-content p:not(.eyebrow) {
    max-width: min(600px, 100%);
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: center !important;
    border-radius: 999px !important;
    display: grid !important;
    grid-template-columns: minmax(0, auto) max-content !important;
    gap: 12px !important;
    left: 10px !important;
    max-width: calc(100vw - 20px) !important;
    overflow: hidden;
    padding: 11px 14px !important;
    right: 10px !important;
    top: 10px !important;
    width: calc(100vw - 20px) !important;
  }

  .brand {
    font-size: 9.5px !important;
    line-height: 1.08;
    min-width: 0;
  }

  .site-nav {
    display: flex !important;
    flex: none !important;
    flex-wrap: nowrap !important;
    font-size: 9.5px !important;
    gap: 14px !important;
    justify-content: flex-end !important;
    justify-self: end;
    min-width: 0;
    width: auto !important;
  }

  .site-nav a {
    display: inline-flex !important;
    white-space: nowrap;
  }

  .site-nav a[href="#contact"],
  .site-nav a[href="index.html#contact"],
  .site-nav a[href="../index.html#contact"] {
    display: none !important;
  }

  .hero-shell {
    min-height: 100svh;
    padding: 102px 18px 36px;
  }

  .hero-shell > .mobile-portrait {
    width: 112px;
  }

  .hero-content h1 {
    font-size: clamp(48px, 14vw, 58px);
    max-width: 320px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 15.5px;
    max-width: 320px;
  }

  .project-hero {
    min-height: auto;
  }

  .project-hero > img {
    height: 100%;
    min-height: 100%;
  }
}

@media (max-width: 1100px) {
  .process-band {
    grid-template-columns: 1fr;
  }

  .process-steps,
  .case-study-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .process-band {
    border-radius: 28px;
    margin: 0 14px 54px;
    padding: 38px 18px;
  }

  .process-steps,
  .case-study-band {
    grid-template-columns: 1fr;
  }

  .process-step,
  .case-study-card {
    min-height: auto;
  }

  .contact-actions .button {
    flex: 1 1 100%;
  }

  .project-hero {
    min-height: 72svh;
  }

  .project-hero-content {
    gap: 14px;
    padding: 118px 20px 44px;
  }

  .project-hero-content h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    letter-spacing: -0.03em;
    line-height: 0.98;
    max-width: min(100%, 360px);
  }

  .project-hero-content p:not(.eyebrow) {
    font-size: 15.5px;
    max-width: 360px;
  }

  .project-category-with-logo {
    align-items: flex-start;
  }

  .project-page-logo {
    width: 32px;
  }

  .gallery-section summary h2 {
    font-size: clamp(23px, 8vw, 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step:hover,
  .case-study-card:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    display: flex !important;
    justify-content: space-between !important;
  }

  .site-nav {
    margin-left: auto;
    max-width: none;
  }

  .site-nav a[href="#profile"],
  .site-nav a[href="index.html#profile"],
  .site-nav a[href="../index.html#profile"] {
    display: none !important;
  }

  .hero-content .eyebrow {
    line-height: 1.55;
    max-width: 320px;
    overflow-wrap: anywhere;
  }
}
