:root {
  --bg: #ecf2f9;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-dark: #0f1b2d;
  --surface-dark-soft: #18273d;
  --text: #122033;
  --muted: #5c6a7d;
  --line: rgba(18, 32, 51, 0.1);
  --accent: #1f6fff;
  --accent-dark: #134fb9;
  --accent-soft: rgba(31, 111, 255, 0.12);
  --accent-alt: #18a889;
  --shadow: 0 28px 90px rgba(16, 33, 57, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(24, 168, 137, 0.14), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(31, 111, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 45%, #e8eef6 100%);
  font-family: 'Manrope', sans-serif;
  line-height: 1.7;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before {
  content: '';
  position: absolute;
  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: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
}

.ambient-one {
  top: 110px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: rgba(31, 111, 255, 0.16);
}

.ambient-two {
  top: 560px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: rgba(24, 168, 137, 0.12);
}

.topbar,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 44px rgba(14, 30, 52, 0.1);
}

.brand,
h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav a:hover,
.contact-links a:hover {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.66);
}

.nav a.active {
  color: #f7fbff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-soft));
  box-shadow: 0 10px 24px rgba(15, 27, 45, 0.18);
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 120px);
  padding-top: 60px;
}

.hero-copy {
  max-width: 700px;
}

.page-hero {
  display: grid;
  gap: 22px;
  min-height: auto;
  padding-top: 72px;
}

.page-hero-copy {
  max-width: 760px;
}

.design-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 28px;
}

.design-hero-panel,
.design-hero-stats {
  display: grid;
  gap: 18px;
}

.design-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.design-hero-card strong {
  font-size: 1.08rem;
}

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

.design-hero-card-main {
  justify-content: space-between;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(15, 27, 45, 0.96), rgba(24, 39, 61, 0.92)),
    linear-gradient(120deg, rgba(31, 111, 255, 0.24), transparent);
}

.design-hero-card-main h2,
.design-hero-card-main .badge {
  color: #f7fbff;
}

.design-hero-card-main h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0;
}

.design-editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 28px 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 255, 0.9));
  box-shadow: var(--shadow);
}

.design-editorial-copy {
  display: grid;
  gap: 12px;
}

.design-editorial-copy h2,
.editorial-point strong {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.design-editorial-copy p,
.editorial-point span {
  margin: 0;
  color: var(--muted);
}

.design-editorial-points {
  display: grid;
  gap: 16px;
}

.editorial-point {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(18, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
}

.editorial-point strong {
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 13ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.spotlight-card h2,
.contact-card h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 7vw, 5.6rem);
}

.hero-text,
.section-note,
.about-card p,
.skill-card p,
.project-card p,
.article-card p,
.contact-card p,
.highlight-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.85;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 22px rgba(16, 33, 57, 0.06);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--surface-dark), var(--accent-dark));
  color: #f7fbff;
  box-shadow: 0 16px 34px rgba(19, 79, 185, 0.22);
}

.button-secondary {
  border-color: rgba(18, 32, 51, 0.12);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(31, 111, 255, 0.2);
}

.hero-panel,
.about-card,
.spotlight-card,
.contact-card {
  position: relative;
}

.highlight-card,
.about-card,
.skill-card,
.project-card,
.article-card,
.spotlight-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.highlight-card {
  padding: 24px;
}

.highlight-card-main {
  padding: 30px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(15, 27, 45, 0.96), rgba(24, 39, 61, 0.94)),
    linear-gradient(120deg, rgba(31, 111, 255, 0.3), transparent);
  color: #f7fbff;
}

.highlight-label,
.project-status {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.highlight-card-main .highlight-label,
.highlight-card-main h2,
.highlight-card-main p {
  color: inherit;
}

.highlight-card h2 {
  margin: 10px 0 8px;
  font-size: 1.9rem;
  line-height: 1.1;
}

.hero-proof {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 40px rgba(16, 33, 57, 0.08);
}

.hero-proof p {
  margin: 0;
  color: var(--muted);
}

.stats-grid,
.skills-grid,
.projects-grid,
.articles-list,
.section-grid,
.feature-grid,
.catalog-grid {
  display: grid;
  gap: 22px;
}

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

.stats-grid strong,
.skill-card h3,
.project-card h3,
.article-card h3 {
  display: block;
  margin-bottom: 8px;
}

.stats-grid .highlight-card {
  min-height: 160px;
  background: rgba(255, 255, 255, 0.64);
}

.stats-grid .highlight-card strong {
  font-size: 1.02rem;
}

.section-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.section-heading {
  max-width: 680px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  max-width: none;
}

.section-note {
  max-width: 340px;
  margin: 0;
}

.about-card,
.skill-card,
.project-card,
.article-card,
.spotlight-card,
.contact-card {
  padding: 30px;
}

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

.skill-card {
  min-height: 210px;
}

.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.project-showcase-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-showcase-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.project-showcase-media {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(39, 51, 69, 0.08);
  box-shadow: 0 24px 56px rgba(27, 35, 48, 0.18);
}

.project-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-showcase-media:hover img {
  transform: scale(1.03);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.skill-card,
.article-card,
.catalog-card {
  position: relative;
  overflow: hidden;
}

.project-card::before,
.skill-card::before,
.article-card::before,
.feature-card::before,
.catalog-card::before,
.about-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-card:hover::before,
.skill-card:hover::before,
.article-card:hover::before,
.feature-card:hover::before,
.catalog-card:hover::before,
.about-card:hover::before {
  opacity: 1;
}

.project-card:hover,
.skill-card:hover,
.article-card:hover,
.feature-card:hover,
.catalog-card:hover,
.about-card:hover,
.project-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 72px rgba(16, 33, 57, 0.14);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-dark-soft));
  color: #f4f8ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-soft {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.project-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.spotlight {
  padding-top: 12px;
}

.spotlight-card {
  padding: 52px;
  background:
    linear-gradient(135deg, rgba(15, 27, 45, 0.98), rgba(24, 39, 61, 0.92)),
    linear-gradient(120deg, rgba(31, 111, 255, 0.24), transparent);
  color: #f7fbff;
}

.spotlight-card .eyebrow,
.spotlight-card h2 {
  color: inherit;
}

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

.feature-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

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

.catalog-grid-articles {
  gap: 26px;
}

.feature-card,
.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card,
.skill-card,
.project-card,
.article-card,
.project-showcase,
.design-shot {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card-dark {
  background:
    linear-gradient(135deg, rgba(15, 27, 45, 0.98), rgba(24, 39, 61, 0.92)),
    linear-gradient(120deg, rgba(31, 111, 255, 0.24), transparent);
  color: #f7fbff;
}

.feature-card-dark p,
.feature-card-dark li,
.feature-card-dark .eyebrow {
  color: rgba(251, 245, 238, 0.84);
}

.feature-list,
.catalog-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.catalog-card h3,
.feature-card h3 {
  margin: 0;
}

.catalog-card-article {
  padding: 0;
}

.catalog-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf2ff 100%);
}

.catalog-image-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px;
}

.catalog-image-text strong {
  max-width: 12ch;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f8fbff;
}

.catalog-image-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(248, 251, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-image-wattpad {
  background:
    radial-gradient(circle at top right, rgba(255, 220, 190, 0.26), transparent 28%),
    linear-gradient(135deg, #6f2a1d 0%, #c04d2d 48%, #f28b50 100%);
}

.catalog-image-bypulsa {
  background:
    radial-gradient(circle at top right, rgba(173, 232, 244, 0.22), transparent 28%),
    linear-gradient(135deg, #0f1b2d 0%, #165f9a 52%, #2aa0d8 100%);
}

.catalog-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  height: 100%;
}

.catalog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.catalog-date {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.catalog-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
}

.design-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.design-shot-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.design-shot {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.design-shot-copy .badge {
  margin-bottom: 4px;
}

.design-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 72px rgba(16, 33, 57, 0.14);
}

.design-shot-featured img {
  min-height: 100%;
  aspect-ratio: auto;
}

.design-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #e9e1d5;
}

.design-shot-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  justify-content: flex-end;
}

.design-shot-copy h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
}

.design-shot-copy p {
  margin: 0;
  font-size: 0.98rem;
}

.design-profile-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 40px rgba(16, 33, 57, 0.08);
}

.design-profile-note .text-link {
  margin-left: auto;
}

.design-profile-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.design-shot-copy h3,
.design-shot-copy p {
  margin: 0;
}

.design-shot-copy p {
  color: var(--muted);
}

.catalog-card .badge,
.feature-card .badge {
  margin-bottom: 2px;
}

.section-links .article-card {
  min-height: 260px;
}

.contact {
  padding-top: 0;
}

.contact-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 249, 255, 0.9));
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  font-weight: 700;
}

.contact-links-left {
  justify-content: flex-start;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.94rem;
}

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .design-hero-grid,
  .design-editorial,
  .feature-grid,
  .section-grid,
  .skills-grid,
  .project-showcase,
  .projects-grid,
  .articles-list,
  .catalog-grid,
  .design-gallery {
    grid-template-columns: 1fr;
  }

  .design-shot-featured {
    grid-template-columns: 1fr;
  }

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

  .project-showcase,
  .spotlight-card,
  .about-card,
  .skill-card,
  .project-card,
  .article-card,
  .feature-card,
  .catalog-card,
  .contact-card {
    padding: 26px;
  }

  .section-heading-row {
    flex-direction: column;
    align-items: start;
  }

  .design-profile-note .text-link {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
    margin-top: 0;
    width: calc(100% - 24px);
    border-radius: 0 0 24px 24px;
  }

  .topbar,
  .section {
    width: calc(100% - 24px);
  }

  .nav {
    gap: 12px;
    font-size: 0.88rem;
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .design-hero-card,
  .design-editorial {
    padding: 24px;
  }

  .design-shot-copy {
    padding: 20px;
  }

  .design-profile-note {
    align-items: flex-start;
    padding: 18px;
  }

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

  .contact-links,
  .hero-actions,
  .trust-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .nav a,
  .trust-item {
    justify-content: center;
  }
}
