:root {
  --coal: #171815;
  --smoke: #23241f;
  --cream: #eee7d8;
  --rust: #e4562a;
  --sage: #a7ad94;
  --pad: clamp(20px, 5vw, 76px);

  /* 18px base · 1.333 Perfect Fourth scale from Pavol's reference. */
  --type-xs: 10px;
  --type-sm: 13.5px;
  --type-base: 18px;
  --type-lg: 24px;
  --type-xl: 32px;
  --type-2xl: 43px;
  --type-3xl: 57px;
  --type-4xl: 76px;
  --type-5xl: 101px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--coal);
  color: var(--cream);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: var(--type-base);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-style: normal;
  font-weight: 700;
}

address,
em,
i {
  font-style: normal;
}

.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 20;
  background: var(--rust);
  padding: 12px;
}

.skip:focus {
  top: 12px;
}

header {
  height: 82px;
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  padding: 0 var(--pad);
  background: rgba(12, 13, 11, .72);
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.logo {
  min-width: 0;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo span {
  width: 38px;
  height: 38px;
  border: 1px solid;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--type-xs);
}

.logo b {
  font-size: var(--type-sm);
  font-weight: 600;
  white-space: nowrap;
}

header nav {
  margin: auto;
  display: flex;
  gap: 34px;
}

header nav a {
  font-size: var(--type-sm);
  font-weight: 500;
  text-decoration: none;
}

.call {
  background: var(--rust);
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  font-size: var(--type-sm);
  font-weight: 700;
  display: flex;
  gap: 9px;
  white-space: nowrap;
}

.phone-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow {
  line-height: 1;
}

.hero {
  height: min(960px, 100vh);
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 13, 11, .87), rgba(12, 13, 11, .26) 65%), linear-gradient(0deg, rgba(12, 13, 11, .7), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding: 0 var(--pad) clamp(70px, 10vh, 120px);
  max-width: 1180px;
}

.overline,
.kicker {
  font-size: var(--type-xs);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #c8c6b9;
}

.hero h1 {
  max-width: 100%;
  margin: 22px 0 32px;
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(var(--type-3xl), 7.5vw, var(--type-5xl));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.022em;
}

.hero h1 > span {
  display: inline-block;
  max-width: 100%;
  color: #f2b49f;
  font-size: inherit;
  font-style: normal;
  font-weight: 700;
  line-height: inherit;
  white-space: nowrap;
  overflow: hidden;
}

.hero-teaser {
  max-width: 590px;
  font-size: var(--type-base);
  font-weight: 300;
  line-height: 1.6;
}

.buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.buttons a {
  padding: 17px 20px;
  border: 1px solid #d9d2c6;
  text-decoration: none;
  font-size: var(--type-sm);
  font-weight: 700;
}

.buttons a:first-child {
  background: var(--rust);
  border-color: var(--rust);
  min-width: 210px;
  display: flex;
  justify-content: space-between;
}

.buttons .phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 65px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--type-xs);
  line-height: 1.15;
  writing-mode: vertical-rl;
}

.hero-index div {
  height: 120px;
  border-left: 1px solid;
}

.manifest {
  padding: clamp(90px, 13vw, 190px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 6vw;
  align-items: start;
}

.manifest blockquote {
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(var(--type-2xl), 5.4vw, var(--type-4xl));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.022em;
}

.sidecopy {
  border-top: 1px solid #65665d;
  padding-top: 15px;
  color: #b9baaf;
  font-size: var(--type-sm);
  font-weight: 300;
  line-height: 1.6;
}

.service-stage {
  background: var(--cream);
  color: var(--coal);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.service-photo {
  margin: 0;
  min-height: 850px;
  position: relative;
}

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

.service-photo p {
  position: absolute;
  bottom: 18px;
  left: 24px;
  background: var(--cream);
  padding: 8px;
  color: var(--coal);
  font-size: var(--type-xs);
  font-weight: 600;
  line-height: 1.15;
}

.service-copy {
  padding: clamp(70px, 9vw, 130px) var(--pad);
}

.service-copy .kicker {
  color: #626357;
}

.service-copy h2,
.story h2,
.reasons h2,
.case h2,
.contact h2 {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(var(--type-2xl), 5vw, var(--type-4xl));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.022em;
}

.accordion-static {
  margin-top: 65px;
}

.accordion-static article {
  display: grid;
  grid-template-columns: 60px 1fr;
  border-top: 1px solid #a7a391;
  padding: 25px 0;
}

.accordion-static article:last-child {
  border-bottom: 1px solid #a7a391;
}

.accordion-static b {
  color: var(--rust);
  font-size: var(--type-xs);
  font-weight: 600;
  line-height: 1.15;
}

.accordion-static h3 {
  margin: 0 0 10px;
  font-family: "IBM Plex Serif", serif;
  font-size: var(--type-lg);
  font-weight: 700;
  line-height: 1.15;
}

.accordion-static p {
  margin: 0;
  color: #55564e;
  font-size: var(--type-base);
  font-weight: 300;
  line-height: 1.6;
}

.story {
  padding: clamp(90px, 12vw, 170px) var(--pad);
}

.story-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 5vw;
}

.story h2 {
  margin-top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 85px;
}

.steps article {
  border-top: 1px solid #67685f;
  padding: 22px 22px 22px 0;
}

.steps article + article {
  border-left: 1px solid #67685f;
  padding-left: 22px;
}

.steps span {
  color: var(--rust);
  font-size: var(--type-xs);
  font-weight: 600;
  line-height: 1.15;
}

.steps h3 {
  margin: 60px 0 15px;
  font-family: "IBM Plex Serif", serif;
  font-size: var(--type-lg);
  font-weight: 700;
  line-height: 1.15;
}

.steps p {
  color: #aaa99f;
  font-size: var(--type-sm);
  font-weight: 300;
  line-height: 1.6;
}

.reasons {
  background: var(--smoke);
  padding: clamp(90px, 12vw, 170px) var(--pad);
}

.reasons-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 5vw;
}

.reasons h2 {
  margin: 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 85px;
}

.reasons-grid article {
  border-top: 1px solid #67685f;
  padding: 22px 30px 22px 0;
}

.reasons-grid article + article {
  border-left: 1px solid #67685f;
  padding-left: 30px;
}

.reasons-grid article > span {
  color: var(--rust);
  font-size: var(--type-xs);
  font-weight: 600;
  line-height: 1.15;
}

.reasons-grid h3 {
  margin: 60px 0 15px;
  font-family: "IBM Plex Serif", serif;
  font-size: var(--type-lg);
  font-weight: 700;
  line-height: 1.15;
}

.reasons-grid p {
  max-width: 34rem;
  margin: 0;
  color: #b6b5aa;
  font-size: var(--type-base);
  font-weight: 300;
  line-height: 1.6;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 72px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #67685f;
  list-style: none;
}

.reason-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d0cec2;
  font-size: var(--type-sm);
  font-weight: 300;
  line-height: 1.5;
}

.reason-list li::before {
  display: grid;
  flex: 0 0 16px;
  width: 16px;
  height: 24px;
  place-items: center;
  color: var(--rust);
  content: "+";
  font-size: var(--type-lg);
  font-weight: 700;
  line-height: 1;
}

.case {
  background: #2b2c26;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.2fr .7fr;
  grid-template-rows: auto 380px;
  gap: 16px;
}

.case-label {
  padding-right: 4vw;
}

.case-label h2 {
  font-size: clamp(var(--type-2xl), 4.6vw, var(--type-4xl));
}

.case-label > p:last-child {
  color: #b4b2a7;
  font-size: var(--type-base);
  font-weight: 300;
  line-height: 1.6;
}

.case figure {
  margin: 0;
  overflow: hidden;
}

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

.case-main {
  grid-row: span 2;
}

.case-small {
  grid-row: span 2;
}

.case-wide {
  grid-column: 1;
}

.local {
  background: var(--rust);
  color: #211d19;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10vw;
  align-items: end;
}

.local div p {
  font-size: var(--type-sm);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.local strong {
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(var(--type-3xl), 10vw, var(--type-5xl));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.022em;
}

.local > p {
  font-size: var(--type-base);
  font-weight: 300;
  line-height: 1.6;
}

.contact {
  background: #dde0cf;
  color: #191a17;
  padding: clamp(90px, 12vw, 170px) var(--pad);
}

.contact .kicker {
  color: #5c5e53;
}

.contact h2 {
  max-width: 1000px;
  font-size: clamp(var(--type-3xl), 7vw, var(--type-5xl));
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px;
}

.contact-row a {
  border-top: 1px solid #5e6056;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  font-family: "IBM Plex Serif", serif;
  font-size: clamp(var(--type-lg), 2.5vw, var(--type-2xl));
  font-weight: 400;
  text-decoration: none;
}

.contact-row a + a {
  margin-left: 30px;
}

.contact-row small {
  grid-column: 1 / -1;
  margin-bottom: 22px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: var(--type-xs);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.contact-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

footer {
  padding: 30px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  font-size: var(--type-sm);
  font-weight: 300;
  line-height: 1.6;
}

.footer-brand p {
  margin: 14px 0 0;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 8px 28px;
  align-items: center;
}

.footer-contact a,
.footer-contact p {
  margin: 0;
}

.footer-contact a {
  text-decoration: none;
  font-weight: 400;
}

.footer-contact .phone-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

a:focus-visible {
  outline: 3px solid #ffb095;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  header {
    gap: 16px;
  }

  header nav {
    display: none;
  }

  .call {
    margin-left: auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(var(--type-xl), 11vw, var(--type-3xl));
    line-height: 1.15;
  }

  .hero h1 > span {
    font-size: clamp(24px, 7.6vw, var(--type-3xl));
    line-height: inherit;
  }

  .hero-index {
    display: none;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .manifest,
  .service-stage,
  .story-head,
  .reasons-head,
  .local {
    grid-template-columns: 1fr;
  }

  .manifest {
    gap: 35px;
  }

  .manifest .sidecopy {
    max-width: 450px;
  }

  .service-photo {
    min-height: 65vh;
  }

  .service-copy {
    padding-top: 80px;
  }

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

  .case {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 420px 290px;
  }

  .case-label {
    grid-column: span 2;
  }

  .case-main {
    grid-row: auto;
    grid-column: span 2;
  }

  .case-small {
    grid-row: auto;
  }

  .case-wide {
    grid-column: auto;
  }

  .local {
    gap: 60px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-row a + a {
    margin-left: 0;
  }

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

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  header {
    min-height: 112px;
    height: auto;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    background: rgba(23, 24, 21, .88);
  }

  .call {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 12px 14px;
  }

  .hero {
    min-height: 840px;
  }

  .hero h1 > span {
    font-size: clamp(20px, 7vw, var(--type-3xl));
    letter-spacing: -.045em;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .steps article + article {
    border-left: 0;
    padding-left: 0;
  }

  .steps h3 {
    margin-top: 30px;
  }

  .case {
    display: block;
  }

  .case figure {
    height: 300px;
    margin-top: 12px;
  }

  .case-small {
    height: 440px !important;
  }

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

  .reasons-grid article + article {
    border-left: 0;
    padding-left: 0;
  }

  .reason-list {
    grid-template-columns: 1fr;
  }

  .contact-row a {
    font-size: var(--type-lg);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
