@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..700&display=swap');

:root {
  --bg-main: #FFFFFF;
  --text-primary: #32404F;
  --text-secondary: rgba(50, 64, 79, 0.70);
  --text-third: #DC5C2C;
}

html {
  scroll-behavior: smooth;
}

.project-card h3, .footer-link {
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-image {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.explore-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
  width: 100% !important;
  align-items: start !important;
}

* {
  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;
  gap: 20px;
  width: 100%;
  max-width: 987px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding: 48px 16px 0 16px !important;
  width: 100% !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;
}

.orange-square {
  width: 12px;
  height: 12px;
  background-color: #DC5C2C;
  opacity: 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;
  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%;
}

.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.2s ease;
}

.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;
}

.footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 80px;
  padding-bottom: 60px;
  max-width: 987px;
  margin: 80px auto 0;
  position: relative;
  z-index: 10;
}

.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.2s ease;
}

.footer-link:hover {
  color: var(--text-third);
}

.about-grid {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-top: 40px;
}

.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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.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);
}

.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;
}

.explore-more {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #E0E0E0;
}

.explore-more > h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.case-study > .cs-text-section:last-child {
  margin-bottom: 0;
}

.explore-more {
  margin-top: 0;
  padding-top: 40px;
  border-top: 1px solid #E0E0E0;
}

.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;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  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);
}

body, a, img, h3 {
  cursor: none !important;
}

body, a, img, h3, p, span, button {
  cursor: none !important;
}

.custom-cursor {
  --cursor-eye: ":";
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}

.cursor-shape {
  position: absolute;
  left: -7px;
  top: 0;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  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 {
  content: var(--cursor-eye, ":");
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-color: #DC5C2C;
  color: #FFFFFF;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  z-index: 3;
}

.cursor-shape::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  height: 32px;
  width: calc(100% - 20px);
  background-color: #DC5C2C;
  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: 28px !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-link .cursor-shape::before {
  transform: translateY(-50%) scale(1.15);
}

.custom-cursor.cursor-click .cursor-shape::before {
  transform: translateY(-50%) scale(0.82);
}

.custom-cursor.cursor-text .cursor-shape::before {
  content: "";
  left: 6px;
  width: 2px;
  height: 24px;
}

.project-card,
.image-frame {
  overflow: hidden;
}

.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;
}

.project-card img,
.grid-col img,
.image-frame img {
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.project-card:hover img,
.grid-col:hover img,
.image-frame:hover img {
  transform: scale(1) !important;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  body, img, h3, p, span {
    cursor: auto !important;
  }
  a, button, .project-card h3 {
    cursor: pointer !important;
  }
  .custom-cursor {
    display: none !important;
  }
  .landing-page {
    padding: 24px 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: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 48px !important;
    margin-bottom: 32px !important;
    padding-bottom: 0 !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;
  }
  h1 {
    font-size: 40px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
  }
  h2 {
    font-size: 15px !important;
  }
  .heading {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    gap: 16px !important;
    font-size: 40px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
    height: auto !important;
    min-height: auto !important;
  }
  .nav-bar {
    justify-content: center !important;
    margin-top: 0 !important;
    margin-bottom: 32px !important;
    gap: 24px !important;
    width: 100% !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;
  }
  .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;
  }
  .case-study-header {
    margin-top: 16px !important;
    margin-bottom: 16px !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-more .project-card {
    margin-bottom: 16px !important;
  }
  .explore-more .project-card:last-child {
    margin-bottom: 0 !important;
  }
  .explore-more .project-card + .project-card {
    margin-top: 16px !important;
  }
  hr, .divider {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    border: none;
    border-top: 1px solid #E5E5E5;
  }
}

.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 {
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  margin-top: 48px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-bottom: 40px !important;
}

.footer > :first-child {
  display: none !important;
}

@media (max-width: 768px) {
  .explore-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  animation-fill-mode: both;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation-name: page-fade-out-up;
}

::view-transition-new(root) {
  animation-name: page-fade-in-up;
}

@keyframes page-fade-out-up {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-40px);
  }
}

@keyframes page-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::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);
  }
}

@media (max-width: 768px) {
  .notes-tab {
    display: none !important;
  }
}

input {
  cursor: none !important;
}

.frame-31 {
  cursor: none !important;
  user-select: none;
}

.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;
}

@media (max-width: 768px) {
  input, .frame-31, .ai-chip, .ai-close-btn {
    cursor: pointer !important;
  }
  .orange-ai-wrapper.open {
    max-height: 440px;
  }
}

/* ==========================================
   NOTES WALL & DOODLE PAD
   ========================================== */
textarea, select, canvas {
  cursor: none !important;
}

.notes-section {
  width: 100%;
  margin-top: 28px;
}

.notes-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  align-items: start;
}

.new-note-trigger,
.note-card {
  width: 100%;
  box-sizing: border-box;
}

.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-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;
}

@media (max-width: 768px) {
  textarea, select, canvas {
    cursor: auto !important;
  }
  .notes-masonry {
    grid-template-columns: 1fr;
  }
  .composer-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
