@charset "UTF-8";
/* ------------------------------------------------------------------------------- */
/* Reset */
/* ------------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color: #000;
}

body {
  text-rendering: optimizeSpeed;
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  min-height: 100vh;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
  width: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  letter-spacing: -0.5px;
  font-style: normal;
  font-weight: 400;
}

.bio-section, .site-footer, section, .top {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 600px) {
  .bio-section, .site-footer, section, .top {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.bio-section, .site-footer, div.boxed, .eyebrow, .top {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1100px) {
  .bio-section, .site-footer, div.boxed, .eyebrow, .top {
    width: calc(100% - 80px);
  }
}
.overview {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial, div.boxed blockquote, div.boxed p,
div.boxed h2 {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------------------------- */
/* Global styles */
/* ------------------------------------------------------------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
}

body {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.no-scroll {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

a img {
  vertical-align: top;
}

p {
  margin: 0 0 10px 0;
}

li {
  list-style: none;
}

*:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

hr {
  border: none;
  height: 1px;
  display: block;
  margin: 40px 0;
  border-bottom: 2px dotted;
}

b, strong {
  font-style: normal;
  font-weight: 600;
}

del {
  text-decoration: line-through;
}

blockquote {
  margin: 40px 0 40px 0;
  padding: 0 20px 0 20px;
  border-left: 1px solid;
}
blockquote a {
  text-decoration: underline;
}

i, em {
  font-style: italic;
}

pre code {
  display: block;
  padding: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

textarea,
input,
button,
select {
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* ------------------------------------------------------------------------------- */
/* Header (logo + nav) */
/* ------------------------------------------------------------------------------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .top__avatar {
    width: 40px;
    height: 40px;
  }
}
.top__brand {
  font-size: 1.25rem;
  font-weight: bold;
}
.top__right {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 600px) {
  .top__right {
    gap: 20px;
  }
}
.top .links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.top__link {
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease-in, border-color 0.2s ease-in;
}
.top__link:hover {
  transition: color 0.1s ease-out, border-color 0.1s ease-out;
}
.top__cta {
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  transition: color 0.3s;
}
.top__cta .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 0.25em;
}
.top__cta:hover .arrow {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------------------- */
/* Intros with big type */
/* ------------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
}
@media (max-width: 600px) {
  .eyebrow {
    text-align: left;
    margin-left: 0;
  }
}

.overview {
  font-size: 4rem;
  letter-spacing: -0.1875rem;
  line-height: 4.4rem;
  text-align: center;
}
@media (max-width: 600px) {
  .overview {
    text-align: left;
    font-size: 3.2rem;
    letter-spacing: -0.0375rem;
    line-height: 3.52rem;
  }
}

/* ------------------------------------------------------------------------------- */
/* Page sections */
/* ------------------------------------------------------------------------------- */
section {
  width: 100%;
  margin: 0;
}
section p {
  margin-bottom: 40px;
}
section p a {
  text-decoration: underline;
}
section hr {
  border: none;
  height: 160px;
}
@media (max-width: 600px) {
  section hr {
    height: 80px;
  }
}

div.boxed img {
  width: 100%;
  max-width: 1020px;
  border-radius: 12px;
}
div.boxed p,
div.boxed h2 {
  font-size: 1.25rem;
  letter-spacing: -0.05rem;
  line-height: 2rem;
}
div.boxed h2 {
  margin-top: 40px;
  margin-bottom: 40px;
}
div.boxed blockquote {
  font-size: 1rem;
  line-height: 1.5rem;
}
div.boxed blockquote p {
  font-size: 1rem;
  line-height: 1.5rem;
}
div.boxed p a {
  transition: color 0.2s ease-in, border-color 0.2s ease-in;
}
div.boxed p a:hover {
  transition: color 0.1s ease-out, border-color 0.1s ease-out;
}

/* ------------------------------------------------------------------------------- */
/* Footers */
/* ------------------------------------------------------------------------------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  font-size: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: underline;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-left,
.footer-right {
  margin: 0.5rem 0;
}

/* ------------------------------------------------------------------------------- */
/* Portfolios */
/* ------------------------------------------------------------------------------- */
.siema-wrapper {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.siema {
  margin: 0;
  display: flex;
}
.siema > div {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
}
.siema img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0 !important;
}

.slider-controls {
  font-size: 1rem;
  letter-spacing: -0.1rem;
  line-height: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 16px;
}
.slider-controls button {
  cursor: pointer;
  border-bottom: 1px solid;
}

div.boxed .slider-heading {
  margin-top: 0;
}

a.cta-project {
  font-size: 1rem;
  line-height: 1rem;
  text-decoration: none;
  border: 1px solid;
  border-radius: 999px;
  padding: 2px 8px;
  transition: color 0.2s ease-in, border-color 0.2s ease-in;
}
a.cta-project:hover {
  transition: color 0.1s ease-out, border-color 0.1s ease-out;
}

/* ------------------------------------------------------------------------------- */
/* Testimonials */
/* ------------------------------------------------------------------------------- */
.testimonial {
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 40px;
}
.testimonial blockquote {
  border-left: none;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 1rem;
  line-height: 2rem;
  margin: 0 0 2rem;
  font-style: normal;
  quotes: "“" "”" "‘" "’";
}
.testimonial blockquote p {
  font-size: 1rem;
  line-height: 1.5rem;
}
.testimonial blockquote p::before {
  content: open-quote;
}
.testimonial blockquote p::after {
  content: close-quote;
}
.testimonial figcaption {
  font-size: 1rem;
}
.testimonial figcaption strong {
  font-weight: normal;
}
/* ------------------------------------------------------------------------------- */
/* Bios, Info, About section */
/* ------------------------------------------------------------------------------- */
.bio-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.bio-image {
  width: 100%;
}
@media (min-width: 1100px) {
  .bio-image {
    width: 48%;
  }
}
.bio-image img {
  width: 100%;
  border-radius: 12px;
}

.bio-text {
  width: 100%;
  font-size: 1.6875rem;
  line-height: 2rem;
}
@media (min-width: 1100px) {
  .bio-text {
    width: 48%;
  }
}

.highlight {
  text-decoration: underline;
}

.bio-links {
  display: flex;
  gap: 3rem;
  font-size: 1.25rem;
  line-height: 2rem;
  flex-wrap: wrap;
}
.bio-links ul {
  list-style: none;
  padding: 0;
}
.bio-links ul li {
  margin-bottom: 8px;
}
.bio-links a {
  text-decoration: none;
  position: relative;
}
.bio-links a::before {
  content: "→";
  margin-right: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.bio-links a:hover {
  text-decoration: none;
}
.bio-links a:hover::before {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------------------- */
/* Theme Toggle Button (SVG Sun/Moon) */
/* ------------------------------------------------------------------------------- */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-right: 8px;
  padding: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: rotate(15deg) scale(1.06);
  box-shadow: 0 2px 10px rgba(var(--accent-orange-rgb), 0.25);
}

.theme-icon {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.scheme-midnight .theme-icon--sun {
  display: block;
}
body.scheme-midnight .theme-icon--moon {
  display: none;
}

body.scheme-daylight .theme-icon--sun {
  display: none;
}
body.scheme-daylight .theme-icon--moon {
  display: block;
}

/* ------------------------------------------------------------------------------- */
/* Trip.com Dual-Column Layout */
/* ------------------------------------------------------------------------------- */
.portfolio-section {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
}

.trip-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Mobile Filter Trigger Bar (Hidden on Desktop) */
.mobile-filter-bar {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-filter-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.mobile-filter-badge {
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
}

.mobile-sort-wrapper {
  display: flex;
  align-items: center;
}

/* Sidebar: Filter Panel */
.trip-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 24px;
  z-index: 10;
}

.trip-sidebar__inner {
  padding: 24px;
}

.trip-sidebar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.trip-sidebar__heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.trip-reset-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 4px 8px;
}

.trip-reset-btn:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.mobile-drawer-close-btn {
  display: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
}

.trip-filter-group {
  margin-bottom: 24px;
}

.trip-filter-group:last-child {
  margin-bottom: 0;
}

.trip-filter-label,
.trip-filter-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: block;
}

.trip-filter-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.trip-facet-counter {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Search Box */
.trip-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.trip-search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.trip-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.trip-search-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-light);
  outline: none;
}

/* Category Radio List */
.trip-category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trip-radio-item {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  user-select: none;
}

.trip-radio-item:hover {
  background: var(--bg-surface-elevated);
}

.trip-radio-item input[type="radio"] {
  accent-color: var(--accent-orange);
  width: 16px;
  height: 16px;
  margin-right: 10px;
  cursor: pointer;
}

.trip-radio-label {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.trip-radio-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--chip-bg);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

/* Tech Facet Pills */
.trip-tech-facets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trip-tech-facets::-webkit-scrollbar {
  display: none;
}

.trip-tech-pill,
.trip-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  user-select: none;
}

.trip-tech-pill:hover,
.trip-type-pill:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-1px);
}

.trip-tech-pill.active,
.trip-type-pill.active {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 2px 8px rgba(var(--accent-orange-rgb), 0.35);
}

.trip-tech-pill__count,
.trip-type-pill__count {
  font-size: 0.74rem;
  opacity: 0.85;
}

.mobile-drawer-footer {
  display: none;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.mobile-apply-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

/* ------------------------------------------------------------------------------- */
/* Right Main: Results Area & Toolbar */
/* ------------------------------------------------------------------------------- */
.trip-main {
  min-width: 0;
}

.trip-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.trip-toolbar__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trip-result-total {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.trip-result-total strong {
  color: var(--accent-orange);
  font-size: 1.05rem;
}

.trip-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trip-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.3);
}

.trip-chip__close {
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 600;
  margin-left: 2px;
}

.trip-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trip-sort-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trip-sort-select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trip-sort-select:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-light);
  outline: none;
}

/* ------------------------------------------------------------------------------- */
/* Trip.com Horizontal Cards */
/* ------------------------------------------------------------------------------- */
.trip-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trip-card {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-hover);
}

.trip-card__media {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  overflow: hidden;
}

.trip-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trip-card:hover .trip-card__image {
  transform: scale(1.04);
}

.trip-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.trip-card__badge--personal {
  background: var(--badge-personal-bg);
  color: var(--badge-personal-text);
  border: 1px solid var(--badge-personal-border);
}

.trip-card__badge--academic {
  background: var(--badge-school-bg);
  color: var(--badge-school-text);
  border: 1px solid var(--badge-school-border);
}

.trip-card__body {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.trip-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.trip-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.trip-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.trip-card__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trip-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.trip-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.trip-card__tag {
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--chip-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.trip-card__tag--topic {
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  border-color: rgba(var(--accent-orange-rgb), 0.25);
  font-weight: 500;
}

.trip-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trip-card__btn-detail {
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trip-card__btn-detail:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.trip-card__btn-github {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--accent-orange);
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.trip-card__btn-github:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--accent-orange-rgb), 0.4);
}

/* Empty State */
.trip-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
}

.trip-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.trip-empty-title {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.trip-empty-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trip-empty-btn {
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

/* ------------------------------------------------------------------------------- */
/* Trip.com Pagination */
/* ------------------------------------------------------------------------------- */
.trip-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.trip-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trip-page-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.trip-page-btn.active {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(var(--accent-orange-rgb), 0.35);
}

.trip-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ------------------------------------------------------------------------------- */
/* Mobile Responsive (< 850px) */
/* ------------------------------------------------------------------------------- */
@media (max-width: 850px) {
  .mobile-filter-bar {
    display: flex;
  }

  .trip-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trip-sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 82vh;
    z-index: 1000;
    border-radius: 20px 20px 0 0;
    transform: translateY(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  .trip-sidebar.drawer-open {
    transform: translateY(0);
  }

  .mobile-drawer-close-btn {
    display: block;
  }

  .mobile-drawer-footer {
    display: block;
  }

  .mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .trip-card {
    flex-direction: column;
  }

  .trip-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .trip-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .trip-toolbar__sort {
    width: 100%;
    justify-content: space-between;
  }
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ------------------------------------------------------------------------------- */
/* Project Detail Modal */
/* ------------------------------------------------------------------------------- */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.project-modal--active {
  display: block;
}

.project-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-modal__dialog {
  width: 100%;
  max-width: 960px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.project-modal__body {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.project-modal__media {
  width: 100%;
  flex: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 30vh;
  min-height: 200px;
  background: var(--bg-surface-elevated);
}

.project-modal__image {
  width: 100%;
  height: auto;
  max-height: 30vh;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.project-modal__image:hover:not(.project-modal__image--zoomed):not(.project-modal__image--zooming-out) {
  opacity: 0.9;
  transform: scale(1.02);
}

.project-modal__image--zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  width: 70%;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1001;
  cursor: zoom-out;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.95);
  padding: 20px;
  object-fit: contain;
  opacity: 1;
}

.project-modal__image--zoomed:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-modal__image--zooming-in {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.8) !important;
  transform-origin: center center !important;
  opacity: 0 !important;
  width: 70% !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  z-index: 1001 !important;
  pointer-events: none !important;
}

.project-modal__image--zooming-out {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.8) !important;
  transform-origin: center center !important;
  opacity: 0;
  visibility: hidden;
  width: 70%;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1001;
}

.project-modal__content {
  width: 100%;
  padding: 32px 36px 36px;
  flex: 8;
  overflow-y: auto;
}

.project-modal__title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.project-modal__meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.project-modal__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.project-modal__desc ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.project-modal__desc li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.project-modal__desc li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0.1em;
  color: var(--accent-orange);
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
}

.project-modal__desc li strong {
  color: var(--accent-orange);
  font-weight: 600;
  margin-right: 4px;
}

.project-modal__btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.project-modal__btn:hover {
  background: var(--accent-orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-orange-rgb), 0.35);
}

.project-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.project-modal__close:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .project-modal__overlay {
    padding: 12px;
  }

  .project-modal__dialog {
    border-radius: 16px;
    max-height: 95vh;
  }

  .project-modal__media {
    flex: 2;
    max-height: 25vh;
    min-height: 150px;
  }

  .project-modal__image {
    max-height: 25vh;
  }

  .project-modal__image--zoomed {
    width: 95%;
    max-width: 95vw;
    max-height: 85vh;
    padding: 10px;
  }

  .project-modal__content {
    flex: 8;
    padding: 20px 20px 24px;
  }

  .project-modal__title {
    font-size: 1.4rem;
  }

  .project-modal__desc {
    font-size: 0.9rem;
  }
}
