:root {
  --bg: #f7f1e8;
  --surface: #fffaf2;
  --surface-alt: #efe6d8;
  --text: #2b2118;
  --muted: #6b5b4b;
  --accent: #c2562f;
  --accent-hover: #a64623;
  --highlight: #e0a03a;
  --border: rgba(43, 33, 24, 0.12);
  --border-strong: rgba(43, 33, 24, 0.24);
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--text);
  color: var(--surface);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 100;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.dp-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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--text);
}

/* Hero & First-Screen Studio */
.hero-band {
  padding: 32px 0 48px;
}

.hero-top {
  max-width: 760px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

h1 {
  font-size: 42px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.hero-lead {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 64ch;
}

/* Studio Workbench */
.dp-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: start;
}

.dp-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.dp-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dp-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.dp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.dp-step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.dp-step-actions {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.dp-link-btn {
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dp-link-btn:hover {
  color: var(--accent-hover);
}

.dp-dropzone {
  display: block;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 18px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dp-dropzone:hover,
.dp-dropzone.is-dragover {
  border-color: var(--accent);
  background: #f4eadc;
}

.dp-dropzone-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  color: var(--muted);
}

.dp-upload-icon {
  color: var(--accent);
}

.dp-drop-main {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.dp-drop-sub {
  font-size: 12px;
  color: var(--muted);
}

.dp-dropzone-loaded {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dp-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.dp-file-meta {
  min-width: 0;
  flex: 1;
}

.dp-file-meta strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-file-meta span {
  font-size: 12px;
  color: var(--muted);
}

.dp-replace-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.dp-micro-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}


/* Scene Cards */
.dp-scenes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dp-scene-card {
  appearance: none;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.dp-scene-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.dp-scene-card.is-active {
  border-color: var(--accent);
  background: #fdf3eb;
  box-shadow: 0 0 0 1px var(--accent);
}

.dp-scene-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.dp-scene-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  text-align: center;
}

/* Ratio & Tone Pills */
.dp-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dp-tone-row {
  margin-top: 10px;
}

.dp-pill {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  min-height: 36px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.dp-pill.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--surface);
}

.dp-note-field {
  margin-top: 14px;
}

.dp-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.dp-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.dp-input::placeholder {
  color: var(--muted);
}

/* Primary & Secondary Buttons */
.dp-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dp-btn-primary {
  background: var(--accent);
  color: #ffffff;
  flex: 1 1 220px;
}

.dp-btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.dp-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.dp-btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  flex: 0 1 auto;
}

.dp-btn-secondary:hover {
  border-color: var(--text);
  background: var(--surface-alt);
  color: var(--text);
}

.dp-status {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.dp-status-success {
  border-color: rgba(47, 125, 79, 0.35);
  background: #edf6f0;
  color: #1d4d31;
}

.dp-status-error {
  border-color: rgba(194, 86, 47, 0.45);
  background: #fdf0eb;
  color: #8f3416;
}

/* Studio Viewfinder Stage (Signature 35mm Motif) */
.dp-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dp-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dp-tabs {
  display: inline-flex;
  background: var(--bg);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.dp-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.dp-tab.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.dp-frame-spec {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.dp-viewfinder {
  position: relative;
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
}

.dp-vf-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}

.dp-vf-tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.dp-vf-tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.dp-vf-bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.dp-vf-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.dp-canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #e5dac9;
  box-shadow: var(--shadow-md);
}

.dp-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}

.dp-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, transparent 33.2%, rgba(255, 250, 242, 0.55) 33.2%, rgba(255, 250, 242, 0.55) 33.6%, transparent 33.6%, transparent 66.4%, rgba(255, 250, 242, 0.55) 66.4%, rgba(255, 250, 242, 0.55) 66.8%, transparent 66.8%),
    linear-gradient(to bottom, transparent 32%, rgba(224, 160, 58, 0.85) 32%, rgba(224, 160, 58, 0.85) 32.6%, transparent 32.6%);
}

.dp-guide-eye {
  position: absolute;
  top: 26%;
  right: 10px;
  background: rgba(43, 33, 24, 0.78);
  color: #fffaf2;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}

.dp-empty-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  background: #ede3d4;
}

.dp-empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text);
}

.dp-empty-copy {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 28ch;
}

.dp-ref-wrap,
.dp-ai-wrap {
  max-width: 380px;
  margin: 0 auto;
}

.dp-ref-img,
.dp-ai-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.dp-ref-caption {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.dp-ref-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.dp-ref-caption strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.dp-ref-caption p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.dp-ai-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.dp-adjustments {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.dp-slider-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.dp-slider-group strong {
  color: var(--text);
}

.dp-slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.dp-check-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-height: 36px;
  cursor: pointer;
}

.dp-check-toggle input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.dp-readiness {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.dp-readiness-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--highlight);
  flex-shrink: 0;
}

.dp-readiness.is-ok .dp-readiness-dot {
  background: #2f7d4f;
}

.dp-readiness.is-warn .dp-readiness-dot {
  background: var(--accent);
}


/* Sections */
.section-band {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Staggered Editorial Lookbook */
.lookbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.lookbook-feature,
.lookbook-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.lookbook-frame {
  position: relative;
}

.lookbook-feature .lookbook-frame > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.selfie-inset {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--surface);
  padding: 6px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  width: 96px;
  text-align: center;
}

.selfie-inset img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 4px;
}

.selfie-inset span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.lookbook-feature figcaption,
.lookbook-item figcaption {
  padding: 16px 20px;
}

.cap-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.lookbook-feature figcaption strong,
.lookbook-item figcaption strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.lookbook-feature figcaption p,
.lookbook-item figcaption p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.lookbook-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lookbook-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

/* Numbered Editorial Playbook */
.playbook-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.playbook-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.playbook-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.playbook-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
}

/* Uneven 2-Column App Specs & Aside */
.specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 32px;
  align-items: start;
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.spec-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.specs-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.note-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.note-privacy {
  border-left: 3px solid var(--accent);
}

.avoid-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.avoid-list li + li {
  margin-top: 8px;
}

.note-box p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Long-Form Editorial Prose */
.prose {
  max-width: 70ch;
}

.prose h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.prose p {
  margin: 0 0 16px;
  color: var(--text);
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 66ch;
}

/* Legal & 404 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.legal-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.not-found-inner {
  max-width: 560px;
  padding: 48px 0;
}

.not-found-inner p {
  color: var(--muted);
  margin: 12px 0 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0 28px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 42ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .dp-studio,
  .lookbook-grid,
  .specs-layout {
    grid-template-columns: 1fr;
  }

  .lookbook-item {
    grid-template-columns: 130px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    min-height: 56px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero-band {
    padding: 24px 0 40px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .dp-panel {
    padding: 16px;
  }

  .dp-scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-cta-group .dp-btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .dp-adjustments {
    grid-template-columns: 1fr;
  }

  .lookbook-item {
    grid-template-columns: 1fr;
  }

  .lookbook-item img {
    aspect-ratio: 4 / 3;
  }

  .playbook-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .playbook-num {
    font-size: 22px;
  }

  .section-band {
    padding: 40px 0;
  }
}


/* First-Screen Examples Strip */
.hero-examples {
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-example-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.hero-example-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-example-card figcaption {
  padding: 10px 12px;
}

.hero-example-tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.hero-example-card strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-top: 2px;
}

.hero-examples-bar {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-examples-bar p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 56ch;
}

.hero-examples-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.specs-more-link {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

/* Related Guides & Inner Pages */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.related-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related-card h3 {
  color: var(--text);
  margin: 4px 0 8px;
}

.related-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.inner-hero {
  padding: 36px 0 32px;
}

.cta-banner {
  margin: 32px 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-banner h3 {
  margin: 0 0 6px;
}

.cta-banner p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 54ch;
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-examples {
    padding: 14px;
  }

  .hero-examples-grid {
    grid-template-columns: 1fr;
  }

  .hero-examples-links {
    width: 100%;
  }

  .hero-examples-links .dp-btn {
    width: 100%;
  }
}


/* Editorial Prose Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.prose th,
.prose td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prose th {
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}


/* Auth & AI Studio Additions */
.nav-auth-btn {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.nav-auth-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dp-member-bar {
  margin-bottom: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.dp-member-guest,
.dp-member-signed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.dp-member-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.dp-avatar-lg {
  width: 52px;
  height: 52px;
}

.dp-member-credits {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.dp-member-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dp-btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.dp-thumbs-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dp-thumb-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.dp-ai-loading {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
}

.dp-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: dp-spin 0.85s linear infinite;
  margin-bottom: 16px;
}

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

.dp-account-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dp-credit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.dp-credit-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.dp-credit-box span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.dp-credit-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  margin-top: 4px;
}

.dp-muted-line {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.dp-danger-box {
  border-color: rgba(194, 86, 47, 0.35);
}

.dp-delete-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .dp-credit-cards {
    grid-template-columns: 1fr;
  }
}
