:root {
  --ink: #1a120c;
  --paper: #f3ebe0;
  --sand: #e4d4c0;
  --ember: #c45c26;
  --ember-deep: #9a3f14;
  --steel: #3d4f66;
  --muted: rgba(26, 18, 12, 0.72);
  --line: rgba(26, 18, 12, 0.12);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 92, 38, 0.22), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(61, 79, 102, 0.18), transparent 50%),
    linear-gradient(165deg, #f7f0e6 0%, #e8dccb 48%, #d9c7b0 100%);
  line-height: 1.55;
}

a {
  color: var(--ember-deep);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(243, 235, 224, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: 2.5rem 1.25rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 18, 12, 0.55), rgba(26, 18, 12, 0.15)),
    url("icon.png") center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(232, 220, 203, 0.95) 8%, transparent 55%);
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero__lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--ember);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--ember-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 18, 12, 0.28);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.45);
}

.section {
  padding: 3.5rem 1.25rem;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section > .wrap > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  animation: rise 0.8s ease both;
}

.feature:nth-child(2) { animation-delay: 0.08s; }
.feature:nth-child(3) { animation-delay: 0.16s; }

.feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

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

.contact-form {
  display: grid;
  gap: 0.85rem;
  max-width: 32rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 18, 12, 0.18);
  background: rgba(255, 255, 255, 0.7);
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
  font: inherit;
}

.form-success {
  color: var(--ember-deep);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2rem;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  margin-left: 0.75rem;
}

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

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
}

.legal .updated {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.legal h2 {
  margin-top: 1.8rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.legal h3 {
  margin-top: 1.1rem;
}

.legal ul {
  padding-left: 1.2rem;
}

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

  .hero {
    min-height: 78vh;
  }
}
