:root {
  --eggshell:    #E8E8D3;
  --almond-silk: #EBCECC;
  --soft-blossom:#EEB3C4;
  --pink-carn:   #F37EB5;
  --lilac:       #BF8DB5;
  --cool-steel:  #8B9CB4;
  --tea-green:   #E7F4BD;

  --page-margin: 6vw;
  --gap: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #d1b0b3;
  font-family: "Inter", sans-serif;
  color: #000000;
  text-transform: lowercase;
  overflow-x: hidden;
  width: 100%;
}

a { color: inherit; }

.page { padding: var(--page-margin); }

.header {
  background: var(--eggshell);
  padding: 10px 40px;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: default;
  outline: 1px solid #000;
  outline-offset: -2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.header .nav-link {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  outline: 1px solid #000;
  outline-offset: -2px;
  background: #fff;
  padding: 6px 14px;
  transition: filter 1.8s ease;
}

.header .nav-link:hover { filter: brightness(0.88); }

/* password gate overlay */
.gate {
  position: fixed;
  inset: 0;
  background: rgba(154, 160, 166, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.gate-box {
  background: var(--eggshell);
  outline: 1px solid #000;
  outline-offset: -2px;
  padding: 32px;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gate-box .gate-label {
  font-size: 1.1rem;
  font-weight: 600;
}

.gate-box input {
  font-family: inherit;
  text-transform: lowercase;
  font-size: 16px;
  padding: 10px 12px;
  outline: 1px solid #000;
  border: none;
  background: #fff;
  width: 100%;
}

.gate-box button {
  font-family: inherit;
  text-transform: lowercase;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 12px;
  outline: 1px solid #000;
  border: none;
  background: var(--pink-carn);
  cursor: pointer;
  transition: filter 1.8s ease;
}

.gate-box button:hover { filter: brightness(0.88); }

.gate-box .gate-error {
  color: #a11;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.hidden { display: none !important; }

button, input, textarea { font-family: inherit; }
