/* Ahone Technologies — brand tokens from the 2025 brand guideline */
:root {
  --navy: #0D182F;        /* brand #0D182F */
  --navy-deep: #091124;
  --gold: #FFC11A;        /* brand #FFC11A */
  --amber: #C16F19;       /* brand #C16F19 */
  --paper: #F7F4EE;
  --slate: #95A1B6;
  --grad: linear-gradient(90deg, var(--gold), var(--amber));
  --head: "Chakra Petch", "Futo Sans", sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(255, 193, 26, 0.045), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- watermark: outlined monogram off the right edge ---------- */
.watermark {
  position: fixed;
  top: 50%;
  right: -12vmin;
  transform: translateY(-54%) ;
  width: 78vmin;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.watermark img { width: 100%; height: auto; display: block; }

/* ---------- layout ---------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) clamp(20px, 6vw, 72px);
  padding-bottom: calc(clamp(24px, 4vh, 40px) + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}

.masthead .logo {
  width: clamp(188px, 22vw, 252px);
  height: auto;
  display: block;
}

/* ---------- hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34em;
  padding: clamp(40px, 8vh, 96px) 0;
}

.kicker {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 14px;
}

h1 {
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(3.4rem, 9.5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-wrap: balance;
}

h1 .dot { color: var(--gold); }

.rule {
  width: clamp(72px, 9vw, 112px);
  height: 3px;
  background: var(--grad);
  border-radius: 2px;
  margin: clamp(22px, 3.5vh, 34px) 0;
}

.lede {
  color: var(--slate);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 44ch;
}

.cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: clamp(26px, 4vh, 38px);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--grad);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 6px;
  transition: filter 160ms ease, transform 160ms ease;
}
.cta:hover { filter: brightness(1.07); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- corporate footer ---------- */
.corporate {
  border-top: 1px solid rgba(149, 161, 182, 0.22);
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--slate);
  max-width: 62ch;
}

.corporate .org {
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--paper);
}

.corporate .cin { margin-top: 2px; }

.corporate address {
  font-style: normal;
  margin-top: 8px;
  line-height: 1.55;
}

.fineprint {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
}

.fineprint a {
  color: var(--gold);
  text-decoration: none;
}
.fineprint a:hover { text-decoration: underline; }
.fineprint a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- one load-in moment ---------- */
@media (prefers-reduced-motion: no-preference) {
  .masthead, .hero > *, .corporate {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 640ms cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
  }
  .masthead        { animation-delay: 60ms; }
  .hero .kicker    { animation-delay: 160ms; }
  .hero h1         { animation-delay: 240ms; }
  .hero .rule      { animation-delay: 330ms; }
  .hero .lede      { animation-delay: 400ms; }
  .hero .cta       { animation-delay: 470ms; }
  .corporate       { animation-delay: 580ms; }

  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  .watermark {
    width: 110vmin;
    right: -46vmin;
    opacity: 0.1;
  }
  .fineprint { flex-direction: column; }
}
