/* Dragonheim Studio static website */

:root {
  --bg: #080706;
  --bg-2: #11100e;
  --panel: rgba(25, 21, 17, 0.88);
  --panel-2: rgba(42, 33, 24, 0.78);
  --text: #f6efe3;
  --muted: #c8bba8;
  --gold: #c99444;
  --gold-bright: #f0c36a;
  --bronze: #7e4f25;
  --line: rgba(240, 195, 106, 0.25);
  --shadow: rgba(0, 0, 0, 0.45);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(126, 79, 37, 0.26), transparent 35%),
    radial-gradient(circle at top right, rgba(201, 148, 68, 0.14), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 7, 6, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(201, 148, 68, 0.18), rgba(126, 79, 37, 0.12));
  box-shadow: 0 0 24px rgba(201, 148, 68, 0.12);
}

.brand-text {
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 9px 14px;
  color: var(--text) !important;
  background: rgba(201, 148, 68, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--gold-bright);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8, 7, 6, 0.55), rgba(8, 7, 6, 0.94)),
    radial-gradient(circle at center, rgba(201, 148, 68, 0.2), transparent 35%),
    url("assets/hero-texture.svg");
  background-size: cover;
  opacity: 0.92;
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
  padding: 90px 0;
}

.eyebrow,
.section-label {
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

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

h1 {
  font-size: clamp(2.7rem, 7vw, 6.3rem);
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: -0.045em;
  text-shadow: 0 18px 60px var(--shadow);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 9px;
  color: var(--gold-bright);
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
}

.button.primary {
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  color: #150f09;
  border-color: rgba(240, 195, 106, 0.65);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section {
  padding: 96px 0;
}

.dark-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(0,0,0,0.08)),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.card,
.project-card,
.contact-card,
.pillar {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.card {
  padding: 34px;
  color: var(--muted);
}

.card p:last-child,
.pillar p:last-child {
  margin-bottom: 0;
}

.project-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 30px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(201, 148, 68, 0.11), rgba(8, 7, 6, 0.78)),
    var(--panel);
}

.project-tagline {
  color: var(--gold-bright);
  font-size: 1.18rem;
}

.project-content > p {
  color: var(--muted);
}

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

.feature-grid div {
  padding: 20px;
  border: 1px solid rgba(240, 195, 106, 0.18);
  background: rgba(0, 0, 0, 0.18);
}

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

.project-emblem {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.emblem-ring {
  width: 260px;
  height: 260px;
  border-radius: 999px;
  border: 2px solid rgba(240, 195, 106, 0.6);
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle, rgba(201, 148, 68, 0.14), transparent 60%),
    rgba(0, 0, 0, 0.25);
  box-shadow:
    inset 0 0 30px rgba(240, 195, 106, 0.08),
    0 0 65px rgba(201, 148, 68, 0.12);
}

.emblem-ring::before,
.emblem-ring::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 999px;
  border: 1px solid rgba(240, 195, 106, 0.22);
}

.emblem-ring::after {
  inset: 58px;
}

.emblem-ring span {
  color: var(--gold-bright);
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.78rem;
}

.center-title {
  text-align: center;
  margin-bottom: 36px;
}

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

.pillar {
  padding: 30px;
  background: var(--panel-2);
}

.pillar p {
  color: var(--muted);
}

.contact-section {
  text-align: center;
}

.contact-card {
  max-width: 760px;
  padding: 48px;
}

.small-note,
.muted {
  color: var(--muted);
}

.small-note {
  margin-top: 18px;
  font-size: 0.9rem;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.97rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(240, 195, 106, 0.6);
  background: rgba(0, 0, 0, 0.45);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.received-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 2px solid rgba(240, 195, 106, 0.6);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  background: radial-gradient(circle, rgba(201, 148, 68, 0.18), transparent 70%);
  font-size: 2rem;
  color: var(--gold-bright);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.4);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

.footer-content > p:first-child {
  max-width: 760px;
}

.footer-links {
  display: flex;
  gap: 18px;
  margin: 0;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: rgba(8, 7, 6, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 16px 20px;
    border-top: 1px solid rgba(240, 195, 106, 0.12);
  }

  .split,
  .project-card,
  .feature-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .section {
    padding: 72px 0;
  }

  .project-card {
    padding: 28px;
  }

  .project-emblem {
    min-height: 240px;
  }

  .emblem-ring {
    width: 210px;
    height: 210px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-content > p:first-child {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand-text {
    font-size: 0.78rem;
  }

  .hero-content {
    padding: 70px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card,
  .contact-card,
  .pillar {
    padding: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
