:root {
  --ink: #1b1d1a;
  --moss: #2f5d48;
  --gold: #c99c4b;
  --sand: #f3ead9;
  --paper: #fff7ea;
  --sky: #d4e4f2;
  --clay: #b46b4c;
  --shadow: 0 18px 40px rgba(27, 29, 26, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at top, rgba(201, 156, 75, 0.15), transparent 55%),
    linear-gradient(130deg, #f9f0df 0%, #f7f4ec 45%, #e3eff9 100%);
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Georgia", serif;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px) 64px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.login-shell {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.panel {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.panel h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.panel p {
  margin: 0 0 20px;
  line-height: 1.6;
}

.panel-art {
  background: linear-gradient(160deg, rgba(47, 93, 72, 0.9), rgba(201, 156, 75, 0.9));
  color: #fff;
}

.panel-art ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.gate {
  display: grid;
  gap: 10px;
}

.gate label {
  font-weight: 600;
}

.gate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gate input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(27, 29, 26, 0.2);
  font-size: 16px;
}

.btn {
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--moss);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: transparent;
  color: var(--moss);
  border: 2px solid var(--moss);
}

.gate-message {
  min-height: 20px;
  margin: 0;
  font-weight: 600;
}

.gate-message.error {
  color: var(--clay);
}

.hint {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.7;
}

.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  padding: 32px 0;
}

.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 600;
  color: var(--moss);
}

.hero-content h1 {
  margin: 12px 0 14px;
  font-size: clamp(32px, 5vw, 54px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.menu-trigger {
  align-self: start;
  border: none;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.section {
  padding: 28px 0;
}

.section h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.section p {
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery figure {
  margin: 0;
  background: var(--paper);
  padding: 12px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

footer {
  margin-top: 24px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(27, 29, 26, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 720px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-trigger {
    width: fit-content;
  }
}
