:root{
  --text:#f3f4f6;
  --muted:#9aa3af;
  --accent:#22c55e;     /* green */
  --accent-2:#16a34a;
  --ring: rgba(34,197,94,0.28);
}

/* Base */
*{ box-sizing:border-box }
html{ -webkit-text-size-adjust:100%; }
html,body{ height:100% }
img{ max-width:100%; height:auto }

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  line-height:1.6;
  position: relative;                           /* for overlay */
  background: url("../bg-kitchen.jpg") center center / cover no-repeat;
}

/* Full-viewport overlay (stable on iOS) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform;
}

.page{ position: relative; z-index: 1 }

/* Layout */
.page{ min-height:100%; display:grid; grid-template-rows:auto auto 1fr; gap:16px }

/* HERO */
.hero{
  max-width:1100px;
  margin:12px auto 0;
  padding:0 4px;
  text-align:center;
  line-height:1.25;
}
.logo{
  width:min(530px,54vw);
  height:auto;
  display:block;
  margin:0 auto 0;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.45));
}
.headline{
  font-size: clamp(32px, 5.4vw, 44px);
  margin: 4;
  letter-spacing:-0.02em;
  color:#fff;
}
.lede{
  margin:20px auto 0;
  color:#fff;
  max-width:820px;
  font-size: clamp(16px, 2.2vw, 22px);
}

/* CARD */
.card{
  width:min(960px,92%);
  margin:14px auto 0;
  padding:26px 26px 18px;
  background: rgba(0,0,0,0.88);
  border-radius:28px;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
}
.card-title{
  margin:0 0 14px;
  font-size:22px;
  text-align:center;
}

/* Form grid */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px 20px;
}
.field{ display:flex; flex-direction:column; gap:6px }
.field span{ font-weight:600; font-size:18px }
.field-half{ grid-column:auto }
.field-full{ grid-column:1 / -1 }

/* Inputs/selects */
input, select{
  width:100%;
  max-width:420px;
  margin:0 auto;
  padding:14px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-size:18px;
  outline:none;
  transition:border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 6px var(--ring);
  background: rgba(34,197,94,.06);
}

/* Select styling (mobile-safe baseline) */
select{
  background: rgba(255,255,255,.08);
  color:var(--text);
  -webkit-appearance:none;
  appearance:none;
  background-image:none;
}
select option{ background:#111; color:#f3f4f6 }
select option:checked{ background:#22c55e; color:#001606 }
select option:hover{ background:#333; color:#fff }

/* Buttons */
.btn{
  margin-top:10px;
  width:100%;
  padding:16px 18px;
  border:none;
  border-radius:14px;
  font-weight:700;
  font-size:18px;
  background:#e05f26;              /* orange */
  color:#fff;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(224,95,38,.4);
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.btn:hover{
  background:#22c55e;              /* green */
  color:#001606;
}
.btn:active{ transform:translateY(1px) }

.btn.ghost{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:none;
  width:auto;
  padding:12px 16px;
}
  /* Space between last field and submit button */
form .btn {
  margin-top: 20px;  /* adjust value to taste */
}



/* Notes / Thank you */
.note{ font-size:12px; color:var(--muted); text-align:center; margin:10px 0 0 }
.thankyou{ text-align:center; padding:6px 0 2px }

/* Footer */
.footer{
  margin-top:0;
  padding:16px 24px;
  background: rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-top:1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -8px 22px rgba(0,0,0,0.45);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  text-align:center;
}

/* Footer links (wrap-friendly separators) */
.footer .links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;                 /* separator handles spacing */
  row-gap:6px;
}
.footer .links a{
  position:relative;
  color:#fff;
  font-weight:600;
  text-decoration:none;
  opacity:0.95;
  padding-left:14px;     /* space for dot */
  margin-left:12px;
}
.footer .links a:first-child{
  padding-left:0;
  margin-left:0;
}
.footer .links a::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(229,231,235,0.4);
  transform:translateY(-50%);
}
.footer .links a:first-child::before{ content:none; }
.footer .links a:hover{
  color:#e05f26;
  text-decoration:underline;
}
/* spacing for any child (links or text like "e-mail") */
.footer .links > *{ margin-right:12px; }
.footer .links > *:last-child{ margin-right:0; }

/* Copy text in footer */
.copy{
  margin:0;
  font-size:14px;
  color:#9aa3af;
}

/* Honeypot (always hidden) */
.hp{
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Note links */
.note a{ color:#fff; text-decoration:underline }
.note a:hover{ color:#e05f26 }

/* Wide screens */
@media (min-width: 1200px){
  .hero{ margin-top:2px }
  .card{ margin-top:12px }
}

/* Mobile */
@media (max-width: 720px){
  .grid{
    grid-template-columns:1fr !important;
    gap:12px;
  }
  .card{
    width:94%;
    max-width:560px;
    padding:20px 16px;
    margin-top:12px;
    box-shadow: 0 12px 36px rgba(0,0,0,.45); /* lighter on mobile */
  }
  input, select, .btn{
    width:100% !important;
    max-width:100% !important;
    margin:0;
  }
  .logo{ width:min(84vw, 420px); }
  .headline{
    font-size:clamp(22px, 6.2vw, 32px);
    line-height:1.25;
    margin:6px 0 0;
  }
  .footer{
    padding:14px 16px;
    flex-direction:column;
    gap:10px;
  }
  .copy{ width:100% }
  body::before{ background: rgba(0,0,0,0.58); } /* slightly lighter overlay */
}

/* Fallback when blur unsupported */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .footer { background: rgba(0,0,0,0.88); }
}

/* Modern dynamic viewport height for iOS URL bar changes */
@supports (height: 100dvh) {
  html, body { height: auto; min-height: 100dvh; }
  .page { min-height: 100dvh; }
}
/* Orange for just the first line in the card title */
.card-title .highlight { color: #e05f26; }






