:root {
  --paper: #f4f0e9;
  --paper-light: #fbfaf7;
  --ink: #17213a;
  --muted: #697083;
  --line: rgba(23, 33, 58, 0.18);
  --blue: #263f73;
  --red: #bf5d4c;
  --yellow: #e0b66e;
  --max: 1260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

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

.site-header,
.hero,
.approach,
.contact,
.site-footer {
  padding-left: clamp(1.25rem, 5vw, 5rem);
  padding-right: clamp(1.25rem, 5vw, 5rem);
}

.site-header {
  display: flex;
  width: min(var(--max), 100%);
  min-height: 5.6rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Outfit", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
}

.header-meta,
.hero-rule,
.hero-foot,
.object-top,
.object-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-meta {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.header-meta a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.header-meta a::after {
  content: " ->";
  color: var(--red);
}

.hero,
.approach,
.contact {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 5.6rem);
  padding-top: clamp(2.5rem, 8vw, 6.6rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.hero-rule,
.hero-foot {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-rule {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
  min-height: min(650px, 68svh);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.kicker {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 8ch;
  margin-top: 1.1rem;
  font-size: clamp(4rem, 9vw, 8.8rem);
  font-weight: 800;
  line-height: 0.9;
}

.hero-intro {
  max-width: 29rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-object {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 26rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  color: var(--paper-light);
  background: var(--blue);
  box-shadow: 1rem 1rem 0 var(--yellow);
}

.object-top,
.object-bottom {
  color: rgba(251, 250, 247, 0.66);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.object-stage {
  position: relative;
  display: grid;
  min-height: 20rem;
  margin: 1rem 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(251, 250, 247, 0.32);
}

.object-stage::before,
.object-stage::after {
  position: absolute;
  content: "";
  background: rgba(251, 250, 247, 0.14);
}

.object-stage::before {
  width: 1px;
  top: 0;
  bottom: 0;
  left: 50%;
}

.object-stage::after {
  height: 1px;
  top: 50%;
  left: 0;
  right: 0;
}

.stage-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 9rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--paper-light);
  color: var(--paper-light);
  font-family: "Outfit", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  transform: rotate(-11deg);
}

.stage-line {
  position: absolute;
  width: 12rem;
  height: 12rem;
  border: 1px solid var(--yellow);
  transform: rotate(38deg);
}

.line-one {
  margin-left: 9rem;
  margin-top: 5rem;
}

.line-two {
  margin-left: -9rem;
  margin-top: -5rem;
  border-color: var(--red);
  transform: rotate(38deg) scale(0.72);
}

.stage-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: rgba(251, 250, 247, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.stage-number {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  color: var(--yellow);
  font-family: "Outfit", sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
}

.hero-foot {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.approach {
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 800;
  line-height: 0.94;
}

.fold-stack {
  border-top: 1px solid var(--ink);
}

.fold-card {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) 2rem;
  gap: 1.5rem;
  align-items: start;
  min-height: 11.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.fold-card:nth-child(2) {
  top: 2.5rem;
  background: #ece8df;
}

.fold-card:nth-child(3) {
  top: 5rem;
  background: #e1dbcf;
}

.item-number,
.item-arrow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.item-arrow {
  color: var(--ink);
  text-align: right;
}

.item-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fold-card h3 {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.fold-card p {
  max-width: 34rem;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  background: var(--paper-light);
}

.contact-intro h2 {
  margin-top: 1rem;
  font-size: clamp(2.7rem, 5.3vw, 5.6rem);
}

.contact-intro > p:last-child {
  max-width: 19rem;
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 1rem;
  align-content: start;
}

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

label {
  display: grid;
  gap: 0.55rem;
}

label span {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.95rem 0.9rem;
  color: var(--ink);
  background: transparent;
  outline: none;
}

textarea {
  min-height: 9.5rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #9b9da4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38, 63, 115, 0.1);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.4rem;
}

.submit-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.75rem 1rem;
  color: var(--paper-light);
  background: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}

.submit-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.form-note {
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  width: min(var(--max), 100%);
  min-height: 5rem;
  margin: 0 auto;
  place-items: center;
  color: var(--paper-light);
  background: var(--ink);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 860px) {
  .hero-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 3rem;
  }

  .hero-object {
    max-width: 34rem;
    min-height: 24rem;
  }

  .contact {
    gap: 3rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 5rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
  }

  .header-meta {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.25rem;
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 5.3rem);
  }

  .hero-intro {
    font-size: 0.98rem;
  }

  .hero-rule,
  .hero-foot {
    font-size: 0.62rem;
  }

  .hero-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .hero-object {
    min-height: 21rem;
    box-shadow: 0.55rem 0.55rem 0 var(--yellow);
  }

  .object-stage {
    min-height: 15rem;
  }

  .stage-mark {
    width: 7rem;
    font-size: 3.5rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  h2,
  .contact-intro h2 {
    max-width: 9ch;
  }

  .fold-card {
    position: static;
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem;
    gap: 0.75rem;
  }

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

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
