:root {
  --ink: #ede7dc;
  --muted: #b9ada0;
  --dim: #80756d;
  --paper: #131313;
  --panel: #1b1a18;
  --line: rgba(237, 231, 220, 0.16);
  --blood: #a73524;
  --rust: #c36a3d;
  --moss: #6f7765;
  --blue: #596a73;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(19, 19, 19, 0.94), rgba(19, 19, 19, 0.98)),
    radial-gradient(circle at 18% 10%, rgba(111, 119, 101, 0.2), transparent 36%),
    radial-gradient(circle at 85% 25%, rgba(167, 53, 36, 0.16), transparent 31%),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0));
}

.brand,
nav a {
  text-decoration: none;
}

.brand {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 112px clamp(20px, 5vw, 56px) 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.62) 43%, rgba(10, 10, 10, 0.22)),
    linear-gradient(0deg, var(--paper), transparent 38%);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/veit-hammer-angel.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(0.55) contrast(1.12) brightness(0.82);
  transform: scale(1.02);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-width: 0;
}

.kicker {
  margin: 0 0 14px;
  color: var(--rust);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

.title-image-wrapper {
  margin-bottom: 18px;
  line-height: 1;
}

.title-image {
  display: block;
  width: clamp(340px, 45vw, 760px);
  height: auto;
}

/* @media (max-width: 768px) {
    .title-image {
        width: 95vw;
        max-width: none;
    }
} */

@media (max-width: 768px) {
    #hero-title {
        width: 100%;
    }

    .title-image {
        width: 100%;
        height: auto;
    }
}

.deck {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.3vw, 1.62rem);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button.primary {
  background: var(--ink);
  color: #151311;
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(237, 231, 220, 0.06);
}

.section-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 90px);
  padding: clamp(70px, 12vw, 140px) 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label span {
  display: block;
  width: 48px;
  padding-top: 10px;
  margin-bottom: 16px;
  border-top: 1px solid var(--blood);
  color: var(--blood);
}

.copy-block {
  max-width: 850px;
}

.copy-block p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.copy-block p + p {
  margin-top: 22px;
}

.feature-band {
  min-height: 56vh;
  display: grid;
  align-items: center;
  padding: clamp(72px, 11vw, 132px) clamp(20px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(19, 19, 19, 0.82), rgba(19, 19, 19, 0.58)),
    linear-gradient(135deg, rgba(167, 53, 36, 0.34), transparent 44%),
    linear-gradient(45deg, rgba(89, 106, 115, 0.2), transparent 52%),
    #161514;
  border-bottom: 1px solid var(--line);
}

.feature-copy {
  width: min(980px, 100%);
  margin: 0 auto;
}

.feature-copy h2 {
  max-width: 900px;
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: start;
  gap: clamp(28px, 5vw, 62px);
}

.image-plate {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(237, 231, 220, 0.04);
}

.image-plate img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.1) brightness(0.76);
}

.world-content {
  position: relative;
  z-index: 2;

  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);

  gap: clamp(28px, 7vw, 90px);

  padding: clamp(70px, 12vw, 140px) 0;
}

.world-section {
  position: relative;
  overflow: hidden;

  border-bottom: 1px solid var(--line);
}

.world-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: url("assets/albert-stoynov-det6EotskAI-unsplash.jpg");
  background-size: cover;
  background-position: center center;

  filter:
    grayscale(0.85)
    contrast(1.15)
    brightness(2.45);

  transform: scale(1.03);

  z-index: 0;
}

.world-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(10,10,10,.92),
      rgba(10,10,10,.78) 45%,
      rgba(10,10,10,.60)
    ),
    linear-gradient(
      180deg,
      rgba(10,10,10,.15),
      rgba(10,10,10,.75)
    );

  z-index: 1;
}

.world-section .section-label,
.world-section .copy-block {
  position: relative;
  z-index: 2;
}

figcaption {
  margin-top: 12px;
  color: var(--dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  line-height: 1.45;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--panel);
}

.fact-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.6fr);
  gap: clamp(28px, 7vw, 90px);
  padding: clamp(70px, 12vw, 130px) 0;
}

.contact h2 {
  margin-bottom: 0;
}

.contact > p {
  align-self: end;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 2rem 4rem;
    border-top: 1px solid rgba(255,255,255,.12);

    font-size: 0.9rem;
    color: rgba(255,255,255,.65);
}

.site-footer p {
    margin: 0;
}

.subtlelinks {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.subtlelinks a {
    color: rgba(255,255,255,.92);
    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition: opacity .2s ease;
}

.subtlelinks a:hover {
    opacity: .7;
}

.credits {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    flex-wrap: wrap;
    justify-content: flex-end;

    text-align: right;
}

.credits a {
    color: rgba(255,255,255,.8);
}

.credits a:hover {
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 12px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0.88) 50%, var(--paper)),
      linear-gradient(90deg, rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.24));
  }

  .section-grid,
  .world-content,
  .contact,
  .split,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-label {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .section-label span {
    margin-bottom: 0;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }

  .credits {
      justify-content: center;
      text-align: center;
  }

  .world-content {
      display: block;
      width: 100%;
      padding: 70px 20px;
      margin: 0;
  }

  .world-section .section-label,
  .world-section .copy-block {
      width: 100%;
      max-width: none;
  }

      .world-section .section-label {
        margin-bottom: 2rem;
    }

  .world-content .section-label span {
    margin-bottom: 0;
  }

}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    padding-top: 16px;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 3.9rem);
  }

  .hero {
    padding-bottom: 42px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

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

  .fact-grid article {
    min-height: 150px;
  }
}
