:root {
  --bg: #f6f1e8;
  --bg-soft: #fffaf2;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --surface-tint: #f2eade;
  --text: #172033;
  --text-soft: #556076;
  --line: rgba(23, 32, 51, 0.1);
  --line-strong: rgba(23, 32, 51, 0.18);
  --accent: #3458f6;
  --accent-soft: #dbe3ff;
  --accent-deep: #1d2f85;
  --coral: #f0845c;
  --gold: #d7a13f;
  --sage: #77a78b;
  --shadow: 0 22px 55px rgba(25, 32, 54, 0.1);
  --shadow-strong: 0 32px 80px rgba(25, 32, 54, 0.14);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(52, 88, 246, 0.12), transparent 30%),
    radial-gradient(circle at 85% 14%, rgba(240, 132, 92, 0.12), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(119, 167, 139, 0.13), transparent 30%),
    linear-gradient(180deg, #fff9f1 0%, var(--bg) 54%, #f4efe6 100%);
  font-family: "Manrope", sans-serif;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(28, 36, 58, 0.08);
}

.brand,
.brand-copy,
.header-panel,
.site-nav,
.header-actions,
.hero-actions,
.hero-points,
.credibility-strip,
.contact-meta {
  display: flex;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(145deg, #2f54f0, #f0845c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 22px rgba(47, 84, 240, 0.24);
}

.brand-copy {
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-copy small,
.text-link,
.site-nav a,
.section-intro,
.lede,
.workflow-card p,
.project-copy p,
.project-points li,
.chip-list li,
.timeline-item p,
.info-card p,
.social-card p,
.contact-card p {
  color: var(--text-soft);
}

.site-nav,
.header-actions {
  align-items: center;
  gap: 18px;
}

.header-panel {
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.site-nav a,
.text-link {
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--accent-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #3559f7, #2743c4);
  box-shadow: 0 18px 34px rgba(52, 88, 246, 0.24);
}

.button-secondary,
.button-tertiary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

.button-tertiary {
  width: max-content;
}

.section {
  padding: 96px 0;
}

.section-grid,
.workflow-layout,
.experience-layout,
.insight-grid,
.contact-card {
  display: grid;
  gap: 36px;
}

.section-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  padding: 88px 0 52px;
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.info-card h3,
.experience-summary h3,
.social-card h3,
.project-copy h3,
.workflow-card h3,
.skill-panel h3 {
  margin: 0;
  color: var(--text);
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.info-card h3 {
  font-family: "Fraunces", serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

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

.hero-copy h1 span {
  color: var(--accent-deep);
}

.section-heading h2,
.contact-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede,
.section-intro,
.contact-card p,
.experience-summary > p,
.info-card p,
.social-card p,
.project-copy p,
.workflow-card p {
  font-size: 1rem;
  line-height: 1.75;
}

.lede {
  max-width: 58ch;
  margin: 20px 0 0;
}

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

.hero-points {
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.hero-points li,
.project-tag,
.chip-list li {
  padding: 10px 14px;
  border: 1px solid rgba(52, 88, 246, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-frame,
.workflow-visual-card,
.project-card,
.skill-panel,
.experience-summary,
.experience-visual,
.info-card,
.social-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 242, 232, 0.78));
  backdrop-filter: blur(16px);
}

.hero-frame {
  width: min(100%, 560px);
  margin-left: auto;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.portrait-frame {
  max-width: 500px;
  background: linear-gradient(180deg, rgba(22, 27, 40, 0.96), rgba(39, 42, 56, 0.96));
}

.portrait-frame img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
}

.floating-card {
  position: absolute;
  max-width: 260px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.floating-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.card-review {
  left: 0;
  bottom: 70px;
}

.card-domains {
  right: 0;
  top: 70px;
}

.mini-label,
.contact-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shadow-large {
  box-shadow: var(--shadow-strong);
}

.credibility-strip {
  gap: 18px;
  padding: 0 0 36px;
}

.signal-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.signal-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
}

.signal-card span {
  color: var(--text-soft);
  line-height: 1.6;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

.section-heading-split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
}

.section-intro {
  margin: 0;
}

.workflow-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.workflow-visual-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  position: sticky;
  top: 118px;
}

.workflow-steps {
  display: grid;
  gap: 16px;
}

.workflow-card {
  padding: 24px 24px 24px 82px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.workflow-card:hover,
.project-card:hover,
.skill-panel:hover,
.social-card:hover,
.info-card:hover,
.signal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(28, 36, 58, 0.12);
  border-color: rgba(52, 88, 246, 0.18);
}

.step-number {
  position: absolute;
  top: 22px;
  left: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52, 88, 246, 0.12), rgba(240, 132, 92, 0.16));
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
}

.workflow-card h3,
.project-copy h3,
.skill-panel h3,
.experience-summary h3,
.social-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  display: block;
  grid-column: span 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.project-card-link {
  color: inherit;
}

.project-card-featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.project-image-wrap {
  padding: 18px 18px 0;
}

.project-image-wrap img {
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(219, 227, 255, 0.7), rgba(255, 255, 255, 0.55));
}

.project-copy {
  padding: 22px 22px 26px;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.project-card-link:hover .project-cta {
  color: var(--accent);
}

.project-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.project-points {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 18px 0 0;
}

.project-points li {
  line-height: 1.65;
}

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

.skill-panel,
.social-card,
.info-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.skill-panel.skill-ai {
  background:
    radial-gradient(circle at top right, rgba(52, 88, 246, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(232, 239, 255, 0.98), rgba(255, 255, 255, 0.94));
  border-color: rgba(52, 88, 246, 0.18);
}

.skill-panel.skill-ux {
  background:
    radial-gradient(circle at top right, rgba(240, 132, 92, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 239, 232, 0.98), rgba(255, 255, 255, 0.94));
  border-color: rgba(240, 132, 92, 0.2);
}

.skill-panel.skill-tools {
  background:
    radial-gradient(circle at top right, rgba(119, 167, 139, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(233, 245, 238, 0.98), rgba(255, 255, 255, 0.94));
  border-color: rgba(119, 167, 139, 0.22);
}

.skill-panel.skill-ai .chip-list li {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(52, 88, 246, 0.18);
}

.skill-panel.skill-ux .chip-list li {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(240, 132, 92, 0.2);
}

.skill-panel.skill-tools .chip-list li {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(119, 167, 139, 0.24);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.experience-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.experience-summary,
.experience-visual {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.timeline {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--coral));
  box-shadow: 0 0 0 6px rgba(52, 88, 246, 0.08);
}

.timeline-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.timeline-item p {
  margin: 0;
}

.experience-visual {
  display: grid;
  gap: 18px;
  align-content: start;
}

.experience-note {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(52, 88, 246, 0.12);
}

.experience-note p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-soft);
}

.insight-grid {
  grid-template-columns: 0.75fr 1.25fr;
}

.social-top {
  height: 120px;
  margin-bottom: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.social-linkedin {
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.52), transparent 16%),
    linear-gradient(135deg, #d9e6ff, #a5c0ff 50%, #f6f8ff);
}

.social-instagram {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.44), transparent 16%),
    linear-gradient(135deg, #ffe6d2, #ffb89c 45%, #ffd7f1);
}

.social-behance {
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.4), transparent 16%),
    linear-gradient(135deg, #e2e8ff, #a8b8ff 46%, #eef2ff);
}

.social-medium {
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.46), transparent 16%),
    linear-gradient(135deg, #dff5ea, #a6d6bf 42%, #edf8f1);
}

.contact-card {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  padding: 32px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 88, 246, 0.16), transparent 70%);
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  max-width: 14ch;
}

.contact-meta {
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.contact-meta > div {
  flex: 1 1 220px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(52, 88, 246, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.contact-meta strong {
  display: block;
  line-height: 1.6;
}

.contact-visual {
  display: grid;
  align-items: center;
}

body.motion-safe .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@media (max-width: 1100px) {
  .site-header {
    border-radius: 28px;
  }

  .section-grid,
  .workflow-layout,
  .experience-layout,
  .insight-grid,
  .contact-card,
  .project-card-featured,
  .section-heading-split {
    grid-template-columns: 1fr;
  }

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

  .hero-frame {
    margin: 0 auto;
  }

  .card-review,
  .card-domains {
    position: static;
    margin-top: 18px;
    max-width: none;
  }

  .workflow-visual-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px;
    gap: 14px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 68px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy small {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .header-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 6px;
  }

  .header-panel.is-open {
    display: flex;
  }

  .site-nav,
  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav a,
  .header-actions .text-link,
  .header-actions .button {
    width: 100%;
    justify-content: center;
  }

  .site-nav a,
  .header-actions .text-link {
    padding: 14px 16px;
    border: 1px solid rgba(23, 32, 51, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
  }

  .credibility-strip,
  .skills-grid,
  .social-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .project-card,
  .project-card-featured {
    grid-column: span 12;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .site-header {
    top: 8px;
    padding: 14px;
  }

  .brand-copy small {
    max-width: 22ch;
  }

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

  .section-heading h2,
  .contact-copy h2,
  .info-card h3 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-frame,
  .workflow-visual-card,
  .skill-panel,
  .social-card,
  .info-card,
  .experience-summary,
  .experience-visual,
  .contact-card,
  .project-card {
    border-radius: 26px;
  }

  .hero-frame,
  .workflow-visual-card,
  .experience-summary,
  .experience-visual,
  .skill-panel,
  .social-card,
  .info-card,
  .contact-card {
    padding: 20px;
  }

  .project-copy {
    padding: 18px 18px 22px;
  }

  .workflow-card {
    padding: 74px 18px 20px;
  }

  .step-number {
    left: 18px;
  }

  .contact-meta {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body.motion-safe .reveal {
    opacity: 1;
    transform: none;
  }
}
