:root {
  color-scheme: dark;
  --bg: #08090a;
  --panel: #121416;
  --panel-soft: #181b1e;
  --ink: #f5f5f2;
  --muted: #b7bbb8;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #c79a44;
  --accent-strong: #e2b75d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  background: rgba(8, 9, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand,
nav,
.intro,
.admin-top,
.stats,
.request-card-top {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
}

.brand-mark {
  width: 3rem;
  height: 2.1rem;
  object-fit: contain;
}

nav {
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
footer a:hover {
  color: var(--accent-strong);
}

.hero {
  width: 100%;
  min-height: 58vh;
  background: #050607;
}

.hero-art {
  display: block;
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: center;
}

.intro {
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c0d0f;
}

.intro div {
  max-width: 58rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: 0.9;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.intro p,
.quiet,
.service-list p,
.meta,
footer {
  color: var(--muted);
  line-height: 1.55;
}

.intro p {
  max-width: 50rem;
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #090909;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.button:hover {
  background: var(--accent-strong);
}

.button.subtle {
  background: var(--panel-soft);
  color: var(--ink);
  border-color: var(--line);
}

.work,
.request-section,
.admin-shell {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  margin-bottom: 1.4rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-list article {
  min-height: 11rem;
  padding: 1.1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101214;
}

.service-list p {
  margin: 0.7rem 0 0;
  font-size: 0.94rem;
}

.showcase-art {
  display: block;
  width: 100%;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  max-height: 560px;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(20rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: #0c0d0f;
}

.request-form,
.login-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.85rem;
  background: #090a0b;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.92rem;
}

.admin-shell {
  min-height: calc(100vh - 8rem);
}

.admin-top {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.login-form {
  max-width: 44rem;
}

.stats {
  gap: 0.8rem;
  margin: 1rem 0;
}

.stats div {
  min-width: 10rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.stats strong {
  display: block;
  font-size: 2rem;
}

.request-list {
  display: grid;
  gap: 0.85rem;
}

.request-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.request-card-top {
  justify-content: space-between;
  gap: 1rem;
}

.tag {
  color: var(--accent-strong);
  font-weight: 850;
}

.meta {
  font-size: 0.9rem;
}

.message {
  white-space: pre-wrap;
  line-height: 1.55;
}

footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .intro,
  .request-section {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .intro {
    flex-direction: column;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  footer,
  .admin-top,
  .request-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-art {
    height: 52vh;
  }

  .service-list,
  .request-form,
  .login-form {
    grid-template-columns: 1fr;
  }
}
