:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --surface: #ffffff;
  --ink: #1a1a18;
  --muted: #62605b;
  --line: #dfddd5;
  --line-strong: #aaa69a;
  --accent: #8a7f69;
  --accent-dark: #3d372d;
  --success: #2f6b48;
  --error: #9b2f25;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Lato, "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 247, 244, 0.88);
  border-bottom: 1px solid rgba(222, 219, 211, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 154px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.55fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding-top: 50px;
  padding-bottom: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.1rem, 7.2vw, 6.8rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.7vw, 4rem);
}

p {
  color: var(--muted);
}

.hero-text,
.manifesto p,
.infra-copy p,
.application-copy p {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.property-stack {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: stretch;
  min-height: 640px;
}

.property-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--surface);
}

.property-card.large {
  height: 72%;
}

.property-card.small {
  width: 74%;
  height: 250px;
  margin-left: auto;
  margin-top: -92px;
  border: 12px solid var(--bg);
}

.property-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 6px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
  color: #fff;
}

.property-card span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.property-card strong {
  max-width: 360px;
  font-size: 1.08rem;
  font-weight: 400;
}

.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split,
.infrastructure,
.application {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.06rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.card {
  min-height: 134px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--accent-dark);
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover {
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.method-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.method-flow li {
  position: relative;
  padding: 22px 22px 22px 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-weight: 650;
}

.method-flow li:first-child {
  border-radius: 0;
}

.method-flow li:last-child {
  border-radius: 0;
}

.editorial-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-band p {
  max-width: 560px;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.method-flow li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  font-size: 0.78rem;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.benefits span {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
}

.application {
  border-top: 1px solid var(--line);
}

.application-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
}

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

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.9rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fbfbf9;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(119, 108, 87, 0.22);
  border-color: var(--accent);
}

small {
  min-height: 18px;
  color: var(--error);
}

.submit-button {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 600;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer img {
  width: 150px;
  height: auto;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero,
  .split,
  .infrastructure,
  .application {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .property-stack {
    min-height: 520px;
  }

  .property-card.large {
    height: 420px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.8rem;
  }

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

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .property-stack,
  .cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .property-stack {
    min-height: auto;
  }

  .property-card.large,
  .property-card.small {
    width: 100%;
    height: 360px;
    margin: 0;
    border: 0;
  }

  .editorial-band {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
