@font-face{
    font-family:'Poppins';
    src:url('/static/fonts/Poppins-Thin.ttf') format('truetype');
    font-weight:100;              /* Thin is 100 */
    font-style:normal;
    font-display:swap;
  }

  @font-face{
    font-family:'Poppins';
    src:url('/static/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight:200;              /* Thin is 100 */
    font-style:normal;
    font-display:swap;
  }


  @font-face{
    font-family:'Poppins';
    src:url('/static/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight:400;              /* Regular */
    font-style:normal;
    font-display:swap;
  }

  @font-face{
    font-family:'Poppins';
    src:url('/static/fonts/Poppins-Italic.ttf') format('truetype');
    font-weight:400;              /* Regular Italic */
    font-style:italic;
    font-display:swap;
  }

  @font-face{
    font-family:'Poppins';
    src:url('/static/fonts/Poppins-ExtraBold.ttf') format('truetype'); /* .ttf, not .tff */
    font-weight:800;              /* ExtraBold is usually 800 (use 900 if your file is Black) */
    font-style:normal;
    font-display:swap;
  }

  
  /* Make regular the default */
  :root{
    --font-family-base: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 20px;
    /* Accents */
    --accent-1: rgb(245, 155, 12); /* your specified color */
    --accent-2: #5A6FF0;           /* pick your second; change anytime */
    
    /* Grays (OK for both light/dark text on demand). hsl keeps hue neutral. */
    --gray-0:   hsl(0 0% 100%);
    --gray-50:  hsl(0 0% 98%);
    --gray-100: hsl(0 0% 96%);
    --gray-200: hsl(0 0% 90%);
    --gray-300: hsl(0 0% 83%);
    --gray-400: hsl(0 0% 64%);
    --gray-500: hsl(0 0% 45%);
    --gray-600: hsl(0 0% 36%);
    --gray-700: hsl(0 0% 28%);
    --gray-800: hsl(0 0% 18%);
    --gray-850: hsl(0 0% 15%);
    --gray-900: hsl(0 0% 10%);
    --gray-950: hsl(0 0% 5%);
  }


html, body {
    font-family: var(--font-family-base);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--gray-900);
    scroll-padding-top: 60px;   /* match your header height */
    scroll-behavior: smooth; 

    /* overflow-y: hidden; */
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 10vh;
    background: var(--accent-1);
    z-index: 1200;
}

.app-body { padding-top: 10vh; }

.accent-color-2 {
    color: var(--accent-2);
}

.fw-100 {
    font-weight: 100;
}

.fw-400 {
    font-weight: 400;
}


.scroll-cue {
    display: inline-block;
    margin-top: 12px;              /* space under the paragraph */
    background: transparent;
    border: 0;                     /* reset button chrome */
    padding: 0;
    line-height: 0;
    cursor: pointer;
  
    /* triangle ▼ using borders, colored with --accent-1 */
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 18px solid var(--accent-1);
    opacity: 0.95;
  
    /* subtle nudge animation */
    /* animation: cue-nudge 1.6s infinite ease-in-out; */
    animation: none;              /* ← was cue-nudge ... turn it off */
    will-change: transform, opacity;
  }
  
  /* bigger invisible hit area for taps/clicks */
  .scroll-cue::after {
    content: "";
    position: relative;
    display: block;
    width: 44px;                   /* accessible tap target */
    height: 44px;
    transform: translate(-50%, -70%); /* center around triangle tip */
    left: 50%;
    top: -22px;
  }
  
  /* focus style for keyboard users */
  .scroll-cue:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-1), white 45%);
    border-radius: 6px; /* ring around the hit area shape */
  }
  
  /* hover lift */
  .scroll-cue:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
  }

  /* Center the form within the section */
.contact-section {
    display: grid;
    place-items: center;
    padding: 64px 24px;
    color: var(--gray-300);
  }
  
  /* Form shell */
  .contact-form {
    width: min(720px, 92vw);
    display: grid;
    gap: 22px;
  }
  
  /* Title */
  .contact-title {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
    letter-spacing: 0.2px;
    color: var(--gray-300);
  }
  
  /* Field block with floating label + underline */
  .field {
    position: relative;
    display: grid;
    gap: 6px;
  }
  
  /* Label sits above the underline; floats slightly on focus/filled */
  .field .label {
    font-size: 0.875rem;
    letter-spacing: 0.2px;
    color: color-mix(in oklab, var(--gray-300), black 25%);
    transform: translateY(8px);
    transition: transform 180ms ease, color 180ms ease;
    pointer-events: none;
  }
  
  /* Inputs & textarea are minimal (no background), just the bottom line */
  .field input,
  .field textarea {
    appearance: none;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--gray-300);
    font: inherit;
    padding: 10px 0 8px 0;
  }
  
  /* The actual “line under the input” */
  .field .underline {
    content: "";
    height: 1px;
    width: 100%;
    background: color-mix(in oklab, var(--gray-300), black 50%); /* subtle baseline */
    display: block;
    position: relative;
    overflow: hidden;
  }
  
  /* Animated accent line grows from left on focus */
  .field .underline::after {
    content: "";
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-1);
    transition: width 220ms ease;
  }
  
  /* Float label + accent line on focus */
  .field:focus-within .label {
    transform: translateY(0);
    color: var(--accent-1);
  }
  .field:focus-within .underline::after {
    width: 100%;
  }
  
  /* Consider filled state as “focused” for the label */
  .field input:not(:placeholder-shown),
  .field textarea:not(:placeholder-shown) {
    /* just to ensure :placeholder-shown logic; we don't render placeholder but it still works */
  }
  .field input:valid ~ .label,
  .field textarea:valid ~ .label {
    transform: translateY(0);
    color: var(--gray-300);
  }
  
  /* Textarea feel */
  .field textarea {
    resize: vertical; /* still feels minimal but user can expand */
    min-height: 120px;
  }
  
  /* Submit button */
  .contact-submit {
    margin-top: 8px;
    justify-self: start;
    padding: 0.7em 1.15em;
    border: 1px solid color-mix(in oklab, var(--accent-1), black 35%);
    background: linear-gradient(0deg, color-mix(in oklab, var(--accent-1), black 15%), var(--accent-1));
    color: var(--gray-900);
    font-size: .8rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
  }
  .contact-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }
  .contact-submit:active {
    transform: translateY(0);
  }

  .contact-form.pending {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
  }
  
  .contact-submit.is-loading {
    position: relative;
  }
  
  .contact-submit.is-loading::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.25);
    border-top-color: currentColor; /* uses your accent text color */
    animation: btn-spin .8s linear infinite;
  }
  
  @keyframes btn-spin { to { transform: rotate(360deg); } }
  
  
  .site-footer {
    border-top: 1px solid var(--accent-1);
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 10px 24px;
    font-size: 0.9375rem; /* subtle + crisp */
  }
  
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }
  
  .footer-nav {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
  }
  
  .footer-nav a {
    color: var(--gray-400);
    text-decoration: none;
  }
  .footer-nav a:hover {
    color: var(--accent-1);
    text-decoration: underline;
  }


/* Stack lives above content */
.flash-stack {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;              /* use top:12px if you prefer top toasts */
  display: grid;
  gap: 10px;
  z-index: 2000;
  pointer-events: none;      /* clicks pass through except buttons inside */
}

/* Individual toast */
.flash {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--gray-850, #222);
  color: var(--gray-300, #e0e0e0);
  border: 1px solid color-mix(in oklab, var(--accent-1, #f59b0c), black 70%);
  border-radius: 12px;       /* not a pill — readable on small screens */
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  max-width: 680px;
  margin: 0 auto;            /* center the stack on narrow viewports */
  animation: flash-in .25s ease-out;
}

/* Text must wrap cleanly */
.flash-body {
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  flex: 1 1 auto;
}

/* Close button */
.flash-x {
  appearance: none;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 6px;
  cursor: pointer;
}
.flash-x:hover { background: rgba(255,255,255,.06); }

/* Category colors */
.flash.success { 
  border-color: color-mix(in oklab, var(--accent-1, #f59b0c), white 15%);
}
.flash.error   { 
  border-color: #ff6b6b;
  background:   color-mix(in oklab, #ff6b6b, black 85%);
}
.flash.info    { 
  border-color: var(--accent-2, #5A6FF0);
  background:   color-mix(in oklab, var(--accent-2, #5A6FF0), black 85%);
}


/* --- HAMBURGER (fixed) --- */
.hamburger{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; padding:0; border:0; background:transparent; cursor:pointer;
  color: var(--gray-900);
}
.hamburger:focus-visible{ outline:3px solid var(--accent-1); outline-offset:3px; }

.hamburger-box{ position:relative; width:28px; height:20px; }

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after{
  content:"";
  position:absolute; left:0; width:28px; height:2px;
  background: currentColor !important;     /* lines use var(--gray-900) */
  border-radius:2px;
  transition: transform 220ms ease, opacity 180ms ease;
}

/* middle line centered */
.hamburger-inner{ top:50%; transform:translateY(-50%); }

/* top & bottom lines spaced from center (THIS is the fix) */
.hamburger-inner::before{ top:-8px; }  /* 8px above center */
.hamburger-inner::after { top: 8px; }  /* 8px below center */

/* Open → tidy X */
.hamburger.is-open .hamburger-inner{ transform:translateY(-50%) rotate(45deg); }
.hamburger.is-open .hamburger-inner::before{ transform: translateY(8px) rotate(-90deg); }
.hamburger.is-open .hamburger-inner::after { transform: translateY(-8px) rotate(-90deg); }

/* ==== MOBILE DRAWER FINAL OVERRIDES ==== */

/* Backdrop */
#mobile-backdrop[hidden]{ display:none !important; }
#mobile-backdrop{
  position: fixed; inset: 10vh 0 0 0;       /* below the fixed header */
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 1400;
}
#mobile-backdrop.is-open{ opacity:1; pointer-events:auto; }

/* Drawer — fixed to viewport, flush right; truly invisible when closed */
#mobile-drawer{
  position: fixed !important;
  top: 10vh !important; right: 0 !important; left: auto !important;
  width: min(600px, 70vw) !important;
  height: calc(100vh - 10vh) !important;
  box-sizing: border-box;
  background: var(--gray-900); color: var(--gray-300);
  padding: 18px 20px;
  display: grid; align-content: start; gap: 10px;
  z-index: 1500;

  /* CLOSED: no border/shadow; completely off-canvas; not painted */
  transform: translate3d(100%,0,0) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  border-left: 0 !important;
  box-shadow: none !important;
  clip-path: inset(0 0 0 100%) !important;
  backface-visibility: hidden;
  transition: transform 220ms ease, visibility 0s linear 220ms, clip-path 0s linear 220ms;
}

/* OPEN: flush to right; border/shadow appear */
#mobile-drawer.is-open{
  transform: translate3d(0,0,0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  clip-path: inset(0) !important;
  border-left: 1px solid var(--accent-1) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.35) !important;
  transition: transform 220ms ease;
}

/* Links keep your styling */
#mobile-drawer a{
  display:block; color: var(--gray-300);
  text-decoration:none; padding:10px 6px; border-radius:8px;
}
#mobile-drawer a:hover{ background: rgba(255,255,255,.05); }

/* Visibility across breakpoints */
@media (min-width: 641px){
  .menu-mobile-section, #mobile-drawer, #mobile-backdrop { display:none !important; }
}
@media (max-width: 640px){
  .menu-section{ display:none !important; }
  .menu-mobile-section{ display:flex; justify-content:flex-end; align-items:center; width:100%; }
}


/* Larger screens: allow a slightly wider toast, still not a pill */
@media (min-width: 768px) {
  .flash-stack { left: 24px; right: 24px; bottom: 24px; }
  .flash { border-radius: 14px; }
}

/* In animation + auto-dismiss fade */
@keyframes flash-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes flash-out {
  to   { opacity: 0; transform: translateY(6px); }
}

  
  @media (max-width: 640px) {
    .footer-inner {
      flex-direction: column;
      gap: 6px;
      text-align: center;
    }
  }

  
  /* Optional: subtle card edges without losing your minimal vibe */
  @media (min-width: 720px) {
    .contact-form {
      padding: 24px 0;
    }
  }
  