:root {
  --bg-main: #FFFFFF;
  --text-primary: #32404F;
  --text-secondary: rgba(50, 64, 79, 0.70);
  --text-third: #DC5C2C;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  margin: 0;
}

.landing-page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 5%;
}

.main-frame {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 987px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding: 48px 16px 0 16px !important;
  box-sizing: border-box !important;
  gap: 0 !important;
}

.frame-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 20px;
  margin-top: 60px;
}

.frame-31 {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: none !important;
  user-select: none;
  text-decoration: none;
}

.orange-square {
  width: 12px;
  height: 12px;
  background-color: #DC5C2C;
  opacity: 0;
  flex-shrink: 0;
}

.roles, .name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

.name {
  font-weight: 500;
  background-image: linear-gradient(to right, #DC5C2C 50%, var(--text-secondary) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.name.brand-active {
  background-position: 0 0;
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  align-self: stretch;
  margin-top: 54px;
  margin-bottom: 30px;
  height: 180px;
}

h1 {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.96px;
  color: #32404F;
  margin: 0;
}

h2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.nav-tab {
  display: flex;
  padding: 8px 10px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.nav-tab.active {
  background: #DC5C2C;
  color: #FFFFFF;
}

.body-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  margin-top: 20px;
}

.left-column, .right-column {
  display: flex;
  flex-direction: column;
  gap: 60px;
  flex: 1;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 263px;
  object-fit: cover;
  border-radius: 0px;
  display: block;
}

.card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 16px;
}

.project-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card h3:hover {
  color: var(--text-third);
}

.project-card .date {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  color: rgba(50, 64, 79, 0.70);
  white-space: nowrap;
}

.project-card p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(50, 64, 79, 0.70);
  margin: 0;
}

.workmate-image {
  height: 323px;
  width: 467.465px;
}

.velo-image {
  height: 262.949px;
  width: 467.465px;
}

.about-grid {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-top: 20px;
}

.grid-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.grid-col img {
  width: 100%;
  object-fit: cover;
  background-color: #E98D34;
}

.img-short {
  height: 161px;
}

.img-tall {
  height: 263px;
}

.image-frame {
  width: 100%;
  height: 263px;
  overflow: hidden;
  border-radius: 0px;
}

.akatsuki-image,
.desktop-image,
.konark-image,
.window-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.pixelwave-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.project-card img,
.image-frame img,
.card-image {
  transform: none !important;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.image-frame:hover img,
.card-image:hover,
.image-frame:active img,
.card-image:active {
  opacity: 0.7 !important;
}

.case-study {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 40px;
}

.cs-tag-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.cs-tag {
  background-color: #DC5C2C;
  color: #FFFFFF;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0px;
}

.cs-image {
  width: 100%;
  height: auto;
  border-radius: 0px;
  margin-bottom: 40px;
}

.cs-metadata {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 60px;
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.meta-value, .meta-value a {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
}

.cs-text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}

.cs-text-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.cs-text-section p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.case-study > .cs-text-section:last-child {
  margin-bottom: 0;
}

.explore-more {
  margin-top: 0;
  padding-top: 40px;
  border-top: 1px solid #E0E0E0;
}

.explore-more > h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.explore-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
  width: 100% !important;
  align-items: start !important;
}

.cs-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 40px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content !important;
  margin-bottom: 16px !important;
}

.back-link:hover {
  color: var(--text-third);
}

.back-link .dark-text {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
}

.footer {
  display: flex;
  justify-content: flex-end !important;
  align-items: center;
  flex-wrap: wrap !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 987px;
  margin: 48px auto 0 !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-bottom: 40px !important;
  box-sizing: border-box !important;
  position: relative;
  z-index: 10;
}

.footer > :first-child {
  display: none !important;
}

.footer-link {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.28px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-link:hover {
  color: var(--text-third);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 240px;
  mix-blend-mode: multiply;
  opacity: 0.3;
}

::selection {
  background-color: #DC5C2C;
  color: #FFFFFF;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(50, 64, 79, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(50, 64, 79, 0.6);
}

::view-transition-old(root) {
  animation: flash-out 0.15s cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: flash-in 0.15s cubic-bezier(0, 0, 0.2, 1) both;
}

@keyframes flash-out {
  0% { opacity: 1; filter: brightness(1); }
  100% { opacity: 0; filter: brightness(1.5); }
}

@keyframes flash-in {
  0% { opacity: 0; filter: brightness(1.5); }
  100% { opacity: 1; filter: brightness(1); }
}

body, a, img, h3, p, span, button, input, textarea, select, canvas {
  cursor: none !important;
}

.custom-cursor {
  --face-x: 0px;
  --face-y: 0px;
  --scale-x: 1;
  --scale-y: 1;
  --rotate: 0deg;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}

.cursor-shape {
  position: absolute;
  left: -8px;
  top: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: transparent !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible !important;
  padding: 0 !important;
  transition: width 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.cursor-shape::before {
  display: none !important;
}

.cursor-face {
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  background-color: #DC5C2C;
  border-radius: 0px !important;
  box-shadow: none !important;
  transform: translateY(-50%) rotate(var(--rotate)) scale(var(--scale-x), var(--scale-y));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: width 0.18s cubic-bezier(0.25, 1, 0.5, 1),
              height 0.18s cubic-bezier(0.25, 1, 0.5, 1);
}

.cursor-eyes-rig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transform: translate3d(var(--face-x), var(--face-y), 0);
  will-change: transform;
}

.cursor-eye {
  width: 2px;
  height: 4px;
  background-color: #FFFFFF;
  border-radius: 0px;
  transition: width 0.12s ease,
              height 0.12s ease,
              transform 0.12s ease,
              opacity 0.12s ease;
}

.cursor-shape::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  height: 32px;
  width: calc(100% - 22px);
  background-color: #DC5C2C;
  border-radius: 0px;
  opacity: 0;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.15s ease;
  z-index: 1;
}

.custom-cursor.cursor-chat .cursor-shape {
  width: max-content !important;
  height: 28px !important;
  padding-right: 12px !important;
}

.custom-cursor.cursor-chat .cursor-shape::after {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.cursor-text-content {
  position: relative;
  z-index: 2;
  margin-left: 30px !important;
  color: #FFFFFF;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.custom-cursor.cursor-chat .cursor-text-content {
  opacity: 1;
}

.custom-cursor.mood-blink .cursor-eye {
  height: 1px;
  width: 3px;
}

.custom-cursor.cursor-link .cursor-face,
.custom-cursor.mood-curious .cursor-face {
  width: 18px;
  height: 18px;
}

.custom-cursor.cursor-link .cursor-eye.left,
.custom-cursor.mood-curious .cursor-eye.left {
  width: 2px;
  height: 2px;
}

.custom-cursor.cursor-link .cursor-eye.right,
.custom-cursor.mood-curious .cursor-eye.right {
  width: 3px;
  height: 6px;
}

.custom-cursor.mood-happy .cursor-face {
  width: 18px;
  height: 18px;
}

.custom-cursor.mood-happy .cursor-eye {
  width: 4px;
  height: 4px;
  background: transparent;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  transform: translateY(1px) rotate(45deg);
}

.custom-cursor.mood-thinking .cursor-face {
  animation: cube-think 0.9s ease-in-out infinite alternate;
}

.custom-cursor.mood-thinking .cursor-eye {
  width: 2px;
  height: 2px;
  transform: translateY(-2px);
}

.custom-cursor.cursor-click .cursor-eye,
.custom-cursor.mood-squint .cursor-eye {
  width: 4px;
  height: 1.5px;
}

.custom-cursor.mood-dizzy .cursor-eyes-rig {
  animation: eyes-wobble 0.25s linear infinite;
}

.custom-cursor.mood-dizzy .cursor-eye.left {
  width: 4px;
  height: 4px;
}

.custom-cursor.mood-dizzy .cursor-eye.right {
  width: 2px;
  height: 2px;
}

.custom-cursor.mood-sleep .cursor-face {
  animation: cursor-breathe 2.6s ease-in-out infinite;
}

.custom-cursor.mood-sleep .cursor-eye {
  height: 1px;
  width: 3.5px;
  opacity: 0.85;
  transform: translateY(2px);
}

.custom-cursor.cursor-text .cursor-face {
  left: 6px;
  width: 2px;
  height: 24px;
}

.custom-cursor.cursor-text .cursor-eye {
  opacity: 0;
  width: 0;
}

@keyframes cursor-breathe {
  0%, 100% { transform: translateY(-50%) scale(1, 1); }
  50% { transform: translateY(-50%) scale(1.08, 0.92); }
}

@keyframes cube-think {
  0% { transform: translateY(-50%) scale(0.95); }
  100% { transform: translateY(-50%) scale(1.05); }
}

@keyframes eyes-wobble {
  0%, 100% { transform: translate(-1.5px, -1px); }
  50% { transform: translate(1.5px, 1px); }
}

.ai-badge {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #DC5C2C;
  border: 1px solid rgba(220, 92, 44, 0.4);
  padding: 2px 6px;
  margin-left: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.frame-31:hover .ai-badge,
.ai-badge.active {
  background-color: #DC5C2C;
  color: #FFFFFF;
}

.orange-ai-wrapper {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, margin 0.3s ease;
  margin-bottom: 0;
}

.orange-ai-wrapper.open {
  max-height: 360px;
  opacity: 1;
  margin-top: 8px;
  margin-bottom: 16px;
}

.orange-ai-box {
  background-color: rgba(220, 92, 44, 0.06);
  border: 1px solid rgba(220, 92, 44, 0.35);
  color: var(--text-primary);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(220, 92, 44, 0.18);
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #DC5C2C;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ai-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 0;
  transition: color 0.2s ease;
}

.ai-close-btn:hover {
  color: #DC5C2C;
}

.ai-output {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-primary);
  min-height: 24px;
}

.ai-output::after {
  content: "▋";
  display: inline-block;
  margin-left: 4px;
  color: #DC5C2C;
  animation: ai-blink 0.8s infinite;
}

@keyframes ai-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.ai-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(50, 64, 79, 0.15);
  padding: 8px 12px;
}

.ai-input-prefix {
  font-size: 14px;
  font-weight: 600;
  color: #DC5C2C;
}

.ai-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
}

.ai-input::placeholder {
  color: var(--text-secondary);
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-chip {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(50, 64, 79, 0.2);
  padding: 6px 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ai-chip:hover {
  background-color: #DC5C2C;
  border-color: #DC5C2C;
  color: #FFFFFF;
}

.notes-section {
  width: 100%;
  margin-top: 20px;
}

.notes-masonry {
  display: block !important;
  column-count: 3;
  column-gap: 14px;
  width: 100%;
}

.new-note-trigger,
.note-card {
  break-inside: avoid;
  margin-bottom: 14px;
  width: 100%;
}



.new-note-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 20px;
  background-color: transparent;
  border: 1px dashed rgba(50, 64, 79, 0.28);
  color: var(--text-secondary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.new-note-trigger:hover {
  border-color: #DC5C2C;
  color: #DC5C2C;
  background-color: rgba(220, 92, 44, 0.04);
}

.note-card {
  background-color: rgba(50, 64, 79, 0.045);
  padding: 20px;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: background-color 0.2s ease;
}

.note-card:hover {
  background-color: rgba(220, 92, 44, 0.06);
}

.note-skeleton {
  background: linear-gradient(90deg, rgba(50, 64, 79, 0.04) 25%, rgba(220, 92, 44, 0.07) 50%, rgba(50, 64, 79, 0.04) 75%);
  background-size: 200% 100%;
  animation: note-shimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes note-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.note-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note-card-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
  word-break: break-word;
}

.note-card-doodle {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(50, 64, 79, 0.08);
}

.note-card-author {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.note-composer-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, margin 0.3s ease;
}

.note-composer-wrapper.open {
  max-height: 680px;
  opacity: 1;
  margin-bottom: 24px;
}

.note-composer-box {
  background-color: rgba(220, 92, 44, 0.05);
  border: 1px solid rgba(220, 92, 44, 0.35);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.composer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #DC5C2C;
  letter-spacing: 0.5px;
}

.composer-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
}

.composer-close:hover {
  color: #DC5C2C;
}

.note-textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(50, 64, 79, 0.15);
  padding: 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  resize: vertical;
  outline: none;
}

.note-textarea:focus,
.note-author-input:focus {
  border-color: #DC5C2C;
}

.doodle-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  color: #DC5C2C;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.doodle-pad-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doodle-pad-wrapper.open {
  max-height: 300px;
  opacity: 1;
}

.doodle-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.color-swatches {
  display: flex;
  gap: 6px;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border: 2px solid transparent;
  padding: 0;
}

.color-swatch.active {
  border-color: var(--text-primary);
  transform: scale(1.08);
}

.doodle-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.doodle-select,
.doodle-action-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(50, 64, 79, 0.2);
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  padding: 4px 10px;
}

.doodle-action-btn:hover {
  border-color: #DC5C2C;
  color: #DC5C2C;
}

#doodleCanvas {
  width: 100%;
  height: 180px;
  background-color: #FFFFFF;
  border: 1px solid rgba(50, 64, 79, 0.15);
  touch-action: none;
}

.composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.note-author-input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(50, 64, 79, 0.15);
  padding: 9px 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
}

.note-submit-btn {
  background-color: #DC5C2C;
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.lost-card {
  margin-top: 28px;
  background-color: rgba(220, 92, 44, 0.05);
  border: 1px solid rgba(220, 92, 44, 0.35);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.lost-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #DC5C2C;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(220, 92, 44, 0.18);
  padding-bottom: 12px;
  width: 100%;
}

.lost-stage {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
}

.lost-orange-avatar {
  width: 44px;
  height: 44px;
  background-color: #DC5C2C;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  animation: lost-float 2.4s ease-in-out infinite;
}

.lost-orange-avatar .eye-l {
  width: 7px;
  height: 7px;
  background-color: #FFFFFF;
  animation: lost-look 3s infinite;
}

.lost-orange-avatar .eye-r {
  width: 4px;
  height: 4px;
  background-color: #FFFFFF;
  animation: lost-look 3s infinite;
}

@keyframes lost-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-4deg); }
}

@keyframes lost-look {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-4px, -2px); }
  60% { transform: translate(4px, 2px); }
}

.lost-dialogue {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lost-dialogue p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 500;
}

.lost-dialogue span {
  font-size: 14px;
  color: var(--text-secondary);
}

.lost-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.btn-home-orange {
  background-color: #DC5C2C;
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.btn-home-orange:hover {
  opacity: 0.88;
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(50, 64, 79, 0.25);
  text-decoration: none;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Bricolage Grotesque', sans-serif;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary-outline:hover {
  border-color: #DC5C2C;
  color: #DC5C2C;
  
}
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

::view-transition-old(root) {
  animation: fade-out-clean 0.16s cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: fade-in-clean 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-out-clean {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-6px); }
}

@keyframes fade-in-clean {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cs-image,
.about-grid img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cs-image:hover,
.about-grid img:hover {
  transform: scale(1.012);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(50, 64, 79, 0.12);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.open .lightbox-img {
  transform: scale(1) translateY(0);
}

.lightbox-hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #DC5C2C;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  letter-spacing: 0.3px;
  pointer-events: none;
}


@media (max-width: 768px) {
  body, img, h3, p, span, input, textarea, select, canvas {
    cursor: auto !important;
  }
  a, button, .project-card h3, .frame-31, .ai-chip, .ai-close-btn {
    cursor: pointer !important;
  }

  .custom-cursor {
    display: none !important;
  }

  .landing-page {
    padding: 20px 0 !important;
    overflow-x: hidden;
  }

  .main-frame {
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 0 !important;
  }

  .frame-3 {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 28px !important;
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
  }

  .frame-31 {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .roles {
    display: none !important;
  }

  .orange-square {
    opacity: 1 !important;
  }

  .name {
    background-image: none !important;
    -webkit-text-fill-color: var(--text-secondary) !important;
    color: var(--text-secondary) !important;
    white-space: nowrap !important;
  }

  .ai-badge {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 2px 7px !important;
    margin-left: 4px !important;
  }

  .orange-ai-wrapper {
    display: block !important;
  }

  .orange-ai-wrapper.open {
    max-height: 520px !important;
    margin-top: 4px !important;
    margin-bottom: 20px !important;
  }

  .orange-ai-box {
    padding: 14px !important;
    gap: 10px !important;
  }

  .ai-input {
    font-size: 16px !important;
  }

  .ai-chips {
    gap: 6px !important;
  }

  .ai-chip {
    font-size: 12px !important;
    padding: 5px 9px !important;
  }

  .heading {
    justify-content: flex-end !important;
    margin-top: 28px !important;
    margin-bottom: 18px !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 195px !important;
  }

  h1 {
    font-size: 34px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
  }

  h2 {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
  }

  .nav-bar {
    justify-content: space-between !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .nav-tab {
    font-size: 14.5px !important;
    padding: 7px 10px !important;
    white-space: nowrap !important;
  }

  .body-content {
    margin-top: 0 !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .left-column, .right-column {
    gap: 32px !important;
  }

  .card-image, .workmate-image, .velo-image, .image-frame {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
  }

  .about-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 0px !important;
  }

  .grid-col {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .grid-col img, .img-short, .img-tall {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
  }

  .case-study {
    margin-top: 0 !important;
  }

  .cs-title {
    font-size: 32px !important;
    margin-bottom: 24px !important;
  }

  .cs-image {
    margin-top: 12px !important;
    margin-bottom: 32px !important;
  }

  .cs-text-section {
    margin-bottom: 32px !important;
  }

  .cs-text-section p, p {
    margin-bottom: 4px !important;
    text-align: justify !important;
    -webkit-hyphens: auto !important;
    hyphens: auto !important;
  }

  .cs-text-section p:last-child {
    margin-bottom: 0 !important;
  }

  .cs-metadata {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    row-gap: 24px !important;
    padding-bottom: 32px !important;
    margin-bottom: 32px !important;
  }

  .meta-item {
    width: 60% !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .cs-metadata .meta-item:nth-child(even) {
    width: 35% !important;
  }

  .explore-more {
    padding-top: 16px !important;
    margin-top: 16px !important;
  }

  .explore-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

 .notes-masonry {
    column-count: 1 !important;
  }

  .composer-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
.note-composer-wrapper.open ~ .notes-masonry #openComposerBtn {
  border-color: var(--text-third);
  color: var(--text-third);
}



/* ==========================================================================
   NATIVE EDITORIAL CASE STUDY LAYOUT (SHARP CORNERS & STILL IMAGES)
   ========================================================================== */

/* Lock all case study images completely still on hover */
.cs-image,
.cs-image:hover,
.cs-deck-body img,
.cs-deck-body img:hover {
  transform: none !important;
  transition: none !important;
  border-radius: 0px !important;
}

.cs-eyebrow {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #DC5C2C;
  margin-bottom: 4px;
  display: inline-block;
}

/* 2-Column Editorial Split separated by a clean hairline */
.cs-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  width: 100%;
  margin-bottom: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid #E0E0E0;
}

.cs-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-col h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.cs-col p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Flat Architectural Metrics Strip (Matches .cs-metadata) */
.cs-stats-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin-bottom: 60px;
  padding: 28px 0;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
}

.cs-stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.cs-stat-num {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.cs-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Sharp 2-Column Feature Index */
.cs-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 16px;
}

.cs-feature-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(50, 64, 79, 0.12);
}

.cs-feature-row strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.cs-feature-row span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Behance Presentation Frame (Matches .orange-ai-box / .lost-card) */
.cs-deck-wrapper {
  width: 100%;
  margin: 16px 0 60px 0;
  background-color: rgba(220, 92, 44, 0.05);
  border: 1px solid rgba(220, 92, 44, 0.35);
  border-radius: 0px !important;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-deck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(220, 92, 44, 0.18);
  padding-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #DC5C2C;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cs-deck-toggle {
  background-color: #DC5C2C;
  color: #FFFFFF;
  border: none;
  border-radius: 0px !important;
  padding: 6px 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.cs-deck-toggle:hover {
  opacity: 0.88;
}

.cs-deck-body {
  max-height: 720px;
  overflow-y: auto;
  border: 1px solid rgba(50, 64, 79, 0.12);
  border-radius: 0px !important;
  background-color: #0D120E;
  transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-deck-body.expanded {
  max-height: 28000px;
}

.cs-deck-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .cs-split-grid,
  .cs-feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cs-stats-row {
    flex-direction: column;
    gap: 24px;
  }

  .cs-deck-wrapper {
    padding: 14px;
  }
}
