.web-section {
  --web-line: rgba(216, 182, 124, 0.16);
  --web-quiet: #746f68;
  padding-bottom: 0;
}

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

.web-hero {
  display: grid;
  min-height: calc(100vh - var(--topbar) - 5.5rem);
  grid-template-columns: minmax(0, 1.72fr) minmax(17rem, 0.72fr);
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: clamp(3rem, 8vh, 6rem) 0 2rem;
}

.web-eyebrow,
.web-case-index,
.web-case-scope,
.web-section-number,
.web-hero-footnote,
.web-process-steps span,
.web-service-row > span {
  color: var(--accent);
  font: 500 0.68rem/1.5 "Inter", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.web-section .web-eyebrow,
.web-section .web-case-index,
.web-section .web-case-scope,
.web-section .web-hero-footnote {
  max-width: none;
}

.web-hero-heading .web-eyebrow {
  margin: 0 0 2.4rem;
}

.web-section .web-hero h1 {
  max-width: 13ch;
  margin: 0;
  font: 300 clamp(4.1rem, 8vw, 7.8rem)/0.82 "Cormorant Garamond", serif;
  letter-spacing: -0.035em;
}

.web-hero-introduction {
  max-width: 30rem;
  padding-bottom: 0.55rem;
}

.web-section .web-hero-introduction > p {
  max-width: none;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.web-section .web-hero-introduction > p:first-child {
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.25;
}

.web-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 2rem;
  margin-top: 2.2rem;
}

.web-text-link,
.web-contact-link {
  position: relative;
  color: var(--accent);
  font: 500 0.78rem/1.4 "Inter", sans-serif;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.web-text-link-muted {
  color: var(--muted);
}

.web-section .web-hero-footnote {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--web-line);
  color: var(--web-quiet);
}

.web-work,
.web-services,
.web-process {
  padding-top: clamp(6rem, 12vw, 10rem);
}

.web-work,
.web-contact {
  scroll-margin-top: 6rem;
}

.web-section-heading {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1.3fr) minmax(18rem, 0.68fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--web-line);
}

.web-section-heading > * {
  padding-top: 1.45rem;
}

.web-section-heading-no-number {
  grid-template-columns: minmax(0, 1fr);
}

.web-section-heading-no-number.web-section-heading-with-summary {
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.68fr);
}

.web-section .web-section-heading .web-eyebrow {
  margin: 0 0 1.8rem;
}

.web-section .web-section-heading h2,
.web-section .web-contact h2 {
  max-width: none;
  margin: 0;
  font: 300 clamp(3rem, 6vw, 5.6rem)/0.94 "Cormorant Garamond", serif;
  letter-spacing: -0.025em;
}

.web-section .web-section-summary {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.web-case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(17rem, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-top: 1px solid rgba(216, 182, 124, 0.1);
}

.web-case-study-reverse {
  grid-template-columns: minmax(17rem, 0.62fr) minmax(0, 1.78fr);
}

.web-case-study-reverse .web-case-visual { order: 2; }
.web-case-study-reverse .web-case-copy { order: 1; }

.web-case-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(230, 224, 212, 0.12);
  border-radius: var(--radius);
  background: #070a09;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.web-case-visual img {
  width: 100%;
  height: auto;
}

.web-case-study-blue .web-case-visual::after {
  position: absolute;
  inset: 0;
  background: rgba(142, 202, 230, 0.045);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
}

.web-case-copy { max-width: 28rem; }
.web-section .web-case-index { margin: 0 0 1.5rem; }

.web-section .web-case-copy h3,
.web-section .web-service-row h3,
.web-section .web-process-steps h3 {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.web-section .web-case-copy h3 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.04;
}

.web-section .web-case-copy > p:not(.web-case-index):not(.web-case-scope) {
  max-width: none;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.web-section .web-case-scope {
  margin: 2rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--web-line);
  color: var(--web-quiet);
  line-height: 1.7;
}

.web-case-study-portrait {
  grid-template-columns: minmax(18rem, 0.7fr) minmax(18rem, 0.55fr);
  justify-content: center;
}

.web-case-visual-portrait {
  width: min(100%, 31rem);
  justify-self: center;
}

.web-section-heading-compact { padding-bottom: clamp(3rem, 6vw, 5rem); }
.web-service-list { border-bottom: 1px solid var(--web-line); }

.web-service-row {
  display: grid;
  grid-template-columns: 3rem minmax(13rem, 0.52fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: 2rem 0;
  border-top: 1px solid var(--web-line);
}

.web-section .web-service-row h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.web-section .web-service-row p { max-width: 48rem; margin: 0; color: var(--muted); }

.web-process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--web-line);
  border-bottom: 1px solid var(--web-line);
}

.web-process-steps article {
  min-height: 20rem;
  padding: 2rem clamp(1.5rem, 3vw, 3rem) 2.5rem 0;
}

.web-process-steps article + article {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--web-line);
}

.web-section .web-process-steps h3 { margin-top: 4.5rem; font-size: clamp(1.8rem, 2.5vw, 2.4rem); }
.web-section .web-process-steps p { max-width: none; margin: 1.2rem 0 0; color: var(--muted); }

.web-contact {
  display: grid;
  min-height: 72vh;
  place-content: center;
  justify-items: center;
  padding: clamp(8rem, 15vw, 14rem) 0;
  text-align: center;
}

.web-section .web-contact .web-eyebrow { margin: 0 0 2rem; }
.web-section .web-contact h2 { max-width: 14ch; }
.web-contact-link { margin-top: 3rem; }

@media (max-width: 980px) {
  .web-hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; align-content: end; }
  .web-hero-introduction { max-width: 39rem; }
  .web-section-heading { grid-template-columns: 2rem minmax(0, 1fr); }
  .web-section-heading-no-number,
  .web-section-heading-no-number.web-section-heading-with-summary { grid-template-columns: minmax(0, 1fr); }
  .web-section-heading-no-number .web-section-summary { grid-column: 1; }
  .web-section .web-section-summary { grid-column: 2; max-width: 38rem; padding-top: 0; }
  .web-case-study,
  .web-case-study-reverse,
  .web-case-study-portrait { grid-template-columns: 1fr; gap: 2.4rem; }
  .web-case-study-reverse .web-case-visual,
  .web-case-study-reverse .web-case-copy { order: initial; }
  .web-case-copy { max-width: 42rem; }
  .web-case-visual-portrait { width: min(74vw, 31rem); justify-self: start; }
}

@media (max-width: 680px) {
  .web-hero { min-height: auto; gap: 3rem; padding: 4.5rem 0 3rem; }
  .web-section .web-hero h1 { font-size: clamp(3.55rem, 18vw, 5.3rem); line-height: 0.86; }
  .web-section .web-hero-introduction > p:first-child { font-size: 1.62rem; }
  .web-hero-actions { gap: 0.15rem; }
  .web-text-link,
  .web-contact-link {
    display: flex;
    min-height: 44px;
    align-items: center;
  }
  .web-contact-link { justify-content: center; }
  .web-section .web-hero-footnote { margin-top: 1rem; line-height: 1.7; }
  .web-section-heading { grid-template-columns: 1fr; }
  .web-section-number { padding-bottom: 0; }
  .web-section-heading > div { padding-top: 0; }
  .web-section .web-section-summary { grid-column: 1; }
  .web-section .web-section-heading h2,
  .web-section .web-contact h2 { font-size: clamp(2.75rem, 14vw, 4.25rem); }
  .web-case-study { padding: 3.6rem 0; }
  .web-case-visual-portrait { width: min(86vw, 28rem); }
  .web-service-row { grid-template-columns: 2rem minmax(0, 1fr); }
  .web-section .web-service-row p { grid-column: 2; }
  .web-process-steps { grid-template-columns: 1fr; }
  .web-process-steps article { min-height: 0; padding: 2rem 0 2.5rem; }
  .web-process-steps article + article { padding-left: 0; border-top: 1px solid var(--web-line); border-left: 0; }
  .web-section .web-process-steps h3 { margin-top: 2.4rem; }
  .web-contact { min-height: 68vh; }
}
