:root {
  --yellow: #ffc500;
  --muted: #a6a6a6;
  --line: #2d2d2d;
  --panel: #171717;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #fff;
  background: #000;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.shell { width: min(936px, calc(100% - 34px)); margin-inline: auto; }

.hero {
  position: relative;
  min-height: 625px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(transparent, #000 82%);
}

.hero-art {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 50%;
  width: 1190px;
  height: 648px;
  transform: translateX(-40%);
  background: url("assets/hero-webdesigner-v2.png") center / cover no-repeat;
}

.hero-shell { position: relative; height: 625px; padding-top: 47px; }

.top-nav { display: flex; align-items: center; gap: 34px; font-size: 8px; font-weight: 500; }
.top-nav a { opacity: .78; transition: opacity .2s ease, transform .2s ease; }
.top-nav a:hover { opacity: 1; transform: translateY(-1px); }
.top-nav .active { padding: 7px 14px; border-radius: 999px; color: #000; background: var(--yellow); font-weight: 800; opacity: 1; }

.tiny-rule { display: flex; align-items: center; gap: 7px; width: 365px; margin-top: 25px; }
.tiny-rule::before { content: ""; width: 17px; height: 17px; border-radius: 2px; border: 5px solid #303030; box-shadow: inset 0 0 0 2px #000; }
.tiny-rule span { flex: 1; height: 1px; background: var(--line); }

.hero-copy { margin-top: 26px; width: 430px; }
.eyebrow { margin: 0 0 9px; color: var(--yellow); font-size: 11px; font-weight: 800; }
.hero h1 { margin: 0; max-width: 420px; font-size: 35px; line-height: 1.16; letter-spacing: -1.6px; font-weight: 800; }
.hero h1 span { color: var(--yellow); }
.bio { margin: 23px 0 0; color: #d1d1d1; font-size: 15px; line-height: 1.38; }
.bio strong { color: #fff; font-weight: 800; }

.scroll-cta {
  position: absolute;
  left: 0;
  top: 469px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 284px;
  padding: 15px 22px;
  border: 1px solid #333;
  border-radius: 999px;
  background: #202020;
  color: #c7c7c7;
  font-size: 12px;
}
.scroll-cta span { display: grid; place-items: center; color: var(--yellow); font-size: 15px; line-height: 1; }

.profile { position: absolute; left: 0; top: 402px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; border: 2px solid var(--yellow); background: url("assets/hero-webdesigner-v2.png") 66% 20% / 320% auto no-repeat; }
.profile-text { display: flex; min-width: 98px; flex-direction: column; line-height: 1.15; }
.profile-text strong { font-size: 11px; }
.profile-text small { color: #7b7b7b; font-size: 8px; }
.brand-circle { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; font-size: 7px; }
.brand-circle.dark { border: 1px solid #333; background: #060606; }
.brand-circle.yellow { color: #000; background: var(--yellow); font-weight: 800; }

.links { padding-top: 0; }
.section-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 27px; }
.section-heading h2 { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 600; }
.down-chip { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 24px; padding: 0 0 1px; border: 1px solid #313131; border-radius: 999px; color: var(--yellow); font-size: 13px; line-height: 1; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { overflow: hidden; border-radius: 16px; background: #171717; transform: translateZ(0); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(255, 197, 0, .1); }

.service-card { position: relative; min-height: 250px; border: 1px solid #292929; background: #090909; isolation: isolate; }
.service-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.94) 38%, rgba(5,5,5,.62) 57%, transparent 79%); }
.service-card::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; box-shadow: inset 0 0 50px rgba(0,0,0,.3); pointer-events: none; }
.service-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.service-card:hover .service-image { transform: scale(1.035); filter: saturate(1.08) contrast(1.02); }
.card-copy { position: relative; z-index: 3; width: 61%; padding: 27px 0 25px 28px; }
.card-kicker { color: var(--accent); font-size: 8px; line-height: 1.1; letter-spacing: 1.25px; font-weight: 800; }
.service-card h3 { margin: 13px 0 9px; font-size: 31px; line-height: .96; letter-spacing: -1.45px; }
.service-card h3 em { color: var(--accent); font-style: normal; }
.service-card p { max-width: 255px; min-height: 44px; margin: 0; color: #d2d2d2; font-size: 13px; line-height: 1.5; text-wrap: balance; }
.card-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 15px; padding: 9px 13px; border-radius: 7px; color: var(--button-text, #000); background: var(--accent); font-size: 9px; font-weight: 800; }
.card-button b { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: var(--accent); background: var(--button-text, #000); font-size: 9px; }

.landing-card { --accent: #ffc500; }

.site-card { --accent: #00e67a; }

.links-card { --accent: #ff5a1f; }

.quote-card { --accent: #68a4ff; --button-text: #06101f; }

.footer { padding-top: 116px; padding-bottom: 45px; text-align: center; }
.footer-rule { width: 100%; margin: 0 0 29px; }
.footer p { margin: 0; color: #888; font-size: 12px; }
.footer p strong { color: #aaa; }
.developer { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 29px; min-height: 44px; border: 1px solid #303030; border-radius: 7px; background: linear-gradient(100deg, #131313, #1a1a1a); color: #d2d2d2; font-size: 12px; }
.developer span, .developer strong { color: var(--yellow); }

@media (max-width: 650px) {
  .shell { width: calc(100% - 34px); }
  .desktop-only, .top-nav { display: none; }
  .hero { min-height: 1040px; }
  .hero-shell { height: 1040px; padding-top: 0; }
  .hero-art { top: 0; left: 50%; width: 690px; height: 455px; transform: translateX(-48%); background-size: cover; background-position: 63% center; }
  .hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 73%, #000 100%); }
  .hero-copy { width: 100%; margin-top: 0; position: absolute; top: 425px; text-align: center; }
  .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .hero h1 { max-width: 400px; margin: auto; font-size: clamp(31px, 8.1vw, 40px); line-height: 1.12; letter-spacing: -1.7px; }
  .bio { max-width: 380px; margin: 27px auto 0; padding-inline: 13px; color: #bdbdbd; font-size: 15px; line-height: 1.38; }
  .tiny-rule { position: absolute; top: 970px; left: 0; width: 100%; margin: 0; }
  .profile { top: 858px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .scroll-cta { top: 760px; left: 50%; width: min(100%, 345px); transform: translateX(-50%); padding-block: 16px; }
  .links { padding-top: 28px; }
  .section-heading { position: relative; display: block; margin: 0 auto 67px; padding-inline: 20px; text-align: center; }
  .section-heading h2 { color: #bbb; font-size: 14px; line-height: 1.5; }
  .down-chip { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { border-radius: 12px; }
  .service-card { min-height: 236px; }
  .service-card::before { background: linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.94) 45%, rgba(5,5,5,.58) 66%, transparent 94%); }
  .card-copy { width: 68%; padding: 25px 0 23px 21px; }
  .card-kicker { font-size: 7.5px; }
  .service-card h3 { font-size: clamp(27px, 8vw, 33px); }
  .service-card p { max-width: 208px; font-size: 12.5px; line-height: 1.48; }
  .card-button { font-size: 8.5px; }
  .footer { padding-top: 63px; padding-bottom: 34px; }
  .footer-rule { position: relative; top: 0; margin-bottom: 55px; }
  .footer p { max-width: 300px; margin-inline: auto; font-size: 12px; line-height: 1.35; }
  .developer { margin-top: 25px; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
