

:root {
    --bg:        #1a1a1a;
    --text:      #efefef;
    --muted:     #a7a7a7;
    --faint:     #6f6f6f;
    --line:      #2e2e2e;
    --maxw:      100vw;

    /* Logo palette */
    --blue-deep: #002497;
    --blue:      #007bf0;
    --cyan:      #09f2f9;
    --mint:      #80ffb3;
    --pinky:     #f6d4fc;
    --pale:      #ddffed;
    --blue-light:  #90a1f5;

    --accent: var(--blue-light);
}

/* --- Reset the base that main.css applies to <body> --------------------- */
/* --- Layout -------------------------------------------------------------- */
/* --- Background layers ------------------------------------------------ */
html,
body {
    color: var(--text);
    background-color: var(--bg);
    background-attachment: fixed;
}

body {

    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    position: relative;
    margin:0;
    padding:0;
}

a {
text-decoration: none;
color: var(--blue-light);
}

a:visited {
color: var(--blue-light);
}

ul {
list-style-type: none;
}

/* Layer 4: "creek" contour lines — ties the name to the visuals, sits above the grid */
body {
	background-size: cover;
    background-position: center;
}



@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
}
.home {
    display: block;
    width: 100%;
}

.section {
    padding: 8px 2vw 20px;
}
/*
.section--blue  { --accent: var(--blue); }
.section--cyan  { --accent: var(--cyan); }
.section--mint  { --accent: var(--mint); }
.section--pale  { --accent: var(--pale); }
*/

.section-inner {
    max-width: var(--maxw);
    margin: 0 auto;
}

/* --- Hero ---------------------------------------------------------------- */


  .nametitle {
    font-size: 1.9rem;
    font-weight: 200;
    margin-left: 0;
    color: var(--text);a

    background-image: linear-gradient(
      90deg,
      var(--text) 0%,
      var(--text) 63%,
      var(--blue-light) 64%,
      var(--mint) 81%,
      var(--mint) 100%
    );

    /* Start wide + pushed right so text looks solid; end at 100% (your CSS) */
    background-size: 300% 100%;
    background-position: 100% 0;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: sweepGradient 2.2s ease-in-out forwards;
  }

  @keyframes sweepGradient {
    0% {
      background-size: 300% 100%;
      background-position: 100% 0;
    }
    100% {
      /* Matches your final CSS exactly: size 100%, position 0 */
      background-size: 100% 100%;
      background-position: 0% 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .nametitle {
      animation: none;
      background-size: 100% 100%;
      background-position: 0% 0;
    }
  }
.subtitle {
    font-size: 1.3rem;
    color: var(--text);

}


.titlestatement {
    font-size: 1.1rem;
    color: var(--muted)

}
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8vw 2vh;


}



.hero-logo {
   
    width: min(400px, 70vw);
    height: auto;
    min-height: 70vw;
    margin-bottom: 20px;
    margin-top: 1%;
    border-radius: 0;
    display: block;

}



.stack { display: grid; }
  .stack img {
    grid-area: 1 / 1;
    animation-fill-mode: forwards;
  }
  .stack img:nth-of-type(1) {
    animation-name: fade-out;
    animation-duration: 5s;
    animation-delay: 2s;
  }
  .stack img:nth-of-type(2) {
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 2s;
    animation-delay: 3s;
  }
  @keyframes fade-out { to { opacity: 0; } }
  @keyframes fade-in  { to { opacity: 1; } }


.hero-summary {
    max-width: 58ch;
    margin: 40px auto 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.titlewrap {
    
    margin-left: 0;
    padding-left: 0;
    display: flex;
    gap: 0;

}


/* --- Section headings ---------------------------------------------------- */
.section-head {
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    margin: 0;
    color: var(--text);
    letter-spacing: -0.01em;
}

.section-title::after {
    content: "";
    display: block;
    width: 168px;
    height: 3px;
    margin-top: 5px;
    background: var(--muted);
}

/* --- Section body: text + media ----------------------------------------- */
.section-body {
    display: flex;
    gap: 44px;
    align-items: center;
}

.section-body--reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1 1 0;
    min-width: 0;
}

.section-media {
    flex: 1 1 0;
    min-width: 0;
}

.section-text p {
    color: var(--muted);
    margin: 0 0 1.1em;
    font-size: 1.05rem;
}

.section-text p:last-child {
    margin-bottom: 0;
}

.section-text .lead {
    color: var(--text);
    font-size: 1.25rem;
}

/* --- Media (images) ------------------------------------------------------ */
.section-media img {
    width: 100%;
    height: auto;
    max-width: 520px;
    display: block;
    margin: 0 auto;
    filter: saturate(0.9);
}

.section-media .media-duo {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.section-media .media-duo img {
    width: 46%;
    max-width: 260px;
}

.section-media .media-tile {
    max-width: 380px;
}

/* --- Lists --------------------------------------------------------------- */
.pill-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.pill-list li {
    color: var(--text);
    padding: 6px 0;
}

/* --- Contact ------------------------------------------------------------- */
.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 14px;
}

.contact-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
}

.contact-list a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.contact-list .contact-label {
    display: block;
    color: var(--faint);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* --- Links --------------------------------------------------------------- */
a {
    color: var(--accent);
}

/* --- Legacy chrome accents ---------------------------------------------- */
.spinner {
    background-color: var(--cyan);
}

/* --- Sidebar text accents ----------------------------------------------- */
.sidebarMenuInner .inline_children a:nth-of-type(1) { color: var(--cyan); }
.sidebarMenuInner .inline_children a:nth-of-type(2) { color: var(--mint); }
.sidebarMenuInner .inline_children a:nth-of-type(3) { color: var(--blue); }

.sidebarMenuInner .inline_children a.sidebyside:hover {
    color: var(--text);
}

#sidebarMenu .oneTrue {
    color: var(--pale);
}

#sidebarMenu .greytext_small a {
    color: var(--muted);
}

#sidebarMenu .greytext_small a:hover {
    color: var(--cyan);
}

/* --- Responsive ---------------------------------------------------------- */
@media only screen and (max-width: 900px) {
.hero {

    padding: 0 0 2vh;

}





.nametitle {
    font-size: 1.8rem;
    font-weight: 220;
    margin-left: 0;
    margin-top: 10vw;
    color: var(--text);

    /* Final gradient lives here, always */
    background-image: linear-gradient(
      90deg,
      var(--text) 0%,
      var(--text) 65%,
      var(--blue-light) 65%,
      var(--blue-light) 72%,
      var(--mint) 79%,
      var(--mint) 100%
    );
    background-size: 200% 100%;
    background-position: 0% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: sweepGradient 3.51s ease-in-out forwards;
  }

  @keyframes sweepGradient {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: 67% 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .nametitle {
      animation: none;
      background-position: 0% 0;
    }
  }



.subtitle {
  margin-bottom: 8vh;
  font-size: 1.1rem;
  color: var(--muted);
  padding: 6vw;
}
.titlestatement {
  margin-top: 2vw;
  font-size: 1.05rem;
  color: var(--muted)
}

.hero-logo {
    width: min(500px, 70vw);
    height: auto;
    margin-bottom: 10px;
    margin-top: 50%;
    border-radius: 0;

        }



.hero-summary {
    max-width: 58ch;
    margin: 1vh 4vw  0;
    color: var(--muted);
    font-size: 1.11rem;

}

.titlewrap {
    
    margin-left: 0;
    padding-left: 0;
    display: flex;
    gap:0;

}


    .section {
        padding: 8px 2vw 20px;
    }

    .hero {
        padding: 0 0 3vh;
    }

    .section-body,
    .section-body--reverse {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }

    .section-media img {
        max-width: 100%;
    }

    .section-media .media-duo {
        gap: 16px;
    }
}

