:root {
  --ink: #171512;
  --muted: #716a60;
  --paper: #f6f0e6;
  --surface: #fffaf2;
  --line: rgba(31, 28, 24, 0.14);
  --forest: #263d35;
  --moss: #6d7d56;
  --copper: #b87943;
  --sun: #e2b35f;
  --stone: #d7c6af;
  --clay: #9d5f45;
  --shadow: 0 28px 70px rgba(38, 32, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(226, 179, 95, 0.16), transparent 32rem),
    linear-gradient(180deg, #fbf6ee 0%, var(--paper) 48%, #efe3d3 100%);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(23, 21, 18, 0.36);
  color: #fff;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 250, 242, 0.92);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(31, 28, 24, 0.1);
}

.brand {
  display: flex;
  min-width: 176px;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sun), var(--copper));
  color: #21170f;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 1px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

.nav {
  display: flex;
  gap: 22px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.88;
}

.nav a,
.header-call {
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover,
.header-call:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.header-call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 8px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
  white-space: nowrap;
}

.is-scrolled .header-call {
  background: var(--forest);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  align-items: center;
  overflow: hidden;
  padding: 132px 24px 54px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 17, 14, 0.86) 0%, rgba(19, 17, 14, 0.66) 37%, rgba(19, 17, 14, 0.18) 72%),
    linear-gradient(180deg, rgba(19, 17, 14, 0.12), rgba(19, 17, 14, 0.46));
}

.hero-content {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
h2 {
  margin: 0;
  font-family: Prata, Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 6.7vw, 88px);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.68;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 0 26px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--sun), var(--copper));
  color: #21170f;
  box-shadow: 0 20px 34px rgba(184, 121, 67, 0.28);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.hero-note {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 58px;
}

.hero-note div {
  min-height: 100px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  font-size: 21px;
}

.hero-note span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--forest);
  color: #fff;
}

.ticker span {
  display: grid;
  min-height: 78px;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 96px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
}

h2 {
  max-width: 820px;
  font-size: clamp(32px, 4.6vw, 58px);
}

p {
  color: var(--muted);
  line-height: 1.74;
}

.intro-copy p,
.trust-inner p,
.lead-copy p {
  max-width: 640px;
  font-size: 17px;
}

.intro h2,
.process h2,
.lead h2 {
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.05;
}

.intro h2 {
  max-width: 560px;
  font-size: clamp(40px, 4.2vw, 64px);
}

.format-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(260px, 0.94fr);
  gap: 16px;
}

.format-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(31, 28, 24, 0.1);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: 0 14px 34px rgba(38, 32, 25, 0.08);
}

.format-card.featured {
  grid-row: span 2;
  min-height: 476px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(38, 61, 53, 0.05), rgba(38, 61, 53, 0.9)),
    url("assets/aska-house-hero.png") center / cover;
  color: #fff;
}

.format-card span {
  display: inline-flex;
  width: 46px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0dfc1;
  color: #8a552f;
  font-size: 14px;
  font-weight: 900;
}

.format-card.featured span,
.format-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.format-card.featured span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.format-card h3,
.steps h3,
.detail-card h3 {
  margin: 22px 0 10px;
  font-size: 25px;
  line-height: 1.18;
}

.format-card h3 {
  font-size: 28px;
}

.format-card p,
.detail-card p {
  margin: 0;
}

.section-head {
  display: block;
  margin-bottom: 34px;
}

.process h2 {
  max-width: 760px;
  font-size: clamp(40px, 4.4vw, 64px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps article {
  min-height: 248px;
  padding: 30px;
  border: 1px solid rgba(31, 28, 24, 0.08);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: 0 14px 34px rgba(38, 32, 25, 0.08);
}

.steps b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #f0dfc1;
  color: #6d4324;
  font-size: 16px;
}

.wide {
  width: 100%;
}

.trust {
  padding: 90px max(20px, calc((100% - 1180px) / 2));
  background: #526947;
  color: #fff;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.trust-inner p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.08);
  box-shadow: 0 24px 58px rgba(24, 34, 25, 0.18);
}

.contact-card span {
  color: var(--sun);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 20px;
  font-family: Prata, Georgia, serif;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.06;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 34px;
  border-radius: 8px;
  padding: 0 16px;
  background: #fffaf2;
  color: var(--ink);
  font-weight: 900;
}

.details {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
}

.detail-card {
  min-height: 320px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: center;
  padding: 40px;
  border-radius: 8px;
}

.detail-card p {
  align-self: start;
  margin-bottom: 30px;
  font-size: 19px;
  font-weight: 600;
}

.detail-card h3 {
  align-self: center;
  max-width: 520px;
  margin: 0;
  font-size: clamp(30px, 2.5vw, 40px);
  line-height: 1.16;
}

.detail-card.dark {
  background: var(--ink);
  color: #fff;
}

.detail-card.light {
  background: #fffaf2;
  box-shadow: 0 16px 38px rgba(38, 32, 25, 0.08);
}

.detail-card.warm {
  background: #e7c38a;
}

.detail-card.dark p {
  color: rgba(255, 255, 255, 0.7);
}

.lead {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 40px;
  padding: 52px;
  border-radius: 8px;
  background: #171512;
  color: #fff;
}

.lead-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.lead h2 {
  max-width: 520px;
  font-size: clamp(36px, 4.2vw, 58px);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 16px;
  background: #fffaf2;
  color: var(--ink);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #f5ecdf;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(226, 179, 95, 0.28);
  border-color: var(--copper);
}

.footer {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 38px 0 54px;
  border-top: 1px solid var(--line);
}

.footer strong {
  font-size: 22px;
}

.footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 250, 242, 0.62);
  font-weight: 900;
}

@media (max-width: 940px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 116px 20px 40px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(19, 17, 14, 0.78), rgba(19, 17, 14, 0.5));
  }

  .hero-note,
  .ticker,
  .intro,
  .format-grid,
  .steps,
  .trust-inner,
  .details,
  .lead {
    grid-template-columns: 1fr;
  }

  .ticker span {
    min-height: 54px;
  }

  .section {
    width: min(100% - 28px, 720px);
    padding: 66px 0;
  }

  .format-card.featured {
    min-height: 360px;
  }

  .trust {
    padding: 66px 14px;
  }

  .section-head,
  .footer {
    display: block;
  }

  .steps article,
  .detail-card {
    min-height: 230px;
  }

  .detail-card {
    padding: 30px;
  }

  .detail-card h3 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .lead {
    padding: 28px;
  }

  .footer-links {
    margin-top: 18px;
  }
}

@media (max-width: 540px) {
  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .header-call {
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note div {
    min-height: 86px;
  }

  .lead {
    width: calc(100% - 20px);
  }
}
