/* ==========================================
   PORTFOLIO STYLING SYSTEM
   ========================================== */

/* Variables */
:root, .sl-theme-light {
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --gold: #B0832E;
  --ink: #111111;
  --muted: #555555;
  --light-grey: #FAF9F6;
  --border: rgba(0, 0, 0, 0.05);

  /* Shoelace Overrides */
  --sl-color-primary-500: var(--gold);
  --sl-color-primary-600: #9e7025; 
  --sl-color-primary-700: #81571f;
  --sl-color-neutral-50: var(--light-grey);
  --sl-color-neutral-600: var(--muted);
  --sl-color-neutral-900: var(--ink);
  
  --sl-font-sans: var(--sans);
  --sl-font-serif: var(--serif);
  
  --sl-border-radius-medium: 8px;
  --sl-border-radius-large: 12px;
  --sl-border-radius-pill: 30px;
}

/* Base Body Styles */
body.portfolio-active {
  background: #FFFFFF;
  color: var(--ink);
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Page Container & Animations */
.portfolio-page {
  opacity: 0;
  display: block;
  transition: opacity 0.8s ease-in-out;
  width: 100%;
}

/* Sticky Blurred Header */
.port-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.port-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem clamp(1.5rem, 4vw, 3rem);
}
.port-logo {
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.port-nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
}
.port-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.port-nav a:hover,
.port-nav a.active {
  color: var(--ink);
}

/* Hero Section */
.port-hero-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) clamp(1.5rem, 4vw, 3rem);
}
.port-hero {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.port-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.port-headline {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 2.2rem;
}
.port-description {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.68;
  color: var(--muted);
  max-width: 75ch;
}

/* Work / Case Studies Section */
.port-work {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}
.port-work-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 4vw, 3rem);
}
.port-section-title {
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.port-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(5rem, 15vh, 10rem);
}
.port-project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.port-project-card:hover {
  transform: translateY(-8px);
}
.port-project-image {
  aspect-ratio: 21 / 9;
  min-height: clamp(300px, 45vh, 500px);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}
@media (max-width: 768px) {
  .port-project-image {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
}
.port-project-card:hover .port-project-image {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}
.port-project-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.port-project-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.8rem;
  padding: 0 0.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.project-title-logo {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.project-brand-logo {
  height: 34px; /* Bit bigger logo */
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}
.port-project-title {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.project-metadata {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888888;
}
.meta-value {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
}

/* Patents Section */
.port-patents {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}
.port-patents-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 4vw, 3rem);
}
.patents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .patents-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.patent-card {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 2.5rem;
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  height: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .patent-card {
    padding: 1.5rem;
    gap: 1.2rem;
  }
}
.patent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.06);
}
.patent-image-container {
  background: #FAF9F6;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.03);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.patent-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.patent-card:hover .patent-thumbnail {
  transform: scale(1.05);
}
.patent-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}
.patent-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.6rem;
}
.patent-title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.patent-meta {
  font-size: 0.9rem;
  color: #666666;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.patent-desc {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.5rem 0; /* Add bottom margin to keep a gap from the link */
}
.patent-link {
  display: inline-block;
  margin-top: auto; /* Push down to align links across cards of varying heights */
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.patent-link:hover {
  background: var(--ink);
  color: #FFFFFF;
}

/* About Section */
.port-about {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}
.port-about-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 4vw, 3rem);
}
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.about-text p {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

/* Contact / Footer Section */
.port-contact {
  border-top: 1px solid var(--border);
  background: #FAF9F6;
}
.port-contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 4vw, 3rem);
}
.contact-prompt {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 55ch;
}
.contact-email {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: clamp(4rem, 10vh, 7rem);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.contact-email:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.port-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #888888;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.social-links {
  display: flex;
  gap: 1.5rem;
}
.social-links a {
  color: #888888;
  text-decoration: none;
  transition: color 0.25s ease;
}
.social-links a:hover {
  color: var(--ink);
}

/* ==========================================
   PORTFOLIO MODAL SYSTEM
   ========================================== */
.port-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 1.5rem;
}
.port-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.port-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  width: 95vw;
  max-width: 1400px;
  height: 90vh;
  max-height: 880px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: scale(0.96) translateY(15px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}
.port-modal-overlay.active .port-modal-card {
  transform: scale(1) translateY(0);
}
@media (max-width: 900px) {
  .port-modal-card {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }
}
.port-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 1.6rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1010;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  padding-bottom: 2px;
}
.port-modal-close:hover {
  background: var(--ink);
  color: #FFFFFF;
  transform: scale(1.05);
  border-color: var(--ink);
}
.port-modal-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #FFFFFF;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 900px) {
  .port-modal-left {
    height: 220px;
    padding: 2rem;
  }
}
.modal-left-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  z-index: 2;
}
.modal-left-logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0.85;
  z-index: 2;
}
@media (max-width: 900px) {
  .modal-left-logo-sub {
    margin-bottom: 1rem;
  }
}
.modal-card-img {
  max-width: 85%;
  max-height: 65%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #FFFFFF;
  padding: 0.6rem;
  transition: transform 0.4s ease;
  z-index: 2;
}
.modal-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.05);
  transition: transform 0.4s ease;
  z-index: 1;
}
.port-modal-card:hover .modal-card-img {
  transform: scale(1.02);
}
.port-modal-card:hover .modal-card-video {
  transform: scale(1.03);
}
.modal-nda-lock-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 340px;
  z-index: 2;
}
.modal-nda-lock-icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  background: rgba(176, 131, 46, 0.12);
  padding: 0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(176, 131, 46, 0.25);
  animation: pulse-gold 2.5s infinite;
}
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(176, 131, 46, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(176, 131, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 131, 46, 0); }
}
.modal-nda-lock-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.modal-nda-lock-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}
.modal-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 20px 20px;
  z-index: 2;
  pointer-events: none;
}

.port-modal-right {
  padding: clamp(2rem, 4.5vw, 3rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-sizing: border-box;
}
@media (min-width: 901px) {
  .port-modal-right {
    height: 100%;
  }
}
.modal-nda-badge {
  background: var(--ink);
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.modal-nda-badge svg {
  flex-shrink: 0;
}
.modal-meta {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
}
.modal-title {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.modal-tag {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--light-grey);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.modal-desc {
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--muted);
  font-weight: 300;
  margin: 0;
}
.modal-toggle-btn {
  background: none;
  border: none;
  color: #10B981;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  transition: color 0.2s ease;
  padding: 0;
}
.modal-toggle-btn:hover {
  color: #059669;
}
.modal-details-expanded {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  border-top: 1px solid var(--border);
  padding-top: 1.8rem;
  margin-top: 0.5rem;
  animation: fadeInModalDetails 0.3s ease;
}
@keyframes fadeInModalDetails {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}
@media (max-width: 600px) {
  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.modal-col-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.8rem 0;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-col-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--gold);
}
.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
  position: relative;
  padding-left: 1.1rem;
}
.modal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  top: -1px;
}
.modal-action-btn {
  align-self: flex-start;
  margin-top: 1rem;
  padding: 0.75rem 1.8rem;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.modal-action-btn:hover {
  background: var(--gold);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(176,131,46,0.18);
}
.modal-action-btn:active {
  transform: translateY(0);
}

/* ==========================================
   CUSTOM CASE STUDY LAYOUT IN MODAL
   ========================================== */
.modal-case-study-wrap {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding: 0 0.5rem;
}
.modal-case-header {
  margin-bottom: 0.5rem;
}
.modal-case-header .modal-meta {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.modal-case-header .modal-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}
.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .modal-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 1.2rem 0;
  }
}
.modal-case-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.modal-case-section.center {
  align-items: center;
  text-align: center;
}
.modal-case-section-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
}
.modal-case-question {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}
.modal-case-desc {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto;
}
.modal-case-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
  margin-top: 0.5rem;
}
.modal-case-img-wrap {
  background: var(--light-grey);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.02);
  width: 100%;
  box-sizing: border-box;
}
.modal-case-img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.modal-case-caption {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-top: -0.2rem;
}
.modal-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .modal-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.modal-pillar-item {
  background: var(--light-grey);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-sizing: border-box;
}
.modal-pillar-item .pillar-num {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}
.modal-pillar-item .pillar-desc {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}
.modal-case-text-block {
  max-width: 65ch;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.modal-case-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 65ch;
  width: 100%;
}
.modal-case-list li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
  position: relative;
  padding-left: 1.2rem;
}
.modal-case-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  top: -1px;
}
.modal-case-list li strong {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================
   PROFESSIONAL UPGRADES — v2
   ========================================== */

/* ==========================================
   HERO ENTRANCE ANIMATION (above-the-fold)
   — uses keyframes so it works without
     IntersectionObserver on first paint
   ========================================== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-item {
  animation: heroFadeUp 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-item-1 { animation-delay: 0.05s; }
.hero-item-2 { animation-delay: 0.13s; }
.hero-item-3 { animation-delay: 0.22s; }
.hero-item-4 { animation-delay: 0.32s; }
.hero-item-5 { animation-delay: 0.44s; }

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 200;
  width: 0%;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.36s; }

/* Available Status Badge */
.port-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.port-status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  animation: pulse-green 2.2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.82); }
}

/* Stats Row */
.port-stats-row {
  display: flex;
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  width: 100%;
}
.stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.45rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* "What I Do" Expertise Section */
.port-expertise {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}
.port-expertise-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.5rem, 4vw, 3rem);
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.expertise-card {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  background: var(--light-grey);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}
.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.05);
}
.expertise-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  display: block;
}
.expertise-title {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 1rem 0;
  letter-spacing: -0.015em;
}
.expertise-desc {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--muted);
  margin: 0;
}

/* Card "View Project" hint on hover */
.card-view-hint {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(17,17,17,0.82);
  color: #FFFFFF;
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.port-project-card:hover .card-view-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Work page intro text */
.work-intro {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.68;
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 3.5rem;
  margin-top: -0.5rem;
}

/* Compact card gap for work page */
.port-grid.compact {
  gap: clamp(3rem, 8vh, 5rem);
}

/* ==========================================
   ABOUT PAGE — PROFESSIONAL REDESIGN
   ========================================== */
.about-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 0;
}
.about-lead strong {
  color: var(--ink);
  font-weight: 500;
}
.about-tl-group {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.about-tl-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: block;
}
.about-tl-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
@media (max-width: 600px) {
  .about-tl-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}
.about-tl-year {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  padding-top: 0.1rem;
}
.about-tl-role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
}
.about-tl-company {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}
.about-skills-wrap {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.about-skills-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: block;
}
.about-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.about-skill-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--light-grey);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
}
.about-photo-card {
  background: var(--light-grey);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  position: sticky;
  top: 100px;
}
.about-photo-card .port-avatar {
  width: 160px;
  height: 160px;
  margin-bottom: 1.25rem;
}
.about-photo-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.3rem 0;
  letter-spacing: -0.02em;
}
.about-photo-role {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}
.about-photo-location {
  font-size: 0.82rem;
  color: var(--muted);
  display: block;
  margin-bottom: 2rem;
}
.about-contact-link {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 30px;
  transition: all 0.25s ease;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}
.about-contact-link:hover {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}
.about-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.about-stat-mini {
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
}
.about-stat-mini:last-child {
  border-bottom: 1px solid var(--border);
}
.about-stat-mini-num {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.about-stat-mini-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  text-align: right;
  align-self: center;
}

/* ==========================================
   SAMSUNG CASE STUDY MODAL — REDESIGNED
   ========================================== */

/* Full-bleed banner image (no background box) */
.modal-case-img-banner {
  width: 100%;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  margin: 0;
}
.modal-case-img-banner img {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

/* Inline full-width image (with subtle bg for diagrams) */
.modal-case-img-inline {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--light-grey);
  border: 1px solid var(--border);
}
.modal-case-img-inline img {
  width: 100%;
  display: block;
  border-radius: 16px;
  max-height: 440px;
  object-fit: contain;
  padding: 1.5rem;
  box-sizing: border-box;
}

/* Diagram-style image (dark bg) */
.modal-case-img-dark {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0F0F0F;
}
.modal-case-img-dark img {
  width: 100%;
  display: block;
  border-radius: 16px;
  max-height: 420px;
  object-fit: contain;
  padding: 2rem;
  box-sizing: border-box;
}

/* Samsung case study header area */
.samsung-cs-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}
.samsung-cs-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 2.5rem 0;
  letter-spacing: -0.01em;
}

/* Metadata row — horizontal key-values */
.samsung-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
@media (max-width: 700px) {
  .samsung-meta-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}
/* ==========================================
   CARD IMAGE / VIDEO HOVER SYSTEM
   ========================================== */
.card-static-image,
.card-hover-image,
.card-hover-gif,
.card-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Static visible by default */
.card-static-image { opacity: 1; z-index: 1; }

/* Hover elements hidden by default */
.card-hover-image,
.card-hover-gif  { opacity: 0; z-index: 2; }

.card-hover-video {
  opacity: 0;
  z-index: 2;
  object-fit: cover;
}

/* On hover: swap */
/* .port-project-card:hover .card-static-image  { opacity: 0; } removed to prevent bg bleed */
.port-project-card:hover .card-hover-image,
.port-project-card:hover .card-hover-gif,
.port-project-card:hover .card-hover-video   { opacity: 1; }

/* ==========================================
   SAMSUNG FULL-WIDTH MODAL
   ========================================== */
.port-modal-card.full-width-modal {
  grid-template-columns: 1fr;
}

/* Samsung metadata key/value */
.samsung-meta-key {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.samsung-meta-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.samsung-meta-val a {
  color: var(--gold);
  text-decoration: none;
  display: block;
}
.samsung-meta-val a:hover { text-decoration: underline; }

/* Content sections */
.samsung-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.samsung-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: block;
}
.samsung-section-subheading {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.samsung-section-heading {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.samsung-section-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.samsung-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.samsung-section-list li {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}
.samsung-section-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
  top: 1px;
}
.samsung-section-list li strong {
  color: var(--ink);
  font-weight: 500;
}

/* Impact strip */
.samsung-impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #F7F6F3;
  border-radius: 16px;
  overflow: hidden;
}
.samsung-impact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1.5rem;
  border-right: 1px solid rgba(0,0,0,0.07);
}
.samsung-impact-item:last-child { border-right: none; }
.samsung-impact-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.samsung-impact-label {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Caption */
.samsung-caption {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-top: -0.25rem;
}

@media (max-width: 768px) {
  .samsung-impact-row { grid-template-columns: 1fr; }
  .samsung-impact-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
}

/* ========================================== */
/*  PASSWORD MODAL STYLES                     */
/* ========================================== */
.password-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.password-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.password-modal-card {
  background: var(--surface);
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.password-modal-overlay.active .password-modal-card {
  transform: translateY(0);
}

.password-modal-card.shake {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.password-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  display: flex;
}

.password-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

.password-modal-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.password-modal-subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.password-modal-row {
  margin-bottom: 1.5rem;
}

.password-modal-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.password-modal-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s;
}

.password-modal-input-wrap:focus-within {
  border-color: var(--ink);
}

.password-modal-input-wrap.error {
  border-color: #DC2626;
}

.password-modal-input {
  flex: 1;
  border: none;
  background: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.password-modal-toggle {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0 1rem;
  display: flex;
  transition: color 0.2s;
}

.password-modal-toggle:hover {
  color: var(--ink);
}

.password-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.password-modal-btn {
  flex: 1;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  border: none;
}

.password-modal-btn.cancel {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

.password-modal-btn.cancel:hover {
  background: rgba(0, 0, 0, 0.1);
}

.password-modal-btn.submit {
  background: var(--ink);
  color: var(--surface);
}

.password-modal-btn.submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}


/* vHealth Hover Animation */
.card-hover-images {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
  z-index: 2; /* Match other hover elements */
}

.port-project-card:hover .card-hover-images {
  opacity: 1;
}

.card-hover-images img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
}

.card-hover-images .hover-img-1 {
  opacity: 1;
}

.port-project-card:hover .hover-img-2 {
  animation: crossfade2 6.4s ease-in-out infinite;
}

@keyframes crossfade2 {
  0%, 31.25% { opacity: 0; }
  50%, 81.25% { opacity: 1; }
  100% { opacity: 0; }
}


/* Floating Back Button */
.floating-back-btn {
  position: fixed;
  bottom: 40px;
  left: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.floating-back-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-back-btn.visible:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  color: #fff;
}

@media (max-width: 768px) {
  .floating-back-btn {
    bottom: 24px;
    left: 24px;
    padding: 10px 20px;
  }
}



/* Option 3: Scroll-Revealing Sticky Header */
.port-header {
  
}
.port-header.nav-hidden {
  transform: translateY(-100%);
}

/* Option 1: Next Project Footer Block */
.next-project-block {
  background: var(--ink);
  color: var(--surface);
  padding: 100px 20px;
  text-align: center;
  margin-top: 60px;
}
.next-project-block .eyebrow {
  color: var(--signal);
  margin-bottom: 20px;
  display: block;
}
.next-project-block h2 {
  font-size: clamp(32px, 5vw, 64px);
  margin-bottom: 40px;
}
.next-btn {
  display: inline-block;
  background: var(--surface);
  color: var(--ink);
  padding: 16px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  transition: transform 0.2s ease;
}
.next-btn:hover {
  transform: translateY(-4px);
}
.back-to-all {
  display: inline-block;
  margin-top: 40px;
  color: var(--line-2);
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  transition: color 0.2s;
}
.back-to-all:hover {
  color: var(--surface);
}
