:root{
    --bg: #0f0f12;          /* ink black */
    --fg: #e8e3da;          /* warm parchment */
    --muted: #b9b3a8;
    --accent: #d5c7a1;      /* candle glow */
    --brand: #e8e3da;
    --maxw: 820px;
  }
  
  *{ box-sizing: border-box; }
  html, body{ height: 100%; }
  body{
    margin: 0;
    color: var(--fg);
    background: #0f0f12 url('psbg.png') center/cover no-repeat fixed;
    font-family: "Playfair Display SC", serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
  }
  
  
  
  body::after{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.86);
    z-index: -1;
    pointer-events: none;
  }
  
  /* Optional velvet/ parchment texture overlay */
  body::before{
    content:"";
    position: fixed; inset: 0;
    pointer-events: none;
    background:
      url('assets/velvet.jpg') center/cover no-repeat;
    opacity: .10; /* keep subtle; remove if no asset */
    z-index: -2;
  }
  
  
  
  .wrap{
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }
  
  .logo-container{
    text-align: center;
    padding: 8px 24px 0px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo{
    height: 180px;
    width: auto;
    opacity: .9;
    -webkit-transition: opacity .3s ease, transform .3s ease;
    transition: opacity .3s ease, transform .3s ease;
    display: block;
    margin: 0 auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  .logo:hover{
    opacity: 1;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  
  @media (max-width: 720px){
    .logo{
      height: 140px;
    }
  }
  
  .wordmark{
    font-family: "Playfair Display SC", serif;
    font-weight: 400;
    letter-spacing: 0.07em;
    font-size: 3rem;
    color: var(--brand);
    opacity: .9;
    padding: 0 24px 4px;
    text-align: center;
  }
  
  .location{
    font-family: "Lato", sans-serif;
    font-weight: 350;
    font-size: 1.1rem;
    color: var(--muted);
    text-align: center;
    padding: 0 24px 32px;
    letter-spacing: 0.05em;
    opacity: 1;
  }
  
  .hero{
    display: grid;
    place-items: center;
    padding: 2vh 24px 2vh;
    text-align: center;
  }
  
  .headline{
    font-family: "Cormorant SC", serif;
    font-size: clamp(20px, 4vw, 32px);
    line-height: 1.2;
    color: var(--fg);
    max-width: var(--maxw);
    margin: 0 auto 12px;
    position: relative;
    -webkit-transition: text-shadow .4s ease;
    transition: text-shadow .4s ease;
    text-align: center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    letter-spacing: 0.07em;
  }
  .headline:hover{
    text-shadow: 0 0 18px rgba(213,199,161,.15);
  }
  .hover-whisper{
    display: block;
    font-family: "Lato", sans-serif;
    font-weight: 350;
    font-size: .41em;
    color: var(--fg);
    opacity: 0;
    -webkit-transform: translateY(6px);
    transform: translateY(6px);
    -webkit-transition: opacity .4s ease, transform .4s ease;
    transition: opacity .4s ease, transform .4s ease;
    text-align: center;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .headline:hover .hover-whisper{
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  
  .whisper{
    min-height: 1.25em;
    color: var(--accent);
    letter-spacing: .07em;
    margin: 6px auto 0;
    max-width: var(--maxw);
    opacity: .95;
    font-family: "Cormorant SC", serif;
    text-transform: uppercase;
    font-size: 1.25em;
  }
  
  .signup{
    display: grid;
    place-items: center;
    padding: 2vh 24px 4vh;
  }
  
  .form{
    width: min(92vw, var(--maxw));
    margin: 0 auto;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 24px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
  
  .label{
    display: block;
    font-family: "Cormorant SC", serif;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--fg);
    margin: 2px 0 12px;
    letter-spacing: 0.07em;
  }
  
  .fields{
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
  }
  @media (max-width: 768px){
    .fields{ 
      flex-direction: column;
      gap: 10px;
    }
  }
  @media (max-width: 480px){
    .fields{ 
      flex-direction: column;
      gap: 8px;
    }
  }
  
  .input{
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: var(--fg);
    outline: none;
    -webkit-transition: border-color .2s ease, box-shadow .2s ease;
    transition: border-color .2s ease, box-shadow .2s ease;
    font-size: 0.95rem;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    font-family: "Lato", sans-serif;
  }
  .input::placeholder{ 
    color: #e8e3da;
    opacity: 0.7;
  }
  .input::-webkit-input-placeholder { 
    color: #e8e3da;
    opacity: 0.7;
  }
  .input::-moz-placeholder { 
    color: #e8e3da;
    opacity: 0.7;
  }
  .input:-ms-input-placeholder { 
    color: #e8e3da;
    opacity: 0.7;
  }
  .input:focus{
    border-color: rgba(213,199,161,.45);
    box-shadow: 0 0 0 3px rgba(213,199,161,.15);
  }
  
  .button{
    white-space: nowrap;
    padding: 14px 32px;
    border-radius: 10px;
    border: 1px solid rgba(213,199,161,.45);
    background: linear-gradient(180deg, rgba(213,199,161,.20), rgba(213,199,161,.06));
    color: var(--fg);
    font-family: "Cormorant SC", serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    -webkit-transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
    transition: transform .05s ease, box-shadow .2s ease, background .2s ease;
    height: 48px;
    display: block;
    margin: 0 auto;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }
  .button:hover{ box-shadow: 0 4px 18px rgba(213,199,161,.15); }
  .button:active{ 
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }
  
  .micro{
    font-size: .85rem;
    color: var(--muted);
    margin: 16px 0 4px;
    line-height: 1.4;
  }
  .privacy{ margin-top: 6px; }
  
  .feedback-container{
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  
  .feedback-message{
    animation: fadeInUp 0.4s ease-out;
  }
  
  .feedback-content p{
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .success-message .feedback-content p{
    color: var(--accent);
  }
  
  .error-message .feedback-content p{
    color: #f44336;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .footer{
    text-align: center;
    color: var(--muted);
    padding: 24px 16px 28px;
  }
  .hashtags{ margin-top: 6px; font-size: .95rem; }
  
  /* Utilities */
  .sr-only{
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; border: 0; padding: 0; margin: -1px;
  }
  
  .hp{ display: none; }
  
  /* Reduced motion respect */
  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
  }