:root {
  --paper: #f7f4ee;
  --surface: #fffdf8;
  --ink: #252525;
  --muted: #6d6861;
  --line: #d8d0c3;
  --olive: #4f5d47;
  --clay: #ad6345;
  --blue: #72828b;
  --shadow: 0 18px 44px rgba(37, 37, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(37, 37, 37, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  border-color: var(--clay);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: 9vh 32px 8vh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.24) 48%, rgba(0, 0, 0, 0.06));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: white;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7b89a;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 980px;
  font-size: clamp(48px, 8vw, 116px);
}

h2 {
  font-size: clamp(32px, 4vw, 64px);
}

h3 {
  font-size: 21px;
  line-height: 1.25;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  font-size: 19px;
}

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

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

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

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

.button.ghost {
  color: white;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  color: var(--clay);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.intro-band,
.split,
.feature-grid,
.portfolio-preview,
.journal-preview,
.quote-band,
.cta-band,
.page-hero,
.case-study,
.project-grid.wide,
.journal-grid.wide,
.contact-panel,
.article {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 32px;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  border-bottom: 1px solid var(--line);
}

.intro-band span,
.steps span,
.project-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-band p {
  color: var(--muted);
  font-size: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps p {
  font-size: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: var(--ink);
  color: white;
  max-width: none;
}

.feature-grid > * {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-grid p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
}

.feature-grid .eyebrow,
.feature-grid .text-link {
  color: #e7b89a;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 760px;
}

.project-grid,
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card,
.journal-card {
  background: var(--surface);
  border: 1px solid var(--line);
}

.project-card a,
.journal-card a {
  display: grid;
  min-height: 100%;
}

.project-card img,
.journal-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card span,
.project-card h3,
.journal-card h3,
.journal-card p {
  margin: 18px 20px 0;
}

.project-card h3,
.journal-card p {
  margin-bottom: 22px;
}

.journal-card p,
.project-card span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.project-card span,
.journal-card p {
  -webkit-line-clamp: 4;
}

.journal-card p {
  color: var(--muted);
}

.quote-band {
  display: grid;
  gap: 22px;
  background: var(--olive);
  color: white;
  max-width: none;
}

.quote-band blockquote {
  max-width: 960px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.12;
  text-align: center;
}

.quote-band p {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.cta-band {
  text-align: center;
  background: var(--blue);
  color: white;
  max-width: none;
}

.cta-band .eyebrow {
  color: #f3c5a5;
}

.cta-band .button {
  margin-top: 28px;
  background: white;
  color: var(--ink);
  border-color: white;
}

.page-hero {
  display: grid;
  gap: 18px;
}

.page-hero.compact {
  padding-bottom: 56px;
}

.page-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(44px, 6vw, 92px);
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: end;
}

.case-hero h1 {
  font-size: clamp(42px, 5.5vw, 86px);
}

.case-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
  margin-top: 22px;
}

.case-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.case-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 76px;
}

.case-sections div {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.case-sections h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.case-sections p,
.article-body p {
  color: var(--muted);
  margin-top: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 76px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cta-band.small {
  margin-top: 76px;
  padding: 72px 32px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  padding-top: 0;
}

.contact-panel form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 14px 14px;
}

.article header {
  display: grid;
  gap: 24px;
  margin-bottom: 54px;
}

.article header img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 32px;
  padding: 54px 32px;
  background: #171717;
  color: white;
}

.site-footer p,
.site-footer span {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer div {
  display: grid;
  gap: 10px;
  align-content: start;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: grid;
  }

  .hero {
    min-height: 84vh;
    padding: 9vh 20px 7vh;
  }

  .intro-band,
  .split,
  .case-hero,
  .case-sections,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .project-grid,
  .journal-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .split,
  .feature-grid,
  .portfolio-preview,
  .journal-preview,
  .quote-band,
  .cta-band,
  .page-hero,
  .case-study,
  .project-grid.wide,
  .journal-grid.wide,
  .contact-panel,
  .article {
    padding: 64px 20px;
  }

  .section-heading {
    display: grid;
  }
}
