﻿:root {
  --bg: #f4efe7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fff9f2;
  --text: #1a1715;
  --muted: #63584f;
  --line: rgba(26, 23, 21, 0.1);
  --brand: #cf3f2f;
  --brand-dark: #a72d20;
  --gold: #e2a93b;
  --blue: #205a89;
  --shadow: 0 24px 70px rgba(80, 45, 18, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(226, 169, 59, 0.28), transparent 28%),
    radial-gradient(circle at right 10%, rgba(32, 90, 137, 0.22), transparent 24%),
    linear-gradient(180deg, #f8f1e7 0%, #efe4d7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: 0.35;
}

.page-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), #f06b52);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong,
.nav a,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy small {
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  padding: 28px 0 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-dark);
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h1 span {
  display: block;
  color: var(--brand-dark);
}

.hero-text,
.service-card p,
.work-card p,
.experience-card p,
.skill-group p,
.process-list p,
.about-panel p,
.contact-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), #ef7054);
  color: #fff;
  box-shadow: 0 14px 35px rgba(207, 63, 47, 0.25);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

.hero-metrics li {
  min-width: 140px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Space Grotesk", sans-serif;
}

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

.hero-card,
.service-card,
.work-card,
.experience-card,
.skill-group,
.about-panel,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 169, 59, 0.5), transparent 68%);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #24a148;
  box-shadow: 0 0 0 6px rgba(36, 161, 72, 0.12);
}

.service-panel {
  margin-top: 26px;
}

.service-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.service-panel h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}

.service-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.service-list article {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(26, 23, 21, 0.08);
}

.service-list span {
  flex: 0 0 auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
}

.service-list h3 {
  margin: 0 0 6px;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 14px;
  margin: 12px 0 56px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.logos-strip span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--muted);
}

section {
  margin-bottom: 72px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.services-grid,
.work-grid,
.process-list,
.experience-grid,
.skills-grid {
  display: grid;
  gap: 20px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-grid,
.experience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skills-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.work-card,
.experience-card,
.skill-group,
.process-list article {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.service-card h3,
.work-card h3,
.experience-card h3,
.skill-group h3,
.process-list h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.work-tag {
  margin: 0 0 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.stack {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.accent-red {
  background: linear-gradient(180deg, rgba(255, 243, 240, 0.95), rgba(255, 255, 255, 0.7));
}

.accent-gold {
  background: linear-gradient(180deg, rgba(255, 249, 234, 0.95), rgba(255, 255, 255, 0.7));
}

.accent-blue {
  background: linear-gradient(180deg, rgba(237, 246, 255, 0.95), rgba(255, 255, 255, 0.7));
}

.process-list article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #ef7054);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.about-panel,
.contact-card {
  border-radius: var(--radius-xl);
  padding: 34px;
}

.about-panel h2,
.contact-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .services-grid,
  .process-list,
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid,
  .hero,
  .contact-card,
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }

  h1 {
    font-size: clamp(2.5rem, 16vw, 4.5rem);
  }

  .services-grid,
  .process-list,
  .skills-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .service-card,
  .work-card,
  .experience-card,
  .skill-group,
  .about-panel,
  .contact-card,
  .process-list article {
    padding: 22px;
  }

  .logos-strip {
    border-radius: 26px;
    justify-content: flex-start;
  }
}
