/* =============================================
   CUSTOM CURSOR
   ============================================= */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #1A1A1A;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: -3px;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(26,26,26,0.3);
  border-radius: 50%;
  position: absolute;
  top: -18px;
  left: -18px;
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1),
              height 0.3s cubic-bezier(0.16,1,0.3,1),
              top 0.3s cubic-bezier(0.16,1,0.3,1),
              left 0.3s cubic-bezier(0.16,1,0.3,1);
}

body.intro-active .custom-cursor .cursor-dot,
.custom-cursor.cursor-light .cursor-dot {
  background: var(--orange);
}

body.intro-active .custom-cursor .cursor-ring,
.custom-cursor.cursor-light .cursor-ring {
  border-color: rgba(255,160,29,0.4);
}

/* Fallback: when intro loader is visible, force orange cursor */
.intro-loader:not([style*="display: none"]) ~ .custom-cursor .cursor-dot {
  background: var(--orange) !important;
}

.intro-loader:not([style*="display: none"]) ~ .custom-cursor .cursor-ring {
  border-color: rgba(255,160,29,0.4) !important;
}

.custom-cursor.cursor-light .cursor-ring {
  border-color: rgba(255,255,255,0.4);
}

.custom-cursor.cursor-light.cursor-hover .cursor-ring {
  border-color: rgba(255,255,255,0.7);
}

.custom-cursor.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: rgba(26,26,26,0.5);
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor { display: none !important; }
}

body.has-custom-cursor, body.has-custom-cursor * {
  cursor: none !important;
}

/* =============================================
   INTRO LOADER
   ============================================= */
.intro-loader {
  position: fixed;
  inset: 0;
  background: #1a1a1a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 1, 1);
}

.intro-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-words {
  display: flex;
  align-items: center;
  gap: 1.25em;
  animation: wordsEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-words.exit {
  animation: wordsExit 0.8s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

.intro-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffa01d;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.intro-dot.visible {
  opacity: 1;
}

.intro-text {
  font-family: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  color: #fdfaf5;
  letter-spacing: -0.03em;
  margin: 0;
  white-space: nowrap;
}

@keyframes wordsEnter {
  from { opacity: 0; transform: translateY(50%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wordsExit {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-75%); }
}

/* Main content hidden until intro finishes */
.site-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.site-content.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #ffa01d;
  --dark: #1a1a1a;
  --mid: #555;
  --light: #f7f4ef;
  --cream: #fdfaf5;
  --paper: #f2ede4;
  --font-main: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-sans: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: #ffffff;
  overflow-x: hidden;
}

/* =============================================
   NOTEBOOK TEXTURE BACKGROUND
   ============================================= */

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px 20px 120px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--dark);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  text-decoration: none;
  color: var(--mid);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  z-index: 8999;
  flex-direction: column;
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--orange);
}

.nav-profile {
  cursor: pointer;
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.profile-avatar {
  animation: pulse-glow 2s ease-in-out infinite;
}

.profile-avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(255,160,29,0.5);
  animation: none;
}

/* When panel is open, show X instead of headshot */
.nav-profile.panel-open .profile-avatar {
  display: none;
}

.nav-profile .close-x {
  display: none;
}

.nav-profile.panel-open .close-x {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #1A1A1A;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  transition: color 0.2s;
}

.nav-profile.panel-open .close-x:hover {
  color: var(--orange);
}

.nav-profile.panel-open .profile-bubble {
  display: none !important;
}

.nav-profile.panel-open .profile-avatar {
  animation: none;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,160,29,0); }
  50% { box-shadow: 0 0 18px 6px rgba(255,160,29,0.45); }
}

/* About Me bubble */
.profile-bubble {
  position: absolute;
  top: 50px;
  right: 0;
  background: var(--dark);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  animation: bubblePop 6s ease-in-out infinite;
  animation-delay: 3s;
}

.profile-bubble::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: var(--dark);
  transform: rotate(45deg);
}

@keyframes bubblePop {
  0%, 100% { opacity: 0; transform: translateY(-4px); }
  15%, 35% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0; transform: translateY(-4px); }
}

.nav-profile { position: relative; }

/* =============================================
   ABOUT PANEL — Shruti exact system
   Labels:    Satoshi 600 uppercase #8A8278  (muted)
   Titles:    Clash Display 300 #1A1A1A      (light elegant)
   Bold text: Satoshi 600 #1A1A1A            (strong statements)
   Body:      Satoshi 400 #4A4540            (secondary warm gray)
   Subtle:    Satoshi 400 #8A8278            (dates, captions)
   ============================================= */
.about-overlay {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26,26,26,0.5);
  z-index: 9050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.about-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.about-panel {
  position: fixed;
  top: 76px;
  right: 0;
  width: min(600px, 100vw);
  height: calc(100vh - 76px);
  background: #FAFAFA;
  z-index: 9100;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.1);
}

.about-panel.active { transform: translateX(0); }

.about-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  font-size: 22px;
  font-family: 'DM Sans', sans-serif;
  color: #8A8278;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color 0.2s;
}
.about-close:hover { color: #1A1A1A; }

/* Sticky top bar */
.about-topbar {
  position: relative;
  padding: 32px 40px 0;
  background: #FAFAFA;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  flex-shrink: 0;
}

/* Scrollable area */
.about-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 40px 64px;
  scroll-behavior: smooth;
}

/* Sections */
.about-section {
  padding: 32px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-section:last-child { border-bottom: none; }

/* Label — Satoshi 600 uppercase muted (like .case-study__category) */
.about-section-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8278;
}

/* ── Header ── */
.about-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
}

.about-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  justify-content: center;
  flex-shrink: 0;
}

/* Name — bold, dark */
.about-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 3px;
}

/* Role — Satoshi 400 soft */
.about-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #4A4540;
  line-height: 1.5;
  margin-bottom: 3px;
}

.about-location {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Jump links */
.about-jumps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 18px;
}

.about-jump {
  padding: 5px 13px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #4A4540;
  text-decoration: none;
  transition: all 0.2s;
}
.about-jump:hover { border-color: var(--orange); color: var(--orange); }

/* Lead — same as body but slightly larger */
.about-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #2A2A2A;
}

/* Body — dark, clearly readable */
.about-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #2A2A2A;
}

/* ── EXPERIENCE ── */
.exp-role {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.exp-role:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.exp-role-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2px;
}

/* Role title — BLACK and BOLD */
.about-section .exp-role-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.3;
}

/* Date — gray, right aligned */
.about-section .exp-role-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Company — gray, under the title */
.about-section p.exp-company {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  margin-bottom: 10px;
}

.exp-role ul { padding-left: 14px; }

/* Bullets — dark, readable */
.exp-role ul li {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #2A2A2A;
  margin-bottom: 4px;
}

/* ── SKILLS ── */
.skills-group { margin-bottom: 20px; }

/* Group label — same label style */
.skills-group h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8278;
  margin-bottom: 10px;
}

.skills-tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* Chips — Satoshi 500 on canvas-dark (like .about-skill-tag) */
.skills-tags span {
  font-family: 'DM Sans', sans-serif;
  padding: 5px 13px;
  background: #F0EDE8;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1A1A1A;
}

/* ── EDUCATION ── */
.edu-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.edu-item:last-child { border-bottom: none; }

.edu-icon { color: var(--orange); font-size: 12px; margin-top: 5px; flex-shrink: 0; }

/* Institution — label style */
.edu-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8278;
  margin-bottom: 4px;
}

/* Degree — bold black like role titles */
.about-section p.edu-degree {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 4px;
  line-height: 1.3;
}

/* Detail — regular weight, dark readable */
.edu-detail {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #2A2A2A;
}

/* =============================================
   PROJECT OVERLAY PAGE
   ============================================= */
.project-overlay {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 8998;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.project-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.project-back {
  position: fixed;
  top: 88px;
  left: 32px;
  z-index: 8999;
  padding: 8px 16px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  mix-blend-mode: normal;
}

.project-back:hover {
  background: rgba(255,255,255,0.9);
  color: var(--orange);
}

.project-page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px 100px;
}

.project-hero-section {
  margin-bottom: 48px;
}

.project-hero-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.project-meta {
  margin-bottom: 16px;
}

.project-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.project-details {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.detail-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8278;
  margin-bottom: 4px;
}

.detail-value {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
}

.detail-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.detail-tools span {
  font-family: 'DM Sans', sans-serif;
  padding: 5px 13px;
  background: #F0EDE8;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1A1A1A;
}

.project-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A8278;
  margin-bottom: 16px;
}

.project-scope {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1A1A1A;
  margin-bottom: 24px;
}

.video-thumbnail {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.02);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  padding-left: 4px;
  transition: background 0.2s;
}

.video-thumbnail:hover .video-play-btn {
  background: rgba(255,160,29,0.9);
}

.project-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: #4A4540;
  margin-bottom: 16px;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1A1A1A;
  margin-top: 24px;
  margin-bottom: -14px;
}

.project-img-full {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.project-img-wide {
  width: 100%;
  display: block;
}

.project-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-subheading {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #8A8278;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-trio {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 40px;
  align-items: start;
}

.logo-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-item .logo-label {
  align-self: flex-start;
}

.logo-item:first-child img {
  max-width: 85%;
}

.logo-item-vcenter {
  height: 100%;
}

.logo-item-vcenter img {
  margin-top: auto;
  margin-bottom: auto;
}

.logo-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.logo-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8278;
  margin-bottom: 10px;
  display: block;
}

.project-img-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.project-img-trio img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.project-img-pair img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Systems auto-cycling sequence */
.systems-sequence {
  margin: 16px 0;
  text-align: center;
}

.systems-display {
  width: 100%;
  border-radius: 8px;
  display: block;
  transition: opacity 0.6s ease;
}

.systems-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8278;
  margin-top: 12px;
  transition: opacity 0.4s ease;
}

/* Scrollable browser hero */
.browser-hero {
  margin-bottom: 48px;
}

.browser-scroll-window {
  max-height: 500px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.browser-scroll-window::-webkit-scrollbar {
  width: 6px;
}

.browser-scroll-window::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.browser-scroll-window::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.browser-scroll-window::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Problem / Solution cards */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.ps-card {
  padding: 24px 28px;
  border-radius: 12px;
  background: #F9F7F4;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ps-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #4A4540;
}

.ps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #4A4540;
  padding-left: 16px;
  position: relative;
}

.ps-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8A8278;
}

.ps-card .ps-bold {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid #1A1A1A;
}

.ps-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.ps-feature-card {
  background: white;
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ps-feature-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: white;
  background: #1A1A1A;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ps-feature-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.ps-feature-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #4A4540;
}

/* Booking grid — 2x2 phone mockups */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.booking-phone {
  text-align: center;
}

.booking-phone img {
  width: 100%;
  display: block;
}

.booking-step-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #8A8278;
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .booking-grid { grid-template-columns: 1fr; max-width: 300px; }
}

/* Impact cards */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.impact-card {
  background: #1A1A1A;
  border-radius: 12px;
  padding: 28px 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.impact-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}

.impact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.impact-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .ps-features-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .logo-trio { grid-template-columns: 1fr; gap: 32px; max-width: 60%; }
}

/* Browser mockup */
.browser-mockup-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: white;
  margin-bottom: 24px;
}

.browser-bar {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  background: #F5F5F5;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 10px;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }

.browser-url {
  flex: 1;
  text-align: center;
  padding: 3px 14px;
  background: white;
  border-radius: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #8A8278;
  border: 1px solid rgba(0,0,0,0.06);
}

.browser-screenshot {
  width: 100%;
  display: block;
}

/* Visit site button */
.project-visit-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #1A1A1A;
  color: white;
  text-decoration: none;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: background 0.2s;
  margin-top: 0;
}

.project-visit-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* =============================================
   SECTIONS — BASE
   ============================================= */
.section {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding: 48px 48px 48px 120px;
  scroll-margin-top: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: radial-gradient(circle, rgba(160, 140, 100, 0.22) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section + .section {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header {
  margin-bottom: 32px;
  max-width: 560px;
}

.section-header h2 {
  font-family: var(--font-main);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: normal;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
}

/* =============================================
   HERO
   ============================================= */
.section-hero {
  background: #ffffff;
  padding-top: 140px;
  padding-left: 120px;
  min-height: 100vh;
}

/* Say Hello layout */
#contact.section {
  padding-top: 32px;
  padding-bottom: 24px;
}

.sayhello-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.sayhello-text {
  flex: 0 1 auto;
}

.sayhello-text h2 {
  color: white;
  font-family: var(--font-main);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: normal;
  margin-bottom: 16px;
}

.sayhello-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  max-width: 500px;
}

.contact-sticker-wrap {
  position: relative;
  width: 380px;
  flex-shrink: 0;
  margin-left: 40px;
}

.contact-sticker {
  width: 100%;
  transform: rotate(-2deg);
  transition: opacity 0.3s ease;
}

.sticker-waving {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.contact-sticker-wrap:hover .sticker-default {
  opacity: 0;
}

.contact-sticker-wrap:hover .sticker-waving {
  opacity: 1;
}

.copyright {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 32px;
}

@media (max-width: 768px) {
  .sayhello-layout { flex-direction: column; align-items: center; }
  .sayhello-text { text-align: left; width: 100%; }
  .contact-sticker-wrap { width: 300px !important; margin-top: 32px !important; margin-left: 0 !important; }
  .contact-sticker { transform: none !important; }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #8A8278;
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8A8278;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.hero-blurb {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #4A4540;
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-content {
  max-width: 900px;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero-title em {
  font-style: italic;
  color: var(--orange);
}

.hero-sub {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--dark);
  color: white;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  border-radius: 40px;
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.hero-doodle {
  position: absolute;
  bottom: 80px;
  right: 80px;
  font-size: 120px;
  color: rgba(255,160,29,0.12);
  pointer-events: none;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =============================================
   PROJECT GRID
   ============================================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.project-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.placeholder-img {
  background: linear-gradient(135deg, var(--paper) 0%, #e8e0d5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-img::after {
  content: '[ image ]';
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.25);
  text-transform: uppercase;
}

.project-info {
  padding: 18px 20px;
}

.project-info h3 {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: normal;
  color: var(--dark);
  margin-bottom: 4px;
}

.project-info p {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}

/* =============================================
   SECTION COLORS
   ============================================= */
.section-webdesign {
  background: var(--cream);
}

.section-architecture {
  background: #ffffff;
}

.section-branding {
  background: var(--cream);
}

/* =============================================
   PATENTS & EXHIBITIONS
   ============================================= */
.section-notable {
  background: #ffffff;
}

.notable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.notable-item {
  display: flex;
  gap: 16px;
  background: white;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.notable-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.notable-icon {
  color: var(--orange);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notable-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 4px;
}

.notable-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #8A8278;
  margin-bottom: 10px;
}

.notable-detail {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #4A4540;
}

@media (max-width: 768px) {
  .notable-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   MY STORY
   ============================================= */
.section-story {
  background: var(--dark);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  color: white;
}

.section-story .section-tag {
  color: var(--orange);
}

.section-story h2 {
  color: white;
}

.story-inner {
  max-width: 680px;
  margin: 0 auto;
}

.story-body {
  margin-top: 0;
}

.story-lead {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.5;
  color: white;
  margin-bottom: 28px;
  font-style: italic;
}

.story-body p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

/* =============================================
   CONTACT
   ============================================= */

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-inner h2 {
  font-family: var(--font-main);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: normal;
  color: var(--dark);
}

.contact-inner p {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 8px;
}

.contact-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 40px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 8px;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,160,29,0.35);
}

.contact-links {
  display: flex;
  gap: 28px;
}

.contact-links a {
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: var(--orange);
}

.contact-links-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  min-width: 60px;
}

.contact-links-left a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links-left a:hover {
  color: white;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 768px) {

  .about-header img.about-avatar {
    width: 40px;
    height: 40px;
  }

  .about-topbar {
    padding: 20px 20px 0;
  }

  .about-scroll {
    padding: 0 20px 40px;
  }

  .about-name {
    font-size: 17px;
  }

  .about-title {
    font-size: 11px;
  }

  .section {
    padding: 48px 24px 40px;
  }

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

  .hero-doodle {
    font-size: 80px;
    bottom: 40px;
    right: 24px;
  }
}
