:root {
  --bg: #07111f;
  --panel: #101b2d;
  --panel-2: #16253c;
  --text: #f3f7ff;
  --muted: #9baecf;
  --accent: #7aa2ff;
  --accent-2: #f1b36b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg), #0e1a2d 60%, #14253d);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; }

.home-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
  background:
    linear-gradient(120deg, rgba(7, 17, 31, 0.82), rgba(7, 17, 31, 0.42)),
    url("images/IMG_4851.jpeg") center/cover no-repeat;
}

.intro-shell {
  max-width: 960px;
  width: 100%;
  background: linear-gradient(135deg, rgba(16, 27, 45, 0.95), rgba(7, 17, 31, 0.82));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.intro-copy {
  display: grid;
  gap: 0.9rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.74rem;
  color: var(--accent-2);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Courier New", "Courier", monospace;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(255,255,255,0.08);
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 620px;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.04em;
  font-style: italic;
}

.button {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  background: var(--accent-2);
  color: #07111f;
  font-weight: 700;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(241,179,107,0.2);
}

.intro-shell img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.page-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.4rem 1rem;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.page-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.frame-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.4rem 2.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.frame-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.frame-card a {
  text-decoration: none;
  display: block;
}

.frame-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.frame-card .content {
  padding: 1rem 1rem 1.2rem;
}

.frame-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}

.frame-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-page {
  padding-bottom: 2.5rem;
}

.gallery-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.4rem 2rem;
}

.hero-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
  margin: 0.4rem 0 1.4rem;
}

.hero-block img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}

.hero-copy {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.2rem;
}

.hero-copy h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-card .caption {
  padding: 0.9rem 1rem 1rem;
}

.gallery-card h4 {
  margin: 0 0 0.3rem;
}

.gallery-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .intro-shell { grid-template-columns: 1fr; }
  .frame-grid { grid-template-columns: 1fr; }
  .hero-block { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .home-page { padding: 1rem; }
  .intro-shell, .page-header, .gallery-shell { padding-left: 1rem; padding-right: 1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
