/* ---------- Base Tokens ---------- */
:root {
  --bg-page: #000000;
  --bg-card: #111111;
  --text-main: #ffffff;
  --text-dim: #999999;
  --accent: #ff2d5a; /* that pink/red in your screenshot */
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --card-border: rgba(255,255,255,0.07);
  --card-shadow: 0 30px 120px rgba(0,0,0,0.8);
  --container-max: 1280px;
  --side-pad: 1.5rem;
  --font-stack: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.5;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
}
.logo-accent {
  color: var(--accent);
}
.logo-dot {
  color: #fff;
}

.main-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity .2s;
}
.main-nav a.active,
.main-nav a:hover {
  opacity: 1;
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -200px;
  min-height: 150vh;
  padding-top: 0px; /* header space */
  display: flex;
  align-items: center;
  background-color: #000;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  width: 150%;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  align-items: center;
  gap: 2rem;
}

.hero-copy .eyebrow {
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-headline {
  font-size: clamp(2.5rem, 1vw + 2rem, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1rem;
}
.hero-headline .accent {
  color: var(--accent);
}

.hero-sub {
  max-width: 32ch;
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 400;
}

.hero-image-wrap {
  position: relative;
  justify-self: end;
  max-width: 400px;
  width: 130%;
}
.hero-image {
  display: block;
  width: 150%;
  margin-left: -100px;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 100;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255,255,255,0) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,1) 80%
  );
  border-radius: var(--radius-lg);
  z-index: 3;
  pointer-events: none;
}

/* ---------- About card overlap ---------- */
/* Trick: pull the about section *up* over the hero using negative margin-top */
.about-card-wrapper {
  position: relative;
  background: transparent;
  margin-top: -120px;  /* <-- this is what creates the overlap look */
  padding-bottom: 4rem;
  z-index: 10; /* above hero image bottom */
}

.about-card {
  background-color: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  padding: 2rem 2rem 3rem;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 2rem;
}

.about-left {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.about-photo img {
  width: 100%;
  max-width: 260px;
  border-radius: var(--radius-lg);
  display: block;
}

.about-right .section-title {
  font-size: clamp(1.75rem, 0.5vw + 1.5rem, 2rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.about-text {
  margin-right: -2rem;
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 650ch;
  margin-bottom: 1.5rem;
}

/* Tabs */
.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1rem;
}

/* Hide panels by default */
.tab-panel {
  display: none;
}

/* Show active panel */
.tab-panel.active {
  display: block;
}


.tab-btn {
  background: none;
  border: 0;
  padding: 0 0 .75rem;
  color: #fff;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  opacity: 0.6;
}
.tab-btn.active,
.tab-btn:hover {
  opacity: 1;
  color: #fff;
}
.tab-btn.active::after,
.tab-btn:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px;
}

.tab-content .tab-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.6;
}

.accent-bar {
  width: 4px;
  height: 24px;
  background-color: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}


/* ---------- Services Section ---------- */
.services-section {
  background-color: #000;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.section-title {
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 0.5vw + 1.25rem, 2rem);
}
.center {
  text-align: center;
}

.section-sub {
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,280px),1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 1.5rem 1.5rem 2rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 40px 160px rgba(0,0,0,0.9);
}

.service-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.service-card p {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.5;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-image-wrap {
    max-width: 300px;
    justify-self: start;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .about-left {
    order: 2;
  }
  .about-right {
    order: 1;
  }
}

/* ---------- Contact Section (Simplified) ---------- */
.contact-section {
  background-color: #000;
  padding-top: 4rem;
  padding-bottom: 6rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  padding: 2rem 2rem 3rem;
  max-width: 600px;
  text-align: center;
}

.contact-tagline {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item h3 {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item p a:hover {
  color: var(--accent);
}
