:root {
  --bg: #efe8dc;
  --ink: #231f20;
  --clay: #b7653c;
  --sage: #74806b;
  --cream: #fffaf0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 86px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 12px;
  z-index: 4;
}

.side-rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero,
main,
footer {
  margin-left: 86px;
}

.hero {
  min-height: 92vh;
  padding: 28px clamp(24px, 6vw, 80px);
  background: linear-gradient(120deg, rgba(183, 101, 60, 0.16), transparent), var(--bg);
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
}

.hero-inner {
  max-width: 980px;
  padding-top: 14vh;
}

.label {
  color: var(--clay);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 1050px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

p,
li,
span {
  line-height: 1.75;
}

.lead {
  max-width: 720px;
  font-size: 1.25rem;
}

.brief-card {
  margin-top: 38px;
  max-width: 470px;
  border: 2px solid var(--ink);
  border-radius: 0 36px 0 36px;
  padding: 24px;
  background: var(--cream);
}

.brief-card span {
  display: block;
  color: var(--sage);
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
}

.brief-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.7rem;
}

.briefings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.briefings article {
  min-height: 360px;
  padding: 42px;
  border-right: 2px solid var(--ink);
  background: var(--cream);
}

.briefings article:last-child {
  border-right: 0;
}

.briefings span {
  color: var(--clay);
  font-weight: 900;
}

.panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  padding: 80px clamp(24px, 6vw, 80px);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list div {
  display: grid;
  gap: 5px;
  padding: 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 26px;
}

.service-list span {
  color: rgba(255, 250, 240, 0.75);
}

.framework {
  padding: 80px clamp(24px, 6vw, 80px);
  background: var(--sage);
  color: white;
}

.framework .label {
  color: #f3d0bb;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.framework-grid div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
}

.quote {
  padding: 90px clamp(24px, 8vw, 120px);
  text-align: center;
}

blockquote {
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(2rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

footer {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: 70px clamp(24px, 6vw, 80px);
  background: var(--ink);
  color: var(--cream);
}

form {
  display: grid;
  gap: 14px;
}

input,
select,
textarea,
button {
  width: 100%;
  border: 0;
  padding: 16px;
  border-radius: 0;
  font: 600 1rem Inter, Arial, sans-serif;
}

textarea {
  min-height: 130px;
}

button {
  background: var(--clay);
  color: white;
  cursor: pointer;
}

small {
  min-height: 22px;
  color: #f3d0bb;
}

@media (max-width: 880px) {
  .side-rail {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
  }

  .side-rail span {
    writing-mode: initial;
    transform: none;
  }

  .hero,
  main,
  footer {
    margin-left: 0;
  }

  nav,
  .briefings,
  .panel,
  .framework-grid,
  footer {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }

  .briefings article {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
}
