/* ==========================================================================
   TK BUSINESS SUPPORT — CURATED STUDIO WORK PORTFOLIO
   Specialist Design System for portfolio-tkbs.pages.dev
   Architectural Stone Canvas, Ambient Mesh Lighting & Fine Art Grain
   ========================================================================== */

:root {
  /* Architectural Stone & Ambient Canvas */
  --canvas-base: #EDE8E1;
  --canvas-subtle: #E5E0D7;
  --canvas-elevated: #F5F2EC;
  --surface: #FCFAF7;
  --surface-pure: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-dark: #1A1E24;
  --surface-dark-2: #242A33;
  
  /* Ink & Typography */
  --ink: #161A20;
  --ink-secondary: #2C323D;
  --ink-muted: #565E6D;
  --ink-faint: #8892A2;
  --ink-inverted: #F5F2EC;
  
  /* Structural Lines & Borders */
  --border: #D8D2C5;
  --border-subtle: #E4DFD4;
  --border-strong: #C4BCAC;
  --border-dark: #2F3742;
  
  /* Studio Accents: Nordic Viridian & Warm Studio Ochre */
  --accent: #11786F;
  --accent-hover: #0E625B;
  --accent-light: rgba(17, 120, 111, 0.08);
  --accent-border: rgba(17, 120, 111, 0.22);
  --accent-ochre: #C27D38;
  --accent-mint: #32D4C0;
  
  /* Precision Shadows */
  --shadow-sm: 0 2px 8px rgba(22, 26, 32, 0.04);
  --shadow-card: 0 8px 24px rgba(22, 26, 32, 0.05), 0 1px 3px rgba(22, 26, 32, 0.03);
  --shadow-hover: 0 18px 44px rgba(22, 26, 32, 0.1), 0 3px 8px rgba(22, 26, 32, 0.04);
  --shadow-sheet: 0 14px 36px rgba(22, 26, 32, 0.08), 0 2px 6px rgba(22, 26, 32, 0.04);

  /* Typography */
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Atmospheric Canvas with Ambient Mesh Lighting */
body {
  background-color: var(--canvas-base);
  background-image:
    radial-gradient(at 12% 8%, rgba(17, 120, 111, 0.08) 0px, transparent 48%),
    radial-gradient(at 88% 12%, rgba(194, 125, 56, 0.06) 0px, transparent 45%),
    radial-gradient(at 50% 45%, rgba(22, 26, 32, 0.02) 0px, transparent 55%),
    radial-gradient(at 18% 85%, rgba(17, 120, 111, 0.07) 0px, transparent 48%),
    radial-gradient(at 82% 92%, rgba(194, 125, 56, 0.05) 0px, transparent 45%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

/* Fine Art Tactile Noise Overlay (Awwwards Studio Standard) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Content Container relative to noise */
header, main, footer {
  position: relative;
  z-index: 2;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, 1200px); }
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 999;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border-radius: 8px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ==========================================================================
   STUDIO FLOATING MASTHEAD
   ========================================================================== */
.studio-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 24px;
  margin-bottom: -72px;
}
@media (max-width: 600px) {
  .studio-header { top: 10px; padding: 0 16px; }
}

.studio-nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: rgba(252, 250, 247, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(22, 26, 32, 0.05);
  transition: all 0.25s ease;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.studio-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.studio-brand-text {
  display: flex;
  flex-direction: column;
}
.studio-brand-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.15;
}
.studio-brand-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.studio-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.studio-link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
}
.studio-link:hover {
  background: var(--canvas-subtle);
  color: var(--ink);
}
.studio-link.active {
  background: var(--ink);
  color: #fff;
}

.studio-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(17, 120, 111, 0.25);
  border: none;
  cursor: pointer;
}
.studio-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(17, 120, 111, 0.35);
}

@media (max-width: 900px) {
  .studio-links .studio-link:not(.active) { display: none; }
}

/* ==========================================================================
   STUDIO HERO SECTION (Architectural Blueprint Grid)
   ========================================================================== */
.studio-hero {
  position: relative;
  padding: 130px 0 65px;
}
@media (max-width: 600px) {
  .studio-hero { padding: 110px 0 45px; }
}

/* Delicate Architectural Drafting Grid */
.studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(22, 26, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 26, 32, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 15%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 45%, #000 15%, transparent 75%);
}

.studio-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.studio-curator-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.studio-curator-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.studio-availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065F46;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.studio-availability-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.studio-headline {
  font-size: clamp(38px, 5.8vw, 74px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2.5px;
  color: var(--ink);
  max-width: 940px;
  margin-bottom: 24px;
}

.studio-subhead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 760px;
  margin-bottom: 36px;
}

.studio-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}
@media (max-width: 860px) {
  .studio-meta-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 500px) {
  .studio-meta-strip { grid-template-columns: 1fr; }
}

.studio-meta-item b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1.1;
}
.studio-meta-item span {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 650;
  margin-top: 4px;
  display: block;
}

/* Jump Pill Bar */
.studio-jump-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.studio-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: 800;
  transition: all 0.2s ease;
}
.studio-jump-link:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   CASE STUDY SHOWCASE (Editorial Deep Dives with Device Toggle)
   ========================================================================== */
.studio-section {
  padding: 72px 0;
}

.studio-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .studio-section-head { flex-direction: column; align-items: flex-start; }
}

.studio-section-title-wrap h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 6px;
}
.studio-section-title-wrap p {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 620px;
  margin-top: 8px;
}

/* Case Study Card (Split Editorial Grid) */
.case-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
@media (max-width: 960px) {
  .case-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}

/* Viewport Frame (Realistic Mac Device Viewport with Interactive Switcher) */
.case-viewport {
  position: relative;
  background: #14181F;
  border: 1px solid #2B323D;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(22, 26, 32, 0.15);
}
.case-viewport-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1E232B;
  border-bottom: 1px solid #2B323D;
}
.case-viewport-dots {
  display: flex;
  gap: 6px;
}
.case-viewport-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4A5260;
}
.case-viewport-dots span:nth-child(1) { background: #E05A47; }
.case-viewport-dots span:nth-child(2) { background: #E5AC38; }
.case-viewport-dots span:nth-child(3) { background: #42B86E; }
.case-viewport-url {
  flex-grow: 1;
  text-align: center;
  font-size: 11px;
  font-family: var(--font-mono);
  color: #8E98A8;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 12px;
  border-radius: 6px;
  margin: 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Device Mode Switcher (Desktop vs Mobile Toggle) */
.case-viewport-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.viewport-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94A3B8;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.2s ease;
}
.viewport-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.viewport-toggle-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.case-viewport-preview {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #0E1217;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-viewport-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.case-viewport-preview img.mobile-view {
  object-fit: contain;
  padding: 14px;
}
.case-card:hover .case-viewport-preview img {
  transform: scale(1.025);
}

.case-live-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 24, 31, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(50, 212, 192, 0.35);
  color: var(--accent-mint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  z-index: 2;
}
.case-live-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* Case Body Content */
.case-body {
  display: flex;
  flex-direction: column;
}

.case-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.case-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.case-pill {
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--canvas-elevated);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 750;
}

.case-highlights {
  list-style: none;
  margin-bottom: 28px;
}
.case-highlights li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}
.case-highlights li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.case-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-case-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-case-live:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(17, 120, 111, 0.28);
}

.btn-case-inquire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 850;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-case-inquire:hover {
  background: var(--canvas-subtle);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   CAMPAIGN GRAPHICS GALLERY (Tactile Poster Exhibition)
   ========================================================================== */
.poster-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.poster-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.poster-filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.poster-filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 990px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .poster-grid { grid-template-columns: 1fr; }
}

.poster-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.poster-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.poster-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #14181F;
  overflow: hidden;
}
.poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.poster-card:hover .poster-media img {
  transform: scale(1.03);
}
.poster-zoom-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 24, 31, 0.88);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.poster-card:hover .poster-zoom-pill {
  opacity: 1;
}

.poster-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.poster-tag {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.poster-headline {
  font-size: 17px;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.25;
}
.poster-caption {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   STATIONERY & COLLATERAL (Tactile Document Exhibition)
   ========================================================================== */
.doc-exhibit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .doc-exhibit-grid { grid-template-columns: 1fr; }
}

.doc-exhibit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.doc-exhibit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.doc-exhibit-sheet {
  width: 100%;
  aspect-ratio: 1 / 1.38;
  background: #E8E5DD;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.doc-exhibit-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}
.doc-exhibit-card:hover .doc-exhibit-sheet img {
  transform: scale(1.02);
}
.doc-exhibit-body {
  padding: 22px;
}
.doc-exhibit-tag {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.doc-exhibit-title {
  font-size: 18px;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 6px;
}
.doc-exhibit-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ==========================================================================
   STUDIO METHODOLOGY (How We Partner)
   ========================================================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 960px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .method-grid { grid-template-columns: 1fr; }
}

.method-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--accent);
}
.method-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}
.method-card h3 {
  font-size: 18px;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}
.method-card p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ==========================================================================
   INTERACTIVE SCOPE FINDER (Tactile Project Configurator)
   ========================================================================== */
.scope-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.scope-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
@media (max-width: 860px) {
  .scope-questions { grid-template-columns: 1fr; }
}

.scope-group {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--canvas-elevated);
}
.scope-group legend {
  font-size: 12px;
  font-weight: 850;
  color: var(--ink);
  padding: 0 8px;
  letter-spacing: -0.2px;
}
.scope-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
}
.scope-option input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.scope-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scope-result-panel {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  display: none;
}
.scope-result-panel.active { display: block; }
.scope-result-panel b {
  font-size: 11px;
  font-weight: 850;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scope-result-panel h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  margin: 6px 0;
}
.scope-result-panel p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

/* ==========================================================================
   CONVERSION BANNER & FOOTER (Warm Basalt Studio Finish)
   ========================================================================== */
.studio-cta-strip {
  background: var(--surface-dark);
  color: #fff;
  border-radius: 32px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: 0 20px 48px rgba(22, 26, 32, 0.25);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.studio-cta-strip::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 120, 111, 0.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.studio-cta-strip h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  letter-spacing: -1.8px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
  position: relative;
}
.studio-cta-strip p {
  font-size: 16.5px;
  color: #CBD5E1;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

.studio-footer {
  padding: 50px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 13px;
}
.studio-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.studio-footer-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}
.studio-footer-brand span {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.studio-footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.studio-footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-secondary);
  font-weight: 750;
  transition: color 0.2s;
}
.studio-footer-socials a:hover {
  color: var(--accent);
}
.studio-footer-socials img {
  width: 16px;
  height: 16px;
}

/* Lightbox Modal */
#studioLightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 22, 28, 0.94);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#studioLightbox.active { display: flex; }
.slb-box {
  max-width: 1100px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.slb-box img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.slb-caption {
  margin-top: 14px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 650;
  text-align: center;
}
.slb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 38px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* Floating WhatsApp Badge */
.studio-float-wa {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.studio-float-wa:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}
.studio-float-wa img {
  width: 30px;
  height: 30px;
}
