:root {
  --bg: #f7f7f3;
  --ink: #080807;
  --muted: #858581;
  --soft: #e8e8e1;
  --surface: #ffffff;
  --lime: #d9ff3b;
  --red: #ff5a3d;
  --blue: #9eb8ff;
  --mint: #bce6cc;
  --gold: #eecb68;
  --shadow: 0 24px 70px rgba(8, 8, 7, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", Inter, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.site-nav a,
.copy-button,
.profile-mark,
.visual-word,
.project-copy p,
.feed-item p,
.tag-list span {
  font-family: "Oswald", sans-serif;
  letter-spacing: -0.01em;
}

body::selection {
  background: var(--lime);
  color: var(--ink);
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 40;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 16px 20px 0;
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 44px;
  padding: 6px;
  border: 1px solid rgba(8, 8, 7, 0.08);
  border-radius: 8px;
  background: rgba(247, 247, 243, 0.82);
  box-shadow: 0 18px 40px rgba(8, 8, 7, 0.06);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.site-nav a,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav a:hover,
.copy-button:hover,
.copy-button.is-copied {
  background: var(--ink);
  color: var(--surface);
}

.intro {
  position: relative;
  min-height: 74vh;
  padding: 110px 20px 68px;
  display: flex;
  align-items: center;
}

.profile-peek {
  position: absolute;
  top: 96px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 40px);
}

.profile-mark {
  display: inline-block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.profile-note {
  min-width: 0;
  max-width: 300px;
  padding: 14px 16px;
  border: 1px solid var(--soft);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 15px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.profile-peek:hover .profile-note,
.profile-peek:focus-visible .profile-note {
  opacity: 1;
  transform: translateX(0);
}

.hero-title {
  max-width: 1400px;
  margin: 70px auto 0;
  color: var(--ink);
  font-size: 86px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title > span:not(.inline-glyph) {
  display: inline;
  vertical-align: middle;
}

.inline-glyph {
  position: relative;
  display: inline-block;
  width: 82px;
  height: 62px;
  margin: 0 8px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px var(--ink);
  overflow: hidden;
  vertical-align: middle;
}

.glyph-frame {
  position: relative;
  background: var(--surface);
}

.glyph-frame::before,
.glyph-frame::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--ink);
}

.glyph-frame::before {
  width: 32px;
  height: 32px;
  left: 12px;
  top: 14px;
}

.glyph-frame::after {
  width: 18px;
  height: 18px;
  right: 14px;
  bottom: 12px;
  background: var(--red);
}

.glyph-stack {
  position: relative;
  background:
    linear-gradient(90deg, var(--ink) 0 20%, transparent 20% 27%, var(--blue) 27% 58%, transparent 58% 65%, var(--gold) 65% 100%),
    var(--surface);
}

.glyph-stack::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 14px;
  height: 8px;
  border-radius: 999px;
  background: var(--surface);
}

.glyph-dot {
  width: 72px;
  background:
    radial-gradient(circle at 50% 50%, var(--ink) 0 28%, transparent 29%),
    radial-gradient(circle at 50% 50%, var(--lime) 0 48%, transparent 49%),
    var(--surface);
}

.work-section,
.feed-section,
.info-section {
  padding: 0 20px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto 18px;
  color: var(--ink);
}

.section-kicker h2,
.feed-section h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.project {
  max-width: 1400px;
  margin: 0 auto;
}

.project-full {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.project-full .project-visual {
  min-height: 640px;
}

.project-full .project-copy {
  padding: 24px 0 0;
}

.project-center {
  max-width: 1100px;
}

.project-center .project-visual {
  min-height: 520px;
}

.project-side {
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 24px;
  padding: 0 0 120px;
}

.project-reverse {
  grid-template-columns: 2.2fr 4fr;
}

.project-reverse .project-visual {
  order: 2;
}

.project-visual {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(8, 8, 7, 0.07);
  isolation: isolate;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(8, 8, 7, 0.12);
  border-radius: 7px;
  pointer-events: none;
}

.project-visual:hover .visual-word,
.project-visual:focus-visible .visual-word {
  transform: translateY(-6px);
}

.project-copy {
  align-self: end;
  min-width: 0;
  max-width: 100%;
  padding: 20px 0 12px;
}

.project-copy p {
  margin: 0 0 16px;
  max-width: min(640px, 100%);
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.project-copy p span {
  color: var(--muted);
  font-weight: 500;
}

.project-copy a,
.project-links a,
.home-link,
.footer-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.project-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.visual-word {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 4;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 220ms ease;
}

.visual-pawfront {
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8, 8, 7, 0.08) 1px, transparent 1px),
    #f3f0ea;
  background-size: 44px 44px;
}

.visual-skillsage {
  background: #11110f;
  color: var(--surface);
}

.visual-drop {
  background: #e9edf8;
}

.visual-zomato {
  background: #fff1e9;
}

.visual-apps {
  background: #edf8f1;
}

.visual-resume {
  background: #eff1f2;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 40px;
  border: 1px dashed rgba(8, 8, 7, 0.12);
  border-radius: 8px;
  background-image: 
    radial-gradient(circle at center, rgba(8, 8, 7, 0.04) 0 48px, transparent 49px),
    linear-gradient(to top right, transparent 49.7%, rgba(8, 8, 7, 0.06) 49.7%, rgba(8, 8, 7, 0.06) 50.3%, transparent 50.3%),
    linear-gradient(to bottom right, transparent 49.7%, rgba(8, 8, 7, 0.06) 49.7%, rgba(8, 8, 7, 0.06) 50.3%, transparent 50.3%);
  pointer-events: none;
}

.visual-skillsage::after {
  border-color: rgba(255, 255, 255, 0.12);
  background-image: 
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0 48px, transparent 49px),
    linear-gradient(to top right, transparent 49.7%, rgba(255, 255, 255, 0.06) 49.7%, rgba(255, 255, 255, 0.06) 50.3%, transparent 50.3%),
    linear-gradient(to bottom right, transparent 49.7%, rgba(255, 255, 255, 0.06) 49.7%, rgba(255, 255, 255, 0.06) 50.3%, transparent 50.3%);
}

.feed-section {
  max-width: 1440px;
  margin: 0 auto 110px;
}

.feed-section h2 {
  margin-bottom: 18px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.feed-item {
  min-height: 260px;
}

.feed-item:nth-child(1),
.feed-item:nth-child(5) {
  grid-column: span 2;
}

.feed-art {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(8, 8, 7, 0.07);
}

.feed-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.feed-system .feed-art {
  background: #f8f8f5;
}

.feed-flow .feed-art {
  background: #f3f1ea;
}

.feed-mobile .feed-art {
  background: #edf8f1;
}

.feed-data .feed-art {
  background: #ffffff;
}

.feed-study .feed-art {
  background: #fff1e9;
}

.feed-ai .feed-art {
  background: #f4f4ef;
}

.feed-art::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(8, 8, 7, 0.12);
  border-radius: 6px;
  background-image: 
    radial-gradient(circle at center, rgba(8, 8, 7, 0.04) 0 24px, transparent 25px),
    linear-gradient(to top right, transparent 49.7%, rgba(8, 8, 7, 0.06) 49.7%, rgba(8, 8, 7, 0.06) 50.3%, transparent 50.3%),
    linear-gradient(to bottom right, transparent 49.7%, rgba(8, 8, 7, 0.06) 49.7%, rgba(8, 8, 7, 0.06) 50.3%, transparent 50.3%);
  pointer-events: none;
}

.info-section {
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.info-heading {
  padding: 20px 0 42px;
}

.info-heading h2 {
  margin: 16px 0 0;
  font-size: 86px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.info-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 600;
}

.info-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
}

.info-main h3,
.info-block h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.info-main p {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.info-main p + p {
  color: var(--muted);
}

.info-stack {
  display: grid;
  gap: 28px;
}

.info-block {
  border-top: 1px solid var(--soft);
  padding-top: 18px;
}

.info-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-block li {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.info-block li span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(8, 8, 7, 0.08);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px 22px;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  .visual-word,
  .profile-note {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .hero-title,
  .info-heading h2 {
    font-size: 60px;
  }

  .intro {
    min-height: auto;
    padding-top: 130px;
  }

  .profile-peek {
    top: 76px;
  }

  .project-full,
  .project-side,
  .project-reverse,
  .info-layout {
    grid-template-columns: 1fr;
  }

  .project-reverse .project-visual {
    order: 0;
  }

  .project-full,
  .project-side {
    padding-bottom: 72px;
  }

  .project-visual,
  .visual-pawfront {
    min-height: 520px;
  }

  .project-copy {
    padding-top: 0;
  }

  .info-main p {
    font-size: 30px;
  }

  .feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .site-nav a,
  .copy-button {
    padding: 0 9px;
    font-size: 13px;
  }

  .intro {
    display: block;
    padding: 114px 16px 64px;
  }

  .profile-peek {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 34px;
  }

  .profile-mark {
    width: 66px;
    height: 66px;
  }

  .profile-note {
    opacity: 1;
    transform: none;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
  }

  .hero-title {
    margin-top: 0;
    max-width: 358px;
    font-size: 35px;
    line-height: 1.12;
  }

  .hero-title > span:not(.inline-glyph) {
    display: block;
  }

  .inline-glyph {
    display: none;
  }

  .work-section,
  .feed-section,
  .info-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-kicker,
  .project,
  .feed-grid,
  .info-heading,
  .info-layout {
    max-width: 358px;
  }

  .project-visual,
  .visual-pawfront {
    min-height: 370px;
  }

  .project-copy p {
    font-size: 20px;
  }

  .visual-word {
    left: 20px;
    bottom: 18px;
    font-size: 30px;
  }

  .project-visual::after {
    inset: 24px;
  }

  .feed-art::after {
    inset: 12px;
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }

  .feed-item:nth-child(1),
  .feed-item:nth-child(5) {
    grid-column: span 1;
  }

  .info-heading h2 {
    font-size: 50px;
  }

  .info-heading p {
    font-size: 20px;
  }

  .info-main p {
    font-size: 24px;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }
}
