:root {
  --bg: #f6f3ec;
  --paper: #ffffff;
  --ink: #121212;
  --muted: #5d584e;
  --line: #1e1b18;
  --line-soft: #6f685d;
  --accent: #121212;
  --accent-soft: #efe9dc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.5), transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(209, 190, 147, 0.2), transparent 42%),
    var(--bg);
}

img {
  max-width: 100%;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.brand {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-decoration: none;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.topnav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
}

.topnav a:hover,
.topnav a:focus {
  background: var(--accent-soft);
  outline: none;
}

.card {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0 2rem;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-photo-wrap {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  border-radius: 28px;
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 0;
  border-radius: 28px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

h3 {
  font-size: 1.1rem;
}

.lead,
.section p,
.service-card p,
.quote-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
  outline: none;
}

.button.primary {
  background: var(--accent);
  color: #f8f4ea;
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
}

.button.ghost {
  background: var(--accent-soft);
  color: var(--ink);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.panel-card,
.service-card,
.quote-card,
.contact-card {
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  background: #fffdf8;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.panel-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.panel-card li + li {
  margin-top: 0.45rem;
}

.section {
  padding: 2rem 0 0;
}

.about-stack {
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 100%;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

#work {
  max-width: 760px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

#work .quote-card {
  width: 100%;
}

.quote-card {
  background: linear-gradient(135deg, #fdf7ea, #f3ecdf);
}

.quote-card span {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-plain {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-plain .button {
  margin-top: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  justify-content: center;
}

.site-footer {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px dashed #8a8276;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4a4339;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .hero,
  .split,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1rem 0.8rem 2rem;
  }

  .topbar,
  .card {
    padding: 1rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 100%;
    font-size: 1.35rem;
    text-align: center;
  }

  .topnav {
    width: 100%;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
