/* ==========================================================================
   WESIKS PORTFOLIO — BESPOKE FRONTEND DESIGN
   Studio Direction: Liquid Film Canvas, Wide Layout & Centered Typography
   ========================================================================== */

/* 1. Design Tokens */
:root {
  --canvas: #09080F;
  --surface: rgba(14, 12, 22, 0.40);
  --surface-raised: rgba(22, 18, 36, 0.55);
  --surface-border: rgba(255, 255, 255, 0.12);
  --surface-border-hover: rgba(255, 255, 255, 0.28);

  --rule-subtle: rgba(255, 255, 255, 0.08);
  --rule-strong: rgba(255, 255, 255, 0.18);
  --rule-glow: rgba(255, 255, 255, 0.35);

  --ink-primary: #F8F9FA;
  --ink-secondary: #A2A7B8;
  --ink-tertiary: #6B7280;

  --signal: #29F0C4;
  --signal-glow: rgba(41, 240, 196, 0.4);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shell-width: 100%;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* 2. Reset & Baseline */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  color-scheme: dark;
  background-color: var(--canvas);
}

/* Lenis Smooth Scroll Engine */
html.lenis, html.lenis-smooth {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-body);
  background-color: transparent;
  color: var(--ink-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 15px;
  position: relative;
  min-height: 100vh;
}

/* WebGL2 Liquid Film Canvas */
.liquid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(41, 240, 196, 0.25);
  color: #FFFFFF;
}

h1, h2, h3, h4, .hero-heading, .block-heading, .panel-name, .panel-name-compact, .contact-title, .brand-name, .lang-title {
  font-family: var(--font-display);
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Full Width Layout Shell with Generous Breathing Space */
.shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: clamp(24px, 4.5vw, 80px);
  padding-right: clamp(24px, 4.5vw, 80px);
  box-sizing: border-box;
}

/* ==========================================================================
   3. Masthead (Navigation Bar)
   ========================================================================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 62px;
  display: flex;
  align-items: center;
  background: rgba(9, 8, 15, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--rule-subtle);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.88;
}

.brand-glyph {
  color: var(--signal);
  filter: drop-shadow(0 0 8px var(--signal-glow));
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}

.brand-dot {
  color: var(--signal);
  text-shadow: 0 0 10px var(--signal-glow);
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--rule-subtle);
  padding: 4px;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-item {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  line-height: 1.2;
}

.nav-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   4. Main Block / Hero Projects (Full-width, Direct Showcase)
   ========================================================================== */
.hero-block {
  padding: clamp(48px, 7vh, 72px) 0;
  border-bottom: 1px solid var(--rule-subtle);
  width: 100%;
}

.main-showcase-block {
  padding-top: clamp(36px, 5vh, 56px);
  padding-bottom: clamp(48px, 7vh, 72px);
}

.hero-projects-header {
  margin-bottom: clamp(28px, 3.8vh, 42px);
}

.hero-centered-content,
.section-title-wrap.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto clamp(36px, 5vh, 52px);
}

.hero-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.hero-summary {
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.65;
  color: var(--ink-secondary);
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  width: 100%;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
}

.action-primary {
  background: var(--ink-primary);
  color: #000000;
  border: 1px solid var(--ink-primary);
  font-weight: 600;
}

.action-primary:hover {
  background: #FFFFFF;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.action-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-primary);
  border: 1px solid var(--rule-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.action-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--rule-glow);
}

/* ==========================================================================
   5. Content Sections & Typography (Spacious & Balanced)
   ========================================================================== */
.content-block {
  padding: clamp(48px, 6.5vh, 76px) 0;
  border-bottom: 1px solid var(--rule-subtle);
  width: 100%;
}

.block-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

.block-lead {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: var(--ink-secondary);
  line-height: 1.6;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   6. Showcase Stack (Curated Works)
   ========================================================================== */
.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vh, 56px);
  width: 100%;
}

/* 3D Glass Tilt & Specular Glare */
.tilt-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  border-radius: inherit;
  mix-blend-mode: overlay;
  transition: opacity 0.2s ease;
}

.showcase-panel {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: clamp(28px, 3.2vw, 42px) clamp(22px, 2.8vw, 38px);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.showcase-panel:hover {
  border-color: var(--surface-border-hover);
  background: var(--surface-raised);
}

/* Project Accents */
.panel-voicetyping {
  border-top: 1px solid rgba(41, 240, 196, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(41, 240, 196, 0.25);
}

.panel-voicetyping:hover {
  border-color: rgba(41, 240, 196, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(41, 240, 196, 0.15), inset 0 1px 0 rgba(41, 240, 196, 0.5);
}

.panel-voicetyping .spec-unit-val {
  color: #29F0C4;
}

.panel-globalcards {
  border-top: 1px solid rgba(255, 184, 0, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 184, 0, 0.25);
}

.panel-globalcards:hover {
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 184, 0, 0.16), inset 0 1px 0 rgba(255, 184, 0, 0.5);
}

.panel-globalcards .tag-pill:hover {
  border-color: rgba(255, 184, 0, 0.5);
  color: #FFB800;
  background: rgba(255, 184, 0, 0.08);
}

.panel-caser {
  border-top: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(168, 85, 247, 0.25);
}

.panel-caser:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(168, 85, 247, 0.16), inset 0 1px 0 rgba(168, 85, 247, 0.5);
}

.panel-caser .tag-pill:hover {
  border-color: rgba(168, 85, 247, 0.5);
  color: #C084FC;
  background: rgba(168, 85, 247, 0.08);
}

.gold-badge {
  color: #FFD43B;
}

.amber-dot {
  background-color: #FFB800 !important;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.8) !important;
}

.violet-badge {
  color: #C084FC;
}

.violet-dot {
  background-color: #A855F7 !important;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8) !important;
}

.showcase-panel.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.panel-name {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

.panel-story.centered {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  width: 100%;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.panel-specs-grid.centered {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 14px 0;
  border-top: 1px solid var(--rule-subtle);
  border-bottom: 1px solid var(--rule-subtle);
  margin-bottom: 24px;
  width: 100%;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.spec-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}

.spec-unit-name {
  font-size: 0.74rem;
  color: var(--ink-tertiary);
}

.spec-unit-val {
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.panel-links.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.cta-primary {
  background: var(--ink-primary);
  color: #000000;
  font-weight: 600;
}

.cta-primary:hover {
  background: #FFFFFF;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
}

.cta-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rule-strong);
  color: var(--ink-primary);
}

.cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--rule-glow);
}

.arrow-glyph {
  font-size: 0.9rem;
  line-height: 1;
}

.tag-row.centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  width: 100%;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule-subtle);
  color: #CAD0DC;
  transition: all 0.18s ease;
}

/* ==========================================================================
   7. Screenshot Visual Galleries & Browser Mockup Frames — Full Width
   ========================================================================== */
.project-showcase-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 32px);
  width: 100%;
  max-width: 1320px;
  margin: clamp(22px, 3vh, 34px) auto clamp(24px, 3.2vh, 36px);
  align-items: stretch;
}

.project-showcase-visuals.single-visual {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.browser-window-frame {
  background: #09080E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.browser-window-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.browser-window-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.85);
}

.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 4;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.chrome-dot.red { background: #FF5F56; }
.chrome-dot.yellow { background: #FFBD2E; }
.chrome-dot.green { background: #27C93F; }

.browser-address {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-secondary);
  letter-spacing: -0.01em;
}

.browser-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #7EF7DA;
}

.browser-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
  display: block;
}

.project-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  will-change: transform;
  transform-origin: center center;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.viewport-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 13, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  backdrop-filter: blur(2px);
  z-index: 5;
}

.browser-window-link:hover .viewport-hover-overlay {
  opacity: 1;
}

.viewport-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.35);
  transform: translateY(6px);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1);
}

.browser-window-link:hover .viewport-link-pill {
  transform: translateY(0);
}

/* ==========================================================================
   8. Core Tech Languages (Compact 4-Language Visual Grid)
   ========================================================================== */
.stack-block {
  width: 100%;
}

.tech-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
}

.tech-lang-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: clamp(24px, 2.6vw, 36px) 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.lang-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.lang-icon-svg {
  width: 40px;
  height: 40px;
  display: block;
}

.tech-lang-card:hover .lang-icon-wrap {
  transform: scale(1.08) translateY(-3px);
}

.lang-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.lang-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.lang-desc {
  font-size: 0.8rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  text-align: center;
}

/* Language Brand Glows on Hover */
.lang-python:hover {
  border-color: rgba(56, 126, 184, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 28px rgba(56, 126, 184, 0.22);
}
.lang-python .lang-icon-wrap {
  box-shadow: 0 0 16px rgba(56, 126, 184, 0.18);
}
.lang-python:hover .lang-icon-wrap {
  border-color: rgba(255, 212, 59, 0.6);
  box-shadow: 0 0 24px rgba(56, 126, 184, 0.35);
}

.lang-javascript:hover {
  border-color: rgba(247, 223, 30, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 28px rgba(247, 223, 30, 0.2);
}
.lang-javascript .lang-icon-wrap {
  box-shadow: 0 0 16px rgba(247, 223, 30, 0.15);
}
.lang-javascript:hover .lang-icon-wrap {
  border-color: rgba(247, 223, 30, 0.6);
  box-shadow: 0 0 24px rgba(247, 223, 30, 0.3);
}

.lang-html5:hover {
  border-color: rgba(228, 77, 38, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 28px rgba(228, 77, 38, 0.22);
}
.lang-html5 .lang-icon-wrap {
  box-shadow: 0 0 16px rgba(228, 77, 38, 0.15);
}
.lang-html5:hover .lang-icon-wrap {
  border-color: rgba(228, 77, 38, 0.6);
  box-shadow: 0 0 24px rgba(228, 77, 38, 0.3);
}

.lang-nodejs:hover {
  border-color: rgba(95, 160, 78, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 28px rgba(95, 160, 78, 0.22);
}
.lang-nodejs .lang-icon-wrap {
  box-shadow: 0 0 16px rgba(95, 160, 78, 0.15);
}
.lang-nodejs:hover .lang-icon-wrap {
  border-color: rgba(95, 160, 78, 0.6);
  box-shadow: 0 0 24px rgba(95, 160, 78, 0.3);
}

@media (max-width: 1024px) {
  .tech-lang-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tech-lang-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   9. Liquid Carve Button — Originkit Gooey Carve Effect
   ========================================================================== */
.liquid-carve-root {
  position: relative !important;
  overflow: visible !important;
  isolation: isolate;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.liquid-carve-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.liquid-carve-root > *:not(.liquid-carve-svg) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.liquid-carve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1);
}

.liquid-carve-btn:hover {
  transform: translateY(-1px);
}

.liquid-carve-btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   10. Contact Section (Spacious & Centered)
   ========================================================================== */
.contact-block {
  padding-bottom: clamp(60px, 9vh, 96px);
}

.contact-box.centered {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: clamp(36px, 4.5vw, 56px) clamp(20px, 3.5vw, 44px);
  text-align: center;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-title.centered {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
}

.contact-lead.centered {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 32px;
  text-align: center;
}

.contact-action-bar.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.email-copy-btn {
  background: var(--ink-primary);
  color: #000000;
  font-family: var(--font-mono);
  font-weight: 600;
}

.email-copy-btn:hover {
  background: #FFFFFF;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.email-copy-btn.copied {
  background: var(--signal);
  color: #000000;
}

.copy-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.18);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rule-strong);
  color: var(--ink-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--rule-glow);
}

/* ==========================================================================
   11. Colophon (Footer)
   ========================================================================== */
.colophon {
  padding: 24px 0;
  border-top: 1px solid var(--rule-subtle);
  background: rgba(11, 10, 16, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.colophon-inner.centered {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.colophon-left.centered {
  display: flex;
  align-items: center;
  gap: 18px;
}

.colophon-brand {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.colophon-note {
  font-size: 0.84rem;
  color: var(--ink-tertiary);
}

.top-anchor {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-secondary);
  transition: color 0.15s ease;
}

.top-anchor:hover {
  color: var(--ink-primary);
}

/* Notice Toast */
.notice-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: rgba(18, 16, 26, 0.95);
  border: 1px solid var(--rule-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
  font-size: 0.86rem;
  color: var(--ink-primary);
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.notice-toast.active {
  opacity: 1;
  transform: translateY(0);
}

.notice-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--signal);
  box-shadow: 0 0 8px var(--signal-glow);
}

/* ==========================================================================
   12. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .specsheet-bar {
    flex-direction: column;
    gap: 14px;
  }

  .spec-divider {
    display: none;
  }

  .showcase-grid-duo {
    grid-template-columns: 1fr;
  }

  .capabilities-grid-wide {
    grid-template-columns: 1fr;
  }

  .project-showcase-visuals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .masthead-nav {
    display: none;
  }

  .signal-label {
    display: none;
  }

  .signal-badge {
    padding: 6px;
  }

  .hero-block {
    padding: 64px 0 50px;
  }

  .showcase-panel {
    padding: 28px 20px;
  }

  .panel-specs-grid.centered {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-box.centered {
    padding: 36px 20px;
  }

  .contact-action-bar.centered {
    flex-direction: column;
    width: 100%;
  }

  .contact-btn {
    width: 100%;
  }

  .notice-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
    justify-content: center;
  }
}
