:root {
  --cream: #f3efe5;
  --cream-2: #fbf8f0;
  --sage: #d8dfcc;
  --sage-dark: #506049;
  --green: #263b31;
  --ink: #202821;
  --muted: #6d746b;
  --line: #ded7c8;
  --white: #fffdf7;
  --shadow: 0 22px 70px rgba(32, 40, 33, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

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

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

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(243, 239, 229, 0.78);
  border-bottom: 1px solid rgba(222, 215, 200, 0.72);
  backdrop-filter: blur(20px);
}

.brand {
  display: grid;
  gap: 1px;
}

.brand span {
  font-size: 22px;
  font-weight: 800;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

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

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.menu-button i {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 72px;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 72px 0 0;
  width: 100%;
  height: calc(100vh - 72px);
  min-height: 640px;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 72px 0 0;
  background:
    linear-gradient(90deg, rgba(243, 239, 229, 0.96) 0%, rgba(243, 239, 229, 0.82) 30%, rgba(243, 239, 229, 0.34) 58%, rgba(243, 239, 229, 0.02) 100%),
    linear-gradient(180deg, rgba(243, 239, 229, 0) 72%, var(--cream) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(86px, 14vw, 160px) 0 130px;
}

.overline {
  margin: 0 0 14px;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.08;
  font-weight: 800;
}

.hero-copy > p:not(.overline) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

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

.button,
form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
form button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 36px rgba(38, 59, 49, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.74);
  color: var(--green);
}

.lead-section,
.services,
.visual-section,
.reason,
.flow,
.contact,
.footer {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.lead-section {
  display: grid;
  grid-template-columns: 90px 0.95fr 1.05fr;
  gap: 42px;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-number {
  margin: 0;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.25;
}

.lead-section > p:last-child,
.visual-copy p,
.service-list p,
.reason-grid p,
.flow p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.services,
.reason,
.flow,
.contact {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list article {
  min-height: 300px;
  background: var(--cream-2);
  padding: 30px;
}

.service-list span {
  color: var(--sage-dark);
  font-weight: 900;
}

h3 {
  margin: 20px 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.visual-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: center;
  padding: 94px 0;
  border-bottom: 1px solid var(--line);
}

.visual-section img {
  height: 470px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.visual-copy p {
  margin-top: 20px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reason-grid article {
  border-top: 1px solid var(--green);
  padding-top: 22px;
}

.flow ol {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.flow li {
  display: grid;
  grid-template-columns: 110px 0.8fr 1.1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.flow span {
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.flow strong {
  font-size: 21px;
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

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

input:focus,
textarea:focus {
  border-color: var(--sage-dark);
  outline: 2px solid rgba(80, 96, 73, 0.14);
}

form small {
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 54px;
  color: var(--muted);
}

.footer span {
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 12px;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 13px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(243, 239, 229, 0.95) 0%, rgba(243, 239, 229, 0.78) 40%, rgba(243, 239, 229, 0.18) 100%),
      linear-gradient(180deg, rgba(243, 239, 229, 0) 72%, var(--cream) 100%);
  }

  .lead-section,
  .visual-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-list,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .flow li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .header {
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .hero-copy,
  .lead-section,
  .services,
  .visual-section,
  .reason,
  .flow,
  .contact,
  .footer {
    width: min(100vw - 26px, 1160px);
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy > p:not(.overline) {
    font-size: 15px;
  }

  .lead-section,
  .services,
  .visual-section,
  .reason,
  .flow,
  .contact {
    padding-block: 58px;
  }

  .visual-section img {
    height: 290px;
  }

  form {
    padding: 20px;
  }

  .footer {
    flex-direction: column;
  }
}
