/*
Theme Name: NB Studio
Theme URI: https://www.nicolebuffett.com
Description: Portfolio + WooCommerce theme for Nicole Buffett Studios — fixed sidebar, catalogue grids, lightbox, light/dark.
Author: Nicole Buffett Studios
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: nbuffett
*/

/* ---- WordPress menu compatibility ---- */
.nb-nav li { list-style: none; }
.nb-nav li.current-menu-item a,
.nb-nav li.current_page_item a { color: var(--text-primary); }
.nb-nav li.current-menu-item a::before,
.nb-nav li.current_page_item a::before { content: "— "; white-space: pre; }
.nb-nav a.is-active { color: var(--text-primary); }
.nb-nav a.is-active::before { content: "— "; white-space: pre; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 999; background: var(--surface-primary); padding: 8px 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- WooCommerce ---- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--surface-primary); color: var(--text-secondary);
	border-top: none; box-shadow: none; border-left: 3px solid var(--border-strong);
	border-radius: var(--radius-md); padding: 12px 16px; margin: 0 0 24px; font-size: 14px;
}
.woocommerce-message::before, .woocommerce-info::before { display: none; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt {
	background: var(--text-primary); color: var(--text-inverse);
	border: none; border-radius: 999px; padding: 10px 22px;
	font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
	cursor: pointer; transition: opacity var(--transition-fast);
}
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce a.button.alt:hover { opacity: 0.85; color: var(--text-inverse); }
.nb-buy { display: inline-block; margin-top: 16px; }
.nb-buy:hover { color: var(--text-inverse); opacity: 0.85; text-decoration: none; }
.woocommerce .quantity input[type=number] { padding: 8px; border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.woocommerce table.shop_table { border: none; border-collapse: collapse; width: 100%; font-size: 14px; }
.woocommerce table.shop_table th { text-align: left; padding: 10px 8px; font-weight: 500; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }
.woocommerce table.shop_table td { padding: 12px 8px; border-top: 1px solid var(--border-subtle); }
.woocommerce .cart_totals, .woocommerce-checkout-review-order { background: var(--surface-primary); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-lifted-card); margin-bottom: 24px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 10px 12px; width: 100%;
	background: var(--surface-primary); color: var(--text-primary);
}
.woocommerce form .form-row label { font-size: 12px; color: var(--text-tertiary); letter-spacing: 0.08em; text-transform: uppercase; }
#payment { background: var(--surface-primary); border-radius: var(--radius-lg); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.woocommerce ul.products li.product { margin: 0; width: auto; text-align: left; }
.woocommerce ul.products li.product img { border-radius: var(--radius-md); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-serif); font-size: 18px; padding: 8px 0 2px; }
.woocommerce ul.products li.product .price { color: var(--text-tertiary); font-size: 13px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li { padding: 6px 0; }
.woocommerce .star-rating span::before { color: #b8912f; }

/* ---- Design system (styles.css) ---- */
/* =============================================================================
   OBVIOUS DESIGN SYSTEM - CSS TEMPLATE
   Light/Dark mode support with semantic tokens
   ============================================================================= */

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =============================================================================
   CSS VARIABLES - LIGHT MODE (DEFAULT)
   ============================================================================= */

:root {
  /* Font */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #fcfcfc;
  --neutral-300: #f5f5f5;
  --neutral-400: #ededed;
  --neutral-500: #e5e5e5;
  --neutral-600: #d6d6d6;
  --neutral-700: #c2c2c2;
  --neutral-800: #a8a8a8;
  --neutral-900: #808080;
  --neutral-1000: #3d3d3d;
  --neutral-1100: #2e2e2e;
  --neutral-1200: #080808;

  /* Darken Overlays (black with opacity) */
  --darken-100: rgba(0, 0, 0, 0.02);
  --darken-200: rgba(0, 0, 0, 0.04);
  --darken-300: rgba(0, 0, 0, 0.06);
  --darken-400: rgba(0, 0, 0, 0.08);
  --darken-500: rgba(0, 0, 0, 0.12);
  --darken-600: rgba(0, 0, 0, 0.16);
  --darken-800: rgba(0, 0, 0, 0.24);
  --darken-900: rgba(0, 0, 0, 0.4);
  --darken-1100: rgba(0, 0, 0, 0.64);
  --darken-1300: rgba(0, 0, 0, 0.8);
  --darken-1400: rgba(0, 0, 0, 0.92);

  /* Accent Colors */
  --blue-50: #fbfdff;
  --blue-100: #f4faff;
  --blue-200: #e6f4fe;
  --blue-300: #d5efff;
  --blue-400: #c2e5ff;
  --blue-500: #acd8fc;
  --blue-600: #8ec8f6;
  --blue-700: #5eb1ef;
  --blue-800: #29a2ff;
  --blue-900: #0588f0;
  --blue-link: #0b61ad;

  --green-100: #f0fdf4;
  --green-500: #4ade80;
  --green-600: #22c55e;
  --green-700: #16a34a;
  --green-800: #15803d;

  --red-100: #fef2f2;
  --red-500: #f87171;
  --red-600: #ef4444;
  --red-700: #dc2626;
  --red-800: #b91c1c;

  --orange-100: #fff7ed;
  --orange-500: #fb923c;
  --orange-600: #f97316;
  --orange-800: #c2410c;

  /* Semantic Tokens */
  --surface-base: var(--neutral-200);
  --surface-primary: var(--neutral-100);
  --surface-secondary: var(--neutral-200);
  --surface-elevated: var(--neutral-100);
  --surface-hover: var(--darken-200);
  --surface-active: var(--darken-300);

  --text-primary: var(--darken-1400);
  --text-secondary: var(--darken-1100);
  --text-tertiary: var(--darken-900);
  --text-muted: var(--darken-800);
  --text-inverse: var(--neutral-100);

  --border-subtle: var(--darken-200);
  --border-default: var(--darken-400);
  --border-strong: var(--darken-600);
  --border-focus: var(--blue-800);

  --button-primary-bg: var(--neutral-1200);
  --button-primary-fg: var(--neutral-100);
  --button-primary-hover: var(--neutral-1000);

  --state-success-bg: var(--green-100);
  --state-success-fg: var(--green-800);
  --state-success-border: var(--green-600);

  --state-error-bg: var(--red-100);
  --state-error-fg: var(--red-800);
  --state-error-border: var(--red-600);

  --state-warning-bg: var(--orange-100);
  --state-warning-fg: var(--orange-800);
  --state-warning-border: var(--orange-600);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  /* Row Heights */
  --row-sm: 28px;
  --row-md: 32px;
  --row-lg: 36px;
  --row-xl: 40px;

  /* Transitions */
  --transition-fast: 100ms ease;
  --transition-normal: 150ms ease;
  --transition-medium: 200ms ease;
  --transition-slow: 300ms ease;

  /* Shadows */
  --shadow-lifted:
    0px 0px 2px 0px rgba(0, 0, 0, 0.05), 0px 0px 1px 0px rgba(0, 0, 0, 0.05), 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
  --shadow-lifted-card:
    0px 1px 2px 0px rgba(0, 0, 0, 0.05), 0px 0px 1px 0px rgba(0, 0, 0, 0.05), 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
  --shadow-tooltip: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* =============================================================================
   CSS VARIABLES - DARK MODE
   ============================================================================= */

html.dark,
.dark {
  /* Neutral Colors (inverted) */
  --neutral-100: #1a1a1a;
  --neutral-200: #1f1f1f;
  --neutral-300: #262626;
  --neutral-400: #2e2e2e;
  --neutral-500: #383838;
  --neutral-600: #4a4a4a;
  --neutral-700: #5e5e5e;
  --neutral-800: #7a7a7a;
  --neutral-900: #a3a3a3;
  --neutral-1000: #e0e0e0;
  --neutral-1100: #ebebeb;
  --neutral-1200: #f5f5f5;

  /* Darken becomes Lighten (white with opacity) */
  --darken-100: rgba(255, 255, 255, 0.02);
  --darken-200: rgba(255, 255, 255, 0.04);
  --darken-300: rgba(255, 255, 255, 0.06);
  --darken-400: rgba(255, 255, 255, 0.08);
  --darken-500: rgba(255, 255, 255, 0.12);
  --darken-600: rgba(255, 255, 255, 0.16);
  --darken-800: rgba(255, 255, 255, 0.24);
  --darken-900: rgba(255, 255, 255, 0.4);
  --darken-1100: rgba(255, 255, 255, 0.64);
  --darken-1300: rgba(255, 255, 255, 0.8);
  --darken-1400: rgba(255, 255, 255, 0.92);

  /* Blue (brighter for dark bg) */
  --blue-50: #0a1929;
  --blue-100: #0d2847;
  --blue-200: #0f3a5f;
  --blue-300: #1a4d7a;
  --blue-400: #2563a8;
  --blue-500: #3b82f6;
  --blue-600: #60a5fa;
  --blue-700: #93c5fd;
  --blue-800: #bfdbfe;
  --blue-900: #dbeafe;
  --blue-link: #60a5fa;

  /* Green (brighter for dark bg) */
  --green-100: #052e16;
  --green-500: #34d399;
  --green-600: #22c55e;
  --green-700: #4ade80;
  --green-800: #86efac;

  /* Red (brighter for dark bg) */
  --red-100: #450a0a;
  --red-500: #f87171;
  --red-600: #ef4444;
  --red-700: #fca5a5;
  --red-800: #fecaca;

  /* Orange (brighter for dark bg) */
  --orange-100: #431407;
  --orange-500: #fb923c;
  --orange-600: #f97316;
  --orange-800: #fdba74;

  /* Semantic Tokens (auto-adapt via base tokens) */
  --button-primary-bg: var(--neutral-500);
  --button-primary-fg: var(--neutral-1200);
  --button-primary-hover: var(--neutral-600);

  /* Shadows (inverted) */
  --shadow-lifted:
    0px 0px 2px 0px rgba(255, 255, 255, 0.05), 0px 0px 1px 0px rgba(255, 255, 255, 0.05),
    0px 0px 0px 1px rgba(255, 255, 255, 0.08);
  --shadow-lifted-card:
    0px 1px 2px 0px rgba(255, 255, 255, 0.05), 0px 0px 1px 0px rgba(255, 255, 255, 0.05),
    0px 0px 0px 1px rgba(255, 255, 255, 0.08);
  --shadow-tooltip: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   BASE STYLES
   ============================================================================= */

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light;
}

html.dark {
  color-scheme: dark;
}

body {
  background-color: var(--surface-base);
  color: var(--text-primary);
  min-height: 100vh;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal);
}

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 520;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 40px;
  font-weight: 580;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 32px;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
}

a {
  color: var(--blue-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-900);
}

small,
.text-sm {
  font-size: 14px;
}

.text-xs {
  font-size: 12px;
}

.text-muted {
  color: var(--text-tertiary);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--row-md);
  padding: 0 var(--space-4);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-fg);
}

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

.btn-secondary {
  background-color: var(--darken-200);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background-color: var(--darken-300);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background-color: var(--surface-hover);
}

.btn-sm {
  height: var(--row-sm);
  padding: 0 var(--space-3);
  font-size: 13px;
}

.btn-lg {
  height: var(--row-lg);
  padding: 0 var(--space-5);
  font-size: 15px;
}

/* =============================================================================
   INPUTS
   ============================================================================= */

.input {
  height: var(--row-md);
  padding: 0 var(--space-3);
  font-size: 14px;
  background-color: var(--surface-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.input::placeholder {
  color: var(--text-tertiary);
}

.input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(5, 136, 240, 0.16);
}

.input-lg {
  height: var(--row-lg);
}

textarea.input {
  height: auto;
  min-height: 120px;
  padding: var(--space-3);
  resize: vertical;
}

/* =============================================================================
   CARDS
   ============================================================================= */

.card {
  background-color: var(--surface-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lifted-card);
  padding: var(--space-5);
}

.card-hover {
  transition:
    box-shadow var(--transition-normal),
    transform var(--transition-normal);
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow:
    0px 4px 8px 0px rgba(0, 0, 0, 0.08),
    0px 0px 1px 0px rgba(0, 0, 0, 0.05),
    0px 0px 0px 1px rgba(0, 0, 0, 0.08);
}

.dark .card-hover:hover {
  box-shadow:
    0px 4px 8px 0px rgba(0, 0, 0, 0.3),
    0px 0px 1px 0px rgba(255, 255, 255, 0.05),
    0px 0px 0px 1px rgba(255, 255, 255, 0.08);
}

/* =============================================================================
   BADGES & PILLS
   ============================================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-2);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background-color: var(--darken-200);
  color: var(--text-secondary);
}

.badge-success {
  background-color: var(--state-success-bg);
  color: var(--state-success-fg);
}

.badge-error {
  background-color: var(--state-error-bg);
  color: var(--state-error-fg);
}

.badge-warning {
  background-color: var(--state-warning-bg);
  color: var(--state-warning-fg);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: 12px;
  font-weight: 500;
  border-radius: 9999px;
  background-color: var(--darken-200);
  color: var(--text-secondary);
}

/* =============================================================================
   ALERTS
   ============================================================================= */

.alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.alert-success {
  background-color: var(--state-success-bg);
  color: var(--state-success-fg);
  border: 1px solid var(--state-success-border);
}

.alert-error {
  background-color: var(--state-error-bg);
  color: var(--state-error-fg);
  border: 1px solid var(--state-error-border);
}

.alert-warning {
  background-color: var(--state-warning-bg);
  color: var(--state-warning-fg);
  border: 1px solid var(--state-warning-border);
}

/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-sm {
  max-width: 640px;
}
.container-md {
  max-width: 768px;
}
.container-lg {
  max-width: 1024px;
}
.container-xl {
  max-width: 1280px;
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: var(--space-1);
}
.gap-2 {
  gap: var(--space-2);
}
.gap-3 {
  gap: var(--space-3);
}
.gap-4 {
  gap: var(--space-4);
}
.gap-6 {
  gap: var(--space-6);
}
.gap-8 {
  gap: var(--space-8);
}

/* =============================================================================
   LIFTED BORDERS
   ============================================================================= */

.lifted-border {
  box-shadow: var(--shadow-lifted);
}

.lifted-border-shadow {
  box-shadow: var(--shadow-lifted-card);
}

/* =============================================================================
   FOCUS RING
   ============================================================================= */

.focus-ring:focus-visible {
  outline: none;
  box-shadow:
    0px 0px 0px 1px var(--blue-800),
    0px 0px 0px 3px rgba(5, 136, 240, 0.16);
}

/* =============================================================================
   SCROLLBAR STYLING
   ============================================================================= */

.scrollbar-hide {
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* =============================================================================
   THEME TOGGLE BUTTON
   ============================================================================= */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--row-md);
  height: var(--row-md);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-secondary);
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--surface-hover);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Hide icons based on theme */
html:not(.dark) .theme-toggle .icon-moon {
  display: none;
}
html.dark .theme-toggle .icon-sun {
  display: none;
}

/* ---- Portfolio layer (portfolio.css) ---- */
/* Nicole Buffett Studios — portfolio design layer (on top of design tokens) */

:root {
  --nb-serif: 'Cormorant Garamond', Georgia, serif;
  --nb-sans: 'Inter', system-ui, sans-serif;
}

html, body { height: 100%; }
body {
  font-family: var(--nb-sans);
  background: var(--surface-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface-elevated); padding: 8px 12px; z-index: 100; border-radius: var(--radius-sm); }

/* ---------- sidebar ---------- */
.nb-sidebar {
  position: fixed; inset: 0 auto 0 0; width: 232px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--surface-base);
  border-right: 1px solid var(--border-subtle);
  z-index: 40;
}
.nb-brand { margin-bottom: var(--space-10); }
.nb-wordmark {
  font-family: var(--nb-serif); font-weight: 500; font-size: 30px; line-height: 1.05;
  letter-spacing: 0.04em; color: var(--text-primary); text-decoration: none; display: block;
}
.nb-brand-sub {
  margin-top: var(--space-2); font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--text-tertiary);
}
.nb-nav { display: flex; flex-direction: column; gap: 2px; }
.nb-nav a {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none;
  padding: var(--space-2) 0; border-left: 1px solid transparent;
  transition: color var(--transition-fast);
}
.nb-nav a:hover { color: var(--text-primary); }
.nb-nav a.is-active { color: var(--text-primary); }
.nb-nav a.is-active::before { content: "— "; white-space: pre; }
.nb-sidebar-foot { font-size: 10px; color: var(--text-muted); }
.nb-foot-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.nb-insta { color: var(--text-secondary); text-decoration: none; letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; }
.nb-insta:hover { color: var(--text-primary); }
.nb-copy { letter-spacing: 0.02em; }

/* ---------- main column ---------- */
.nb-main { margin-left: 232px; padding: var(--space-12) var(--space-12) var(--space-16); max-width: 1280px; }
.nb-page { max-width: 1080px; margin: 0 auto; }

/* ---------- type ---------- */
.nb-kicker {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: var(--space-3);
}
.nb-title {
  font-family: var(--nb-serif); font-weight: 500; font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.04; letter-spacing: 0.01em; margin: 0 0 var(--space-4);
}
.nb-sub { color: var(--text-secondary); font-weight: 300; font-size: 15px; line-height: 1.75; max-width: 62ch; margin: 0 0 var(--space-4); }
.nb-section-label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-tertiary);
  padding-bottom: var(--space-3); margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}
.nb-hero { padding: var(--space-8) 0 var(--space-12); }
.nb-hero-eyebrow { font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--text-tertiary); margin: 0 0 var(--space-4); }
.nb-hero-title { font-family: var(--nb-serif); font-weight: 400; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; margin: 0 0 var(--space-5); }
.nb-hero-sub { color: var(--text-secondary); font-weight: 300; font-size: 16px; line-height: 1.7; max-width: 52ch; }
.nb-hero-sub a { color: var(--text-primary); text-decoration-color: var(--border-strong); text-underline-offset: 3px; }

/* ---------- home grid ---------- */
.nb-home-seg { margin-bottom: var(--space-12); }
.nb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: var(--space-3);
}
.nb-grid-home { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.nb-cell {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--surface-secondary);
}
.nb-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--transition-medium), opacity var(--transition-normal);
}
.nb-cell:hover img { transform: scale(1.045); }
.nb-cell::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--border-subtle); pointer-events: none;
}
.nb-more {
  display: inline-block; margin-top: var(--space-5); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-secondary); text-decoration: none;
}
.nb-more:hover { color: var(--text-primary); }

/* ---------- series pages ---------- */
.nb-work {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--space-10); align-items: start; margin: 0 0 var(--space-14);
}
.nb-work-img {
  background: var(--surface-primary); border-radius: var(--radius-sm); overflow: hidden;
  display: flex; align-items: center; justify-content: center; min-height: 320px;
  box-shadow: var(--shadow-lifted-card); cursor: zoom-in;
}
.nb-work-img img { max-width: 100%; max-height: 78vh; display: block; transition: transform var(--transition-medium); }
.nb-work-img:hover img { transform: scale(1.012); }
.nb-work-cap { padding-top: var(--space-4); }
.nb-work-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-3); }
.nb-work-head h2 { font-family: var(--nb-serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin: 0; }
.nb-price { font-size: 13px; letter-spacing: 0.06em; color: var(--text-secondary); white-space: nowrap; }
.nb-work-meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-1); }
.nb-work-desc { color: var(--text-secondary); font-weight: 300; font-size: 14px; line-height: 1.8; margin: var(--space-4) 0 0; }
.nb-inquire { margin-top: var(--space-5); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.nb-inquire a { color: var(--text-primary); text-decoration: none; border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; }

/* ---------- prose ---------- */
.nb-prose { max-width: 68ch; }
.nb-prose p { color: var(--text-secondary); font-weight: 300; font-size: 15px; line-height: 1.85; margin: 0 0 var(--space-5); }
.nb-prose .nb-lead { font-family: var(--nb-serif); font-size: 24px; line-height: 1.45; color: var(--text-primary); font-weight: 400; }
.nb-prose hr { border: 0; border-top: 1px solid var(--border-subtle); margin: var(--space-8) 0; }
.nb-quote { font-family: var(--nb-serif); font-size: 19px !important; color: var(--text-primary) !important; font-style: italic; }
.nb-about-img { max-width: 560px; margin: 0 0 var(--space-8); }
.nb-about-img img { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lifted-card); display: block; }

/* ---------- products ---------- */
.nb-products { margin-top: var(--space-10); }
.nb-product { padding: var(--space-5) var(--space-6); margin-bottom: var(--space-4); }
.nb-product p { color: var(--text-secondary); font-weight: 300; font-size: 14px; line-height: 1.75; margin: 0; }
.nb-product-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-2); }
.nb-product-head h3 { font-family: var(--nb-serif); font-size: 20px; font-weight: 500; margin: 0; }

/* ---------- press ---------- */
.nb-press-list { list-style: none; padding: 0; margin: var(--space-6) 0; max-width: 480px; }
.nb-press-list li {
  font-family: var(--nb-serif); font-size: 24px; padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-subtle); color: var(--text-primary);
}
.nb-press-list li:first-child { border-top: 1px solid var(--border-subtle); }

/* ---------- contact ---------- */
.nb-contact-rows p { display: flex; gap: var(--space-6); align-items: baseline; }
.nb-meta-label { min-width: 90px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-tertiary); }
.nb-contact-rows a { color: var(--text-primary); }

/* ---------- lightbox ---------- */
.nb-lightbox {
  position: fixed; inset: 0; z-index: 80; background: color-mix(in srgb, var(--surface-base) 88%, transparent);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center; padding: var(--space-10);
}
.nb-lightbox[hidden] { display: none; }
.nb-lb-figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.nb-lb-figure img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lifted-card); background: var(--surface-primary); }
.nb-lb-figure figcaption { margin-top: var(--space-4); color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.nb-lb-figure figcaption strong { font-family: var(--nb-serif); font-size: 18px; font-weight: 500; color: var(--text-primary); }
.nb-lb-close, .nb-lb-prev, .nb-lb-next {
  position: absolute; background: none; border: 0; color: var(--text-secondary);
  font-size: 30px; cursor: pointer; padding: var(--space-3); line-height: 1;
}
.nb-lb-close:hover, .nb-lb-prev:hover, .nb-lb-next:hover { color: var(--text-primary); }
.nb-lb-close { top: var(--space-5); right: var(--space-6); font-size: 34px; }
.nb-lb-prev { left: var(--space-5); top: 50%; transform: translateY(-50%); }
.nb-lb-next { right: var(--space-6); top: 50%; transform: translateY(-50%); }

/* ---------- burger / mobile ---------- */
.nb-burger { display: none; position: fixed; top: var(--space-4); right: var(--space-4); z-index: 60;
  width: 40px; height: 40px; border-radius: var(--radius-md); border: 0; background: var(--surface-elevated);
  box-shadow: var(--shadow-lifted); cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nb-burger span { display: block; width: 16px; height: 1.5px; background: var(--text-primary); }

@media (max-width: 900px) {
  .nb-burger { display: flex; }
  .nb-sidebar {
    width: 100%; inset: 0 0 auto 0; height: auto; padding: var(--space-4) var(--space-5);
    transform: translateY(-105%); transition: transform var(--transition-normal);
  }
  .nb-sidebar.is-open { transform: translateY(0); }
  .nb-brand { margin-bottom: var(--space-4); }
  .nb-brand-sub { display: inline; margin-left: var(--space-3); }
  .nb-sidebar-foot { display: none; }
  .nb-main { margin-left: 0; padding: var(--space-14) var(--space-5) var(--space-10); }
  .nb-work { grid-template-columns: 1fr; gap: var(--space-5); }
  .nb-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}
