/* ==========================================================================
   NARA CREATIVE STUDIO — OFFICIAL STYLESHEET
   Aesthetic Warm Neutral Theme | High-End Creative Agency
   WCAG AA Contrast Compliant | Fully Responsive | Accessible
   ========================================================================== */

:root {
  /* Warm Neutral Foundation */
  --bg-page: #faf8f5;
  --bg-page-warm: #f4efe6;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f6f3ed;
  --bg-muted: #ede7dc;

  /* Text & Ink (Refined Charcoal) */
  --text-primary: #191816;
  --text-secondary: #57524a;
  --text-tertiary: #878074;
  --text-inverse: #ffffff;

  /* Single Warm Accent: Terracotta / Refined Amber Bronze */
  --accent: #b85d2a;
  --accent-hover: #9c4b1e;
  --accent-light: #f8eee7;
  --accent-subtle: #faf2ec;
  --accent-ring: rgba(184, 93, 42, 0.25);

  /* Functional Status */
  --border-light: #e8e3d8;
  --border-medium: #d6cfc2;
  --border-focus: #b85d2a;
  --success: #287346;
  --success-bg: #eaf5ee;
  --success-border: #b8e2c6;
  --error: #b83321;
  --error-bg: #faeae8;
  --error-border: #f1b8b0;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevations */
  --shadow-sm: 0 1px 3px rgba(30, 20, 10, 0.05), 0 1px 2px rgba(30, 20, 10, 0.03);
  --shadow-md: 0 6px 18px rgba(30, 20, 10, 0.06), 0 2px 4px rgba(30, 20, 10, 0.03);
  --shadow-lg: 0 16px 36px rgba(30, 20, 10, 0.08), 0 4px 8px rgba(30, 20, 10, 0.03);
  --shadow-modal: 0 25px 60px -10px rgba(25, 18, 10, 0.25), 0 12px 24px -5px rgba(25, 18, 10, 0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transitions */
  --trans-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--text-primary);
  color: var(--text-inverse);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--trans-fast);
}

.skip-link:focus {
  top: 16px;
}

/* Screen reader only */
.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;
}

/* Focus Visible Styling (WCAG) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Selection */
::selection {
  background-color: var(--accent-light);
  color: var(--accent);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(184, 93, 42, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 93, 42, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-tertiary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  padding: 0.75rem 1.25rem;
}

.btn-tertiary:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.spinner-dark {
  border-color: rgba(25, 24, 22, 0.2);
  border-top-color: var(--text-primary);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--trans-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-medium);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .nav-container {
    padding: 1rem 2.5rem;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .nav-brand-logo {
    height: 38px;
  }
  .nav-brand {
    font-size: 1.25rem;
    gap: 0.75rem;
  }
}

.btn-nav-cta {
  display: inline-flex;
}

@media (max-width: 680px) {
  .btn-nav-cta {
    display: none !important;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--trans-fast);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

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

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--trans-normal), opacity var(--trans-normal);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(16px);
  z-index: 890;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans-smooth);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(184, 93, 42, 0.06), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(237, 231, 220, 0.6), transparent 50%);
}

@media (min-width: 900px) {
  .hero {
    padding: 6.5rem 0 7rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(184, 93, 42, 0.15);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: var(--accent-light);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 480px) {
  .hero-ctas .btn {
    width: 100%;
  }
}

.hero-trust-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.hero-trust-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--text-tertiary);
}

.hero-trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Hero Visual / Card Showcase */
.hero-visual-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(184, 93, 42, 0.25), transparent 60%);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.card-header-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.agency-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: transform var(--trans-fast), border-color var(--trans-fast);
}

.hero-feature-item:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.feature-badge-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-top: 2px;
}

.hero-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.hero-feature-text p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-card-footer strong {
  color: var(--text-primary);
}

/* ==========================================================================
   SERVICES SECTION (6 Core Services A-F)
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  background: var(--bg-page);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 680px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.service-card-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-tertiary);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-deliverables li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.service-deliverables li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.service-card-action {
  margin-top: auto;
}

.btn-select-service {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-select-service:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   PROCESS SECTION (5 Steps Timeline)
   ========================================================================== */
.process-section {
  padding: 6rem 0;
  background: var(--bg-page-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

.process-number span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   PORTFOLIO & WORK SHOWCASE (Authentic Work - No Fake Metrics)
   ========================================================================== */
.work-section {
  padding: 6rem 0;
  background: var(--bg-page);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.work-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.work-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-img {
  transform: scale(1.05);
}

.work-tag-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.work-content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-client {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.work-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.work-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.work-deliverables-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.work-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   PHILOSOPHY & VALUE PILLARS (Authentic Pillars - No Fake Numbers)
   ========================================================================== */
.pillars-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  padding: 2rem 1.5rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--trans-normal);
}

.pillar-card:hover {
  border-color: var(--accent);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.85rem;
  display: block;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   CONTACT SECTION (Official Contacts & Split Inquiry)
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-page);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--trans-normal);
}

.contact-link-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-card-arrow {
  margin-left: auto;
  color: var(--text-tertiary);
  font-size: 1.25rem;
  transition: transform var(--trans-fast), color var(--trans-fast);
}

.contact-link-card:hover .contact-card-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.contact-card-details h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 0.2rem;
}

.contact-card-details p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Quick Inquiry Box */
.quick-inquiry-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.quick-inquiry-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quick-inquiry-box p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ==========================================================================
   MULTI-STEP BRIEF SYSTEM (5 Steps + Review + Success)
   ========================================================================== */
.brief-section {
  padding: 5rem 0 6rem;
  background: var(--bg-page-warm);
  border-top: 1px solid var(--border-light);
}

.brief-card-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Step Progress Indicator */
.brief-progress-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.progress-step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.progress-percent-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #d47e45);
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 20%;
}

.step-indicators-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all var(--trans-fast);
}

.step-pill .step-pill-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-pill.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-light);
}

.step-pill.active .step-pill-num {
  background: var(--accent);
  color: #ffffff;
}

.step-pill.completed {
  color: var(--text-secondary);
}

.step-pill.completed .step-pill-num {
  background: var(--success);
  color: #ffffff;
}

/* Step Form Body */
.brief-body {
  padding: 2.5rem 2rem;
}

@media (min-width: 640px) {
  .brief-body {
    padding: 3rem 2.75rem;
  }
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInStep 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  margin-bottom: 2rem;
}

.step-heading h3 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.step-heading p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Form Controls & Inputs */
.form-group {
  margin-bottom: 1.75rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-label .req {
  color: var(--error);
  margin-left: 2px;
}

.form-label-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-top: 0.15rem;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--trans-fast);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
  outline: none;
  background: #ffffff;
}

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

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357524a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.form-error-msg {
  display: none;
  font-size: 0.8125rem;
  color: var(--error);
  font-weight: 500;
  margin-top: 0.4rem;
}

.form-error-msg.show {
  display: block;
}

.form-control.is-invalid {
  border-color: var(--error);
  background-color: var(--error-bg);
}

/* Category Checkbox Grid (Step 1) */
.category-select-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .category-select-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-choice-card {
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--trans-fast);
  user-select: none;
}

.category-choice-card:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.category-choice-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 1px var(--accent);
}

.category-choice-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}

.category-choice-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.category-choice-content p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Dynamic Subcategories Container */
.subcategories-wrapper {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.subcategory-group {
  margin-bottom: 1.5rem;
}

.subcategory-group:last-child {
  margin-bottom: 0;
}

.subcategory-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.subcategories-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.subcat-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.subcat-pill-label:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.subcat-pill-label input[type="checkbox"] {
  accent-color: var(--accent);
  cursor: pointer;
}

.subcat-pill-label.checked {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.subcat-pill-label.checked input[type="checkbox"] {
  accent-color: #ffffff;
}

.other-input-wrap {
  margin-top: 0.85rem;
  display: none;
}

.other-input-wrap.show {
  display: block;
}

/* Radio Group Cards */
.radio-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

.radio-card {
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.radio-card:hover {
  border-color: var(--accent);
}

.radio-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}

.radio-card input[type="radio"] {
  accent-color: var(--accent);
  cursor: pointer;
}

/* Checkbox Single Item */
.checkbox-single {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.checkbox-single input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Navigation Buttons at bottom of step */
.step-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  gap: 1rem;
}

/* Summary Review Step */
.summary-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.summary-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
}

.summary-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-light);
}

.summary-card-header h4 {
  font-size: 1rem;
  color: var(--text-primary);
}

.btn-edit-step {
  background: transparent;
  border: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.btn-edit-step:hover {
  background: var(--accent-light);
}

.summary-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
}

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

.summary-key {
  color: var(--text-tertiary);
  font-weight: 500;
}

.summary-val {
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}

/* Success View */
.success-view {
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid var(--success-border);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem;
}

.success-view h3 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.success-view p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.brief-id-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.brief-id-banner button {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--accent);
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Error Banner in Form */
.form-alert-error {
  display: none;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--error);
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-alert-error.show {
  display: block;
}

/* ==========================================================================
   MODAL DIALOG (Accessible & Smooth)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 24, 22, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--trans-normal), visibility var(--trans-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-sheet {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--trans-smooth);
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-sheet.modal-lg {
  max-width: 900px;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.35rem;
}

.modal-close-btn {
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.modal-close-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.modal-content-area {
  padding: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--text-primary);
  color: #d8d3cb;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 380px;
  color: #a8a298;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-links a {
  font-size: 0.9rem;
  color: #a8a298;
  transition: color var(--trans-fast);
}

.footer-col-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #878074;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   ANIMATIONS & REDUCED MOTION
   ========================================================================== */
.fade-up-element {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up-element {
    opacity: 1 !important;
    transform: none !important;
  }
}
