*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --pink: #C9538C;
  --plum: #5C1F3B;
  --light: #FAEAF3;
  --mid: #F0D0E4;
  --white: #ffffff;
  --dark: #1a0a12;
  --text: #2d0e1e;
  --mono: 'Roboto Mono', monospace;
  --sans: 'Roboto', sans-serif;
  --page-max: 1100px;
  --page-pad: 2rem;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
  height: 68px;
  background: rgba(26,10,18,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--pink);
}
.nav-brand {
  color: var(--white);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pink); }
.nav-cta {
  background: var(--pink) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #b0437a !important; }

/* HERO */
.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(var(--page-pad), 1fr) minmax(0, calc(var(--page-max) - (var(--page-pad) * 2))) minmax(var(--page-pad), 1fr);
  padding-top: 68px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,10,18,0.96) 0%, rgba(92,31,59,0.82) 42%, rgba(26,10,18,0.36) 72%, rgba(26,10,18,0.12) 100%),
    linear-gradient(to top, rgba(26,10,18,0.82) 0%, rgba(26,10,18,0.18) 42%, transparent 100%);
  z-index: 1;
}
.hero-photo {
  grid-column: 1 / -1;
  grid-row: 1;
  position: absolute;
  inset: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 64% 38%;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,10,18,0.92) 0%, rgba(26,10,18,0.45) 48%, transparent 78%);
}
.hero-content {
  grid-column: 2;
  grid-row: 1;
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-height: 572px;
  padding: 2rem 0 2.75rem;
  max-width: 720px;
  transform: translateY(4.35rem);
}
.hero-logo {
  width: clamp(145px, 14.5vw, 225px);
  height: auto;
  display: block;
  margin-bottom: 1rem;
}
.hero-title {
  width: max-content;
  max-width: 100%;
  font-size: clamp(1.55rem, 3.05vw, 2.06rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0.85rem 0 0.2rem;
  color: var(--white);
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-title .systems {
  color: var(--pink);
}

.hero-title .accent { color: var(--pink); }
.hero-subtitle {
  width: max-content;
  max-width: 100%;
  font-size: clamp(1.62rem, 3.34vw, 2.24rem);
  font-weight: 900;
  color: #7a2d54;
  margin-bottom: 1.5rem;
  font-family: var(--sans);
  letter-spacing: 0.016rem;
  -webkit-text-stroke: 0.006em currentColor;
  line-height: 1.06;
  white-space: nowrap;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--light);
  line-height: 1.65;
  max-width: 100%; 
  margin-bottom: 1.5rem; 
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #b0437a; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border: 1px solid rgba(250,234,243,0.3);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.hero-badges {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 1.75rem;
}
.badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid rgba(201,83,140,0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

/* SECTION BASE */
section { padding: 5rem 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--plum);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}
.section-sub {
  font-size: 1rem;
  color: #6b3050;
  max-width: 560px;
  line-height: 1.65;
}

/* SERVICES */
.services { background: var(--light); }
.services .section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 4px;
  padding: 1.6rem;
  border-top: 3px solid var(--pink);
  box-shadow: 0 2px 10px rgba(92,31,59,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 6px 22px rgba(92,31,59,0.13); transform: translateY(-2px); }
.service-icon { font-size: 1.4rem; margin-bottom: 0.65rem; }
.service-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-card p { font-size: 0.88rem; color: #5a3048; line-height: 1.6; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.85rem; }
.pill {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--light);
  color: var(--plum);
  border: 1px solid var(--mid);
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
}

/* ABOUT */
.about { background: var(--white); padding-top: 2rem; }
.about .section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: 18px;
  display: block;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  right: 10px; bottom: 10px;
  border: 2px solid var(--pink);
  border-radius: 20px;
  z-index: -1;
}
.about-text p {
  font-size: 0.97rem;
  color: #4a2538;
  line-height: 1.78;
  margin-bottom: 1.1rem;
}
.about-text strong { color: var(--plum); }
.cred-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.cred {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--light);
  border: 1px solid var(--mid);
  border-radius: 2px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--plum);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* WORK WITH ME */
.work { background: var(--plum); }
.work .section-title { color: var(--white); }
.work .section-sub { color: var(--mid); max-width: 600px; }
.work .section-eyebrow { color: var(--pink); }
.work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}
.work-steps { list-style: none; }
.work-steps li {
  display: flex; gap: 1.1rem;
  margin-bottom: 1.6rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 1.9rem; height: 1.9rem;
  background: var(--pink);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.step-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
  letter-spacing: 0.03em;
}
.step-text p { font-size: 0.85rem; color: var(--mid); line-height: 1.55; }
.work-cta-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,83,140,0.3);
  border-radius: 4px;
  padding: 2.5rem;
  text-align: center;
}
.work-cta-box p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.work-cta-box .btn-primary {
  font-size: 0.9rem;
  padding: 1rem 2.25rem;
}
.work-cta-box .fine-print {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: rgba(240,208,228,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* CONTACT */
.contact { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--white);
  border-radius: 4px;
  padding: 1.4rem;
  border-left: 3px solid var(--pink);
  box-shadow: 0 2px 8px rgba(92,31,59,0.06);
}
.contact-card .label {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.35rem;
}
.contact-card a, .contact-card span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--plum);
  text-decoration: none;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.3;
}
.contact-card a:hover { color: var(--pink); }

/* FOOTER */
footer {
  background: var(--dark);
  border-top: 2px solid var(--pink);
  padding: 1.75rem 2rem;
  text-align: center;
}
footer p {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(250,234,243,0.55);
  letter-spacing: 0.04em;
}
footer a {
  color: var(--pink);
  text-decoration: none;
}
footer a:hover { color: var(--light); }
footer span { color: var(--pink); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 var(--page-pad); align-items: center; }
  .nav-brand { display: flex; align-items: center; height: 100%; font-size: 0.9rem; line-height: 1; }
  .nav-links { height: 100%; gap: 0.75rem; align-items: center; }
  .nav-links li { height: 100%; align-items: center; }
  .nav-links li:last-child { display: flex; }
  .nav-links li:not(:last-child) { display: none; }
  .nav-cta { display: inline-flex; align-items: center; justify-content: center; line-height: 1; padding: 0.42rem 0.8rem; font-size: 0.68rem !important; letter-spacing: 0.035em; }
  .hero { grid-template-columns: 1fr; min-height: 820px; padding-top: 68px; }
  .hero::before { background: linear-gradient(to bottom, rgba(26,10,18,0.08) 0%, rgba(26,10,18,0.42) 30%, rgba(26,10,18,0.92) 58%, var(--dark) 100%); }
  .hero-photo { grid-column: 1; grid-row: 1; inset: 0 0 auto; height: 55vh; }
  .hero-photo img { object-position: 55% top; }
  .hero-photo::after { background: linear-gradient(to top, var(--dark) 0%, rgba(26,10,18,0.52) 38%, transparent 72%); }
  .hero-content { grid-column: 1; grid-row: 1; align-self: end; min-height: auto; padding: 0 var(--page-pad) 0.9rem; transform: translateY(1.65rem); }
  .hero-logo { width: 128px; margin-bottom: 0.2rem; }
  .hero-title { width: 100%; font-size: 1.36rem; line-height: 1.15; white-space: normal; }
  .hero-subtitle { width: 100%; font-size: 1.5rem; letter-spacing: 0.005rem; white-space: normal; margin-bottom: 1.1rem; }
  .hero-tagline { font-size: 0.94rem; line-height: 1.5; margin-bottom: 1.15rem; }
  .btn-primary, .btn-ghost { font-size: 0.68rem; letter-spacing: 0.055em; padding: 0.72rem 1rem; }
  .badge { font-size: 0.56rem; letter-spacing: 0.055em; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .work-layout { grid-template-columns: 1fr; gap: 2rem; }
}
