@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@200;300;400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;700&display=swap');

:root {
  --bg-color: #f2f2eb;
  --text-color: #111111;
  --accent-color: #e64a19;
  --accent-color-rgb: 230, 74, 25;
  --border-color: rgba(17, 17, 17, 0.12);
  --border-color-light: rgba(17, 17, 17, 0.05);
  --card-bg: #f9f9f6;
  
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --cursor-size-inner: 8px;
  --cursor-size-outer: 48px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-color);
}

::selection {
  background-color: var(--text-color);
  color: var(--bg-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Custom Interactive Cursor */
.custom-cursor-inner {
  width: var(--cursor-size-inner);
  height: var(--cursor-size-inner);
  background-color: var(--accent-color);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  display: none;
}

.custom-cursor-outer {
  width: var(--cursor-size-outer);
  height: var(--cursor-size-outer);
  border: 1px solid rgba(var(--accent-color-rgb), 0.4);
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  display: none;
  align-items: center;
  justify-content: center;
  mix-blend-mode: multiply;
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s;
}

@media (min-width: 768px) {
  .custom-cursor-inner, .custom-cursor-outer {
    display: flex;
  }
}

/* Cursor Hover States */
.cursor-hover .custom-cursor-inner {
  width: 0px;
  height: 0px;
}

.cursor-hover .custom-cursor-outer {
  width: 72px;
  height: 72px;
  background-color: rgba(var(--accent-color-rgb), 0.05);
  border-color: rgba(var(--accent-color-rgb), 0.6);
}

.cursor-hover .custom-cursor-dot {
  opacity: 1;
  transform: scale(1);
}

/* Typography Utilities */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.tracking-tightest { tracking: -0.05em; }

/* Grid Background Lines (Sleek Aesthetic) */
.ambient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}

.ambient-gradient-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vh;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #d9d9d0, transparent);
  filter: blur(120px);
}

.ambient-gradient-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vh;
  border-radius: 50%;
  background: linear-gradient(to top left, #e5e5dd, transparent);
  filter: blur(100px);
}

.ambient-circle-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(17, 17, 17, 0.04);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ambient-circle-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  border: 1px solid rgba(17, 17, 17, 0.025);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.5s ease, background-color 0.5s ease, border-bottom 0.5s ease;
  background-color: transparent;
  padding: 24px 0;
}

header.scrolled {
  background-color: rgba(242, 242, 235, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color-light);
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-color);
  z-index: 1002;
}

.logo-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  font-weight: 750;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4);
  margin-bottom: 4px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--accent-color);
  font-weight: 900;
}

nav.nav-links {
  display: none;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  nav.nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: rgba(17, 17, 17, 0.6);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--text-color);
}

.nav-dot-container {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dot {
  width: 4px;
  height: 4px;
  background-color: var(--text-color);
  border-radius: 50%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 8px;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-line {
  width: 24px;
  height: 1.5px;
  background-color: var(--text-color);
  transition: transform 0.4s ease, opacity 0.4s ease, width 0.4s ease;
  transform-origin: center;
}

.menu-line-2 {
  width: 16px;
  align-self: flex-end;
}

/* Open Mobile Menu State */
.mobile-menu-active .menu-line-1 {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-active .menu-line-2 {
  opacity: 0;
}

.mobile-menu-active .menu-line-3 {
  width: 24px;
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-panel.open {
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-color);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: var(--accent-color);
}

/* Base Layout Sections */
main {
  position: relative;
  z-index: 10;
  width: 100%;
}

section {
  width: 100%;
  position: relative;
}

/* Scroll Fade-in effects */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.hero-image-wrapper {
  position: absolute;
  right: 8%;
  top: 15%;
  width: 38vw;
  height: 55vh;
  max-width: 380px;
  display: none;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-image-wrapper {
    display: block;
  }
}

.hero-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  filter: grayscale(100%) contrast(125%);
  mix-blend-mode: screen;
  transform: scaleX(-1);
  opacity: 0.35;
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.body-hovered .hero-image-container {
  opacity: 0.08;
  filter: grayscale(100%) blur(15px);
  transform: scaleX(-1) scale(0.95);
}

.hero-text-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .hero-text-content {
    align-items: flex-start;
    text-align: left;
    margin-top: 0;
  }
}

.hero-title-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #888888;
  margin-bottom: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.body-hovered .hero-title-meta {
  opacity: 0.2;
  transform: translateX(-10px);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 10vw;
  line-height: 0.85;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  cursor: default;
  transition: transform 0.4s ease, font-weight 0.4s ease;
  user-select: none;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 5.8vw;
  }
}

@media (min-width: 1200px) {
  .hero-headline {
    font-size: 70px;
  }
}

.body-hovered .hero-headline {
  transform: scale(1.03);
  font-weight: 900;
}

.hero-headline-accent {
  background: linear-gradient(to right, #111111, rgba(17, 17, 17, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 0.4s ease;
}

.body-hovered .hero-headline-accent {
  background: linear-gradient(to right, var(--text-color), rgba(17, 17, 17, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cta-wrapper {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 280px;
}

@media (min-width: 480px) {
  .hero-cta-wrapper {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-cta-wrapper {
    justify-content: flex-start;
  }
}

.btn-primary {
  background-color: var(--text-color);
  color: var(--bg-color);
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 18px 32px;
  border: 1px solid var(--text-color);
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 18px 32px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
  background-color: rgba(17, 17, 17, 0.05);
  border-color: var(--text-color);
}

/* Hero Extra Overlay Elements */
.hero-time-overlay {
  position: absolute;
  bottom: 10%;
  right: 8%;
  z-index: 20;
  pointer-events: none;
  display: none;
  transition: transform 0.1s ease-out;
}

@media (min-width: 768px) {
  .hero-time-overlay {
    display: block;
  }
}

.hero-time-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(230, 74, 25, 0.08);
  font-size: 8vw;
  letter-spacing: -0.04em;
  line-height: none;
  text-transform: uppercase;
  white-space: nowrap;
  filter: blur(1.5px);
  user-select: none;
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.body-hovered .hero-time-text {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.95);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.body-hovered .hero-scroll-indicator {
  opacity: 0;
  transform: translate(-50%, 15px);
}

.scroll-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(17, 17, 17, 0.4);
  font-weight: 500;
}

.scroll-line-container {
  width: 1px;
  height: 48px;
  background-color: rgba(17, 17, 17, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line-runner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  transform-origin: top;
  animation: scrollRunner 2s infinite ease-in-out;
}

@keyframes scrollRunner {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* About / Artist Section */
.about-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
}

@media (min-width: 768px) {
  .about-image-wrapper {
    height: 75vh;
  }
}

.about-image-parallax {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  filter: grayscale(100%) contrast(120%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.15);
  transition: background-color 0.5s ease;
}

.about-image-wrapper:hover .about-image-overlay {
  background-color: transparent;
}

.about-image-wrapper:hover .about-image-parallax {
  transform: scale(1.05);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.label-line {
  width: 48px;
  height: 1px;
  background-color: var(--accent-color);
}

.label-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-color);
  font-weight: 600;
}

.about-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--text-color);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .about-heading {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .about-heading {
    font-size: 48px;
  }
}

.about-heading span {
  font-weight: 700;
  font-style: italic;
}

.about-description {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.65);
}

@media (min-width: 768px) {
  .about-p {
    font-size: 15px;
  }
}

.about-discover-btn {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.25em;
  position: relative;
}

.about-discover-line {
  width: 40px;
  height: 1px;
  background-color: var(--text-color);
  transition: width 0.3s, background-color 0.3s;
}

.about-discover-btn:hover .about-discover-line {
  width: 64px;
  background-color: var(--accent-color);
}

.about-discover-btn:hover {
  color: var(--accent-color);
}

/* Vault Grid (Interactive Cinematic Vault) */
.vault-section {
  padding: 120px 0;
  background-color: #e5e5dd;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.vault-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(229,229,221,0.9) 80%, #e5e5dd 100%);
  mix-blend-mode: multiply;
  opacity: 0.5;
  z-index: 10;
}

.vault-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 20;
}

.vault-header {
  position: absolute;
  top: 0;
  left: 24px;
  pointer-events: none;
}

.vault-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
}

.vault-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-top: 8px;
  color: var(--text-color);
}

@media (min-width: 768px) {
  .vault-title {
    font-size: 52px;
  }
}

.vault-wrapper-3d {
  perspective: 2000px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

.vault-grid-3d {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

@media (min-width: 768px) {
  .vault-grid-3d {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

/* 3D Item Card style */
.vault-item {
  width: 100%;
  aspect-ratio: 12 / 17;
  border-radius: 12px;
  background-color: rgba(17, 17, 17, 0.05);
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s, transform 0.3s;
}

@media (min-width: 768px) {
  .vault-item {
    border-radius: 16px;
  }
}

.vault-item:hover {
  box-shadow: 0 30px 60px rgba(17, 17, 17, 0.15);
}

.vault-item-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.vault-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(110%);
  opacity: 0.9;
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.vault-item:hover .vault-item-img {
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
  transform: scale(1.03);
}

/* Core Expertise Section */
.expertise-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.expertise-bg-label {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.035;
  pointer-events: none;
  transform: translateY(-20%) translateX(20%);
  user-select: none;
}

.expertise-bg-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20vw;
  text-transform: uppercase;
}

.expertise-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.expertise-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .expertise-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.expertise-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

@media (min-width: 768px) {
  .expertise-title {
    font-size: 64px;
  }
}

.expertise-title span {
  color: var(--accent-color);
  font-style: italic;
}

.expertise-subtitle {
  font-size: 14px;
  color: rgba(17, 17, 17, 0.65);
  max-w: 320px;
  line-height: 1.5;
}

.expertise-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 64px;
    row-gap: 80px;
  }
}

.expertise-column {
  display: flex;
  flex-direction: column;
}

.expertise-col-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.expertise-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-color);
  font-weight: 600;
}

.expertise-col-title {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.expertise-divider {
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  margin-bottom: 24px;
  transition: background-color 0.4s;
}

.expertise-column:hover .expertise-divider {
  background-color: var(--accent-color);
}

.expertise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expertise-item {
  font-size: 14px;
  color: rgba(17, 17, 17, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.expertise-column:hover .expertise-item {
  color: rgba(17, 17, 17, 0.5);
}

.expertise-column:hover .expertise-item:hover {
  color: var(--text-color);
}

/* Path & Evolution (Timeline) */
.timeline-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  background-color: transparent;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

@media (min-width: 768px) {
  .timeline-title {
    font-size: 56px;
  }
}

.timeline-title span {
  color: rgba(17, 17, 17, 0.4);
  font-style: italic;
}

.timeline-icon-spin {
  display: none;
}

@media (min-width: 768px) {
  .timeline-icon-spin {
    display: block;
    animation: rotateSpin 10s linear infinite;
  }
}

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

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
}

@media (min-width: 768px) {
  .timeline-item {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 32px;
    padding-left: 0;
  }
}

.timeline-item-left {
  position: absolute;
  left: 0;
  top: 4px;
  height: 100%;
}

@media (min-width: 768px) {
  .timeline-item-left {
    position: static;
    height: auto;
  }
}

/* Joints visual on mobile */
.timeline-item-line {
  position: absolute;
  left: 0;
  top: 4px;
  width: 1px;
  height: calc(100% + 64px);
  background-color: var(--text-color);
}

@media (min-width: 768px) {
  .timeline-item-line {
    display: none;
  }
}

.timeline-item-dot {
  position: absolute;
  left: -3px;
  top: 2px;
  width: 7px;
  height: 7px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

@media (min-width: 768px) {
  .timeline-item-dot {
    display: none;
  }
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(17, 17, 17, 0.4);
}

.timeline-item-right {
  display: flex;
  flex-direction: column;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--text-color);
}

@media (min-width: 768px) {
  .timeline-role {
    font-size: 32px;
  }
}

.timeline-company {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 16px;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.65);
  max-width: 500px;
}

/* Verified Accomplishments (Certificates Portal) */
.certs-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  background-color: transparent;
  position: relative;
}

.certs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.certs-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .certs-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.certs-label-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.certs-label-line {
  width: 48px;
  height: 1px;
  background-color: var(--accent-color);
}

.certs-label-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent-color);
  text-transform: uppercase;
  font-weight: 600;
}

.certs-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

@media (min-width: 768px) {
  .certs-title {
    font-size: 56px;
  }
}

.certs-title span {
  color: rgba(17, 17, 17, 0.4);
  font-style: italic;
}

.certs-desc {
  font-size: 14px;
  color: rgba(17, 17, 17, 0.5);
  max-width: 340px;
  line-height: 1.6;
}

.certs-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cert-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 480px;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.cert-card:hover {
  border-color: var(--text-color);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
}

.cert-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: rgba(17, 17, 17, 0.03);
  border-bottom: 1px solid var(--border-color-light);
  overflow: hidden;
}

.cert-original-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.05);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.cert-card:hover .cert-original-overlay {
  opacity: 1;
}

.cert-overlay-btn {
  background-color: rgba(17, 17, 17, 0.85);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.15);
  border: none;
}

.cert-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: transform 0.6s, filter 0.6s;
}

.cert-card:hover .cert-img-wrapper img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.cert-issuer-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 15;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-color);
  box-shadow: 0 2px 4px rgba(17, 17, 17, 0.03);
}

.cert-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-meta-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.cert-title-link {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-color);
  transition: color 0.3s;
}

.cert-card:hover .cert-title-link {
  color: var(--accent-color);
}

.cert-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.cert-skill-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: rgba(17, 17, 17, 0.6);
  padding: 2px 8px;
  border-radius: 4px;
}

.cert-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color-light);
  padding-top: 16px;
  margin-top: 16px;
}

.cert-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(17, 17, 17, 0.4);
}

.cert-verify-action {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s;
}

.cert-card:hover .cert-verify-action {
  color: var(--accent-color);
}

.cert-verify-arrow {
  transition: transform 0.3s;
}

.cert-card:hover .cert-verify-arrow {
  transform: translate(2px, -2px);
}

/* Testimonials Section */
.testimonials-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.testimonials-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1000px;
  height: 400px;
  background-color: rgba(230, 74, 25, 0.04);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.testimonials-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(17, 17, 17, 0.4);
  margin-bottom: 64px;
  display: block;
}

.testimonials-slider {
  position: relative;
  min-height: 250px;
}

@media (min-width: 768px) {
  .testimonials-slider {
    min-height: 180px;
  }
}

.testimonial-slide {
  position: absolute;
  inset-x: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 10;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 32px;
  color: var(--text-color);
}

@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 28px;
  }
}

.testimonial-author-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.testimonial-author {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--accent-color);
}

.testimonial-role {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(17, 17, 17, 0.4);
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.testimonials-nav-btn {
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-nav-line {
  display: block;
  height: 1.5px;
  background-color: rgba(17, 17, 17, 0.3);
  transition: width 0.3s, background-color 0.3s;
}

.testimonials-nav-btn.active .testimonials-nav-line {
  width: 32px;
  background-color: var(--accent-color);
}

.testimonials-nav-btn:not(.active) .testimonials-nav-line {
  width: 16px;
}

.testimonials-nav-btn:hover .testimonials-nav-line {
  background-color: var(--text-color);
  width: 24px;
}

.testimonials-nav-btn.active:hover .testimonials-nav-line {
  width: 32px;
  background-color: var(--accent-color);
}

/* Contact Section */
.contact-section {
  min-height: 100vh;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.contact-ambient {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.015;
  user-select: none;
}

.contact-ambient-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30vw;
  white-space: nowrap;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 72px;
  }
}

@media (min-width: 1024px) {
  .contact-title {
    font-size: 88px;
  }
}

.contact-title span {
  font-style: italic;
  animation: textBlink 1.5s infinite alternate ease-in-out;
}

@keyframes textBlink {
  0% { color: var(--text-color); }
  100% { color: var(--accent-color); }
}

.contact-form-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-color);
  transition: border-color 0.3s;
}

.form-input::placeholder {
  color: rgba(17, 17, 17, 0.45);
}

.form-input:focus {
  outline: none;
  border-color: var(--text-color);
}

.form-textarea {
  resize: none;
}

.form-submit-btn {
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.2);
  background: transparent;
  padding: 18px 0;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-color);
  cursor: pointer;
  z-index: 10;
}

.form-submit-bg {
  position: absolute;
  inset: 0;
  background-color: var(--text-color);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.form-submit-btn:hover {
  color: var(--bg-color);
}

.form-submit-btn:hover .form-submit-bg {
  transform: translateY(0);
}

/* Footer layout */
footer {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 10;
}

@media (min-width: 768px) {
  footer {
    flex-direction: row;
    padding: 32px 48px;
  }
}

.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-credits {
    text-align: left;
  }
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.5);
}

.footer-by {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(17, 17, 17, 0.5);
}

.footer-by a {
  text-decoration: none;
  color: rgba(17, 17, 17, 0.7);
  font-weight: 550;
  transition: color 0.3s;
}

.footer-by a:hover {
  color: var(--accent-color);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social-link {
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(17, 17, 17, 0.5);
  font-weight: 550;
  transition: color 0.3s;
}

.footer-social-link:hover {
  color: var(--text-color);
}

/* Interactive Digital Twin Certificate Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  position: relative;
  background-color: #ffffff;
  color: #111111;
  max-width: 1000px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10002;
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

@media (max-width: 767px) {
  .modal-card {
    max-height: 95vh;
    overflow-y: auto;
  }
}

@media (min-width: 768px) {
  .modal-card {
    flex-direction: row;
  }
}

.modal-close-btn {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.03);
  border: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10010;
  transition: background-color 0.3s;
}

.modal-close-btn:hover {
  background-color: rgba(17, 17, 17, 0.08);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
  color: var(--text-color);
}

/* Modal Content Parts */
.modal-left {
  flex: 1;
  background-color: #f7f7f5;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  min-height: 380px;
  position: relative;
}

@media (min-width: 768px) {
  .modal-left {
    padding: 48px;
    border-bottom: none;
    border-right: 1px solid rgba(17, 17, 17, 0.08);
    min-height: 520px;
  }
}

/* Selector switches */
.modal-switches {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10005;
  display: flex;
  gap: 2px;
  background-color: rgba(17, 17, 17, 0.05);
  padding: 2px;
  border-radius: 8px;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

@media (min-width: 768px) {
  .modal-switches {
    left: 48px;
  }
}

.switch-btn {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: rgba(17, 17, 17, 0.5);
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.switch-btn.active {
  background-color: #ffffff;
  color: var(--text-color);
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(17, 17, 17, 0.05);
}

/* Scan View vs Twin View */
.view-panel {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 48px;
}

.view-panel.active {
  display: flex;
}

.scan-image-box {
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
  background-color: #ffffff;
  padding: 6px;
  border-radius: 12px;
  max-width: 90%;
  max-height: 380px;
}

@media (min-width: 768px) {
  .scan-image-box {
    max-height: 420px;
  }
}

.scan-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  max-height: 360px;
}

@media (min-width: 768px) {
  .scan-image-box img {
    max-height: 400px;
  }
}

.scan-meta-caption {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.4);
  letter-spacing: 0.1em;
  margin-top: 16px;
}

/* Digital Twin UI layout (meta/google/hubspot templates) */
.twin-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0;
  user-select: none;
}

.twin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.twin-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.twin-logo-badge {
  padding: 8px;
  border: 1px solid #111111;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  background-color: #ffffff;
  text-align: center;
  min-width: 32px;
}

.twin-logo-meta h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}

.twin-logo-meta p {
  font-family: var(--font-mono);
  font-size: 7px;
  color: rgba(17, 17, 17, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.twin-licence {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(17, 17, 17, 0.4);
  letter-spacing: 0.05em;
}

.twin-body {
  text-align: center;
  margin: 32px 0;
}

.twin-subtitle-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(17, 17, 17, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.twin-recipient {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--accent-color);
  border-bottom: 1px double rgba(17, 17, 17, 0.15);
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .twin-recipient {
    font-size: 32px;
  }
}

.twin-body-p {
  font-size: 11px;
  color: rgba(17, 17, 17, 0.5);
  margin-bottom: 8px;
}

.twin-course {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-color);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .twin-course {
    font-size: 24px;
  }
}

.twin-body-desc {
  font-size: 9px;
  color: rgba(17, 17, 17, 0.4);
  max-width: 380px;
  margin: 12px auto 0 auto;
  line-height: 1.4;
}

.twin-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 16px;
}

.twin-sign-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.twin-sign-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
}

.twin-signature {
  font-family: 'Outfit', cursive, sans-serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(17, 17, 17, 0.8);
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  width: 96px;
  padding-bottom: 4px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.twin-sign-title {
  font-family: var(--font-mono);
  font-size: 7px;
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
}

.twin-stamp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px dashed rgba(var(--accent-color-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseStamp 2s infinite alternate;
}

@keyframes pulseStamp {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

.twin-stamp-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-color-rgb), 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--accent-color-rgb), 0.02);
}

.twin-stamp-text-1 {
  color: var(--accent-color);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.twin-stamp-text-2 {
  font-size: 5px;
  color: #bfbfc0;
  text-transform: uppercase;
  font-weight: 700;
}

.twin-date-box {
  text-align: right;
}

.twin-date-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(17, 17, 17, 0.4);
  text-transform: uppercase;
}

.twin-date-value {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 4px;
}

/* Modal Right Panel (Verifiable Record Card) */
.modal-right {
  width: 100%;
  background-color: #111111;
  color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .modal-right {
    width: 380px;
    padding: 40px;
  }
}

.record-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  margin-bottom: 32px;
}

.record-header-icon {
  width: 14px;
  height: 14px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: beaconPulse 1.5s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(230, 74, 25, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(230, 74, 25, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(230, 74, 25, 0); }
}

.record-header-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #eaeaea;
  font-weight: 700;
}

.record-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.record-field-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.record-field-value {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #eaeaea;
}

.record-field-value.highlight {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.record-field-value.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #cccccc;
}

.record-field-desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.record-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.record-skill-tag {
  background-color: #222222;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 9px;
  color: #e5e5dd;
  padding: 4px 8px;
  border-radius: 4px;
}

.record-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.record-btn-print {
  background-color: #ffffff;
  color: #111111;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background-color 0.3s;
}

.record-btn-print:hover {
  background-color: #eaeaea;
}

.record-btn-copy {
  background-color: #222222;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.3s;
}

.record-btn-copy:hover {
  background-color: #333333;
}

/* Print Overrides */
@media print {
  body * {
    visibility: hidden;
  }
  .modal-overlay, .modal-overlay * {
    visibility: visible;
  }
  .modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background: white;
    backdrop-filter: none;
  }
  .modal-card {
    box-shadow: none;
    max-height: none;
    border-radius: 0;
    width: 100%;
    flex-direction: column;
  }
  .modal-left {
    border-right: none;
    background: white !important;
  }
  .modal-right, .modal-switches, .modal-close-btn {
    display: none !important;
  }
  .view-panel {
    display: none !important;
  }
  .view-panel#twin-view-panel {
    display: flex !important;
  }
  .twin-container {
    padding: 0;
  }
}
