@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('assets/fonts/fira-code-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-base: #f7f6f3;
  --bg-panel: rgba(255, 255, 255, 0.75);
  --bg-solid: #ffffff;
  
  --border-light: rgba(0, 0, 0, 0.05);
  --border-glass: rgba(255, 255, 255, 0.5);
  
  --text-main: #2d2b28;
  --text-muted: #6e6b64;
  --text-light: #68645d;
  
  --accent-blue: #4f46e5;
  --accent-blue-bg: #f0efff;
  
  --accent-peach: #c64a1b;
  --accent-peach-bg: #fff4ee;
  
  --accent-mint: #087f5b;
  --accent-mint-bg: #ebf9f5;

  --accent-gold: #8a6400;
  --accent-gold-bg: #fefcf0;
  
  --card-shadow: 0 10px 30px -10px rgba(110, 107, 100, 0.1);
  --card-shadow-hover: 0 20px 40px -12px rgba(93, 85, 250, 0.15);
  
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.suspension-article p,
.suspension-article table {
  width: 100%;
}

.suspension-article table,
.suspension-article td,
.suspension-article th {
  border: 1px solid gray;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-base);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3联%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(93, 85, 250, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(46, 187, 147, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 46%, rgba(250, 143, 85, 0.055) 46% 47%, transparent 47% 100%);
  background-size: 88px 88px, 88px 88px, 220px 220px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.5));
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Base Layout & Containers */
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
  z-index: 2;
}

/* Header Info (Bento Style Top Bar) */
.brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  padding: 16px 28px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-title-link {
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.brand-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent-blue);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.brand-status {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-mint);
  border-radius: 50%;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 24px;
}

/* Bento Card Styles */
.bento-card {
  grid-column: span 12;
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(93, 85, 250, 0.15);
}

.bento-card-bg-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  filter: blur(40px);
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-card-bg-decoration {
  transform: scale(1.2) translate(-20px, -20px);
  opacity: 0.25;
}

/* Dynamic Grid Assignments */
.card-profile { grid-column: span 5; }
.card-geek { grid-column: span 7; }
.card-business { grid-column: span 6; }
.card-skills { grid-column: span 6; }
.card-personal { grid-column: span 8; }
.card-testimonials { grid-column: span 4; }
.card-contact { grid-column: span 12; }

.card-testimonials {
  padding-bottom: 28px;
}

/* Subheading Styling inside cards */
.card-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.card-tag-profile { background: var(--accent-blue-bg); color: var(--accent-blue); }
.card-tag-geek { background: var(--accent-gold-bg); color: var(--accent-gold); }
.card-tag-business { background: var(--accent-mint-bg); color: var(--accent-mint); }
.card-tag-skills { background: var(--accent-peach-bg); color: var(--accent-peach); }
.card-tag-personal { background: var(--accent-blue-bg); color: var(--accent-blue); }
.card-tag-testimonials { background: var(--accent-mint-bg); color: var(--accent-mint); }

.card-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Card 1: Profile Detail */
.profile-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.profile-avatar-container {
  position: relative;
  width: 110px;
  height: 110px;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  border: 4px solid var(--bg-solid);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: var(--transition-bounce);
}

.bento-card:hover .profile-avatar {
  transform: rotate(-3deg) scale(1.05);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.profile-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.profile-bio p {
  margin-bottom: 12px;
}

.profile-bio a {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(93, 85, 250, 0.25);
  transition: var(--transition-smooth);
}

.profile-bio a:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

.profile-quick-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 14px;
  text-align: center;
  transition: var(--transition-bounce);
}

.stat-item:hover {
  transform: scale(1.03);
  border-color: var(--accent-blue);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
}

/* Card 2: Interactive Terminal Widget (Geek Card) */
.terminal-widget {
  background: #181715;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 280px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #c7c5be;
}

.terminal-header {
  background: #252422;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.terminal-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.btn-red { background: #ff5f56; }
.btn-yellow { background: #ffbd2e; }
.btn-green { background: #27c93f; }

.terminal-tab-name {
  color: #aaa59b;
  font-size: 0.75rem;
}

.terminal-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  word-break: break-all;
}

.terminal-prompt {
  color: var(--accent-mint);
  flex-shrink: 0;
  user-select: none;
}

.terminal-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-input-field {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  flex-grow: 1;
}

.terminal-commands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cmd-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cmd-badge:hover {
  background: var(--accent-gold-bg);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Card 3: Network Graph Animation (Business Card) */
.network-canvas-container {
  width: 100%;
  height: 220px;
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

#network-nodes-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.business-summary {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.business-summary p {
  margin-bottom: 14px;
}

.business-summary p:last-child {
  margin-bottom: 0;
}

.business-summary a {
  color: var(--accent-mint);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 187, 147, 0.28);
  transition: var(--transition-smooth);
}

.business-summary a:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

.business-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.bullet-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-mint);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Card 4: Skills & Certifications */
.skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skills-list-item {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition-smooth);
}

.skills-list-item:hover {
  transform: translateX(4px);
  border-color: rgba(250, 143, 85, 0.35);
  background: var(--accent-peach-bg);
}

.skill-name {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
}

.skill-badge {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-peach-bg);
  color: var(--accent-peach);
  border: 1px solid rgba(250, 143, 85, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* History Page */
.history-page {
  max-width: 1400px;
}

.history-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.history-hero,
.history-card {
  grid-column: span 12;
}

.history-hero {
  padding-bottom: 28px;
}

.history-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.history-contact-strip span,
.history-contact-strip a {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
}

.history-contact-strip a:hover {
  color: var(--accent-blue);
  border-color: rgba(93, 85, 250, 0.28);
}

.history-prose {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.history-prose p {
  margin-bottom: 16px;
}

.history-prose p:last-child {
  margin-bottom: 0;
}

.history-prose a,
.history-role a {
  color: var(--accent-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(93, 85, 250, 0.25);
  transition: var(--transition-smooth);
}

.history-prose a:hover,
.history-role a:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

.history-split-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
}

.history-qualification-list {
  margin-top: 0;
}

.soft-skill-list {
  display: grid;
  gap: 12px;
}

.soft-skill-item {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 18px;
}

.soft-skill-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.soft-skill-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 11px;
  width: 2px;
  background: linear-gradient(var(--accent-blue), var(--accent-mint), var(--accent-peach));
  opacity: 0.22;
}

.history-role {
  position: relative;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 22px 22px 22px 42px;
  transition: var(--transition-smooth);
}

.history-role::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--bg-solid);
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 1px rgba(93, 85, 250, 0.18);
}

.history-role:hover {
  background: var(--bg-solid);
  transform: translateX(4px);
  box-shadow: var(--card-shadow);
}

.history-role-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.history-role-date {
  width: fit-content;
  border-radius: 999px;
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.history-role h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.history-role p,
.history-role li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.history-role p {
  margin-bottom: 10px;
}

.history-role p:last-child {
  margin-bottom: 0;
}

.history-role ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 12px 18px;
}

/* Trucks Page */
.trucks-page {
  max-width: 1400px;
}

.trucks-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.trucks-hero,
.trucks-gallery-card {
  grid-column: span 12;
}

.trucks-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
}

.truck-driver-photo {
  width: 240px;
  height: 240px;
  border-radius: 42px;
  overflow: hidden;
  border: 6px solid var(--bg-solid);
  box-shadow: 0 18px 42px rgba(0,0,0,0.1);
  transform: rotate(2deg);
}

.truck-driver-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.truck-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.truck-record-card {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.truck-record-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 143, 85, 0.34);
  box-shadow: 0 18px 34px -22px rgba(250, 143, 85, 0.45);
}

.truck-record-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-base);
}

.truck-record-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.truck-record-card:hover .truck-record-image img {
  transform: scale(1.05);
}

.truck-record-specs {
  display: grid;
  gap: 0;
  padding: 14px;
}

.truck-record-specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
}

.truck-record-specs div:last-child {
  border-bottom: 0;
}

.truck-record-specs dt {
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.truck-record-specs dd {
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

/* Testimonials Page */
.testimonials-page {
  max-width: 1400px;
}

.testimonials-page-layout {
  display: block;
}

.testimonials-page-hero {
  width: 100%;
  margin-bottom: 24px;
}

.testimonials-full-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-full-card {
  grid-column: auto;
  border-radius: 24px;
  padding: 28px;
  min-height: 100%;
}

.testimonial-full-avatar {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid var(--bg-solid);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  float: left;
  margin: 0 18px 12px 0;
}

.testimonial-full-card blockquote {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-full-card footer {
  clear: both;
  margin-top: 18px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-weight: 700;
}

.testimonial-full-card cite {
  display: block;
  margin-top: 2px;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
}

/* GST Calculator Page */
.gst-page {
  max-width: 1400px;
  min-height: 100vh;
}

.gst-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.gst-hero,
.gst-calculator-card {
  grid-column: span 12;
}

.gst-hero {
  padding-bottom: 30px;
}

.gst-calculator-card {
  width: 100%;
  margin: 0 auto;
}

.gst-form {
  display: grid;
  gap: 18px;
}

.gst-field {
  display: grid;
  gap: 9px;
}

.gst-field label {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.gst-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 12px;
  align-items: center;
}

.gst-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  padding: 0 16px;
  transition: var(--transition-smooth);
}

.gst-input:focus {
  border-color: rgba(93, 85, 250, 0.42);
  box-shadow: 0 0 0 4px rgba(93, 85, 250, 0.1);
  outline: none;
}

.gst-input-error {
  border-color: rgba(220, 54, 46, 0.58);
  box-shadow: 0 0 0 4px rgba(220, 54, 46, 0.08);
}

.gst-action-btn,
.gst-clear-btn {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  transition: var(--transition-smooth);
}

.gst-action-btn {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(93, 85, 250, 0.85);
}

.gst-action-btn:hover,
.gst-action-btn:focus-visible {
  background: #4740d8;
  transform: translateY(-2px);
  outline: none;
}

.gst-clear-btn {
  justify-self: end;
  min-width: 120px;
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.gst-clear-btn:hover,
.gst-clear-btn:focus-visible {
  color: var(--text-main);
  border-color: rgba(250, 143, 85, 0.35);
  background: var(--accent-peach-bg);
  outline: none;
}

.gst-footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding-top: 4px;
}

.gst-error-message {
  min-height: 22px;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 700;
}

/* 404 Page */
.not-found-page {
  max-width: 1400px;
}

.not-found-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.not-found-card {
  grid-column: span 12;
}

.not-found-code {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
}

.not-found-image-frame {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  background: var(--bg-solid);
  box-shadow: var(--card-shadow);
}

.not-found-image {
  display: block;
  width: 100%;
  height: auto;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.not-found-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: var(--bg-solid);
  color: var(--text-muted);
  font-weight: 800;
  padding: 8px 14px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.not-found-action:hover,
.not-found-action:focus-visible {
  border-color: rgba(93, 85, 250, 0.28);
  color: var(--accent-blue);
  outline: none;
  transform: translateY(-2px);
}

/* Suspension Page */
.suspension-page {
  max-width: 1400px;
}

.suspension-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.suspension-hero,
.suspension-card {
  grid-column: span 12;
}

.suspension-hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 32px;
  align-items: stretch;
  padding: 0;
}

.suspension-hero-image {
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(45, 43, 40, 0.18), rgba(45, 43, 40, 0)),
    url("assets/images/bgs/suspension.jpg") center / cover;
}

.suspension-hero-copy {
  align-self: center;
  padding: 42px 42px 42px 0;
}

.suspension-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 800;
  padding: 8px 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.suspension-download:hover,
.suspension-download:focus-visible {
  background: #4740d8;
  outline: none;
  transform: translateY(-2px);
}

.suspension-article {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.suspension-article style,
.suspension-article h1:first-of-type {
  display: none;
}

.suspension-article strong {
  color: var(--text-main);
}

.suspension-article h2 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 32px 0 12px;
}

.suspension-article h3,
.suspension-article h4 {
  color: var(--text-main);
  font-family: var(--font-display);
  margin: 26px 0 10px;
}

.suspension-article p {
  margin: 0 0 16px;
}

.suspension-article ul,
.suspension-article ol {
  display: grid;
  gap: 6px;
  margin: 12px 0 18px 22px;
}

.suspension-article li {
  padding-left: 3px;
}

.suspension-article a {
  color: var(--accent-blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(93, 85, 250, 0.28);
  transition: var(--transition-smooth);
}

.suspension-article a:hover,
.suspension-article a:focus-visible {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
  outline: none;
}

.suspension-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-solid);
  box-shadow: var(--card-shadow);
}

.suspension-article th,
.suspension-article td {
  border: 1px solid var(--border-light);
  padding: 10px 12px;
  vertical-align: top;
}

.suspension-article th {
  color: var(--text-main);
  font-family: var(--font-display);
  background: var(--accent-blue-bg);
}

/* Reusable Image Modal */
body.modal-open {
  overflow: hidden;
}

.js-image-modal,
[data-modal-image] {
  cursor: zoom-in;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.image-modal[inert] {
  visibility: hidden;
}

.image-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 24, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.image-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1800px, 96vw);
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.image-modal.visible .image-modal-dialog {
  transform: translateY(0) scale(1);
}

.image-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px 14px 22px;
  border-bottom: 1px solid var(--border-light);
}

.image-modal-header h2 {
  min-width: 0;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-base);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  transition: var(--transition-smooth);
}

.image-modal-close:hover,
.image-modal-close:focus-visible {
  background: var(--accent-blue);
  color: #fff;
  outline: none;
}

.image-modal-body {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 18px;
  background: rgba(247, 246, 243, 0.62);
}

.image-modal-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.site-update-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 220;
  width: min(calc(100vw - 32px), 430px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(93, 85, 250, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-main);
  box-shadow: 0 22px 54px -24px rgba(45, 43, 40, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.site-update-toast strong,
.site-update-toast span {
  display: block;
}

.site-update-toast strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.1;
}

.site-update-toast span {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-update-action,
.site-update-dismiss {
  border: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.site-update-action {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.site-update-action:hover,
.site-update-action:focus-visible {
  background: #4740d8;
  outline: none;
}

.site-update-dismiss {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-base);
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
}

.site-update-dismiss:hover,
.site-update-dismiss:focus-visible {
  background: var(--text-main);
  color: #fff;
  outline: none;
}

.image-modal-fill .image-modal-body {
  display: block;
  max-height: calc(100vh - 82px);
  overflow: auto;
  padding: 8px;
}

.image-modal-fill .image-modal-img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 12px;
  margin: 0 auto;
}

.image-modal-fill .image-modal-dialog {
  max-height: calc(100vh - 16px);
  border-radius: 18px;
}

.image-modal-fill .image-modal-header {
  min-height: 48px;
  padding: 6px 8px 6px 16px;
}

.image-modal-fill .image-modal-close {
  width: 34px;
  height: 34px;
}

/* Card 5: Hobbies Interactive Slider */
.hobbies-widget {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-gap: 32px;
  align-items: start;
}

.hobbies-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px;
}

.hobby-btn {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  color: inherit;
  font: inherit;
  min-height: 82px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-bounce);
}

.hobby-btn span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hobby-btn.active {
  background: var(--accent-blue-bg);
  border-color: var(--accent-blue);
}

.hobby-btn.active span {
  color: var(--accent-blue);
}

.hobby-btn svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--text-light);
  stroke-width: 1.5;
  transition: var(--transition-smooth);
}

.hobby-btn.active svg {
  stroke: var(--accent-blue);
  transform: scale(1.1);
}

.hobby-btn:hover {
  transform: translateY(-2px);
}

.hobby-btn:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.22);
  outline-offset: 2px;
}

.hobby-details-box {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 24px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hobby-detail-top {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.hobby-pic-frame {
  width: 150px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.hobby-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hobby-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hobby-detail-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hobby-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hobby-desc a {
  color: var(--accent-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(93, 85, 250, 0.24);
  transition: var(--transition-smooth);
}

.hobby-desc a:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

.hobby-extra-detail {
  background: var(--bg-base);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hobby-mobile-controls {
  display: none;
}

.hobby-carousel-btn {
  border: 0;
  cursor: pointer;
}

/* Card 6: Testimonials Carousel */
.testimonials-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
  height: 230px;
  margin-bottom: 0;
}

.testimonial-card-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(40px) scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.testimonial-card-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.testimonial-card-slide.exit {
  opacity: 0;
  transform: translateX(-40px) scale(0.95);
}

.testimonial-slide-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.testimonial-quote-box {
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 16px;
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.testimonial-quote-box::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: var(--bg-solid);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transform: rotate(45deg);
}

.testimonial-quote {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-left: 8px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-solid);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.testimonial-title {
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.25;
}

.testimonial-controls {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 10px;
}

.testimonial-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: var(--bg-solid);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition-smooth);
}

.testimonial-nav-btn:hover,
.testimonial-nav-btn:focus-visible {
  background: var(--accent-mint-bg);
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  outline: none;
}

.testimonial-nav-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.indicator-dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator-dot::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  background: var(--text-light);
  transition: var(--transition-smooth);
}

.indicator-dot.active {
  width: 24px;
}

.indicator-dot.active::before {
  inset-inline: 4px;
  background: var(--accent-mint);
}

.indicator-dot:focus-visible {
  outline: 3px solid rgba(8, 127, 91, 0.22);
  outline-offset: 2px;
}

/* Card 7: Contact Info & Interactive Beard Frame */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-row-item {
  display: flex;
  gap: 20px;
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 2;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-detail {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-detail a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-detail a:hover {
  color: var(--accent-blue);
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.beard-image-container {
  width: 240px;
  height: 300px;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--bg-solid);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  position: relative;
  cursor: grab;
  user-select: none;
}

.beard-image-container:active {
  cursor: grabbing;
}

.beard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.beard-tip {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ORBIT NAVIGATION MENU */
:root {
  --orbit-ink: var(--text-main);
  --orbit-mint: var(--accent-blue-bg);
  --orbit-line: var(--border-light);
  --orbit-shadow: 0 10px 30px -10px rgba(110, 107, 100, 0.2);
  --orbit-radius: 12px;
}

.nav-orbit {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  top: 50%;
  z-index: 100;
  width: 13rem;
  height: 13rem;
  transform: translateY(-50%);
}

.nav-toggle {
  position: absolute;
  inset: 4.5rem;
  border: 1px solid var(--orbit-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--orbit-shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 102;
  transition: var(--transition-bounce);
}

.nav-toggle svg {
  width: 1.7rem;
  height: 1.7rem;
  stroke: var(--orbit-ink);
  transition: transform .4s cubic-bezier(.2, .9, .2, 1);
}

.nav-orbit[data-open="true"] .nav-toggle {
  background: var(--bg-solid);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(93, 85, 250, 0.15);
}

.nav-orbit[data-open="true"] .nav-toggle svg {
  transform: rotate(135deg);
  stroke: var(--accent-blue);
}

.nav-item {
  --angle: 0deg;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--orbit-line);
  border-radius: 50%;
  color: var(--orbit-ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 20px rgba(110, 107, 100, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(0) rotate(calc(-1 * var(--angle)));
  transition: transform .45s cubic-bezier(.2, .9, .2, 1), opacity .25s ease, background .2s ease, border-color .2s ease;
  z-index: 101;
}

.nav-orbit[data-open="true"] .nav-item {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(6.5rem) rotate(calc(-1 * var(--angle)));
}

.nav-item:hover,
.nav-item:focus-visible {
  background: var(--orbit-mint);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  outline: none;
}

.nav-item svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav-item span {
  position: absolute;
  right: 3.6rem;
  white-space: nowrap;
  background: var(--orbit-ink);
  color: white;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .7rem;
  border-radius: var(--orbit-radius);
  opacity: 0;
  transform: translateX(.4rem);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-item:nth-of-type(1) span {
  right: auto;
  left: 50%;
  bottom: 3.6rem;
  transform: translate(-50%, .4rem);
}

.nav-item:nth-of-type(2) span {
  right: auto;
  left: 3.6rem;
  top: 50%;
  transform: translate(-.4rem, -50%);
}

.nav-item:hover span,
.nav-item:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.nav-item:nth-of-type(1):hover span,
.nav-item:nth-of-type(1):focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-item:nth-of-type(2):hover span,
.nav-item:nth-of-type(2):focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}

.orbit-menu-hint {
  position: fixed;
  right: calc(clamp(1rem, 3vw, 2.5rem) + 12.2rem);
  top: 50%;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--accent-blue);
  opacity: 0;
  pointer-events: none;
  transform: translate(-12px, -50%) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-menu-hint.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.orbit-menu-hint.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(12px, -50%) scale(0.96);
}

.orbit-hint-copy {
  position: relative;
  min-width: 150px;
  padding: 14px 42px 14px 16px;
  border: 1px solid rgba(93, 85, 250, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px -18px rgba(93, 85, 250, 0.36);
  color: var(--text-main);
  animation: orbit-hint-float 2.8s ease-in-out infinite;
}

.orbit-hint-copy strong,
.orbit-hint-copy span {
  display: block;
}

.orbit-hint-copy strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.1;
}

.orbit-hint-copy span {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.orbit-hint-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-base);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  transition: var(--transition-smooth);
}

.orbit-hint-dismiss:hover,
.orbit-hint-dismiss:focus-visible {
  background: var(--accent-blue);
  color: #fff;
  outline: none;
}

.orbit-hint-arrow {
  width: 130px;
  height: 70px;
  filter: drop-shadow(0 8px 12px rgba(93, 85, 250, 0.16));
  animation: orbit-arrow-pulse 1.8s ease-in-out infinite;
}

@keyframes orbit-hint-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes orbit-arrow-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.78; }
  50% { transform: translateX(8px); opacity: 1; }
}

@media (max-width: 620px) {
  .nav-orbit {
    top: auto;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 4.6rem;
    height: 4.6rem;
    transform: none;
  }

  .nav-toggle {
    inset: .25rem;
    background: rgba(255, 255, 255, .94);
  }

  .nav-toggle svg {
    width: 1.45rem;
    height: 1.45rem;
  }

  .nav-item {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, .96);
  }

  /* Staggered double-layer layout, tuned for the current eight item menu. */
  .nav-orbit[data-open="true"] .nav-item {
    opacity: 1;
    pointer-events: auto;
  }

  /* Outer Layer */
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(1) {
    transform: translate(-50%, -50%) rotate(272deg) translate(9.15rem) rotate(-272deg);
  }
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(2) {
    transform: translate(-50%, -50%) rotate(242deg) translate(9.15rem) rotate(-242deg);
  }
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(3) {
    transform: translate(-50%, -50%) rotate(212deg) translate(9.15rem) rotate(-212deg);
  }
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(4) {
    transform: translate(-50%, -50%) rotate(182deg) translate(9.15rem) rotate(-182deg);
  }

  /* Inner Layer */
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(5) {
    transform: translate(-50%, -50%) rotate(257deg) translate(6.25rem) rotate(-257deg);
  }
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(6) {
    transform: translate(-50%, -50%) rotate(227deg) translate(6.25rem) rotate(-227deg);
  }
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(7) {
    transform: translate(-50%, -50%) rotate(197deg) translate(6.25rem) rotate(-197deg);
  }
  .nav-orbit[data-open="true"] .nav-item:nth-of-type(8) {
    transform: translate(-50%, -50%) rotate(167deg) translate(6.25rem) rotate(-167deg);
  }

  .nav-item span {
    display: none;
  }

  .orbit-menu-hint {
    right: 5.75rem;
    bottom: 2.05rem;
    top: auto;
    gap: 10px;
    transform: translateY(10px) scale(0.96);
  }

  .orbit-menu-hint.visible {
    transform: translateY(0) scale(1);
  }

  .orbit-menu-hint.hidden {
    transform: translateY(10px) scale(0.96);
  }

  .orbit-hint-copy {
    min-width: 128px;
    padding: 12px 36px 12px 14px;
  }

  .orbit-hint-copy strong {
    font-size: 0.88rem;
  }

  .orbit-hint-copy span {
    font-size: 0.72rem;
  }

  .orbit-hint-arrow {
    width: 68px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-hint-copy,
  .orbit-hint-arrow {
    animation: none;
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .card-profile { grid-column: span 6; }
  .card-geek { grid-column: span 6; }
  .card-personal { grid-column: span 12; }
  .card-testimonials { grid-column: span 12; }
  .hobbies-widget {
    grid-template-columns: 1fr;
  }
  .hobbies-nav {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .card-profile { grid-column: span 12; }
  .card-geek { grid-column: span 12; }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-personal {
    padding-left: 20px;
    padding-right: 20px;
    overflow: visible;
  }

  .hobbies-widget {
    gap: 12px;
  }

  .hobbies-nav {
    position: sticky;
    top: 10px;
    z-index: 4;
    display: flex;
    gap: 10px;
    margin: 0 -20px;
    padding: 8px 20px 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    background: rgba(247, 246, 243, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.42);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .hobby-btn {
    flex: 0 0 88px;
    min-height: 60px;
    padding: 8px 6px;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .hobby-btn svg {
    width: 20px;
    height: 20px;
  }

  .hobby-btn span {
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .hobby-mobile-controls {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 10px;
    align-items: center;
    margin: 2px 0 0;
  }

  .hobby-carousel-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 14px 28px -18px rgba(93, 85, 250, 0.9);
    transition: var(--transition-smooth);
  }

  .hobby-carousel-btn:hover,
  .hobby-carousel-btn:focus-visible {
    background: #4740d8;
    outline: none;
    transform: translateY(-2px);
  }

  .hobby-carousel-btn svg {
    width: 23px;
    height: 23px;
  }

  .hobby-carousel-status {
    min-height: 44px;
    min-width: 0;
    padding: 0 12px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    background: var(--bg-solid);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hobby-details-box {
    min-height: 0;
    padding: 18px;
    scroll-margin-top: 112px;
  }

  .hobby-detail-top {
    display: grid;
    gap: 16px;
  }

  .hobby-pic-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }

  .hobby-text-container {
    justify-content: flex-start;
  }

  .hobby-detail-title {
    font-size: 1.35rem;
  }

  .hobby-desc {
    font-size: 0.92rem;
  }

  .brand-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .history-split-card {
    grid-template-columns: 1fr;
  }

  .history-contact-strip {
    flex-direction: column;
  }

  .history-contact-strip span,
  .history-contact-strip a {
    border-radius: 14px;
  }

  .trucks-hero-grid {
    grid-template-columns: 1fr;
  }

  .truck-driver-photo {
    width: 210px;
    height: 210px;
  }

  .truck-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-full-grid {
    grid-template-columns: 1fr;
  }

  .suspension-hero {
    grid-template-columns: 1fr;
  }

  .suspension-hero-image {
    min-height: 260px;
  }

  .suspension-hero-copy {
    padding: 0 32px 34px;
  }

  .gst-control-row {
    grid-template-columns: 1fr;
  }

  .gst-action-btn {
    width: 100%;
  }

  .image-modal {
    padding: 14px;
  }

  .image-modal-dialog {
    max-height: calc(100vh - 28px);
    border-radius: 18px;
  }

  .image-modal-header {
    padding-left: 16px;
  }

  .image-modal-body {
    padding: 10px;
  }

  .image-modal-img {
    max-height: calc(100vh - 130px);
    border-radius: 12px;
  }

  .image-modal-fill .image-modal-body {
    max-height: calc(100vh - 72px);
    padding: 6px;
  }

  .image-modal-fill .image-modal-img {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .card-business { grid-column: span 12; }
  .card-skills { grid-column: span 12; }

  .skills-list-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .history-role {
    padding: 20px 18px 20px 36px;
  }

  .history-role h3 {
    font-size: 1.15rem;
  }

  .truck-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gst-calculator-card {
    padding: 28px 20px;
  }

  .gst-footer-row {
    grid-template-columns: 1fr;
  }

  .gst-clear-btn {
    justify-self: stretch;
  }

  .suspension-card {
    padding: 28px 20px;
  }

  .suspension-article {
    font-size: 0.92rem;
  }

  .suspension-article table {
    display: block;
    overflow-x: auto;
  }
}
