:root {
  --bg: #f3f0ea;
  --paper: #f8f5ef;
  --paper-strong: #f4efe7;
  --ink: #2f2b27;
  --muted: #6f685f;
  --line: rgba(55, 48, 41, 0.12);
  --line-strong: rgba(55, 48, 41, 0.2);
  --olive: #6f7642;
  --olive-dark: #5d6437;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(24, 20, 16, 0.12);
  --shadow-strong: 0 30px 80px rgba(24, 20, 16, 0.18);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --max-narrow: 860px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ede8e0 0%, #f5f2ec 35%, #f3f0ea 100%);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 239, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(55, 48, 41, 0.06);
}

.site-header__inner,
.section__inner,
.hero__shell,
.site-footer__inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand__logo,
.site-footer__logo {
  width: auto;
  height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__link {
  color: #5f5a54;
  font-size: 0.98rem;
}

.site-nav__link:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  width: 40px;
  height: 40px;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  font-weight: 600;
}

.btn--primary {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 12px 24px rgba(111, 118, 66, 0.22);
}

.btn--primary:hover {
  background: var(--olive-dark);
}

.btn--quiet {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--quiet:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--header-outline {
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  border-color: rgba(55, 48, 41, 0.18);
  color: var(--ink);
}

.btn--light {
  background: #f8f5ef;
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.hero {
  position: relative;
  padding: 42px 0 56px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.6) 0%, rgba(9, 10, 12, 0.28) 42%, rgba(9, 10, 12, 0.1) 68%, rgba(9, 10, 12, 0.08) 100%),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1800&q=80") center center / cover no-repeat;
}

.hero__shell {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 420px;
  gap: 44px;
  align-items: start;
  padding: 72px 46px 46px;
  border-radius: 0 0 26px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero__intro,
.hero__aside {
  position: relative;
  z-index: 1;
}

.hero__intro {
  color: #fff;
  max-width: 620px;
  padding-top: 24px;
}

.hero__kicker {
  margin: 0 0 18px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.93;
  font-weight: 500;
}

.hero__title-line {
  display: block;
}

.hero__lede {
  margin: 0 0 20px;
  max-width: 520px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.hero__lede-line {
  display: block;
}

.hero__lede-line + .hero__lede-line {
  margin-top: 6px;
}

.hero__audience {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.06em;
  font-size: 0.94rem;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__reassurance {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.form-panel--hero {
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.form-panel__head {
  margin-bottom: 8px;
}

.form-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.02;
  font-weight: 500;
}

.form-panel__hook {
  margin: 0 0 18px;
  color: var(--muted);
}

.form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__row--phone-email {
  grid-template-columns: 1fr 1.2fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.field__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: #4c463f;
}

.field abbr {
  text-decoration: none;
  color: #8e6d52;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(55, 48, 41, 0.12);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 9px;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(111, 118, 66, 0.46);
  box-shadow: 0 0 0 4px rgba(111, 118, 66, 0.11);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field--check input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.field--check span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.turnstile-wrap--subtle {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.form-status {
  min-height: 22px;
  margin: 10px 0;
  font-size: 0.9rem;
  white-space: pre-line;
}

.form-status.is-success {
  color: #315a35;
}

.form-status.is-error {
  color: #a43232;
}

.section {
  padding: 58px 0;
}

.section__inner {
  max-width: var(--max);
}

.section__inner--narrow {
  max-width: var(--max-narrow);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading--centered {
  text-align: center;
}

.section-heading--light .section__title {
  color: #fff;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 500;
}

.section--paper {
  background: transparent;
}

.section--soft {
  background: rgba(255, 255, 255, 0.28);
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.issue-card {
  padding: 34px 24px;
  text-align: center;
  position: relative;
}

.issue-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 22px;
  width: 1px;
  background: var(--line);
}

.issue-card__icon {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.issue-card__title,
.step-box__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.issue-card__text,
.step-box__text,
.faq__panel p,
.quote-cta__text,
.site-footer__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.steps-board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-box {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

.step-box__index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #5d564e;
}

.projects-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

.projects-showcase__side {
  display: grid;
  gap: 18px;
}

.project-tile {
  position: relative;
  border-radius: 0;
  min-height: 260px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-size: cover;
  background-position: center;
}

.project-tile--large {
  min-height: 560px;
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1400&q=80");
}

.project-tile--top {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04)),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1000&q=80");
}

.project-tile--bottom {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1000&q=80");
}

.project-tile__label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-weight: 500;
}

.section--quote {
  text-align: center;
}

.quote-block {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.25;
  color: #3b352f;
}

.quote-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.quote-cta__text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #4b453e;
}

.section--dark-contact {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.88), rgba(20, 20, 20, 0.88)),
    url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.contact-form-card {
  padding: 14px 0 0;
}

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-submit {
  width: auto;
  min-width: 300px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq__trigger {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.faq__panel {
  padding: 0 20px 18px;
}

.site-footer {
  padding: 28px 0 34px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer__nav a {
  color: var(--muted);
}

.site-footer__nav a:hover {
  color: var(--ink);
}

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(248, 245, 239, 0.98);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(55, 48, 41, 0.08);
  }

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

  .hero__shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 22px 22px;
    gap: 24px;
  }

  .hero__intro {
    padding-top: 8px;
  }

  .form-panel--hero {
    max-width: 540px;
  }

  .issues-grid,
  .steps-board,
  .projects-showcase {
    grid-template-columns: 1fr;
  }

  .projects-showcase__side {
    grid-template-columns: 1fr 1fr;
  }

  .issue-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .section__inner,
  .hero__shell,
  .site-footer__inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand__logo,
  .site-footer__logo {
    height: 46px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero__shell {
    border-radius: 20px;
  }

  .hero__title {
    line-height: 1;
  }

  .form__row--2,
  .form__row--phone-email,
  .projects-showcase__side {
    grid-template-columns: 1fr;
  }

  .project-tile--large {
    min-height: 360px;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
  }
}
