:root {
  color-scheme: light;
  --ink: #23180e;
  --muted: #6b6259;
  --paper: #fffaf1;
  --panel: #f5efe2;
  --line: #ded2bd;
  --walnut: #4a2d16;
  --amber: #b9823d;
  --forest: #2f5d50;
  --steel: #315f7d;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(35, 24, 14, 0.13);
  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;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(49, 95, 125, 0.08), transparent 34rem),
    linear-gradient(225deg, rgba(47, 93, 80, 0.1), transparent 30rem),
    var(--paper);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(74, 45, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 45, 22, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(222, 210, 189, 0.8);
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--forest);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100svh - 73px);
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
}

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

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.lede {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(47, 93, 80, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #24483f;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--walnut);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--amber);
  background: var(--white);
}

.hero-mark {
  position: relative;
  justify-self: center;
  width: min(100%, 35rem);
  padding: clamp(0.6rem, 2vw, 1.2rem);
  border: 1px solid rgba(222, 210, 189, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-mark::after {
  position: absolute;
  right: clamp(0.8rem, 3vw, 1.4rem);
  bottom: clamp(0.8rem, 3vw, 1.4rem);
  width: clamp(5rem, 24vw, 10rem);
  height: 0.45rem;
  content: "";
  background: linear-gradient(90deg, var(--amber), var(--steel));
}

.hero-mark img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.section,
.process,
.contact {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

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

.work-card {
  min-height: 18rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.work-card span {
  display: block;
  margin-bottom: clamp(3rem, 8vw, 6rem);
  color: var(--steel);
  font-weight: 900;
}

.work-card p,
.steps span,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.process {
  background:
    linear-gradient(90deg, rgba(47, 93, 80, 0.12), transparent 45%),
    var(--panel);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.steps li {
  display: grid;
  gap: 0.75rem;
  min-height: 14rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
}

.steps strong {
  color: var(--walnut);
  font-size: 1.15rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact p {
  max-width: 44rem;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.35rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 11ch;
  }

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

  .work-card,
  .steps li {
    min-height: auto;
  }

  .work-card span {
    margin-bottom: 2rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .button,
  .hero-actions,
  .contact .button {
    width: 100%;
  }
}
