:root {
  --home-bg: #efe6d7;
  --home-bg-deep: #d7d0c4;
  --home-panel: rgba(253, 249, 242, 0.84);
  --home-panel-strong: rgba(255, 252, 247, 0.94);
  --home-ink: #1e2530;
  --home-muted: #5f6773;
  --home-accent: #a04e22;
  --home-accent-deep: #7b3412;
  --home-navy: #183447;
  --home-line: rgba(30, 37, 48, 0.1);
  --home-shadow: 0 26px 70px rgba(35, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--home-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, var(--home-bg), var(--home-bg-deep));
  overflow-x: hidden;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

p {
  margin: 0;
  line-height: 1.7;
}

.home-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.hero-panel,
.content-panel,
.editorial-card {
  border: 1px solid var(--home-line);
  border-radius: 32px;
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(16px);
}

.hero-panel {
  padding: 24px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(255, 250, 244, 0.92)),
    linear-gradient(120deg, rgba(24, 52, 71, 0.07), rgba(160, 78, 34, 0.06));
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.wordmark-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--home-navy), #2d5976);
  color: #f7f2ea;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.wordmark-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}

.hero-nav-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--home-muted);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.7);
  color: var(--home-ink);
}

.nav-link-strong {
  background: rgba(24, 52, 71, 0.1);
  color: var(--home-navy);
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  gap: 24px;
  margin-top: 36px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 12px 8px 12px 4px;
}

.eyebrow {
  color: var(--home-accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.94;
}

.hero-lead {
  max-width: 42rem;
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  color: var(--home-muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.editorial-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(160, 78, 34, 0.11);
  color: var(--home-accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 0;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-link {
  background: linear-gradient(135deg, var(--home-accent), var(--home-accent-deep));
  color: #fff7f2;
  box-shadow: 0 16px 30px rgba(123, 52, 18, 0.22);
}

.secondary-link {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--home-line);
  color: var(--home-ink);
}

.primary-link:hover,
.secondary-link:hover,
.primary-link:focus-visible,
.secondary-link:focus-visible {
  transform: translateY(-2px);
}

.hero-feature {
  display: grid;
  min-height: 100%;
}

.hero-portrait {
  position: relative;
  min-height: 640px;
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(24, 52, 71, 0.16), rgba(160, 78, 34, 0.08)),
    #d8d4cc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 19, 28, 0.02), rgba(12, 19, 28, 0.1) 42%, rgba(12, 19, 28, 0.76)),
    linear-gradient(90deg, rgba(12, 19, 28, 0.2), transparent 34%);
  pointer-events: none;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: 50% 36%;
  background: rgba(24, 52, 71, 0.08);
}

.hero-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(24, 52, 71, 0.88), rgba(19, 42, 57, 0.95)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent);
  color: #eef4f7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(18, 24, 31, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.hero-card p {
  color: rgba(238, 244, 247, 0.82);
}

.hero-card-caption {
  color: rgba(238, 244, 247, 0.68);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-card-panel {
  width: auto;
  margin: 0;
  align-self: stretch;
  justify-self: stretch;
}

.hero-metrics {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero-metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics dt {
  color: rgba(238, 244, 247, 0.62);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-metrics dd {
  margin: 6px 0 0;
  font-weight: 600;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.content-grid-single {
  grid-template-columns: 1fr;
}

.content-panel {
  padding: 26px;
  background: var(--home-panel);
}

.content-panel h2 {
  margin-top: 12px;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.statement-panel,
.list-panel,
.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-panel-wide {
  max-width: none;
}

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

.feature-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--home-line);
  font-weight: 600;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.strength-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--home-line);
}

.strength-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
}

.contact-note {
  color: var(--home-muted);
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.form-field span {
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(30, 37, 48, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--home-ink);
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(160, 78, 34, 0.24);
  outline-offset: 1px;
  border-color: rgba(160, 78, 34, 0.45);
}

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

.contact-actions {
  display: grid;
  gap: 12px;
  align-items: start;
}

.contact-submit {
  justify-self: start;
}

.contact-status {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.contact-status-success {
  background: rgba(68, 116, 70, 0.12);
  border: 1px solid rgba(68, 116, 70, 0.2);
  color: #244b27;
}

.contact-status-error {
  background: rgba(160, 78, 34, 0.1);
  border: 1px solid rgba(160, 78, 34, 0.18);
  color: var(--home-accent-deep);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sky-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.7;
  pointer-events: none;
}

.sky-glow-left {
  top: 60px;
  left: -120px;
  background: rgba(52, 104, 138, 0.18);
}

.sky-glow-right {
  right: -80px;
  bottom: 120px;
  background: rgba(182, 103, 55, 0.18);
}

@media (max-width: 960px) {
  .hero-grid,
  .content-grid,
  .form-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-portrait img {
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-position: 50% 37%;
  }

  .hero-portrait {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .home-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 14px;
    padding-bottom: 28px;
  }

  .hero-panel,
  .content-panel,
  .editorial-card {
    border-radius: 24px;
  }

  .hero-panel,
  .content-panel,
  .editorial-card,
  .hero-card {
    padding: 20px;
  }

  .hero-nav {
    align-items: start;
  }

  .hero-portrait img {
    aspect-ratio: 4 / 5;
    object-position: 50% 39%;
  }

  .contact-panel {
    padding: 20px;
  }
}
