:root {
  --paper: #f5edd7;
  --paper-2: #e7dcc4;
  --ink: #121b28;
  --ink-soft: #1f2e44;
  --burnt: #db6f39;
  --teal: #0a7f79;
  --line: rgba(18, 27, 40, 0.18);
  --shadow: 0 28px 60px rgba(18, 27, 40, 0.25);
}

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

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

body {
  font-family: "Spectral", Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(219, 111, 57, 0.3), transparent 46%),
    radial-gradient(circle at 84% 16%, rgba(10, 127, 121, 0.24), transparent 44%),
    linear-gradient(145deg, var(--paper) 0%, var(--paper-2) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(to right, transparent 0 95%, rgba(18, 27, 40, 0.09) 95% 96%, transparent 96%),
    linear-gradient(to bottom, transparent 0 95%, rgba(18, 27, 40, 0.08) 95% 96%, transparent 96%);
  background-size: 34px 34px;
  z-index: -1;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  padding-block: 1.25rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 0.92rem;
  display: grid;
  place-items: center;
  background: rgba(18, 27, 40, 0.08);
  box-shadow: inset 0 0 0 1px rgba(18, 27, 40, 0.15);
}

.brand-mark img {
  width: 3.15rem;
  height: 3.15rem;
  display: block;
  border-radius: 0.74rem;
}

.header-actions {
  display: flex;
  gap: 0.6rem;
}

.button {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.button.large {
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}

.button.ghost {
  background: rgba(245, 237, 215, 0.45);
}

.button.solid {
  border-color: transparent;
  color: var(--paper);
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 75%);
  box-shadow: 0 16px 30px rgba(18, 27, 40, 0.26);
}

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

main {
  padding-block: 2.2rem 4.5rem;
}

section {
  margin-bottom: 3.5rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.73rem;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 6.4rem);
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.lead {
  margin: 1.2rem 0 1.4rem;
  max-width: 66ch;
  font-size: clamp(1.04rem, 2.2vw, 1.26rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.hero-badges span {
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 0.84rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

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

.panel {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  background: rgba(245, 237, 215, 0.5);
  box-shadow: var(--shadow);
}

.panel-wide {
  grid-column: 1 / -1;
}

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

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

.capabilities article {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  background: rgba(245, 237, 215, 0.58);
}

.capabilities h2,
.ops h2,
.privacy h2 {
  margin: 0 0 0.45rem;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.capabilities p,
.ops p,
.privacy p {
  margin: 0;
}

.ops {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.ops > div,
.settings-shot {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(245, 237, 215, 0.56);
}

.ops > div {
  padding: 1.35rem;
}

.ops ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.privacy {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(18, 27, 40, 0.95), rgba(24, 40, 60, 0.94));
  color: var(--paper);
  padding: 1.4rem;
  position: relative;
}

.privacy::after {
  content: "";
  position: absolute;
  inset: auto 1.3rem 1.1rem auto;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--burnt);
  border-radius: 999px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.footer-support {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.support-label {
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.footer-support .bmc-btn-container,
body > .bmc-btn-container {
  display: flex;
  align-items: center;
}

.footer-support .bmc-btn,
body > .bmc-btn-container .bmc-btn {
  min-width: 188px !important;
  height: 49px !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  box-shadow: 0 14px 25px rgba(18, 27, 40, 0.2);
  text-transform: none !important;
  letter-spacing: normal !important;
}

.footer-support .bmc-btn svg,
body > .bmc-btn-container .bmc-btn svg {
  height: 28px !important;
  transform: scale(0.84);
}

.footer-support .bmc-btn-text,
body > .bmc-btn-container .bmc-btn-text {
  margin-left: 6px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

body > .bmc-btn-container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto 2.2rem;
  justify-content: flex-end;
}

.site-footer a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.reveal {
  animation: rise 0.9s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

.delay-4 {
  animation-delay: 0.32s;
}

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

@media (max-width: 980px) {
  .capabilities {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .hero h1 {
    line-height: 0.98;
  }

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

  .panel-wide {
    grid-column: auto;
  }

  .site-footer {
    font-size: 0.9rem;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 3.25rem;
    height: 3.25rem;
  }

  .brand-mark img {
    width: 2.65rem;
    height: 2.65rem;
  }

  .footer-support {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .footer-support .bmc-btn,
  body > .bmc-btn-container .bmc-btn {
    min-width: 170px !important;
    height: 45px !important;
  }

  body > .bmc-btn-container {
    width: min(1120px, calc(100% - 1.4rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }

  .button {
    transition: none;
  }
}
