
html{
  scroll-behavior:smooth;
}

html, body { scroll-snap-type: y mandatory; }
.section { scroll-snap-align: start; }

*{box-sizing:border-box;}
html{ scroll-behavior:smooth; }
html,body{ height:100%; }

body{
    margin:0;
    font-family: Inter, sans-serif;
    background:#fafafa;
    color:#111;
    overflow-x:hidden;
}

/* Sections */
.section{
  min-height:100vh;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(22px, 4vw, 64px) 18px;
}
.section.light{ background:#fafafa; color:#111; }
.section.dark{ background:#2b2b2b; color:rgba(255,255,255,.9); }

/* ===== LOGIN PANEL ===== */
.page{
    text-align:center;
    width:100%;
    max-width:380px;
}

.brand{
    font-size:34px;
    font-weight:700;
    letter-spacing:6px;
    margin-bottom:30px;
}

form{ display:flex; flex-direction:column; gap:12px; }

.input{
    width:100%;
    padding:18px;
    border:none;
    border-radius:14px;
    background:#efefef;
    font-size:15px;
}
.input:focus{ outline:none; background:#e8e8e8; }

.login-btn{
    width:100%;
    padding:18px;
    border:none;
    border-radius:16px;
    background:black;
    color:white;
    font-weight:600;
    font-size:16px;
    cursor:pointer;
}
.login-btn:hover{ opacity:.9; }

.forgot{
    margin-top:18px;
    font-size:14px;
    color:#777;
    text-decoration:none;
    display:inline-block;
}
.forgot:hover{ text-decoration:underline; }

.error{
    background:#fff;
    border:1px solid #eee;
    color:#b00020;
    padding:12px 14px;
    border-radius:14px;
    font-size:13px;
    margin-bottom:14px;
    text-align:left;
}

/* ===== ABOUT / CONTACT TYPOGRAPHY (minimal) ===== */
.hero{
  text-transform:uppercase;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  letter-spacing:-0.015em;
  line-height:1.07;
  font-size:clamp(34px, 4.4vw, 66px);
  color:rgba(255,255,255,.92);
  text-align:center;
  margin:0;
  text-wrap:balance;
  width:min(1100px, 92vw);
}
.sub{
  margin:clamp(18px,2.2vw,26px) auto 0;
  width:min(980px, 92vw);
  color:rgba(255,255,255,.62);
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  letter-spacing:0.02em;
  line-height:1.6;
  font-size:clamp(14px,1.35vw,18px);
  text-align:center;
  text-wrap:balance;
}
.contact-card{
  width:min(900px, 92vw);
  text-align:center;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.contact-title{
  text-transform:uppercase;
  font-weight:300;
  letter-spacing:-0.01em;
  line-height:1.08;
  font-size:clamp(28px, 3.4vw, 52px);
  color:rgba(255,255,255,.92);
  margin:0;
}
.contact-text{
  margin:clamp(14px, 1.8vw, 18px) auto 0;
  color:rgba(255,255,255,.62);
  font-weight:300;
  line-height:1.6;
  font-size:clamp(14px, 1.25vw, 18px);
}

/* ===== HAMBURGER + MENU OVERLAY ===== */
.menu-btn{
  position:fixed;
  top:18px;
  right:18px;
  width:52px;
  height:52px;
  border:none;
  background:transparent;
  border-radius:14px;
  cursor:pointer;
  z-index:130000;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  padding:0 12px;
  transition:background .12s ease, transform .12s ease;
}
.menu-btn:hover{ background:rgba(0,0,0,.06); }
.menu-btn:active{ transform:scale(.98); }

.menu-line{
  height:2px;
  border-radius:999px;
  display:block;
  background:rgba(0,0,0,.85);
  transition:
    width .12s ease,
    transform .35s cubic-bezier(.2,.8,.2,1),
    opacity .2s ease,
    background .2s ease;
  transform-origin:center;
}
.menu-line.l1{ width:28px; }
.menu-line.l2{ width:20px; }
.menu-line.l3{ width:12px; }

/* Make button look right on dark sections */
body.at-dark .menu-btn:hover{ background:rgba(255,255,255,.08); }
body.at-dark .menu-line{ background:rgba(255,255,255,.92); }

.menu-overlay{
  position:fixed;
  inset:0;
  background:#2b2b2b;
  transform:translateX(100%);
  transition:transform .55s cubic-bezier(.2,.8,.2,1);
  z-index:129999;
  will-change:transform;
}
.menu-overlay.open{ transform:translateX(0); }
.menu-overlay[aria-hidden="true"]{ pointer-events:none; }

.menu-overlay.open ~ .menu-btn .menu-line{
  width:28px;
  background:#fff;
  transition-delay:0s, .08s, 0s, 0s; /* width then rotate */
}
.menu-overlay.open ~ .menu-btn .menu-line.l1{ transform:translateY(9px) rotate(45deg); }
.menu-overlay.open ~ .menu-btn .menu-line.l2{ opacity:0; transform:scaleX(.6); }
.menu-overlay.open ~ .menu-btn .menu-line.l3{ transform:translateY(-9px) rotate(-45deg); }

.menu-panel{
  height:100%;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:clamp(22px,4vw,60px);
  box-sizing:border-box;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.menu-item{
  text-decoration:none;
  color:rgba(255,255,255,.92);
  text-transform:uppercase;
  font-weight:300;
  letter-spacing:-0.01em;
  line-height:1.08;
  font-size:clamp(34px,4.2vw,66px);
  padding:10px 0;
  transition:opacity .12s ease, transform .12s ease;
}
.menu-item:hover{ opacity:.85; transform:translateX(4px); }

/* helper */
.anchor-pad{ scroll-margin-top:0px; }

section{
  scroll-margin-top: 90px;
}


/* ===== CONTACT FORM (minimal + secure) ===== */
.contact-form{
  margin:clamp(16px,2.2vw,22px) auto 0;
  width:min(900px, 92vw);
  text-align:left;
}
.cf-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin-top:18px;
}
@media (min-width: 740px){
  .cf-grid{ grid-template-columns: 1fr 1fr; }
}
.cf-field{ display:block; }
.cf-full{ margin-top:14px; }
.cf-label{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  color:rgba(255,255,255,.78);
  letter-spacing:0.02em;
  font-size:13px;
  text-transform:uppercase;
}
.cf-opt{ color:rgba(255,255,255,.45); font-weight:300; text-transform:none; letter-spacing:0; font-size:12px; }

.cf-input, .cf-textarea{
  width:100%;
  margin-top:10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  border-radius:14px;
  padding:16px 16px;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:15px;
  outline:none;
  transition:border-color .12s ease, background .12s ease;
}
.cf-textarea{ padding:16px 16px; resize:vertical; min-height:140px; }

.cf-input:focus, .cf-textarea:focus{
  border-color:rgba(255,255,255,.30);
  background:rgba(255,255,255,.08);
}

.cf-btn{
  margin-top:16px;
  width:100%;
  border:none;
  border-radius:16px;
  padding:18px;
  background:#fff;
  color:#111;
  font-weight:600;
  font-size:16px;
  cursor:pointer;
  transition:transform .12s ease, opacity .12s ease;
}
.cf-btn:hover{ opacity:.92; }
.cf-btn:active{ transform:scale(.99); }

.cf-note{
  margin-top:14px;
  color:rgba(255,255,255,.55);
  font-family:Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight:300;
  line-height:1.6;
  font-size:clamp(13px, 1.1vw, 15px);
}

.cf-status{
  margin-top:14px;
  min-height:22px;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:14px;
  color:rgba(255,255,255,.72);
}

.cf-status.ok{ color:rgba(255,255,255,.78); }
.cf-status.err{ color:rgba(255,255,255,.78); }

.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
