:root {
  --bg: #0a0a09;
  --panel: #121210;
  --text: #f4f0e8;
  --muted: #b7b0a4;
  --gold: #d6a84a;
  --line: #2a2925;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
  color: #d8d2c8;
}

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

.phone {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.header-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 900;
}

.menu {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 26px;
}

.hero {
  min-height: 780px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/optimized/hero-1536.webp') center/cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .93) 0%, rgba(0, 0, 0, .64) 50%, rgba(0, 0, 0, .18) 100%);
}

.hero-content {
  position: relative;
  padding: 82px 0 64px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
}

.gold {
  color: var(--gold);
}

h1 {
  font-size: clamp(46px, 7vw, 86px);
  line-height: .92;
  margin: 20px 0 16px;
  letter-spacing: -.045em;
  max-width: 850px;
}

h1 span {
  color: var(--gold);
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 8px 0 18px;
  max-width: 900px;
}

.sub {
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .12em;
}

.lead {
  font-size: 20px;
  max-width: none;
  color: #ddd6ca;
}

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

.actions {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid var(--line);
  cursor: pointer;
}

.primary {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

.ghost {
  background: rgba(255, 255, 255, .04);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin-top: 46px;
}

.benefit-card {
  position: relative;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018));
  border: 1px solid rgba(214, 168, 74, .28);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(14px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 52px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(214, 168, 74, .5);
}

.benefit-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(214, 168, 74, .08);
  filter: blur(10px);
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 168, 74, .55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 32px rgba(214, 168, 74, .07);
}

.benefit-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.benefit-card b {
  display: block;
  max-width: 230px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: .02em;
}

.benefit-card p {
  margin: 11px 0 0;
  max-width: 255px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 100px 0;
}

.alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head h2 {
  margin-bottom: 0;
}

#why .section-head {
  grid-template-columns: 1fr;
}

#why .section-head h2 {
  font-size: clamp(34px, 2.8vw, 50px);
  white-space: nowrap;
  max-width: 100%;
}

#works .section-head {
  grid-template-columns: 1fr;
}

#works .section-head h2 {
  font-size: clamp(30px, 2.45vw, 44px);
  white-space: nowrap;
  max-width: 100%;
}

#faq .section-head {
  grid-template-columns: 1fr;
}

#faq .section-head h2 {
  font-size: clamp(30px, 2.45vw, 44px);
  white-space: nowrap;
  max-width: 100%;
}

@media (max-width: 900px) {

  #why .section-head h2,
  #why .section-copy,
  #works .section-head h2,
  #works .section-copy,
  #faq .section-head h2,
  #faq .section-copy {
    white-space: normal;
  }
}

@media (max-width: 1200px) {
  #why .section-head h2 {
    font-size: 38px;
  }

  #works .section-head h2,
  #faq .section-head h2 {
    font-size: 34px;
  }

  #works .section-head h2 {
    font-size: 34px;
  }
}

.section-copy {
  max-width: none;
  margin: 12px 0 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .section-copy {
    white-space: normal;
    max-width: 100%;
  }
}

.stats {
  display: flex;
  gap: 14px;
  margin: 28px 0 40px;
}

.stats div,
.features>div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(15, 15, 14, .72);
}

.stats strong {
  display: block;
  font-size: 34px;
  color: var(--gold);
}

.stats span {
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
}

.projects {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: #11110f;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card>img,
.card-gallery {
  width: 100%;
  height: 285px;
}

.card>img {
  display: block;
  object-fit: cover;
}

.card-gallery {
  position: relative;
  overflow: hidden;
}

.card-gallery-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-gallery img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .3s ease;
}

.card-gallery img.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;

  background: rgba(0, 0, 0, .6);
  color: #fff;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-prev:hover,
.gallery-next:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 220px;
}

.card small,
.work small {
  color: var(--gold);
}

.card h3 {
  font-size: 24px;
  margin: 6px 0;
}

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

.project-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(214, 168, 74, .22);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: color .25s ease, border-color .25s ease;
  color: var(--text);
}

.project-request span {
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  transition: transform .25s ease;
}

.project-request:hover {
  color: var(--gold);
  border-color: rgba(214, 168, 74, .55);
}

.project-request:hover span {
  transform: translateX(5px);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 24px;
}

.project-filter {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.project-filter:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.project-filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.card.project-hidden {
  display: none;
}

.quiz-section {
  background: radial-gradient(circle at 85% 15%, rgba(214, 168, 74, .12), transparent 30%), #0d0d0b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quiz-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.quiz-copy h2 {
  max-width: 520px;
}

.quiz-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.quiz-trust span {
  color: var(--gold);
}

.mini-quiz {
  min-height: 460px;
  padding: 28px;
  border: 1px solid rgba(214, 168, 74, .24);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
}

.quiz-progress {
  height: 3px;
  background: rgba(255, 255, 255, .07);
  border-radius: 20px;
  overflow: hidden;
}

.quiz-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(214, 168, 74, .45);
  transition: width .3s ease;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 34px;
  color: var(--muted);
  font-size: 12px;
}

.quiz-meta button {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeUp .25s ease;
}

.quiz-result {
  margin-top: -52px;
}

.quiz-step h3 {
  margin: 0 0 22px;
  font-size: 30px;
  line-height: 1.1;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-branch[hidden] {
  display: none !important;
}

.quiz-options button {
  min-height: 82px;
  padding: 17px;
  text-align: left;
  background: #11110f;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  transition: .2s ease;
}

.quiz-options button:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 168, 74, .5);
  background: rgba(214, 168, 74, .06);
}

.quiz-options small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.quiz-result form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.quiz-result input {
  height: 52px;
  border-radius: 10px;
  border: 1px solid #39362f;
  background: #0a0a09;
  color: white;
  padding: 0 14px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.features strong {
  display: block;
  font-size: 42px;
  color: var(--gold);
}

.features span {
  color: var(--muted);
}

.selling-features p {
  margin: 12px 0 0;
  color: var(--muted);
}

.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.work {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #11110f;
}

.work img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.work>div {
  padding: 18px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.steps li {
  padding: 22px;
  border: 1px solid var(--line);
  background: #0e0e0d;
}

.steps b {
  color: var(--gold);
  font-size: 28px;
}

.steps h3 {
  margin: 14px 0 6px;
}

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

.faq-list {
  max-width: 900px;
  margin-top: 30px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
}

.request {
  background: radial-gradient(circle at 80% 20%, #32230b 0, transparent 36%), #0d0d0b;
}

.request-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
}

.request form {
  display: grid;
  gap: 14px;
  background: #11110f;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 14px;
}

.request label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.request input {
  height: 50px;
  border-radius: 8px;
  border: 1px solid #39362f;
  background: #0a0a09;
  color: white;
  padding: 0 14px;
  font-size: 16px;
}

.form-note {
  font-size: 12px;
  color: #7f786d;
}

.form-msg {
  color: var(--gold);
  margin: 0;
}

.selected-project {
  display: inline-flex;
  margin-top: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(214, 168, 74, .3);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
}

.selected-project strong {
  color: var(--gold);
  margin-left: 5px;
}

.about-section {
  padding: 110px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: .8fr 1px 1.35fr;
  gap: 58px;
  align-items: stretch;
}

.about-intro {
  padding-top: 4px;
}

.about-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.about-brand {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
}

.about-claim {
  margin: 0 0 16px;
  max-width: 340px;
  font-size: 20px;
  line-height: 1.15;
}

.about-copy {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.about-divider {
  width: 1px;
  min-height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(214, 168, 74, .45) 15%, rgba(214, 168, 74, .22) 85%, transparent 100%);
}

.about-story {
  padding: 0 0 4px;
}

.about-title {
  margin: 0 0 22px;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.about-text {
  max-width: 700px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.about-points {
  display: grid;
}

.about-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid rgba(214, 168, 74, .22);
}

.about-point:last-child {
  border-bottom: 1px solid rgba(214, 168, 74, .22);
}

.about-point span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.about-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.about-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: #070706;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid div:last-child {
  display: grid;
  gap: 6px;
  text-align: right;
}

@media(max-width:1050px) {
  .topbar nav {
    display: none;
  }

  .menu {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .topbar nav.open {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: #11110f;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .topbar nav.open a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .topbar nav.open a:last-child {
    border-bottom: 0;
  }
}

@media(max-width:900px) {
  .phone {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .93) 72%);
  }

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

  .benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  .benefit-card {
    min-height: auto;
    padding: 22px;
  }

  .benefit-number {
    margin-bottom: 20px;
  }

  .benefit-card b,
  .benefit-card p {
    max-width: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .section-copy {
    margin: 0;
  }

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

  .quiz-wrap,
  .features,
  .works,
  .request-grid {
    grid-template-columns: 1fr;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
  }

  .about-copy,
  .about-title,
  .about-text {
    max-width: none;
  }

  .about-title br {
    display: none;
  }
}

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

  .topbar {
    padding: 0 14px;
  }

  .brand span {
    font-size: 14px;
  }

  .quiz-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .project-filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .project-filter {
    width: 100%;
  }

  .quiz-copy h2 {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  .quiz-trust>div {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  h1 {
    font-size: 10.5vw;
    line-height: .95;
    max-width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .projects,
  .steps,
  .quiz-options {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats {
    flex-direction: column;
  }

  .mini-quiz {
    padding: 20px;
    min-height: 0;
  }

  .quiz-step h3 {
    font-size: 26px;
  }

  .about-section {
    padding: 72px 0;
  }

  .about-layout {
    gap: 28px;
  }

  .about-brand {
    font-size: 38px;
  }

  .about-title {
    font-size: 36px;
  }

  .about-claim {
    font-size: 18px;
  }

  .about-point {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .footer-grid {
    display: grid;
  }

  .footer-grid div:last-child {
    text-align: left;
  }

  .hero {
    min-height: 760px;
  }
}

/* 404 */

.error-page {
  min-height: 100vh;
}

.error-404 {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
}

.error-404-content {
  padding-top: 70px;
  padding-bottom: 90px;
}

.error-number {
  margin-top: 18px;
  color: var(--gold);
  font-size: clamp(110px, 18vw, 240px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.07em;
}

.error-404 h1 {
  max-width: 900px;
  margin: 38px 0 20px;
  font-size: clamp(46px, 6vw, 78px);
}

.error-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.error-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

@media(max-width:600px) {

  .error-404 {
    min-height: calc(100vh - 92px);
    align-items: flex-start;
  }

  .error-404-content {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .error-number {
    font-size: 120px;
  }

  .error-404 h1 {
    font-size: 38px;
    line-height: 1;
    max-width: 100%;
  }

  .error-text {
    font-size: 16px;
    line-height: 1.5;
  }

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

  .error-actions .btn {
    width: 100%;
  }
}
/* Project collection: scoped black-and-gold redesign. */
#projects { position: relative; padding-top: 90px; padding-bottom: 90px; scroll-margin-top: 85px; }
#projects::before { content: none; }
#projects .catalog-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; margin-bottom: 42px; }
#projects .eyebrow { font-size: 10px; letter-spacing: .22em; margin: 0 0 19px; }
#projects h2 { font-size: clamp(38px,4.5vw,62px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; margin: 0 0 22px; }
#projects h2 em { font-family: Georgia,serif; font-weight: 400; color: #dbb76d; }
#projects .catalog-intro .muted { font-size: 14px; line-height: 1.7; margin: 0; }
.catalog-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 27px 0 22px 34px; border-left: 1px solid #d6a84a38; }
.catalog-proof strong { font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -.06em; color: #e9d5a4; }
.catalog-proof strong span { color: #bda16a; font-size: 25px; letter-spacing: -.03em; }
.catalog-proof p { color: #9f9b91; font-size: 11px; margin: 12px 0 0; max-width: 130px; }
.proof-note { grid-column: 1/-1; color: #79766c; text-transform: uppercase; font-size: 9px; letter-spacing: .17em; }
.catalog-toolbar { border-top: 1px solid #ffffff12; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
#projects .project-filters { margin: 0; gap: 6px; }
#projects .project-filter { min-height: 42px; padding: 10px 17px; font-size: 12px; font-weight: 500; border-radius: 7px; color: #a8a396; border-color: transparent; }
#projects .project-filter:hover { color: #e8c886; border-color: #d6a84a55; }
#projects .project-filter.active { background: #dfbb72; color: #15120b; border-color: #dfbb72; }
#projects .project-filter span { font-size: 10px; margin-left: 12px; opacity: .65; }
.catalog-counter { color: #858075; font-size: 11px; white-space: nowrap; }
#projects .projects { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
#projects .card { background: linear-gradient(135deg,#1c1a15,#11110f 60%); border: 1px solid #3a3428; border-radius: 15px; transition: transform .25s, border-color .25s, box-shadow .25s; }
#projects .card:hover { transform: translateY(-4px); border-color: #9f8047; box-shadow: 0 16px 40px #0005; }
#projects .card-gallery { height: 265px; touch-action: pan-y; }
#projects .card-gallery::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#0003,transparent 35%,#0007); pointer-events: none; }
#projects .card-gallery img { transition: opacity .25s; }
.project-index { position: absolute; top: 16px; left: 16px; z-index: 2; background: #15140ed9; border: 1px solid #ffffff29; border-radius: 5px; padding: 6px 9px; color: #f0e7d3; font-size: 8px; letter-spacing: .14em; backdrop-filter: blur(8px); }
#projects .gallery-prev, #projects .gallery-next { width: 35px; height: 35px; font-size: 24px; background: #11110dbf; border-color: #ffffff50; backdrop-filter: blur(8px); }
#projects .gallery-prev:disabled, #projects .gallery-next:disabled { opacity: .35; cursor: default; color: #fff; border-color: #ffffff50; }
.gallery-count { position: absolute; bottom: 13px; right: 16px; z-index: 2; font-size: 10px; letter-spacing: .13em; color: #fff9ea; padding: 5px 9px; border-radius: 5px; background: #15140ec9; }
#projects .card-body { padding: 24px; min-height: 0; }
#projects .card-body>small { font-size: 9px; color: #b99a61; text-transform: uppercase; letter-spacing: .15em; }
#projects .card h3 { font-size: 29px; font-weight: 500; letter-spacing: -.04em; margin: 5px 0 21px; }
.project-specs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 21px; }
.project-specs>div { display: flex; flex-direction: column; gap: 3px; }
.project-specs>div+div { padding-left: 20px; border-left: 1px solid #ffffff14; }
#projects .project-specs strong { color: #ded9cb; font-size: 18px; font-weight: 500; }
#projects .project-specs strong span { color: #928c7f; font-size: 12px; }
#projects .project-specs small { color: #827e72; font-size: 10px; }
.project-price { border-top: 1px solid #ffffff12; padding-top: 18px; margin-bottom: 19px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.project-price>span { font-size: 10px; color: #999180; max-width: 60px; line-height: 1.4; }
.project-price>strong { font-size: 25px; font-weight: 500; letter-spacing: -.04em; color: #f2e5c7; white-space: nowrap; }
.project-price>strong span { color: #bc9a59; font-size: 19px; }
#projects .project-request { min-height: 49px; padding: 0 7px 0 17px; border: 1px solid #d7b46d; border-radius: 8px; background: linear-gradient(110deg,#e3c384,#ceaa5f); color: #201a10; font-size: 12px; letter-spacing: 0; font-weight: 700; box-shadow: inset 0 1px 0 #fff4; transition: filter .2s; }
#projects .project-request span { display: grid; place-items: center; height: 33px; width: 33px; color: #201a10; border-left: 1px solid #201a1024; font-size: 21px; }
#projects .project-request:hover { filter: brightness(1.12); }
#projects .project-request:hover span { transform: translate(2px,-2px); }
.catalog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; border: 1px solid #d6a84a28; border-radius: 12px; background: linear-gradient(100deg,#d6a84a0a,transparent); padding: 25px 28px; }
.catalog-bottom strong { font-size: 17px; font-weight: 500; }
.catalog-bottom p { margin: 6px 0 0; color: #918b7d; font-size: 12px; max-width: 630px; }
.catalog-bottom a { white-space: nowrap; color: #dfbc77; font-size: 12px; }
.catalog-bottom a span { margin-left: 22px; font-size: 23px; }
.catalog-empty { border: 1px dashed #d6a84a55; padding: 35px; border-radius: 12px; color: #b7b0a4; }
.catalog-empty[hidden] { display: none; }
.catalog-empty a { display: block; margin-top: 12px; color: #dfbc77; }
#projects :focus-visible { outline: 2px solid #e8c886; outline-offset: 4px; }
@media(max-width:1000px) { #projects .catalog-intro { gap: 28px; } .catalog-proof { padding-left: 25px; gap: 18px; } #projects .projects { gap: 16px; } #projects .card-body { padding: 19px; } .project-price>strong { font-size: 21px; } #projects .card-gallery { height: 225px; } }
@media(max-width:800px) { #projects .projects { grid-template-columns: repeat(2,minmax(0,1fr)); } #projects .catalog-intro { grid-template-columns: 1fr; } .catalog-proof { border-left: 0; border-top: 1px solid #d6a84a28; padding: 22px 0 0; grid-template-columns: auto auto 1fr; align-items: center; } .proof-note { grid-column: auto; justify-self: end; } .catalog-counter { display: none; } }
@media(max-width:600px) { #projects { padding-top: 60px; padding-bottom: 60px; } #projects .projects { grid-template-columns: 1fr; gap: 22px; } #projects .catalog-intro { margin-bottom: 25px; } #projects h2 { font-size: 40px; } .desktop-break { display: none; } #projects .catalog-intro .muted { font-size: 13px; } .catalog-proof { grid-template-columns: 1fr 1fr; gap: 16px; } .proof-note { display: none; } .catalog-proof strong { font-size: 35px; } #projects .project-filters { display: flex; flex-wrap: wrap; gap: 5px; } #projects .project-filter { width: auto; font-size: 11px; padding: 10px 13px; } #projects .card-gallery { height: auto; aspect-ratio: 4/3; } #projects .card-body { padding: 23px; } .project-price>strong { font-size: 26px; } .catalog-bottom { align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px; } }
@media(prefers-reduced-motion:reduce) { #projects .card, #projects .card-gallery img, #projects .project-request, #projects .project-request span { transition: none; } #projects .card:hover { transform: none; } }

/* Readability refinement, limited to the project block. */
#projects .catalog-intro { grid-template-columns: 1.65fr 1fr; }
#projects h2 { font-size: clamp(36px,3.5vw,50px); }
#projects .eyebrow { font-size: 13px; }
#projects .catalog-intro .muted { font-size: 18px; color: #d0cabe; line-height: 1.65; }
#projects .catalog-proof p { font-size: 15px; color: #c6bfb2; max-width: 170px; }
#projects .project-filter { font-size: 16px; min-height: 48px; padding: 11px 18px; color: #d1cbbf; }
#projects .card { background: #1a1916; border-color: #494338; }
#projects .card-body>small { font-size: 14px; text-transform: none; letter-spacing: 0; color: #d4b87b; }
#projects .card h3 { font-size: 27px; font-weight: 600; line-height: 1.25; }
#projects .project-specs strong { font-size: 22px; color: #ece7dc; }
#projects .project-specs strong span { font-size: 17px; color: #c9c2b5; }
#projects .project-price { justify-content: flex-start; gap: 8px; }
#projects .project-price>span { font-size: 18px; color: #d0c8b8; }
#projects .project-price>strong { color: #fff3d6; font-size: 29px; font-weight: 600; }
#projects .project-price>strong span { font-size: 23px; }
#projects .project-request { font-size: 17px; min-height: 55px; }
#projects .gallery-count { font-size: 13px; }
#projects .gallery-prev, #projects .gallery-next { width: 44px; height: 44px; }
@media(max-width:1000px) { #projects .card h3 { font-size: 24px; } #projects .project-price>strong { font-size: 25px; } }
@media(max-width:800px) { #projects .catalog-intro { grid-template-columns: 1fr; } #projects .catalog-proof { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { #projects .catalog-intro .muted { font-size: 17px; } #projects .project-filter { font-size: 15px; } #projects .card h3 { font-size: 27px; } }

@media(max-width:600px){.hero-bg{background-image:url('/assets/optimized/hero-800.webp')}}
