:root {
  --header-height: 118px;
  --text: #fff;
  --muted: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.24);
  --panel: rgba(0,0,0,.58);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #0b0b0b;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 28px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,.18));
}

.branding {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}
.site-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
}
.site-description {
  color: var(--muted);
  font-size: .92rem;
  letter-spacing: .025em;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-menu > a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.search-form input {
  width: 170px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 0;
  padding: 10px 12px;
  color: #fff;
  background: rgba(0,0,0,.25);
  outline: none;
}
.search-form input::placeholder { color: rgba(255,255,255,.72); }
.search-form input:focus { border-color: #fff; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 10px 0;
  color: #fff;
  background: transparent;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .14em;
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.hero {
  position: relative;
  min-height: 86vh;
  padding: calc(var(--header-height) + 60px) clamp(24px, 7vw, 110px) 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    url('../images/hero.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.36) 55%, rgba(0,0,0,.52));
}
.hero-content {
  width: min(760px, 100%);
  padding: 38px 42px;
  border: 1px solid rgba(255,255,255,.16);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  text-align: center;
}
.hero-content p {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
  line-height: 1.6;
}
.page-title {
  position: absolute;
  left: clamp(24px, 5vw, 76px);
  bottom: 30px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
}

.site-footer {
  padding: 24px clamp(24px, 5vw, 76px);
  color: rgba(255,255,255,.68);
  background: #080808;
  font-size: .82rem;
  text-align: center;
}
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; color: #fff; }
.site-footer a:hover { text-decoration: underline; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  :root { --header-height: 100px; }
  .site-header { align-items: flex-start; padding: 24px; }
  .site-description { font-size: .78rem; }
  .menu-toggle { display: inline-flex; }
  .site-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(0,0,0,.94);
    border-top: 1px solid var(--line);
  }
  .site-menu.is-open { display: flex; }
  .site-menu > a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .search-form { padding-top: 18px; }
  .search-form input { width: 100%; }
  .hero { min-height: 88vh; padding-left: 20px; padding-right: 20px; }
  .hero-content { padding: 28px 24px; }
  .hero-content p { line-height: 1.5; }
  .page-title { left: 24px; }
}
