@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Courier Prime'; src: url('fonts/courier-prime-v11-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Courier Prime'; src: url('fonts/courier-prime-v11-latin-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; }

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

    :root {
      --fog: #8ba8c4;
      --fire: #d4742a;
      --ember: #f0a84e;
      --dark: #0d1820;
      --sand: #c2b49a;
      --text: #dde8f0;
      --muted: #7a9bb5;
    }

    html, body {
      width: 100%; height: 100%;
      background: var(--dark);
      color: var(--text);
      font-family: 'Cormorant Garamond', serif;
      overflow-x: hidden;
    }

    /* HERO */
    .hero {
      position: relative;
      width: 100vw;
      height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('res/signal-2025-08-01-22-27-12-624.jpg');
      background-size: cover;
      background-position: center;
      filter: brightness(0.45) saturate(0.85);
      transform: scale(1.05);
      animation: slowdrift 18s ease-in-out infinite alternate;
    }

    @keyframes slowdrift {
      from { transform: scale(1.05) translateY(0px); }
      to   { transform: scale(1.05) translateY(-12px); }
    }

    /* fog overlay */
    .hero-fog {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(13,24,32,0.15) 0%,
        rgba(13,24,32,0.0) 30%,
        rgba(13,24,32,0.0) 60%,
        rgba(13,24,32,0.75) 100%
      );
    }

    /* noise grain */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
      opacity: 0.04;
      pointer-events: none;
    }

    /* CONTENT */
    .content {
      position: relative;
      z-index: 2;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.4rem;
      animation: risein 2s cubic-bezier(0.16,1,0.3,1) both;
      margin-bottom: 20rem;
    }

    @keyframes risein {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .eyebrow {
      font-family: 'Courier Prime', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--ember);
      opacity: 0;
      animation: risein 1.6s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
    }

    .wordmark {
      font-size: clamp(3.2rem, 9vw, 7rem);
      font-weight: 300;
      letter-spacing: -0.01em;
      line-height: 1;
      color: var(--text);
      text-shadow: 0 2px 40px rgba(13,24,32,0.7);
      opacity: 0;
      animation: risein 1.8s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
    }

    .wordmark span {
      color: var(--ember);
      font-style: italic;
    }

    .tagline {
      font-size: clamp(1rem, 2.5vw, 1.35rem);
      font-style: italic;
      font-weight: 300;
      color: var(--muted);
      max-width: 400px;
      line-height: 1.6;
      opacity: 0;
      animation: risein 1.8s 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
    }

    /* EMAIL FORM */
    .form-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
      margin-top: 0.5rem;
      opacity: 0;
      animation: risein 1.8s 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
    }

    .form-row {
      display: flex;
      gap: 0;
      border: 1px solid rgba(210,180,150,0.3);
      background: rgba(13,24,32,0.55);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      overflow: hidden;
      transition: border-color 0.3s;
    }

    .form-row:focus-within {
      border-color: var(--ember);
    }

    .form-row input {
      background: transparent;
      border: none;
      outline: none;
      padding: 0.85rem 1.2rem;
      font-family: 'Courier Prime', monospace;
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      color: var(--text);
      width: 240px;
    }

    .form-row input::placeholder { color: var(--muted); }

    .form-row button {
      background: var(--fire);
      border: none;
      padding: 0.85rem 1.4rem;
      font-family: 'Courier Prime', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #fff;
      cursor: pointer;
      transition: background 0.25s;
    }

    .form-row button:hover { background: var(--ember); }

    .form-note {
      font-family: 'Courier Prime', monospace;
      font-size: 0.66rem;
      letter-spacing: 0.12em;
      color: var(--muted);
      opacity: 0.7;
    }

    /* EMBER PARTICLES */
    .embers {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }

    .ember {
      position: absolute;
      bottom: 42%;
      left: 49.5%;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--ember);
      box-shadow: 0 0 6px 2px rgba(240,168,78,0.6);
      opacity: 0;
      animation: floatember var(--dur) var(--delay) infinite ease-out;
    }

    @keyframes floatember {
      0%   { opacity: 0; transform: translate(0,0) scale(1); }
      10%  { opacity: 1; }
      100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.2); }
    }

    /* SCROLL HINT */
    .scroll-hint {
      position: absolute;
      bottom: 2.2rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      opacity: 0;
      animation: risein 1.5s 2s forwards;
    }

    .scroll-hint span {
      font-family: 'Courier Prime', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .scroll-line {
      width: 1px;
      height: 36px;
      background: linear-gradient(to bottom, var(--muted), transparent);
      animation: scrollpulse 1.8s ease-in-out infinite;
    }

    @keyframes scrollpulse {
      0%, 100% { opacity: 0.3; transform: scaleY(1); }
      50%       { opacity: 1;   transform: scaleY(1.15); }
    }

    /* BOTTOM SECTION */
    .bottom {
      background: var(--dark);
      padding: 5rem 2rem 4rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }

    .bottom-title {
      font-size: clamp(1.6rem, 4vw, 2.6rem);
      font-weight: 300;
      font-style: italic;
      color: var(--text);
      max-width: 560px;
      line-height: 1.4;
    }

    .bottom-title em {
      color: var(--ember);
      font-style: normal;
    }

    .divider {
      width: 48px;
      height: 1px;
      background: var(--fire);
      opacity: 0.5;
    }

    .bottom-body {
      font-size: 1.05rem;
      font-weight: 300;
      color: var(--muted);
      max-width: 480px;
      line-height: 1.85;
    }

    .footer {
      padding: 2rem;
      text-align: center;
      font-family: 'Courier Prime', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(122,155,181,0.4);
      border-top: 1px solid rgba(122,155,181,0.08);
    }
    
    html {
      scrollbar-width: none;
    }
    ::-webkit-scrollbar { display: none; }
    
    a {
      color: var(--ember);
      text-decoration: none;
      transition: color 0.25s, border-color 0.25s;
    }

    a:hover {
      color: var(--sand);
      border-bottom-color: var(--sand);
    }
