:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --text: #f5f5f2;
  --muted: #b8b8b2;
  --line: #2b2b2b;
  --accent: #d7b37c;
  --max-width: 1100px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
main,
.site-footer {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 64px 0 32px;
}

.brand {
  display: block;
  text-align: center;
  margin-bottom: 42px;
}

.brand h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.18em;
}

.brand p {
  margin: 12px 0 0;
  font-size: clamp(1rem, 2.4vw, 1.8rem);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 6vw, 72px);
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.nav a {
  position: relative;
  padding-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 2px;
  background: var(--text);
}

main {
  flex: 1;
  padding: 36px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.28)
  );
  pointer-events: none;
}

.site-footer {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.page {
  padding-top: 4px;
}

.page h2 {
  margin: 0 0 28px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.copy {
  max-width: 760px;
  font-size: 1.05rem;
  color: var(--text);
}

.copy p {
  margin: 0 0 1.2rem;
}

.list {
  display: grid;
  gap: 22px;
}

.list a {
  display: inline-block;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  transition: color var(--transition), transform var(--transition);
}

.list a:hover,
.list a:focus-visible {
  color: var(--accent);
  transform: translateX(4px);
}

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

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111;
  border: 1px solid var(--line);
  transition: transform var(--transition), opacity var(--transition);
}

.gallery img:hover,
.gallery img:focus-visible {
  transform: scale(1.01);
  opacity: 0.94;
}

@media (max-width: 800px) {
  .site-header {
    padding-top: 44px;
  }

  main {
    padding-top: 28px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .hero img {
    aspect-ratio: 4 / 5;
  }
}