:root {
  --bg: #0e0e0e;
  --panel: #141414;
  --text: #f5f5f5;
  --muted: #cfcfcf;
  --line: #262626;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

/* HEADER */


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
}

.logo-text {
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: lowercase;
  color: white;
  white-space: nowrap;
}

.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid transparent;
}

.menu a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
}

/* SHARED LAYOUT */
.page,
.hero,
section,
.footer,
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}


.page {
  padding-top: 64px;
  padding-bottom: 72px;
}

.container {
  padding-top: 80px;
  padding-bottom: 60px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #bdbdbd;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 780px;
}

p {
  line-height: 1.7;
  color: #dddddd;
  margin: 0 0 20px;
}

.intro {
  max-width: 720px;
  color: #d8d8d8;
  line-height: 1.9;
  font-size: 18px;
  margin: 0 0 34px;
}

/* BUTTONS */
.button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}

.button:hover {
  background: #f5f5f5;
  color: #0e0e0e;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--muted);
}

.button.secondary:hover {
  color: #0e0e0e;
  border-color: #f5f5f5;
}

/* CARDS / GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card-link {
  display: block;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.card:hover img {
  transform: scale(1.08);
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.3), transparent);
}

.overlay h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d6d6d6;
}

/* PANELS */
.panel,
.quote-card,
.set-card,
.contact-card,
.card-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
}

/* FOOTER */
.footer {
  padding-top: 0;
  padding-bottom: 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #9f9f9f;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  margin: 18px 0 0;
  max-width: 520px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* MODULE PAGES */
.hero {
  padding-top: 92px;
  padding-bottom: 90px;
}

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

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
}

.module-footer {
  margin-top: 22px;
}

.module-footer a {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

/* RESPONSIVE */
@media (max-width: 760px) {
  .nav {
    align-items: start;
    flex-direction: column;
  }

  .menu {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  h1 {
    line-height: 1.02;
  }

  .container {
    padding-top: 64px;
  }

  .card img {
    height: 260px;
  }
}