@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f7f5f1;
  --text: #1a202c;
  --muted: #4a5568;
  --line: rgba(0, 0, 0, 0.07);
  --card: #ffffff;
  --accent: #2f3a4f;
  --max-width: 1120px;
  --serif: "Charter", "Bitstream Charter", "Source Serif 4", "Georgia", serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "San Francisco", sans-serif;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  --transition: 200ms ease;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

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

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

a:hover,
a:focus {
  color: var(--accent);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

img {
  max-width: 100%;
  height: auto;
}

.shell {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.narrow {
  max-width: 800px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
}

.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  padding: 3.4rem 0 2.6rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(180deg, rgba(10, 16, 28, 0.42), rgba(10, 16, 28, 0.22) 42%, rgba(247, 245, 241, 0.44) 76%),
    radial-gradient(120% 120% at 10% 16%, rgba(194, 152, 92, 0.34), transparent 56%),
    radial-gradient(120% 120% at 90% 14%, rgba(27, 45, 70, 0.46), transparent 60%),
    radial-gradient(100% 100% at 74% 84%, rgba(194, 152, 92, 0.22), transparent 54%),
    linear-gradient(135deg, rgba(20, 30, 52, 0.3), rgba(194, 152, 92, 0.18)),
    repeating-linear-gradient(
      0deg,
      rgba(20, 30, 48, 0.06) 0,
      rgba(20, 30, 48, 0.06) 1px,
      transparent 1px,
      transparent 48px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(20, 30, 48, 0.06) 0,
      rgba(20, 30, 48, 0.06) 1px,
      transparent 1px,
      transparent 48px
    );
  background-size: cover, cover, cover, cover, 48px 48px, 48px 48px;
  background-position: center, center, center, center, center, center;
  color: #0f172a;
  overflow: hidden;
}

.hero-single {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  background-image:
    radial-gradient(circle at 20% 20%, rgba(47, 58, 79, 0.04), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(26, 32, 44, 0.03), transparent 32%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 2.2rem 2.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(20, 30, 48, 0.06),
    0 18px 60px rgba(0, 0, 0, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
  animation: fadeUp 260ms ease-out both;
}

.hero-single::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 0.75px;
  background:
    linear-gradient(135deg, rgba(194, 152, 92, 0.7), rgba(27, 45, 70, 0.55));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

.hero-logo {
  width: 116px;
  height: 116px;
  border-radius: 12px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.hero p {
  font-size: 1.05rem;
  color: #2a2927;
  max-width: 560px;
  line-height: 1.75;
}

.contact-link {
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 0.35rem;
}

.hero a {
  color: #2f3a4f;
  font-weight: 600;
}

.hero a:hover,
.hero a:focus {
  color: #1f2937;
  text-decoration: underline;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12% -8% -12% -8%;
  background:
    radial-gradient(circle at 20% 25%, rgba(0, 0, 0, 0.1), transparent 42%),
    radial-gradient(circle at 78% 16%, rgba(0, 0, 0, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(247, 245, 241, 0.26), rgba(247, 245, 241, 0.5) 60%, rgba(247, 245, 241, 0.68));
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 240px 240px;
  opacity: 0.06;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.page-footer {
  padding: 1rem 0 1.4rem;
}

.footer-inner {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  text-align: center;
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.45rem 0.3rem 0.35rem;
}

.footer-badge svg {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}

.footer-divider {
  color: #9aa5b5;
  font-weight: 700;
  display: none;
}

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

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.4rem;
  }

  .footer-divider {
    display: none;
  }

  .footer-copy {
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 4.25rem 0 3.5rem;
    min-height: 100vh;
    background-attachment: scroll;
  }

  .hero-single {
    padding: 1.8rem 1.4rem;
    gap: 1rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 5.5vw, 2.2rem);
    line-height: 1.25;
  }

  .hero p {
    line-height: 1.68;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: #3b3b3b;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 2.6rem);
  letter-spacing: -0.005em;
}


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