/* =============================================================================
   COMPONENTS — GrowthEngine Brand System v3.0
   ============================================================================= */

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: all var(--duration) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Sizes */
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 12px 22px; font-size: 14px; }

/* Variants */
.btn-primary {
  background: var(--combustion);
  color: var(--void);
  border-color: var(--combustion);
}
.btn-primary:hover {
  background: var(--ember-light);
  border-color: var(--ember-light);
  color: var(--void);
}

.btn-ghost {
  background: var(--surface-2);
  border-color: var(--hairline);
  color: var(--bone);
}
.btn-ghost:hover {
  background: var(--surface-3);
  border-color: var(--hairline-strong);
  color: var(--bone);
}

.btn-outline {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--bone);
}
.btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--combustion);
  color: var(--combustion);
}

.btn-danger {
  background: transparent;
  border-color: rgba(229, 57, 53, 0.32);
  color: var(--signal-red);
}
.btn-danger:hover {
  background: rgba(229, 57, 53, 0.08);
  border-color: rgba(229, 57, 53, 0.5);
}

/* Icon-only button */
.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  border-radius: var(--radius-md);
}
.btn-icon.btn-sm { width: 30px; height: 30px; }
.btn-icon.btn-lg { width: 44px; height: 44px; }

/* WordPress submit / default button overrides */
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  background: var(--combustion);
  color: var(--void);
  border: 1px solid var(--combustion);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--ember-light);
  border-color: var(--ember-light);
  color: var(--void);
}

/* =============================================================================
   FORMS
   ============================================================================= */

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="date"],
select,
textarea {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 9px 13px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--bone);
  outline: none;
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease);
  width: 100%;
}

.input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: var(--combustion);
  background: var(--ember-dark);
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--faint);
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8C4BC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Checkbox */
.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 4px;
  background: var(--surface-2);
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}

input[type="checkbox"]:checked {
  background: var(--combustion);
  border-color: var(--combustion);
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--void);
  border-bottom: 2px solid var(--void);
}

/* Radio */
input[type="radio"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 50%;
  background: var(--surface-2);
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}

input[type="radio"]:checked {
  border-color: var(--combustion);
}

input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--combustion);
  border-radius: 50%;
}

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}

.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--bone);
  border-radius: 50%;
  transition: transform 200ms var(--ease);
}

.toggle input:checked + .toggle-track { background: var(--combustion); }
.toggle input:checked + .toggle-track::after {
  transform: translateX(16px);
  background: var(--void);
}

/* Form hint */
.form-hint {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.form-error { color: var(--signal-red); font-size: 11.5px; }

/* Search field */
.search-field {
  position: relative;
}

.search-field input {
  padding-left: 38px;
}

.search-field .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--faint);
  pointer-events: none;
}

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

.card {
  background: var(--ember-dark);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card-pad     { padding: 24px; }
.card-pad-sm  { padding: 16px; }
.card-pad-lg  { padding: 32px; }

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--bone);
}

.card-body { padding: 20px; color: var(--steam); font-size: 14px; }

.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}

/* Accent gradient card */
.card-accent {
  background: linear-gradient(180deg, rgba(240, 120, 32, 0.10) 0%, var(--ember-dark) 100%);
  border-color: rgba(240, 120, 32, 0.24);
  position: relative;
  overflow: hidden;
}

.card-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(240, 120, 32, 0.15), transparent 60%);
  pointer-events: none;
}

/* KPI tile */
.kpi-tile {
  background: var(--ember-dark);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}

.kpi-tile .kpi-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.kpi-tile .kpi-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.kpi-tile .kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--mono);
  font-size: 11.5px;
}

.kpi-tile .kpi-delta.up   { color: var(--signal-green); }
.kpi-tile .kpi-delta.down { color: var(--signal-red); }

.kpi-tile .kpi-delta svg { width: 10px; height: 10px; }

/* =============================================================================
   STATUS PILLS / BADGES
   ============================================================================= */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid;
}

.pill .pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pill-live     { background: rgba(76, 175, 80, 0.10);  color: var(--signal-green); border-color: rgba(76, 175, 80, 0.30); }
.pill-live .pulse { background: var(--signal-green); animation: gengine-pulse 1.8s infinite; }

.pill-draft    { background: rgba(244, 241, 236, 0.06); color: var(--muted);  border-color: var(--hairline); }
.pill-draft .pulse { background: var(--muted); }

.pill-paused   { background: rgba(255, 154, 60, 0.08);  color: var(--ember-light); border-color: rgba(255, 154, 60, 0.24); }
.pill-paused .pulse { background: var(--ember-light); }

.pill-review   { background: rgba(240, 120, 32, 0.10);  color: var(--combustion); border-color: rgba(240, 120, 32, 0.28); }
.pill-review .pulse { background: var(--combustion); }

.pill-error    { background: rgba(229, 57, 53, 0.10);   color: var(--signal-red); border-color: rgba(229, 57, 53, 0.28); }
.pill-error .pulse { background: var(--signal-red); }

.pill-done     { background: rgba(244, 241, 236, 0.04); color: var(--muted);  border-color: var(--hairline); }

@keyframes gengine-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--steam);
}

.tag-accent {
  background: rgba(240, 120, 32, 0.08);
  border-color: rgba(240, 120, 32, 0.24);
  color: var(--combustion);
}

/* Version badge */
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: rgba(240, 120, 32, 0.08);
  border: 1px solid rgba(240, 120, 32, 0.24);
  border-radius: var(--radius-full);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--combustion);
}

.version-badge .dot {
  width: 5px;
  height: 5px;
  background: var(--combustion);
  border-radius: 50%;
}

/* =============================================================================
   AVATAR
   ============================================================================= */

.avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--combustion), var(--ember-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--void);
  flex-shrink: 0;
}

.avatar-sm  { width: 24px; height: 24px; font-size: 9px; }
.avatar-md  { width: 32px; height: 32px; font-size: 12px; }
.avatar-lg  { width: 44px; height: 44px; font-size: 16px; }
.avatar-xl  { width: 64px; height: 64px; font-size: 22px; }

.avatar-stack {
  display: inline-flex;
}

.avatar-stack .avatar {
  border: 2px solid var(--ember-dark);
  margin-left: -8px;
}

.avatar-stack .avatar:first-child { margin-left: 0; }

/* =============================================================================
   CALLOUT / NOTICE
   ============================================================================= */

.callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 120, 32, 0.10), transparent 50%),
    var(--ember-dark);
  border: 1px solid rgba(240, 120, 32, 0.24);
  border-radius: var(--radius-md);
  margin: 16px 0 24px;
}

.callout-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(240, 120, 32, 0.12);
  border: 1px solid rgba(240, 120, 32, 0.32);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--combustion);
}

.callout-icon svg { width: 14px; height: 14px; }

.callout-body { font-size: 13px; line-height: 1.6; color: var(--steam); }
.callout-body strong { color: var(--bone); font-weight: 600; }

.callout-info    { border-color: rgba(76, 175, 80, 0.24); }
.callout-info .callout-icon { background: rgba(76, 175, 80, 0.12); border-color: rgba(76, 175, 80, 0.32); color: var(--signal-green); }

.callout-error   { border-color: rgba(229, 57, 53, 0.24); }
.callout-error .callout-icon { background: rgba(229, 57, 53, 0.12); border-color: rgba(229, 57, 53, 0.32); color: var(--signal-red); }

/* Quote callout */
.pull-quote {
  border-left: 2px solid var(--combustion);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--bone);
}

/* =============================================================================
   NAVIGATION ITEMS
   ============================================================================= */

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  color: var(--steam);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
  text-decoration: none;
}

.nav-item:hover {
  background: var(--surface-2);
  color: var(--bone);
}

.nav-item.active,
.nav-item.current-menu-item {
  background: var(--surface-2);
  color: var(--bone);
}

.nav-item.active::before,
.nav-item.current-menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--combustion);
  border-radius: 0 2px 2px 0;
}

.nav-item .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

.nav-item .badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  background: var(--combustion);
  color: var(--void);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* Nav label (section heading) */
.nav-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--faint);
  padding: 0 12px 10px;
}

/* =============================================================================
   POST CARD (Blog)
   ============================================================================= */

.post-card {
  background: var(--ember-dark);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--hairline-strong);
}

.post-card-thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}

.post-card:hover .post-card-thumbnail img {
  transform: scale(1.03);
}

.post-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-card-category {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--combustion);
}

.post-card-date {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
}

.post-card-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--bone);
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.post-card-title a:hover { color: var(--combustion); }

.post-card-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.post-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-card-read-more {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--combustion);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--duration) var(--ease);
}

.post-card-read-more:hover { gap: 8px; color: var(--combustion); }
.post-card-read-more svg { width: 12px; height: 12px; }

/* =============================================================================
   PAGINATION
   ============================================================================= */

.pagination,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 48px 0;
}

.page-numbers,
.page-numbers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--steam);
  background: var(--ember-dark);
  border: 1px solid var(--hairline);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.page-numbers:hover,
.page-numbers a:hover {
  border-color: var(--hairline-strong);
  color: var(--bone);
  background: var(--surface-2);
}

.page-numbers.current {
  background: var(--combustion);
  border-color: var(--combustion);
  color: var(--void);
}

.page-numbers.dots {
  background: none;
  border: none;
  cursor: default;
  color: var(--faint);
}

/* Posts nav (prev/next) */
.posts-navigation,
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0;
}

.nav-previous,
.nav-next {
  background: var(--ember-dark);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--duration) var(--ease);
}

.nav-previous:hover,
.nav-next:hover { border-color: var(--hairline-strong); }

.nav-next { text-align: right; }

.nav-previous a,
.nav-next a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.nav-previous .nav-direction,
.nav-next .nav-direction {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--combustion);
}

.nav-previous .nav-post-title,
.nav-next .nav-post-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--bone);
  line-height: 1.3;
}

/* =============================================================================
   COMMENTS
   ============================================================================= */

.comments-area {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}

.comments-title,
.comment-reply-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.comment-list li::before { display: none; }

.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.comment:last-child { border-bottom: none; }

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-author img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.comment-author .fn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--bone);
}

.comment-meta time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
}

.comment-content p {
  font-size: 14px;
  color: var(--steam);
  max-width: none;
}

.reply a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--combustion);
  margin-top: 8px;
  display: inline-block;
}

.children {
  margin-left: 32px;
  border-left: 2px solid var(--hairline);
  padding-left: 24px;
  list-style: none;
}

.children li::before { display: none; }

/* Comment form */
.comment-form label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.comment-form .comment-notes {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.comment-form p { margin-bottom: 16px; max-width: none; color: inherit; }

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

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--bone);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.theme-toggle-btn:hover {
  border-color: var(--hairline-strong);
  background: var(--surface-3);
}

.theme-toggle-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Icon button (topbar actions) */
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steam);
  position: relative;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
  cursor: pointer;
}

.icon-btn:hover { background: var(--surface-2); color: var(--bone); }
.icon-btn svg { width: 16px; height: 16px; }

.icon-btn .dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: var(--combustion);
  border-radius: 50%;
  border: 1.5px solid var(--void);
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
  padding: var(--space-10) 0 var(--space-9);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 120, 32, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 80px);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin-bottom: 24px;
  max-width: 15ch;
  color: var(--bone);
}

.hero-title .accent { color: var(--combustion); }

.hero-lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =============================================================================
   SECTION LAYOUT HELPERS
   ============================================================================= */

.section {
  padding: var(--space-9) 0;
}

.section-sm { padding: var(--space-7) 0; }
.section-lg { padding: var(--space-10) 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--combustion);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--bone);
  margin-bottom: 16px;
}

.section-title .accent { color: var(--combustion); }

.section-intro {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 40px;
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
