:root {
  --bg: #1a1208;
  --panel: #24180c;
  --line: rgba(255, 214, 170, 0.14);
  --text: #f7efe4;
  --mute: #c4b09a;
  --accent: #f0a04b;
  --accent-2: #ffd59a;
  --display: "IBM Plex Serif", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --w: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(240, 160, 75, 0.18), transparent 55%),
    linear-gradient(180deg, #22160b, var(--bg) 40%);
  font: 16.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  background: var(--accent);
  color: #1a1208;
  padding: 10px 14px;
  font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: min(var(--w), calc(100% - 28px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(26, 18, 8, 0.9);
  border-bottom: 1px solid var(--line);
}
.topbar-row {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  text-decoration: none;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.logo span {
  color: var(--accent);
  margin-left: 6px;
  font-size: 0.85rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--mute);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.nav a[aria-current="page"],
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-tel { border: 1px solid var(--line); }
.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 48px 0 36px;
  align-items: stretch;
}
.hero-copy {
  border-left: 4px solid var(--accent);
  padding: 18px 0 18px 22px;
  animation: up 0.7s ease both;
}
.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  margin: 18px 0 0;
  color: var(--mute);
  font-size: 1.08rem;
  max-width: 38rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-fill {
  background: var(--accent);
  color: #1a1208;
}
.btn-fill:hover {
  background: var(--accent-2);
  color: #1a1208;
}
.btn-ghost {
  border-color: var(--line);
  color: #fff;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
  height: 100%;
  border: 1px solid var(--line);
  background: #2a1c10;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  animation: drift 20s ease-in-out infinite alternate;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(26, 18, 8, 0.15), rgba(26, 18, 8, 0.55));
}

.section { padding: 64px 0; }
.section h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
}
.section .intro,
.intro {
  margin: 0 0 28px;
  color: var(--mute);
  max-width: 44rem;
}
.rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rail article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  border-top: 3px solid var(--accent);
}
.rail .num {
  color: var(--accent);
  font-weight: 800;
  font-family: var(--display);
}
.rail h3 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 1.15rem;
}
.rail p {
  margin: 0;
  color: var(--mute);
  font-size: 0.95rem;
}

.stack {
  display: grid;
  gap: 16px;
}
.stack-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.stack-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}
.stack-body {
  padding: 20px 22px;
}
.stack-body .meta {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}
.stack-body h3 {
  margin: 8px 0;
  color: #fff;
}
.stack-body p,
.stack-body li {
  color: var(--mute);
}
.stack-body ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.table-card {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
td { color: #e8dccb; }
td strong { color: #fff; }

.faq-col {
  display: grid;
  gap: 10px;
  max-width: 720px;
}
.faq-col details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.faq-col summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}
.faq-col p {
  margin: 10px 0 0;
  color: var(--mute);
}

.cta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(120deg, #8a4b16, #5c3210 55%, #3d240c);
  margin-bottom: 40px;
}
.cta-bar h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.cta-bar .btn-fill {
  background: #fff;
  color: #1a1208;
}

.page-head {
  padding: 42px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.crumbs {
  color: var(--mute);
  font-size: 13px;
  margin: 0 0 10px;
}
.crumbs a {
  color: inherit;
  text-decoration: none;
}
.page-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
}
.page-head .lead {
  margin-top: 14px;
}

.prose {
  max-width: 44rem;
  padding-bottom: 48px;
}
.prose p { color: var(--mute); }
.prose h2 {
  color: #fff;
  font-family: var(--display);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 56px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--display);
}
.panel li,
.panel p {
  color: var(--mute);
}
.form { display: grid; gap: 10px; }
.form label {
  font-size: 13px;
  font-weight: 700;
}
.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font: inherit;
}
.form button {
  border: 0;
  border-radius: 10px;
  min-height: 48px;
  background: var(--accent);
  color: #1a1208;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.form button:hover { background: var(--accent-2); }
.note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(240, 160, 75, 0.12);
  color: #ffd59a;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 24px;
  background: #120c06;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 22px;
}
.footer-brand {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.footer a,
.footer span,
.footer p {
  display: block;
  color: var(--mute);
  text-decoration: none;
  margin: 6px 0;
}
.footer a:hover { color: var(--accent); }
.footer b { color: #fff; }
.footer-copy {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #8a7a68;
  font-size: 12px;
}

.notfound {
  padding: 100px 0 120px;
  max-width: 36rem;
}
.notfound h1 {
  font-family: var(--display);
  color: #fff;
}

@keyframes up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: scale(1.03); }
  to { transform: scale(1.1) translate(-1%, -1%); }
}

@media (max-width: 900px) {
  .hero-split,
  .rail,
  .stack-item,
  .contact-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    min-height: 280px;
    height: 280px;
  }
  .stack-item img {
    min-height: 200px;
    height: 200px;
  }
  .stack-body { padding: 16px 18px 20px; }
  .nav-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    z-index: 40;
    background: #24180c;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
  .nav.open { display: flex; }
  .cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
