/* Components: Gallery, Lightbox, Reel Simulator, Case Studies, Brief Builder, Drawer */

/* ==========================================================================
   1. GALLERY & FILTERS
   ========================================================================== */
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.gallery-tabs {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.gallery-tabs button {
  padding: 0 0 14px;
  margin-bottom: -1px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-tabs button .tab-count {
  font-size: 10px;
  color: var(--muted);
  opacity: 0.7;
}

.gallery-tabs button[aria-pressed="true"],
.gallery-tabs button.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 500;
}

.gallery-tabs button:hover {
  color: var(--ink);
}

.gallery-view-hint {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  display: none;
}
@media (min-width: 768px) {
  .gallery-view-hint { display: block; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 44px) clamp(16px, 2.2vw, 32px);
}

.gallery-item {
  margin: 0;
  cursor: pointer;
  outline: none;
  transition: transform var(--transition-fast);
}

.gallery-item:focus-visible .gallery-mat {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.gallery-mat {
  position: relative;
  background: var(--white);
  padding: clamp(6px, 0.9vw, 12px);
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(23, 19, 19, 0.04);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.gallery-mat::after {
  content: "";
  position: absolute;
  inset: clamp(6px, 0.9vw, 12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover .gallery-mat {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gallery-mat img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--paper);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-fast);
  display: block;
}

.gallery-item:hover .gallery-mat img {
  transform: scale(1.025);
  opacity: 0.95;
}

.gallery-stamp {
  position: absolute;
  left: clamp(16px, 2vw, 24px);
  bottom: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 3;
}

.gallery-stamp::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: #FFFFFF;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.gallery-expand-hint {
  position: absolute;
  top: clamp(14px, 1.6vw, 20px);
  right: clamp(14px, 1.6vw, 20px);
  background: rgba(23, 19, 19, 0.7);
  backdrop-filter: blur(6px);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--transition-fast);
  z-index: 4;
}

.gallery-item:hover .gallery-expand-hint {
  opacity: 1;
  transform: scale(1);
}

.gallery-caption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
}

.gallery-caption-title {
  color: var(--ink);
  font-weight: 400;
}

.gallery-caption-sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-shrink: 0;
}


/* ==========================================================================
   2. EDITORIAL LIGHTBOX MODAL
   ========================================================================== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 19, 19, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  padding: clamp(16px, 3vw, 40px);
}

.lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  background-color: var(--white);
  max-width: 1080px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  box-shadow: var(--shadow-phone);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transform: scale(0.97) translateY(12px);
  transition: transform var(--transition-smooth);
}

.lightbox-backdrop.active .lightbox-container {
  transform: scale(1) translateY(0);
}

.lightbox-media {
  background-color: var(--paper);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-media-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(23, 19, 19, 0.8);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.lightbox-details {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
  transition: background-color var(--transition-fast);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--ink);
  color: var(--white);
}

.lightbox-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.lightbox-restaurant {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  color: var(--ink);
  margin-top: 6px;
}

.lightbox-dish {
  font-size: 16px;
  color: var(--muted);
  margin-top: 4px;
}

.lightbox-section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.lightbox-hook-box {
  background-color: var(--paper);
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}

.lightbox-caption-box {
  margin-bottom: 24px;
}

.lightbox-caption-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.lightbox-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.lightbox-meta-item dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.lightbox-meta-item dd {
  font-size: 12.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

.lightbox-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.lightbox-nav-btn {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--paper);
  color: var(--accent);
}

.lightbox-nav-counter {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}


/* ==========================================================================
   3. INTERACTIVE VERTICAL REEL SHOWCASE (THE PHONE PLAYER)
   ========================================================================== */
.reels-section {
  background-color: #171313;
  color: #FFFFFF;
}

.reels-section .section-head h2 {
  color: #FFFFFF;
}

.reels-section .section-head p.head-desc {
  color: rgba(255, 255, 255, 0.65);
}

.reels-section .label {
  color: var(--accent);
}

.reels-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.5fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

/* Phone Bezel */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.phone-device {
  width: 320px;
  height: 640px;
  background: #0B0909;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 0 0 3px #2A2525, 0 32px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-speaker-notch {
  width: 100px;
  height: 20px;
  background: #000000;
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-speaker-notch::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  position: absolute;
  right: 18px;
}

.phone-screen {
  flex: 1;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #111111;
  display: flex;
  flex-direction: column;
}

.phone-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.phone-video-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.5s ease;
}

.phone-video-media video.beauty-filter-active {
  filter: brightness(1.04) contrast(1.02) saturate(1.08) drop-shadow(0 0 16px rgba(255, 230, 215, 0.2));
}

.phone-beauty-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(225, 140, 100, 0.95));
  color: #fff;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
  text-transform: uppercase;
}

.phone-video-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}

.phone-video-media.playing img {
  transform: scale(1.12);
}

.phone-video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 2;
}

/* Phone UI Overlay Elements */
.phone-top-bar {
  position: relative;
  z-index: 10;
  padding: 20px 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(179, 34, 28, 0.85);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 600;
}

.phone-pulse-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.phone-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-creator-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-creator-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #fff;
  object-fit: cover;
}

.phone-creator-name {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.phone-creator-handle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.phone-hook-caption {
  font-size: 13px;
  line-height: 1.4;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.phone-audio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  width: fit-content;
}

.phone-progress-bar-container {
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}

.phone-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* Phone Play/Pause Control Button */
.phone-playback-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(23, 19, 19, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
  opacity: 0.85;
}

.phone-playback-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
  opacity: 1;
}

/* Right Column: Reel Selectors & Script Timeline */
.reels-controls-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.reel-selector-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reel-tab-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reel-tab-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.reel-tab-card.active {
  background: rgba(179, 34, 28, 0.15);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(179, 34, 28, 0.2);
}

.reel-tab-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reel-tab-title {
  font-family: var(--serif);
  font-size: 19px;
  color: #fff;
}

.reel-tab-meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.reel-tab-metrics {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reel-tab-views {
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
}

.reel-tab-saves {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Script Breakdown Panel */
.reel-script-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 2px;
}

.reel-script-panel h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.reel-script-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reel-script-step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.reel-script-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reel-step-time {
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.reel-step-desc {
  color: rgba(255, 255, 255, 0.88);
}


/* ==========================================================================
   4. STRATEGIC CASE STUDIES: THE ANATOMY OF A DINING UGC BRIEF
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.case-study-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(23, 19, 19, 0.03);
  transition: all var(--transition-smooth);
}

.case-study-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-dark);
  transform: translateY(-2px);
}

.case-study-client {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.case-study-type {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.case-study-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 20px;
}

.case-study-challenge {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.case-study-strategy-title {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.case-study-strategy-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.case-study-strategy-list li {
  position: relative;
  padding-left: 14px;
}

.case-study-strategy-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

.case-study-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: var(--paper);
  padding: 16px 12px;
  border-radius: 2px;
  margin-top: auto;
  margin-bottom: 20px;
  text-align: center;
}

.case-study-result-val {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.case-study-result-label {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.case-study-deliverables {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}


/* ==========================================================================
   5. "LOVE, JANINA" READING ROOM (SLIDE-OVER DRAWER)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 19, 19, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.reading-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(600px, 100vw);
  background-color: var(--white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
  overflow-y: auto;
}

.drawer-backdrop.active .reading-drawer {
  transform: translateX(0);
}

.drawer-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.drawer-close-btn {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.drawer-essay-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--ink);
}

.drawer-essay-subtitle {
  font-size: 16px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  margin-bottom: 28px;
  line-height: 1.5;
}

.drawer-essay-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.drawer-essay-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}


/* ==========================================================================
   6. INTERACTIVE INQUIRY & BRIEF BUILDER
   ========================================================================== */
.brief-builder-container {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 64px);
  margin-top: 48px;
}

.builder-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.builder-step-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.package-card-option {
  border: 1px solid var(--line);
  padding: 18px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 2px;
}

.package-card-option:hover {
  border-color: var(--ink);
}

.package-card-option.selected {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--accent);
}

.pkg-opt-name {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}

.pkg-opt-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.pkg-opt-badge {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 2px;
}

.addons-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addon-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.addon-row:hover {
  border-color: var(--line-dark);
}

.addon-row.active {
  border-color: var(--accent);
  background: #FCF8F5;
}

.addon-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  background: var(--white);
}

.addon-row.active .addon-checkbox {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.addon-details {
  flex: 1;
}

.addon-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.addon-desc {
  font-size: 11.5px;
  color: var(--muted);
}

/* Location Pills */
.location-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.location-pill {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.location-pill.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Generated Brief Summary Output */
.brief-summary-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brief-summary-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.brief-summary-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}

.brief-output-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  font-family: monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 280px;
  overflow-y: auto;
  border-radius: 2px;
  margin-bottom: 24px;
}

.brief-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-brief-copy {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-brief-copy:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-brief-email {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-brief-email:hover {
  background: rgba(23, 19, 19, 0.05);
}

.brief-feedback-msg {
  font-size: 12px;
  color: var(--accent);
  text-align: center;
  min-height: 1.4em;
  margin-top: 4px;
}


/* ==========================================================================
   7. SERVICES TIERS (STATIC OVERVIEW)
   ========================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.svc-col {
  padding: 32px 32px 0 0;
  display: grid;
  gap: 16px;
  align-content: start;
}

.svc-col + .svc-col {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.svc-col h3 {
  font-family: var(--serif);
  font-size: 32px;
}

.svc-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--ink-secondary);
  font-size: 14.5px;
}

.svc-col .price-tag {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.formats-bar {
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 48px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.formats-bar p {
  color: var(--muted);
}

/* Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.process-step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.process-step .step-num {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--accent);
}

.process-step h3 {
  font-size: 17px;
  font-weight: 500;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}


/* ==========================================================================
   8. WRITING & VOICE
   ========================================================================== */
.voice-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6.5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.voice-layout h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  margin-top: 16px;
}

.voice-side-desc {
  margin-top: 20px;
  color: var(--muted);
  max-width: 40ch;
  font-size: 15px;
}

.voice-quote-box blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.45;
  color: var(--ink);
}

.voice-quote-box cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.quote-card {
  margin: 0;
  padding: 36px 36px 36px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  align-content: start;
}

.quote-card:nth-child(even) {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
}

.quote-card-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-read-btn {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}

.quote-read-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}


/* ==========================================================================
   9. CONTACT & FOOTER
   ========================================================================== */
.band-red {
  background-color: var(--accent-deep);
  color: #FFF6F2;
}

.band-red .label {
  color: rgba(255, 246, 242, 0.72);
}

.band-red .mail-display {
  border-color: rgba(255, 246, 242, 0.35);
  color: #FFF6F2;
}

.band-red .btn-copy-email {
  border-color: #FFF6F2;
  color: #FFF6F2;
}

.band-red .btn-copy-email:hover {
  background: #FFF6F2;
  color: var(--accent-deep);
}

.band-red .copied-status {
  color: rgba(255, 246, 242, 0.75);
}

.band-red .tlink.soft {
  color: rgba(255, 246, 242, 0.8);
  border-color: rgba(255, 246, 242, 0.35);
}

.band-red .tlink:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.contact-box {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 32px;
  padding-block: clamp(72px, 10vw, 130px);
}

.contact-box h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 7.5vw, 100px);
  line-height: 1.02;
  font-weight: 400;
}

.contact-box h2 em {
  font-style: italic;
}

.mail-action-row {
  display: flex;
  gap: 20px 28px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.mail-display {
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 0.02em;
  user-select: all;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  word-break: break-all;
}

.btn-copy-email {
  background: none;
  border: 1px solid var(--ink);
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
  transition: all var(--transition-fast);
}

.btn-copy-email:hover {
  background: var(--ink);
  color: var(--white);
}

.copied-status {
  font-size: 12px;
  color: var(--muted);
  min-height: 1.4em;
}

.social-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.sign-off {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}

footer.site-footer {
  padding-block: 36px 56px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
