:root {
  --ink: #16202a;
  --paper: #f5f1e8;
  --card: rgba(255, 255, 255, 0.9);
  --accent: #8f2d2d;
  --accent-soft: #d06a40;
  --outline: #d4c8b2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Noto Sans", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(rgba(12, 20, 30, 0.78), rgba(12, 20, 30, 0.78)),
    url("images/bg-dojo-texture.svg") center/cover fixed;
}

.site-header,
main {
  width: min(960px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 3rem 0 1.25rem;
  color: #fffdf8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  opacity: 0.88;
}

h1,
h2 {
  line-height: 1.2;
}

.top-nav {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.top-nav a {
  color: #fef9ef;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.top-nav a:hover,
.top-nav a.active {
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  margin: 1rem 0 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(15, 23, 30, 0.73);
  color: #fef9ef;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--outline);
  border-left: 6px solid var(--accent-soft);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(1px);
}

.card:nth-of-type(even) {
  border-left-color: var(--accent);
}

a {
  color: #7a1f1f;
  font-weight: 600;
}

a:hover {
  color: #a53333;
}

.tagline::after {
  content: " 🐻⚔️";
}

.training-layout {
  padding-bottom: 2rem;
}

.training-page .training-hero {
  border-bottom: 2px solid var(--outline);
  margin: 1.5rem 0 1rem;
  color: #fef9ef;
}

.training-page .content,
.training-page .contact {
  background: var(--paper);
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.training-page .subtitle,
.training-page .helper {
  color: rgba(255, 253, 248, 0.9);
}

.contact-form {
  display: grid;
  gap: 0.65rem;
}

label {
  font-weight: 600;
}

input,
select,
textarea,
button {
  font: inherit;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #bdb6ac;
}

button {
  width: fit-content;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.6rem 1rem;
}

button:hover {
  filter: brightness(1.08);
}
