/* ==========================================================================
   Signature Intelligence.ai — business card landing page
   Mobile-first (390px iPhone), responsive to desktop.
   Ivory / charcoal / deep emerald / restrained gold.
   ========================================================================== */

/* --------------------------------------------------------------------------
   FONTS — licensed files supplied in /fonts
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Angelica Pro Display";
  src: url("fonts/angelica-pro-display.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Foundation Sans Light X Extended";
  src: url("fonts/foundation-sans-light-extended.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   TOKENS
   -------------------------------------------------------------------------- */

:root {
  --ivory:        #FAF6EE;
  --charcoal:     #23231D;   /* 14.8:1 on ivory */
  --charcoal-mid: #55554C;   /* 6.4:1  on ivory */
  --emerald:      #123F34;   /* 11.2:1 on ivory */
  --emerald-lit:  #2E7A63;
  --gold-text:    #8A6626;   /* 5.3:1  on ivory — safe for small labels */
  --gold-rule:    #C2A469;

  --display: "Angelica Pro Display", "Cormorant Garamond", Georgia, serif;
  --body:    "Foundation Sans Light X Extended", "Helvetica Neue", Arial, sans-serif;

  --gutter:  26px;
  --measure: 31rem;
}

/* --------------------------------------------------------------------------
   BASE
   -------------------------------------------------------------------------- */

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0.012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; }

/* ==========================================================================
   1. HERO — full screen, no card, no radius, portrait slightly right
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  height: auto;            /* the cover is a finished page — show all of it */
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: var(--ivory);
}

/* fallback for browsers without svh */
@supports not (height: 100svh) {
  .hero { height: 100vh; }
}


@keyframes breathe {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.06); }
}

/* frame exists only to hold the parallax translation */
.hero__frame {
  position: static;
  z-index: 1;
  height: auto;
  display: flex;
  justify-content: center;
}

.hero__portrait {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100svh;        /* on a laptop, never taller than the window */
  object-fit: contain;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
}





/* ==========================================================================
   LAYOUT
   ========================================================================== */

.page { width: 100%; }

.intro,
.offer,
.contact {
  padding: 0 var(--gutter);
  max-width: var(--measure);
  margin: 0 auto;
}

/* thin gold rule — short, left aligned, never decorative */
.rule {
  border: 0;
  height: 1px;
  width: 56px;
  background: linear-gradient(to right, var(--gold-rule), rgba(194,164,105,0.25));
  margin: 46px 0 46px var(--gutter);
}

/* ==========================================================================
   2. INTRODUCTION
   ========================================================================== */

.intro { margin-top: 44px; }



.intro__lede { font-size: 1.02rem; }

/* ==========================================================================
   3. AI OPPORTUNITY ASSESSMENT
   ========================================================================== */

.offer__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 8vw, 2.2rem);
  line-height: 1.12;
  color: var(--emerald);
  margin: 0 0 1.15rem;
}

.offer__creed {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(194,164,105,0.4);
  font-size: 0.9rem;
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--emerald);
}

/* ==========================================================================
   4. CONTACT
   ========================================================================== */

.contact__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 8vw, 2.2rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

.contact__body { margin-bottom: 2.1rem; }

.whatsapp {
  display: block;
  width: 100%;
  min-height: 62px;
  padding: 21px 24px;
  border-radius: 999px;
  background: linear-gradient(100deg, #B08A47 0%, #E6D2A2 46%, #B08A47 100%);
  background-size: 180% 100%;
  background-position: 0% 50%;
  color: #1E1A12;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px -15px rgba(120, 92, 40, 0.6);
  transition: background-position 700ms ease, transform 200ms ease;
}

.whatsapp:hover  { background-position: 100% 50%; }
.whatsapp:active { transform: translateY(1px); }

.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
}

.secondary__link {
  padding: 12px 6px;            /* keeps the tap target at 44px */
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(194,164,105,0.6);
  transition: color 200ms ease, border-color 200ms ease;
}

.secondary__link:hover { color: var(--charcoal); border-color: var(--charcoal); }

.secondary__divider {
  width: 1px;
  height: 13px;
  background: var(--gold-rule);
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */

.footer {
  position: relative;
  padding: 70px var(--gutter) calc(52px + env(safe-area-inset-bottom));
  text-align: center;
}

/* the light inside the orb, breathing */
.footer__halo {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 150px;
  height: 150px;
  margin: -38px 0 0 -75px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(46,122,99,0.34) 0%, rgba(46,122,99,0.12) 42%, rgba(46,122,99,0) 70%);
  filter: blur(12px);
  animation: pulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

.footer__logo {
  display: block;
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
}

.footer__name {
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 9px;
}

.footer__ai { color: var(--gold-text); text-transform: lowercase; }

.footer__tagline {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  margin: 0;
}

/* ==========================================================================
   MOTION — fade only
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 850ms cubic-bezier(.22,.61,.36,1),
              transform 850ms cubic-bezier(.22,.61,.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

a:focus-visible {
  outline: 2px solid var(--emerald-lit);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .footer__halo { animation: none; }
  .hero__frame { transform: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   RESPONSIVE — tablet and desktop
   ========================================================================== */

@media (min-width: 640px) {
  :root { --gutter: 40px; }

  body { font-size: 18px; }



  .intro, .offer, .contact { max-width: 34rem; }

  .rule { margin-left: max(var(--gutter), calc((100% - 34rem) / 2 + var(--gutter))); }

  .whatsapp { max-width: 34rem; margin: 0 auto; }
}

@media (min-width: 1024px) {
  .hero { height: auto; min-height: 0; }

  /* the file is 0.78:1 — held at that ratio it needs almost no cropping */
  .hero__frame { width: 100%; }




  .intro, .offer, .contact { max-width: 36rem; }
  .rule { margin-left: max(var(--gutter), calc((100% - 36rem) / 2 + var(--gutter))); }

  .offer__title, .contact__title { font-size: 2.3rem; }

  .footer { padding-top: 90px; }
}
