:root {
  --bg: #f5efe3;
  --surface: rgba(255, 251, 244, 0.88);
  --surface-strong: #fffaf0;
  --ink: #18231a;
  --muted: #5f665e;
  --line: rgba(24, 35, 26, 0.12);
  --accent: #d75c2f;
  --accent-dark: #9f3f1e;
  --forest: #244233;
  --gold: #e1b96a;
  --shadow: 0 18px 60px rgba(39, 31, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(225, 185, 106, 0.32), transparent 28%),
    linear-gradient(180deg, #efe2c7 0%, var(--bg) 45%, #f7f3eb 100%);
}

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

button {
  font: inherit;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.brand-button,
.nav-link-button,
.text-link-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.nav-link-button {
  color: rgba(255, 247, 235, 0.82);
}

.text-link-button {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  display: inline;
  white-space: normal;
  vertical-align: baseline;
}

.email-output {
  display: inline-block;
  margin-left: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 40px;
}

.hero,
.section,
.footer {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(36, 66, 51, 0.98), rgba(24, 35, 26, 0.92)),
    #1d261f;
  color: #fff7eb;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(215, 92, 47, 0.16);
  filter: blur(10px);
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 247, 235, 0.82);
}

.hero-content {
  padding: 28px 8px 12px;
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
  font-family: "Newsreader", serif;
}

.hero h1 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.lead {
  max-width: 58ch;
  margin: 20px 0 0;
  color: rgba(255, 247, 235, 0.84);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
}

.primary {
  background: var(--accent);
  color: white;
}

.secondary {
  border-color: rgba(255, 247, 235, 0.24);
  background: rgba(255, 247, 235, 0.08);
  color: #fff7eb;
}

.signature-clear {
  border-color: rgba(24, 35, 26, 0.16);
  background: rgba(24, 35, 26, 0.04);
  color: var(--ink);
}

.hero-panel,
.card,
.map-card,
.footer {
  border: 1px solid var(--line);
  border-radius: 24px;
}

.hero-panel {
  align-self: end;
  padding: 24px;
  background: rgba(255, 247, 235, 0.08);
  backdrop-filter: blur(8px);
}

.hero-panel h2 {
  font-size: 1.6rem;
}

.quick-facts {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}

.quick-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 247, 235, 0.12);
}

.quick-facts span {
  color: rgba(255, 247, 235, 0.72);
}

.section {
  margin-top: 22px;
}

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

.card,
.map-card,
.footer,
.timeline-item {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  padding: 28px;
}

.story-card {
  min-height: 320px;
}

.highlight-card {
  background:
    linear-gradient(180deg, rgba(225, 185, 106, 0.16), rgba(255, 250, 240, 0.94)),
    var(--surface-strong);
}

.check-list {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 20px;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section p {
  color: var(--muted);
  line-height: 1.75;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 14px;
  width: 8px;
  height: calc(100% - 52px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.timeline-date {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

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

.drone-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.impact-card h3,
.faq-card h3,
.contact-card h3,
.timeline-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.map-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.map-placeholder {
  min-height: 320px;
  border-radius: 22px;
  border: 1px dashed rgba(36, 66, 51, 0.34);
  background:
    linear-gradient(45deg, rgba(36, 66, 51, 0.08), rgba(225, 185, 106, 0.14)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.16) 18px,
      transparent 18px,
      transparent 36px
    );
  display: grid;
  place-items: center;
  color: var(--forest);
  font-weight: 700;
}

.map-figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.map-figure img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: contain;
  border-radius: 22px;
  border: 1px solid rgba(36, 66, 51, 0.16);
  background: rgba(255, 250, 240, 0.9);
}

.map-figure figcaption {
  color: var(--muted);
  line-height: 1.6;
}

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

.proposal-figure {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.example-photo-card {
  display: grid;
  gap: 16px;
}

.carousel-card {
  overflow: hidden;
}

.drone-map-card {
  display: grid;
  gap: 14px;
}

.drone-video-card {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.drone-video-heading {
  margin-bottom: 0;
}

.drone-map {
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(36, 66, 51, 0.16);
  background: rgba(255, 250, 240, 0.9);
}

.drone-map-meta,
.drone-map-caption {
  margin: 0;
}

.drone-map-marker {
  width: 40px;
  height: 40px;
  transform-origin: 50% 50%;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(24, 35, 26, 0.25));
}

.drone-video {
  display: block;
  width: 100%;
  max-height: 720px;
  border-radius: 18px;
  border: 1px solid rgba(36, 66, 51, 0.16);
  background: #000;
}

.carousel {
  display: grid;
  gap: 14px;
}

.carousel-frame {
  position: relative;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(36, 66, 51, 0.08);
}

.carousel-slide {
  display: none;
  margin: 0;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.carousel-slide figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.96);
}

.photo-caption {
  margin: 0;
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.carousel-button,
.carousel-dot {
  border: 0;
  cursor: pointer;
}

.carousel-button {
  border-radius: 999px;
  background: var(--forest);
  color: white;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: #1b3328;
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(36, 66, 51, 0.22);
  transition: transform 160ms ease, background 160ms ease;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.registration-form {
  display: grid;
  gap: 22px;
}

.consent-card {
  display: grid;
  gap: 14px;
}

.consent-card h3,
.consent-card p {
  margin: 0;
}

.registration-cta {
  display: grid;
  gap: 16px;
  justify-items: start;
}

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

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

.field span,
.signature-heading h3 {
  font-weight: 700;
}

.field-full {
  grid-column: 1 / -1;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 35, 26, 0.16);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  color: var(--ink);
}

.consent-check {
  gap: 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.field input:focus-visible,
.signature-pad:focus-visible {
  outline: 2px solid rgba(215, 92, 47, 0.45);
  outline-offset: 2px;
}

.signature-block {
  display: grid;
  gap: 14px;
}

.signature-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.signature-heading h3,
.signature-heading p,
.form-message {
  margin: 0;
}

.signature-pad {
  width: 100%;
  min-height: 220px;
  border-radius: 18px;
  border: 1px dashed rgba(36, 66, 51, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(248, 243, 234, 0.96));
  touch-action: none;
  cursor: crosshair;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-message {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(36, 66, 51, 0.1);
  color: var(--forest);
  font-weight: 600;
}

.footer {
  margin-top: 22px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.back-to-top {
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #1b3328;
}

@media (max-width: 900px) {
  .hero,
  .intro-grid,
  .impact-grid,
  .faq-grid,
  .proposal-grid,
  .drone-visual-grid,
  .map-card {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    margin: 10px auto 24px;
  }

  .hero,
  .card,
  .map-card,
  .footer {
    border-radius: 20px;
  }

  .hero {
    padding: 18px;
  }

  .hero-content {
    padding: 8px 2px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .carousel-frame,
  .carousel-slide img {
    min-height: 280px;
    height: 280px;
  }

  .carousel-controls {
    flex-direction: column;
  }

  .signature-heading {
    flex-direction: column;
  }
}
