@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@1,500&display=swap");

:root {
  --ink: #182018;
  --paper: #f2efe6;
  --accent: #ff5c35;
  --line: rgba(24, 32, 24, 0.2);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  transition: 180ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 34px;
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

em {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 40px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  border-radius: 999px;
  padding: 16px 22px;
  font-weight: 500;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--ink);
}

.text-link {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.text-link span {
  margin-left: 8px;
}

.hero-mark {
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: -13vw;
  color: rgba(24, 32, 24, 0.035);
  font-size: min(65vw, 850px);
  font-weight: 600;
  letter-spacing: -0.16em;
  line-height: 1;
  user-select: none;
}

.section {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding: 120px 0;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.section-content h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-content p {
  max-width: 500px;
  color: #4d554d;
  font-size: 1.12rem;
  line-height: 1.75;
}

.service-list article {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  align-items: baseline;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.service-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-list span {
  color: var(--accent);
  font-size: 0.75rem;
}

.service-list h3 {
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.service-list p {
  margin-bottom: 0;
  color: #4d554d;
}

.contact {
  margin-bottom: 40px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(50px, 9vw, 110px);
}

.contact h2 {
  margin-bottom: 60px;
  font-size: clamp(4rem, 9vw, 8rem);
}

.contact a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(242, 239, 230, 0.35);
  padding-bottom: 16px;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
}

.contact a:hover {
  color: var(--accent);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 50px;
  font-size: 0.8rem;
}

.footer-logo {
  font-size: 1.2rem;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    height: 78px;
  }

  .menu-toggle {
    z-index: 2;
    display: grid;
    gap: 6px;
    border: 0;
    background: none;
    padding: 10px 0 10px 10px;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    z-index: 1;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    padding: 12px;
    box-shadow: 0 20px 50px rgba(24, 32, 24, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    min-height: calc(100svh - 78px);
    padding: 70px 0;
  }

  h1 {
    font-size: clamp(3.65rem, 18vw, 6rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 80px 0;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-list article {
    grid-template-columns: 38px 1fr;
  }

  .service-list article p {
    grid-column: 2;
  }

  .contact {
    padding: 52px 26px;
  }

  .contact h2 {
    margin-bottom: 45px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  footer p {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
