:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #62605c;
  --line: #e6e0d6;
  --paper: #fbfaf6;
  --white: #ffffff;
  --rust: #a84f2c;
  --moss: #4e6446;
  --charcoal: #1f2724;
  --gold: #c89f45;
  --sky: #dfeef1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header,
.client-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 56px);
}

.brand,
.client-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.roof-mark {
  background: linear-gradient(135deg, var(--rust) 0 50%, var(--charcoal) 50% 100%);
  border-radius: 6px 6px 2px 2px;
  display: inline-block;
  height: 30px;
  transform: skewX(-12deg);
  width: 42px;
}

.top-nav,
.client-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 15px;
}

.studio-hero,
.client-hero {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  min-height: calc(100svh - 76px);
  padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 56px);
}

.studio-hero {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(223, 238, 241, .9), rgba(251, 250, 246, .96)),
    radial-gradient(circle at 75% 35%, rgba(200, 159, 69, .24), transparent 34%);
}

.client-hero {
  align-items: end;
  background:
    linear-gradient(110deg, rgba(31, 39, 36, .92), rgba(31, 39, 36, .54)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.eyebrow {
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.client-page .eyebrow {
  color: var(--gold);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 88px);
  line-height: .98;
  margin-bottom: 22px;
  max-width: 930px;
}

h2 {
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.05;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 720px;
}

.client-page .lead {
  color: rgba(255, 255, 255, .78);
}

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

.button {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.button.primary {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}

.button.ghost {
  background: rgba(255, 255, 255, .16);
}

.button.dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.signal-panel,
.roof-card {
  align-self: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(27, 32, 30, .16);
  color: var(--ink);
  padding: 30px;
}

.signal-panel strong,
.roof-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  margin: 12px 0;
}

.panel-label,
.roof-card span {
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-grid,
.client-services {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.section-grid article,
.client-services article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.section-grid p,
.client-services p,
.project-strip p,
.process-section span {
  color: var(--muted);
  line-height: 1.6;
}

.project-strip,
.process-section,
.client-footer {
  align-items: center;
  display: flex;
  gap: 26px;
  justify-content: space-between;
  padding: clamp(38px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.project-strip {
  background: var(--sky);
}

.trust-row {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  font-weight: 800;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.trust-row span {
  background: rgba(255, 255, 255, .06);
  padding: 20px;
  text-align: center;
}

.process-section {
  align-items: start;
  background: #f1eee7;
}

.steps {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  max-width: 620px;
  padding: 0;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 20px;
}

.site-footer,
.client-footer {
  background: var(--ink);
  color: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

.client-footer {
  background: var(--moss);
}

@media (max-width: 820px) {
  .site-header,
  .client-header,
  .site-footer,
  .project-strip,
  .process-section,
  .client-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-hero,
  .client-hero,
  .section-grid,
  .client-services,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .top-nav,
  .client-nav {
    flex-wrap: wrap;
  }
}
