:root {
  --bg: #070809;
  --bg-soft: #121416;
  --panel: rgba(20, 21, 24, 0.84);
  --panel-strong: rgba(12, 13, 15, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f2ef;
  --muted: #9b9b9f;
  --accent: #d7462f;
  --accent-strong: #f46742;
  --glow: 0 32px 90px rgba(173, 41, 24, 0.24);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(212, 71, 47, 0.14), transparent 20%),
    radial-gradient(circle at 75% 32%, rgba(212, 71, 47, 0.1), transparent 24%),
    linear-gradient(180deg, #0c0d0f 0%, #090a0c 52%, #060607 100%);
  font-family: "IBM Plex Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 0 0 42px;
}

.site-header,
.metrics-strip article,
.work-card,
.profile-panel,
.quote-panel,
.timeline article,
.contact-section,
.site-footer {
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 34px 34px;
  background: rgba(20, 21, 24, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong,
.site-nav a,
.header-cta,
.hero-note strong,
.work-card h3,
.timeline h3,
.contact-links a {
  font-family: "Syne", sans-serif;
}

.brand-text strong {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: #cecece;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a:hover,
.footer-links a:hover,
.contact-links a:hover {
  color: var(--accent-strong);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.header-cta,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-cta,
.primary-link {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #120706;
  font-weight: 700;
}

.secondary-link {
  border: 1px solid rgba(244, 103, 66, 0.42);
  color: var(--text);
  background: transparent;
}

.header-cta:hover,
.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100svh - 130px);
  padding: 96px 24px 36px;
}

.hero-welcome {
  margin: 0 0 18px;
  color: #dbdbdd;
  font-size: 1.1rem;
}

.hero-copy h1,
.section-heading h2,
.profile-panel h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  color: var(--accent-strong);
}

.hero-text,
.profile-panel p,
.contact-copy p,
.work-card p,
.timeline p,
.metrics-strip p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 470px;
  margin: 20px 0 0;
  font-size: 1rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
  margin-top: 28px;
}

.hero-stats article {
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(20, 21, 24, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 71, 47, 0.22), transparent 68%);
  filter: blur(10px);
}

.phone-shell {
  position: relative;
  width: min(100%, 360px);
  padding: 22px 14px;
  border: 1px solid rgba(212, 71, 47, 0.2);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(35, 16, 16, 0.82), rgba(15, 12, 13, 0.96));
  box-shadow: var(--glow);
}

.hero-frame {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(212, 71, 47, 0.12);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(31, 15, 15, 0.8), rgba(7, 7, 8, 0.94));
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 12, 0.9));
}

.hero-frame img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: saturate(0.95) contrast(1.03);
}

.hero-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(30, 24, 25, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.display-section {
  padding: 28px 24px 10px;
}

.display-title {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(4rem, 18vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.22);
}

.display-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.metrics-strip span,
.work-index,
.timeline span,
.site-footer p {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.hero-note-top {
  top: 62px;
  left: 18px;
}

.hero-note-bottom {
  left: 18px;
  bottom: 74px;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.metrics-strip article,
.work-card,
.profile-panel,
.quote-panel,
.timeline article,
.contact-section,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

.metrics-strip article {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.metrics-strip strong {
  display: block;
  margin-top: 12px;
  font-family: "Syne", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
}

.section-block {
  padding: 110px 24px 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 700px;
  margin-bottom: 30px;
}

.section-heading h2,
.profile-panel h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}

.work-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-lg);
  min-height: 220px;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.work-card.featured {
  grid-row: span 2;
  min-height: 458px;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(89, 167, 255, 0.08), rgba(8, 15, 28, 0.92)),
    var(--panel-strong);
}

.work-card:hover,
.timeline article:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 211, 255, 0.45);
}

.work-index {
  min-width: 42px;
}

.work-card h3,
.timeline h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.profile-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.profile-panel,
.quote-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.quote-panel {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(101, 170, 255, 0.18), transparent 40%),
    var(--panel-strong);
}

.quote-panel p {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, border-color 220ms ease;
}

.timeline span {
  display: inline-block;
  margin-bottom: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at right top, rgba(79, 176, 255, 0.18), transparent 34%),
    var(--panel-strong);
}

.contact-links {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-links a {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-links a:hover {
  transform: translateX(4px);
  border-color: rgba(138, 211, 255, 0.45);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 80px 24px 0;
  padding: 22px 24px;
  border-radius: 999px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

@media (max-width: 1080px) {
  .hero-section,
  .profile-section,
  .contact-section,
  .work-grid,
  .timeline,
  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual,
  .hero-frame,
  .hero-frame img {
    min-height: 520px;
  }

  .work-card.featured {
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100%, calc(100% - 12px));
    padding-top: 0;
  }

  .site-header {
    top: 8px;
    flex-wrap: wrap;
    border-radius: 0 0 24px 24px;
    padding: 16px 18px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero-section,
  .display-section,
  .section-block {
    padding-left: 12px;
    padding-right: 12px;
  }

  .display-title {
    font-size: clamp(3.5rem, 22vw, 7rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-shell {
    width: min(100%, 320px);
  }

  .hero-frame,
  .hero-frame img {
    min-height: 420px;
  }

  .hero-note-top {
    top: 34px;
    left: 12px;
  }

  .hero-note-bottom {
    left: 12px;
    bottom: 38px;
  }

  .section-block {
    padding-top: 82px;
  }

  .profile-panel,
  .quote-panel,
  .contact-section,
  .work-card,
  .timeline article,
  .metrics-strip article {
    padding: 22px;
  }

  .site-footer {
    margin-left: 12px;
    margin-right: 12px;
    border-radius: 26px;
    flex-direction: column;
    align-items: flex-start;
  }
}
