:root {
  --ink: #0c0a09;
  --stone-950: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-300: #d6d3d1;
  --stone-100: #f5f5f4;
  --paper: #fafaf9;
  --gold: #ca8a04;
  --gold-soft: #facc15;
  --line: rgba(250, 250, 249, 0.16);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-950);
  color: var(--paper);
  font-family: "Josefin Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

picture {
  display: block;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 1.7vw, 2rem);
  width: 100%;
  min-height: 62px;
  padding: 0.52rem clamp(1.15rem, 2.5vw, 3rem);
  border-bottom: 1px solid rgba(250, 250, 249, 0.22);
  background: rgba(12, 10, 9, 0.97);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), 0 1px 0 rgba(250, 250, 249, 0.08) inset;
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.site-header[data-scrolled="true"] {
  background: rgba(12, 10, 9, 0.99);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(250, 250, 249, 0.1) inset;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  width: clamp(160px, 13vw, 198px);
  min-width: 160px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.nav-links {
  gap: clamp(0.48rem, 0.85vw, 0.95rem);
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  font-size: clamp(0.68rem, 0.62vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(250, 250, 249, 0.94);
}

.nav-links a {
  padding: 0.48rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.58);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  border-color: var(--gold-soft);
  color: var(--paper);
}

.mobile-header-actions,
.mobile-nav {
  display: none;
}

.mobile-header-actions {
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.mobile-brief-link,
.mobile-menu-toggle {
  min-height: 42px;
  border: 1px solid rgba(250, 250, 249, 0.22);
  background: rgba(250, 250, 249, 0.08);
  color: var(--paper);
}

.mobile-brief-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.85rem 0.6rem;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle span:not(.sr-only) {
  display: block;
  position: absolute;
  left: 50%;
  width: 17px;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: top 180ms var(--ease), transform 180ms var(--ease), opacity 180ms var(--ease);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 13px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 19px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 25px;
}

.site-header[data-menu-open="true"] .mobile-menu-toggle span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header[data-menu-open="true"] .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .mobile-menu-toggle span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 18;
  grid-template-columns: 1fr;
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  padding: 0.35rem 0.75rem 0.75rem;
  border-bottom: 1px solid rgba(250, 250, 249, 0.18);
  background: rgba(12, 10, 9, 0.99);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header[data-menu-open="true"] .mobile-nav {
  display: grid;
}

.mobile-nav a {
  min-height: 46px;
  padding: 0.82rem 0.25rem 0.72rem;
  border-bottom: 1px solid rgba(250, 250, 249, 0.12);
  color: rgba(250, 250, 249, 0.92);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.work-card picture {
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.36) 52%, rgba(12, 10, 9, 0.54)),
    linear-gradient(0deg, rgba(12, 10, 9, 0.92), rgba(12, 10, 9, 0.04) 42%, rgba(12, 10, 9, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 7.4rem 1rem 4.7rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.75rem, 4.75vw, 4.8rem);
}

.interior-hero h1 {
  max-width: 1080px;
  font-size: clamp(3rem, 5.9vw, 6.2rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.hero-copy {
  max-width: 560px;
  margin: 1rem 0 0;
  color: rgba(250, 250, 249, 0.78);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(250, 250, 249, 0.22);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.button-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--gold-soft);
}

.button-ghost:hover {
  border-color: var(--paper);
  background: rgba(250, 250, 249, 0.08);
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, var(--max));
  margin: -4.25rem auto 0;
  padding: 0 1rem 1.6rem;
}

.hero-proof span {
  border-top: 1px solid rgba(250, 250, 249, 0.24);
  padding: 0.82rem 1rem 0 0;
  color: rgba(250, 250, 249, 0.72);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.answer-band,
.section,
.capabilities,
.contact,
.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.answer-band {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.answer-band h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4.1vw, 4.15rem);
}

.answer-band p:last-child,
.intro-copy,
.contact p {
  color: rgba(250, 250, 249, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.section {
  padding-top: 5.6rem;
  padding-bottom: 5.6rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 1.65rem;
}

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

.service-card {
  min-height: 285px;
  padding: 1.25rem;
  background: #171412;
  transition: background 220ms var(--ease);
}

.service-card:hover {
  background: #211d1a;
}

.service-card span {
  color: var(--gold-soft);
  font-size: 0.82rem;
}

.service-card h3 {
  margin-top: 3rem;
}

.service-card p {
  color: rgba(250, 250, 249, 0.68);
}

.service-card strong {
  display: block;
  margin-top: 1.5rem;
  color: var(--stone-300);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-section {
  padding: 5.6rem max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.work-section .section-kicker {
  color: #7c5200;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.work-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #111;
}

.work-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 740px;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

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

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 10, 9, 0.86), rgba(12, 10, 9, 0.08) 56%);
}

.work-card div {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  color: var(--paper);
}

.work-card p {
  margin: 0 0 0.45rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.portfolio-projects {
  padding: 5.6rem max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.portfolio-projects .section-kicker,
.portfolio-label {
  color: #7c5200;
}

.portfolio-overview-band {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.portfolio-overview-band h2 {
  font-size: clamp(2.35rem, 3.8vw, 4.35rem);
}

.portfolio-summary {
  display: grid;
  gap: 1.3rem;
}

.portfolio-summary > p {
  max-width: 680px;
  margin: 0;
  color: rgba(250, 250, 249, 0.74);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.portfolio-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(250, 250, 249, 0.14);
  background: rgba(250, 250, 249, 0.14);
  list-style: none;
}

.portfolio-summary-list li {
  min-height: 132px;
  padding: 1rem;
  background: rgba(250, 250, 249, 0.055);
}

.portfolio-summary-list span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-summary-list strong {
  display: block;
  color: rgba(250, 250, 249, 0.9);
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  font-weight: 650;
  line-height: 1.38;
}

.portfolio-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: end;
  max-width: none;
  margin-bottom: 2rem;
}

.portfolio-section-heading h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.45vw, 4rem);
}

.section-intro {
  margin: 0 0 0.22rem;
  color: rgba(12, 10, 9, 0.68);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.55;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(12, 10, 9, 0.12);
  background: #fff;
}

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

.portfolio-card picture {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #111;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem;
}

.portfolio-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.portfolio-card p {
  margin: 0;
  color: rgba(12, 10, 9, 0.7);
}

.portfolio-card span {
  margin-top: auto;
  color: rgba(12, 10, 9, 0.55);
  font-size: 0.86rem;
}

.portfolio-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.portfolio-card-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.62rem 0.36rem;
  border: 1px solid rgba(12, 10, 9, 0.14);
  background: rgba(202, 138, 4, 0.1);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-copy {
  padding-top: 5.6rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 220px;
  padding: 1.2rem;
  background: #171412;
}

.process-list span {
  color: var(--gold-soft);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.3rem;
}

.process-list p {
  color: rgba(250, 250, 249, 0.7);
}

.capabilities {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding-top: 1.6rem;
  padding-bottom: 5.6rem;
}

.capability-media {
  overflow: hidden;
}

.capability-media img {
  width: 100%;
  object-fit: cover;
}

.capability-copy ul {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.capability-copy li {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  color: rgba(250, 250, 249, 0.76);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.faq article {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: #171412;
}

.faq h3 {
  font-size: 1.15rem;
}

.faq p {
  color: rgba(250, 250, 249, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: end;
  padding-top: 5.6rem;
  padding-bottom: 5.6rem;
  border-top: 1px solid var(--line);
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(250, 250, 249, 0.2);
  background: rgba(250, 250, 249, 0.06);
}

.contact-card a {
  color: var(--gold-soft);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-family: Cinzel, Georgia, serif;
  overflow-wrap: anywhere;
}

.contact-card a.button {
  color: var(--ink);
  font-family: "Josefin Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  overflow-wrap: normal;
}

.contact-card span {
  color: rgba(250, 250, 249, 0.72);
}

.brief-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
  border-top: 1px solid rgba(250, 250, 249, 0.16);
  border-bottom: 1px solid rgba(250, 250, 249, 0.16);
}

.brief-panel h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
}

.brief-panel p:last-child {
  max-width: 720px;
  margin: 0.9rem 0 0;
  color: rgba(250, 250, 249, 0.72);
}

.brief-panel .button {
  min-width: 12rem;
}

.floating-brief-button {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 19;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: min(19rem, calc(100vw - 2rem));
  padding: 0.78rem 1rem;
  border: 1px solid rgba(250, 250, 249, 0.35);
  background: var(--gold-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.floating-brief-button:hover,
.floating-brief-button:focus-visible {
  background: #fde047;
  transform: translateY(-2px);
}

.typeform-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 1rem;
}

.typeform-modal[data-open="true"] {
  display: grid;
  place-items: center;
}

.typeform-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 9, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.typeform-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 980px);
  height: min(88vh, 820px);
  overflow: hidden;
  border: 1px solid rgba(250, 250, 249, 0.22);
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.typeform-dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(250, 250, 249, 0.16);
  background: var(--stone-950);
}

.typeform-dialog-header .section-kicker {
  margin-bottom: 0.35rem;
}

.typeform-dialog-header h2 {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.typeform-close {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(250, 250, 249, 0.24);
  background: rgba(250, 250, 249, 0.08);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.6rem 0.8rem;
  text-transform: uppercase;
}

.typeform-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--paper);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  color: rgba(250, 250, 249, 0.58);
  font-size: 0.82rem;
}

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

.keyword-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  color: rgba(250, 250, 249, 0.86);
}

.keyword-strip span,
.keyword-strip strong {
  display: inline-flex;
  align-items: center;
}

.keyword-strip span {
  color: rgba(250, 250, 249, 0.62);
}

.keyword-strip strong {
  color: var(--paper);
}

.content-stack {
  display: grid;
  gap: 1rem;
}

.content-stack article {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(250, 250, 249, 0.14);
}

.content-stack h2 {
  font-size: clamp(1.45rem, 3vw, 2.7rem);
}

.content-stack p {
  margin: 0;
  color: rgba(250, 250, 249, 0.72);
}

.proof-section {
  padding-top: 3rem;
}

.fit-section {
  padding-top: 3rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(250, 250, 249, 0.14);
  border: 1px solid rgba(250, 250, 249, 0.14);
}

.fit-grid article {
  min-height: 250px;
  padding: 1.35rem;
  background: #171412;
}

.fit-grid h3,
.process-timeline h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
}

.fit-grid p,
.process-timeline p {
  color: rgba(250, 250, 249, 0.72);
}

.process-section {
  padding-top: 3rem;
}

.decision-section {
  padding-top: 3rem;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(250, 250, 249, 0.14);
  border: 1px solid rgba(250, 250, 249, 0.14);
}

.decision-grid article {
  min-height: 220px;
  padding: 1.35rem;
  background: #171412;
}

.decision-grid h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.decision-grid p {
  color: rgba(250, 250, 249, 0.72);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(250, 250, 249, 0.14);
  background: rgba(250, 250, 249, 0.14);
  list-style: none;
}

.process-timeline li {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 2.5rem;
  padding: 1.35rem;
  background: #171412;
}

.process-timeline span {
  color: var(--gold-soft);
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.visual-proof {
  padding: 7rem max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.visual-proof .section-kicker {
  color: #7c5200;
}

.context-intro {
  max-width: 48rem;
  margin: -1.25rem 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.context-grid article {
  min-height: 18rem;
  padding: 1.45rem;
  border: 1px solid rgba(38, 34, 30, 0.12);
  background: #fffdfa;
  display: flex;
  flex-direction: column;
}

.context-grid p {
  margin: 0 0 0.45rem;
  color: #7c5200;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.context-grid h3 {
  max-width: 14ch;
  margin: 0 0 1.5rem;
}

.context-grid span {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(250, 250, 249, 0.14);
}

.proof-grid span {
  min-height: 9rem;
  padding: 1rem;
  background: var(--stone-950);
  color: rgba(250, 250, 249, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.related-links .section-kicker {
  width: 100%;
}

.related-links a,
.service-card a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(250, 250, 249, 0.18);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card a {
  margin-top: auto;
}

@media (max-width: 1120px) {
  .site-header {
    min-height: 64px;
    padding: 0.72rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
  }

  .answer-band,
  .portfolio-overview-band,
  .portfolio-section-heading,
  .intro-grid,
  .capabilities,
  .contact,
  .brief-panel,
  .content-stack article,
  .decision-grid,
  .fit-grid,
  .process-timeline,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .portfolio-section-heading {
    align-items: start;
  }

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

  .work-card-large {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    min-height: 64px;
    padding: 0.55rem 0.72rem;
    gap: 0.65rem;
  }

  .brand {
    width: clamp(132px, 39vw, 168px);
    min-width: 0;
  }

  .brand-logo {
    max-height: 34px;
  }

  .mobile-header-actions {
    gap: 0.45rem;
  }

  .mobile-brief-link {
    min-height: 40px;
    padding: 0.68rem 0.72rem 0.58rem;
    font-size: 0.72rem;
  }

  .mobile-menu-toggle {
    min-height: 40px;
    width: 40px;
  }

  .hero {
    min-height: 760px;
    min-height: 100svh;
  }

  .hero-content {
    padding: 7rem 1rem 4rem;
  }

  .interior-hero {
    min-height: 720px;
    min-height: 92svh;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.75rem);
  }

  h3 {
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .hero-proof,
  .service-grid,
  .process-list,
  .work-grid,
  .portfolio-grid,
  .portfolio-summary-list,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    margin-top: -4rem;
  }

  .section,
  .brief-panel,
  .work-section,
  .visual-proof,
  .contact {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .work-card,
  .work-card-large,
  .portfolio-card-feature {
    min-height: 360px;
    grid-column: auto;
    grid-row: auto;
  }

  .context-grid article {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .answer-band {
    gap: 1.35rem;
  }

  .brief-panel {
    align-items: stretch;
  }

  .brief-panel .button {
    width: 100%;
  }

  .content-stack article,
  .fit-grid article,
  .decision-grid article,
  .process-timeline li,
  .faq article {
    min-height: auto;
  }

  .service-card {
    min-height: 280px;
  }

  .service-card h3 {
    margin-top: 2.4rem;
  }

  .floating-brief-button {
    display: none;
  }

  .typeform-modal {
    padding: 0.5rem;
  }

  .typeform-dialog {
    height: min(92vh, 760px);
  }

  .typeform-dialog-header {
    align-items: stretch;
    flex-direction: column;
  }

  .typeform-close {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
