:root{
  --bg:#0b0b0b;
  --ink:#f2efe6;
  --muted:rgba(242,239,230,.72);
  --line:rgba(242,239,230,.22);
  --line2:rgba(242,239,230,.14);
  --focus:rgba(242,239,230,.45);
  --danger:#ff6b6b;
  --ok:#7CFFB2;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing:.02em;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.85}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:28px 18px 60px;
}

/* header / nav (matches the simple top nav you already have) */
header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid var(--line2);
  padding-bottom:16px;
  margin-bottom:28px;
}

.brand{
  font-weight:300;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:12px;
  opacity:.9;
  white-space:nowrap;
}

nav{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.navlink{
  font-weight:200;
  letter-spacing:.55em;
  text-transform:uppercase;
  font-size:16px;
  padding:8px 4px;
  border-bottom:1px solid transparent;
}
.navlink[aria-current="page"]{
  border-bottom-color:var(--line);
}

/* layout */
.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
}
@media (max-width: 860px){
  .grid{grid-template-columns:1fr}
}

h1{
  margin:0 0 10px;
  font-weight:200;
  text-transform:uppercase;
  letter-spacing:.65em;
  font-size:18px;
}

.lead{
  margin:0 0 22px;
  color:var(--muted);
  font-weight:200;
  line-height:1.6;
  max-width:62ch;
}

.card{
  border:1px solid var(--line2);
  border-radius:18px;
  padding:18px;
  background:rgba(255,255,255,.02);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset;
}

/* form */
form{
  display:grid;
  gap:14px;
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 560px){
  .row{grid-template-columns:1fr}
}

label{
  display:block;
  font-size:16px;
  text-transform:uppercase;
  letter-spacing:.55em;
  font-weight:200;
  margin:0 0 8px;
  opacity:.9;
}

input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line2);
  background:transparent;
  color:var(--ink);
  outline:none;
  font-weight:200;
  letter-spacing:.06em;
}

textarea{min-height:140px; resize:vertical}

input:focus, textarea:focus{
  border-color:var(--focus);
  box-shadow: 0 0 0 3px rgba(242,239,230,.08);
}

.hint{
  color:var(--muted);
  font-size:16px;
  font-weight:200;
  line-height:1.5;
  margin-top:6px;
}

.error{
  color:var(--danger);
  font-size:16px;
  font-weight:300;
  margin-top:6px;
  display:none;
}
.error.show{display:block}

/* your button style + force stacking */
.actions{
  display:flex;
  flex-direction:column; /* <— makes buttons stack */
  gap:12px;              /* <— space between them */
  margin-top:6px;
}

.enter-link{
  display:block;            /* <— block so it takes full row */
  width:fit-content;
  padding:10px 30px;
  border:1px solid var(--line);
  border-radius:50px;
  font-weight:100;
  letter-spacing:.800em;
  text-transform:uppercase;
  background:transparent;
  color:var(--ink);
  cursor:pointer;
  transition:
  transform .18s ease,
  border-color .18s ease,
  background .18s ease,
  opacity .18s ease;
}

.enter-link:hover{
  transform: translateY(-1px);
  border-color: rgba(242,239,230,.45);
  background: rgba(255,255,255,.04);
}

.enter-link:disabled{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
}

.status{
  margin-top:10px;
  font-size:16px;
  font-weight:200;
  color:var(--muted);
  line-height:1.5;
  min-height:18px;
}
.status.ok{color:var(--ok)}
.status.bad{color:var(--danger)}

/* right column info */
.meta h2{
  margin:0 0 12px;
  font-weight:200;
  text-transform:uppercase;
  letter-spacing:.55em;
  font-size:16px;
  opacity:.92;
}

.meta p{
  margin:0 0 12px;
  color:var(--muted);
  font-weight:200;
  line-height:1.7;
  font-size:16px;
}

.meta .line{
  border-top:1px solid var(--line2);
  margin:14px 0;
}


/* honeypot: hidden */
.hp{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}


/*the right image box and the img wrapper*/

.image-wrap{
  width: 100%;
  display:flex;
  align-items:right;
  justify-content:right;
  border:0px solid;
  border-color: rgba(242,239,230,.45);
  float:right;
}

.image-wrap img{
  border:0px solid;
  max-width:100%;
  height:auto;
  border-radius:14px;
  border-color: rgba(242,239,230,.45);
  opacity:.50;
}


/* ===== Background Image ===== */
.bg-image{
  position: fixed;
  inset: 0;
  background-image: url("images/background_dragon.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

.logo-image{
  width: 40%;
}

footer{
  margin-top:34px;
  padding-top:14px;
  border-top:1px solid var(--line2);
  color:var(--muted);
  font-weight:200;
  letter-spacing:.18em;
  font-size:16px;
  text-transform:uppercase;
}
