
:root {
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #1e1e1c;
  --muted: #696660;
  --line: #ded8ce;
  --accent: #2d2a24;
  --soft: #ebe5da;
  --max: 980px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  font-size: 20px;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 15px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 22px 90px;
}

.hero {
  padding: 52px 0 34px;
}

.hero-with-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero h1 span {
  display: block;
}

.hero-portrait {
  margin: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  filter: saturate(0.82) contrast(0.94);
}

.kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  margin-bottom: 18px;
}

h1 {
  font-size: 60px;
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0 0 26px;
  font-weight: 500;
}

h2 {
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 70px 0 22px;
  font-weight: 500;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 34px 0 8px;
  font-weight: 500;
}

p {
  font-size: 19px;
  margin: 0 0 18px;
}

.lede {
  font-size: 29px;
  line-height: 1.28;
  letter-spacing: 0;
  max-width: 820px;
}

.section {
  border-top: 1px solid var(--line);
  padding-top: 38px;
  margin-top: 54px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px;
  min-height: 230px;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
  font-size: 17px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.info-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px;
}

.info-box p, .info-box li {
  font-size: 17px;
  color: var(--muted);
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
  font-size: 18px;
}

.rate-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.rate {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
}

.rate strong {
  display: block;
  font-size: 19px;
  margin-bottom: 4px;
}

.rate span {
  color: var(--muted);
  font-size: 16px;
}

.project {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 30px;
}

.project-copy {
  max-width: 720px;
}

.project-copy h3 {
  margin-top: 0;
}

.project-copy p:last-child {
  margin-bottom: 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.photo-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--soft);
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
  margin: 26px 0 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  border-radius: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.contact-form .button {
  border: 0;
  justify-self: start;
  cursor: pointer;
  font-family: inherit;
}

.note {
  color: var(--muted);
  font-size: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 22px;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 780px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  main {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .lede {
    font-size: 23px;
  }

  .grid,
  .two-col,
  .hero-with-portrait {
    grid-template-columns: 1fr;
  }

  .hero-with-portrait {
    gap: 30px;
  }

  .hero-portrait {
    max-width: 420px;
  }

  .card {
    min-height: auto;
  }

  .photo-gallery {
    gap: 8px;
    margin-top: 18px;
  }
}
