:root {
  --bg: #0b0b0b;
  --panel: #121212;
  --elev: #1a1a1a;
  --text: #eaeaea;
  --muted: #b8b8b8;
  --brand: #e63a2e;
  --brand-2: #ff6b57;
  --line: #262626;
  --header-height: 92px;
  --footer-height: 64px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(
    0deg,
    rgba(12, 12, 12, 0.85),
    rgba(12, 12, 12, 0.95)
  );
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  height: var(--header-height);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
}
.brand .title {
  font-weight: 800;
  letter-spacing: 0.4px;
}
.brand .sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: -6px;
}
nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  color: var(--muted);
}
nav a:hover,
nav a.active {
  background: #191919;
  color: var(--text);
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  nav ul {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    background: #0f0f0f;
    border-top: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 18px;
    display: none;
  }
  nav ul.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #141414;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1200px 400px at 60% -10%,
      rgba(230, 58, 46, 0.18),
      transparent 60%
    ),
    #0b0b0b;
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
}
@media (max-width: 1000px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}
.hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  margin: 0 0 10px;
}
.hero p {
  color: var(--muted);
  margin: 0 0 16px;
}
.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border: none;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.button.secondary {
  background: #1b1b1b;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 44px;
}
@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
}
.card ul {
  margin: 10px 0 0 18px;
  color: var(--muted);
}
.kv {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
}
.kv .key {
  width: 210px;
  color: var(--muted);
}
.kv .val {
  font-weight: 600;
}
.main-fill {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}
/* === GALLERY (replace this whole block) === */
.gallery {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: clamp(320px, 56vw, 680px); /* responsive height */
}

/* slides */
.gallery .slide {
  position: absolute;
  inset: 0;
  opacity: 0; /* hidden until active */
  transition: opacity 0.35s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain; /* fits entire image; change to cover for full-bleed */
  background-color: #0f0f0f;
  border-radius: 12px;
}
.gallery .slide.active {
  opacity: 1;
}

.gallery .ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  background: #141414cc;
  border: 1px solid var(--line);
  color: #eaeaea;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  font-size: 28px;
  line-height: 1;
}
.gallery .ctrl.left {
  left: 16px;
}
.gallery .ctrl.right {
  right: 16px;
}

/* NEW: play/pause button (bottom-left) */
.gallery .ctrl.playpause {
  top: auto;
  bottom: 16px;
  left: 16px;
  transform: none;
  font-size: 22px;
  padding: 10px 12px;
}

/* dots */
.gallery .dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.gallery .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #777;
  cursor: pointer;
  opacity: 0.7;
}
.gallery .dot.active {
  background: var(--brand);
  opacity: 1;
}

/* caption under the gallery */
.caption-row {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.lead {
  color: var(--muted);
  max-width: 78ch;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 1000px) {
  .columns {
    grid-template-columns: 1fr;
  }
}
form {
  display: grid;
  gap: 12px;
}
.input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #151515;
  color: var(--text);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
footer {
  height: var(--footer-height);
  border-top: 1px solid var(--line);
  background: #0e0e0e;
}
.footer-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
small {
  color: var(--muted);
}
.icons {
  display: flex;
  gap: 12px;
}
.icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.icon:hover {
  border-color: #444;
}

/* Make email/LinkedIn links pop on dark header/footer */
a[href^="mailto:"],
a[href*="linkedin"] {
  color: #fff;
}
a[href^="mailto:"]:hover,
a[href*="linkedin"]:hover {
  color: var(--brand);
}
/* If those icons are inline SVGs: */
.icons .icon svg * {
  stroke: #fff !important;
}
.icons .icon:hover svg * {
  stroke: var(--brand) !important;
}
