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


/* Fonts */



@font-face {
  font-family: 'ClashDisplay-Variable';
  src: url('../fonts/ClashDisplay-Variable.woff2') format('woff2'),
       url('../fonts/ClashDisplay-Variable.woff') format('woff'),
       url('../fonts/ClashDisplay-Variable.ttf') format('truetype');
       font-weight: 200 700;
       font-display: swap;
       font-style: normal;

}


@font-face {
  font-family: 'Archivo-Variable';
  src: url('../fonts/Archivo-Variable.woff2') format('woff2'),
       url('../fonts/Archivo-Variable.woff') format('woff'),
       url('../fonts/Archivo-Variable.ttf') format('truetype');
       font-weight: 100 900;
       font-display: swap;
       font-style: normal;
              font-variant-numeric: slashed-zero;    /* high-level property          */
        -moz-font-feature-settings: 'zero';    /* low-level (old Firefox)      */
        -webkit-font-feature-settings: 'zero'; /* low-level (old Webkit)       */
        font-feature-settings: 'zero' on;      /* low-level (all new browsers) */
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline; }


img {
  width: 50px;
  margin-bottom: 1rem;
}


body {
  margin: 0;
  background-color: #004AFF; /* fallback color shown while/if WebGL background is unavailable */
  font-kerning: normal;
  -moz-font-feature-settings: "kern", "liga", "clig", "calt";
  -ms-font-feature-settings: "kern", "liga", "clig", "calt";
  -webkit-font-feature-settings: "kern", "liga", "clig", "calt";
  font-feature-settings: "kern", "liga", "clig", "calt";
  -webkit-font-smoothing: antialiased;
 }
  @media screen and (min-width: 40em) {
    body { margin-left: 1.875rem; margin-right: 1.875rem; }
  }
  

::selection {
  background-color: lightgreen; /* Green highlight background */
  color: navy; /* Black text color for better readability on green background */
}


p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #fff2e8;
  font-family: 'Archivo-Variable', Helvetica, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-align: left; }
 


mark {
  background-color: lightgreen;
  padding: 2px;
}


a {
  font-weight: 600;
  color: #4aff00;
  text-decoration: none;
  border-bottom: 1px dotted #fff;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
    }

a:hover {
  color: #ffffff;
  border-bottom-color: #4aff00;
  border-bottom-style: solid;
}

a:focus-visible {
  outline: 2px solid #4aff00;
  outline-offset: 3px;
  border-radius: 2px;
}

a img {
  border: none; }



h1 {
  margin-top: 0rem;
  margin-bottom: 1rem;
  color: #fff2e8;
  font-family: 'ClashDisplay-Variable', Helvetica, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: clamp(1.75rem, 11vw, 9.6875rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
  text-align: left; }
 


h2 {
  margin-bottom: 2rem;
  color: #FFFFFF;
  font-family: 'ClashDisplay-Variable', Helvetica, sans-serif;
  font-variation-settings: 'wght' 700.0;
  font-style: normal;
  font-size: clamp(1rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-align: left; }
 
  

   
h3 {
  margin-bottom: 2rem;
  color: #FFFFFF;
  font-family: 'Archivo-Variable', Helvetica, sans-serif;
  font-variation-settings: 'wght' 600.0;
  font-style: normal;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  line-height: 1.6;
  letter-spacing: 0rem;
  text-transform: none;
  text-align: left; }
 
   



/* Match the personal site's container: wide, centered, left-anchored */
main,
footer {
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

main { margin-top: clamp(3.25rem, 8vw, 9.0625rem); }
footer { margin-bottom: clamp(2rem, 6vw, 9rem); }

main input {
  height: 60px;
  border: solid 0px #4aff00;
  font-family: 'Archivo-Variable', sans-serif;
  font-style: normal;
  font-weight: 500;  
  font-size: 1em;
  margin-right: .5em;
  transition: box-shadow 0.15s ease;
}

main input:focus {
  outline: none;
  /* green focus ring (no layout shift) + soft lift */
  box-shadow: 0 0 0 4px rgba(74, 255, 0, 0.45),
              0 6px 20px rgba(0, 0, 0, 0.18);
}

main input[type=email] {
  width: 100%;            /* full width on small screens */
  border-radius: 8px;
  padding: 0 1em;
  color: #3b4044; 
  }

@media screen and (min-width: 40em) {
  main input[type=email] { width: 70%; }
}


main input[type=submit] {
  background-color: #4aff00;
  font-size: 1rem;
  padding: 0 3em;
  margin-top: 1em;
  border: none;
  border-radius: 8px;
  color: #004AFF;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

main input[type=submit]:hover {
  background-color: #5fff33;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 16, 60, 0.5);
}

main input[type=submit]:active {
  transform: translateY(1px);
}



/* Unicorn Studio animated background */
#unicorn-bg {
  position: fixed;
  inset: 0;            /* top/right/bottom/left: 0 -> covers full viewport */
  width: 100vw;
  height: 100vh;
  z-index: -2;         /* sits behind page content and scrim */
  pointer-events: none; /* clicks pass through to the page */
}

/* Legibility scrim: subtle dark tint over the animated background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(2, 12, 48, 0.15);
  pointer-events: none;
}

/* Balanced headlines, tidy paragraphs */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  #unicorn-bg { display: none; }
  *, *::before, *::after { transition: none !important; }
}


/* ===== New sections ===== */
main > section { margin-bottom: 4.55rem; }

.about h2, .faq h2, .newsletter h2 {
  color: #4aff00;
  margin-bottom: 1rem;
}

/* Primary CTA — Book a call */
.cta-lead {
  font-family: 'Archivo-Variable', Helvetica, sans-serif;
  font-variation-settings: 'wght' 600.0;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem); /* match the intro lead (h3) */
  color: #ffffff;
  margin-bottom: 1rem;
}
.cta-button {
  display: inline-block;
  background-color: #4aff00;
  color: #004AFF;
  font-family: 'Archivo-Variable', Helvetica, sans-serif;
  font-weight: bold;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  padding: 1rem 3em;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-button:hover {
  background-color: #5fff33;
  color: #004AFF;
  border-bottom: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 16, 60, 0.5);
}
.cta-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* About */
.about-photo {
  float: left;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0.4rem 2rem 1rem 0;
  border: 3px solid #4aff00;
}
.about::after { content: ""; display: block; clear: both; } /* contain the float */

/* FAQ accordion */
.faq-list details { border-top: 2px dotted rgba(74, 255, 0, 0.4); }
.faq-list details:last-of-type { border-bottom: 2px dotted rgba(74, 255, 0, 0.4); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: #fff2e8;
  font-family: 'ClashDisplay-Variable', Helvetica, sans-serif;
  font-variation-settings: 'wght' 500.0;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  line-height: 1.2;
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover,
.faq-list details[open] > summary { color: #4aff00; }
.faq-list summary:focus-visible { outline: 2px solid #4aff00; outline-offset: 3px; }
.faq-list summary::after { content: "+"; color: #4aff00; font-variation-settings: 'wght' 400.0; }
.faq-list details[open] > summary::after { content: "\2013"; }
.faq-list details p { margin-top: 0.25rem; padding-bottom: 1.25rem; }


/* Body & footer links: faint underline at rest, bright green wipes in + text greens on hover (matches personal site) */
section p a,
footer p a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
  background-image:
    linear-gradient(#4aff00, #4aff00),
    linear-gradient(rgba(74, 255, 0, 0.30), rgba(74, 255, 0, 0.30));
  background-repeat: no-repeat;
  background-position: 0 1.2em, 0 1.2em;
  background-size: 0% 3px, 100% 3px;
  transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.25s ease-out;
}
section p a:hover,
section p a:focus-visible,
footer p a:hover,
footer p a:focus-visible {
  color: #4aff00;
  border-bottom: none; /* prevent the global a:hover border (the 2nd line) */
  background-size: 100% 3px, 100% 3px;
}


/* Scroll reveal (only hides when JS is active, so no-JS stays visible) */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; }


/* Footer */
.footer-bottom { margin-top: 3rem; }
.footer-logo {
  display: block;
  width: 200px;             /* overrides the global 50px img rule */
  max-width: 60vw;          /* never overflow on narrow phones */
  height: auto;
  aspect-ratio: 226 / 78;   /* iOS Safari: lock the SVG ratio so width is honored with height:auto */
  margin: 0 0 1.25rem;      /* logo sits on the left margin */
}
.footer-meta {
  font-size: 0.95rem;
  color: rgba(255, 242, 232, 0.7); /* muted warm white */
  margin-bottom: 0.3rem;
}
@media screen and (min-width: 64em) {
  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2.5rem;
  }
  .footer-logo { margin: 0; }
}
