/* ── Giselle Bedding page ── */

/* Hero banner — reuses .cc-hero layout/typography from cosy-club.css,
   overriding only the background colour to match the Giselle palette. */
.gb-hero {
  background: #dae1e0;
}

/* Centered sections (Research, Persona) */
.gb-section-centered {
  padding: 64px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Full-width body text under centered headings */
.gb-body-full {
  width: 100%;
  max-width: 1048px;
  text-align: left;
}

.gb-persona-heading {
  font-size: 30px;
}

/* ── Persona card ── */
.persona-card {
  display: flex;
  margin-top: 40px;
  border-radius: 60px;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
  overflow: hidden;
  min-height: 627px;
}

/* Left photo panel */
.persona-photo {
  flex: 0 0 33%;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  border-radius: 60px 0 0 60px;
}

.persona-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.persona-quote-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.57);
  padding: 24px 32px 28px;
  color: #efefef;
}

.persona-quote-overlay p {
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin: 8px 0;
}

.quote-icon {
  width: 18px;
  height: 14px;
  display: block;
}

.quote-close {
  margin-left: auto;
}

/* Right info panel */
.persona-info {
  flex: 1;
  background: #fff;
  border-radius: 0 60px 60px 0;
  padding: 48px 48px 48px 52px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.persona-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.persona-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.persona-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.persona-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Satoshi', sans-serif;
  font-size: 1.125rem;
  color: var(--text);
}

.persona-meta img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.persona-bio {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.persona-sub-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.persona-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.persona-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin-top: 10px;
}

.persona-list li::before {
  content: "• ";
}

/* ── Persona card — mobile ── */
@media (max-width: 768px) {
  .persona-card {
    flex-direction: column;
    border-radius: 32px;
    min-height: unset;
  }
  .persona-photo {
    flex: none;
    height: 300px;
    border-radius: 32px 32px 0 0;
  }
  .persona-info {
    border-radius: 0 0 32px 32px;
    padding: 32px 24px;
    gap: 20px;
  }
  .persona-name,
  .persona-sub-heading {
    font-size: 20px;
  }
  .persona-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Competitive audit — full-bleed grey band ── */
.gb-audit-section {
  /* Break out of the 1200px .cc-main container to span the full viewport */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 64px;
  background: #fafafa;
  padding: 48px 0;
}

.gb-audit-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

/* Heading already gets top spacing from the band padding */
.gb-audit-section .gb-section-centered {
  padding-top: 0;
}

/* ── Competitive audit table ── */
.gb-audit-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 40px;
}

.gb-audit {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text);
}

.gb-audit th {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.gb-audit-th-label {
  width: 130px;
}

.gb-audit td {
  padding: 20px 24px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  line-height: 1.6;
}

.gb-audit-row-label {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}

.gb-audit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gb-audit-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 18px;
  font-weight: 400;
  color: rgba(0,0,0,0.65);
}

.gb-audit-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(0,0,0,0.3);
}

.gb-audit-span {
  font-size: 18px;
  font-weight: 400;
  color: rgba(0,0,0,0.65);
}

/* ── Audit table — tablet ── */
@media (max-width: 1024px) {
  .gb-audit th {
    font-size: 20px;
    padding: 12px 16px;
  }
  .gb-audit-row-label {
    font-size: 20px;
  }
  .gb-audit td {
    padding: 14px 16px;
  }
  .gb-audit-th-label {
    width: 100px;
  }
}

/* ── Audit table — mobile stacked ── */
@media (max-width: 640px) {
  .gb-audit-wrap {
    overflow-x: visible;
  }
  .gb-audit,
  .gb-audit thead,
  .gb-audit tbody,
  .gb-audit th,
  .gb-audit td,
  .gb-audit tr {
    display: block;
    width: 100%;
  }
  .gb-audit td {
    border: none;
  }
  .gb-audit thead {
    display: none;
  }
  .gb-audit tr {
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .gb-audit-row-label {
    background: #fafafa;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    white-space: normal;
  }
  .gb-audit td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.06em;
  }
  .gb-audit td[data-label] {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .gb-audit td[data-label]:last-child {
    border-bottom: none;
  }
  .gb-audit td.gb-audit-span {
    padding: 12px 16px;
  }
}

/* ── Competitor screenshots banner ── */
.gb-screenshots {
  margin-top: 48px;
}

.gb-screenshots-img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.gb-screenshots-img--flat {
  border-radius: 0;
}

/* Inset the product-detail mockup so it sits centred with side gutters,
   matching the Figma reference (~18% padding each side) */
.gb-screenshots--inset {
  padding: 0 18%;
}

/* ── Wireframe rows ── */
.gb-wireframe {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0 0;
}

.gb-wireframe--reverse {
  grid-template-columns: 8fr 4fr;
}

.gb-wireframe--stacked {
  display: grid;
  grid-template-columns: 5fr 8fr;
  margin-left: -64px;
  margin-right: -64px;
}

.gb-wireframe--stacked .gb-wireframe-text {
  padding-left: 64px;
}

.gb-wireframe--stacked .cc-heading,
.gb-wireframe--reverse .cc-heading {
  white-space: normal;
  font-size: 24px;
}

.gb-wireframe--stacked .cc-row-label,
.gb-wireframe--reverse .cc-row-label {
  border-left: none;
  padding-left: 0;
}

.gb-wireframe--stacked-reverse {
  grid-template-columns: 8fr 5fr;
}

.gb-wireframe--stacked-reverse .gb-wireframe-text {
  padding-left: 0;
  padding-right: 64px;
}

.gb-wireframe-text .cc-row-label {
  margin-bottom: 20px;
}

.gb-wireframe-text .cc-body {
  font-weight: 400;
}

.gb-wireframe-img {
  background: transparent;
}

.gb-wireframe-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.gb-wireframe-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* Crop the 2px black line baked into the right edge of the source .mp4 */
  clip-path: inset(0 2px 0 0 round 12px);
}

/* ── MacBook mockup ── */
.gb-macbook-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.gb-macbook {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 78%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
}

.gb-macbook-lid {
  width: 100%;
  background: #1e1e1e;
  border-radius: 12px 12px 0 0;
  padding: 28px 16px 12px;
  border: 2px solid #3a3a3a;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.gb-macbook-camera {
  width: 7px;
  height: 7px;
  background: #3a3a3a;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.gb-macbook-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.gb-macbook-screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: bottom center;
}

.gb-macbook-hinge {
  width: 102%;
  height: 6px;
  background: linear-gradient(to bottom, #b0b0b0, #888);
  border-radius: 0;
}

.gb-macbook-base {
  width: 110%;
  height: 18px;
  background: linear-gradient(to bottom, #c8c8c8, #a8a8a8);
  border-radius: 0 0 6px 6px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.gb-macbook-notch {
  width: 80px;
  height: 6px;
  background: #999;
  border-radius: 0 0 4px 4px;
}

/* ── Wireframe sections — tablet & mobile ── */
@media (max-width: 1024px) {
  .gb-wireframe,
  .gb-wireframe--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 0;
  }
  .gb-wireframe--stacked {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    gap: 28px;
    padding: 32px 0 0;
  }
  .gb-wireframe--stacked .gb-wireframe-text {
    padding-left: 0;
  }
  .gb-wireframe .gb-wireframe-img {
    order: -1;
  }
  .gb-wireframe--stacked .gb-wireframe-img {
    order: 1;
  }
  .gb-wireframe--stacked-reverse {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }
  .gb-wireframe--stacked-reverse .gb-wireframe-text {
    padding-right: 0;
    order: -1;
  }
  .gb-wireframe-img {
    min-height: 240px;
  }
  .gb-macbook-wrap {
    padding: 0;
  }
  .gb-macbook {
    max-width: 100%;
  }
}

/* Ordered list styling */
.cc-list {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-list li {
  line-height: 1.67;
}

/* ── H2 headings — mobile ── */
@media (max-width: 768px) {
  .cc-heading,
  .gb-persona-heading {
    font-size: 26px;
  }

  /* Wireframe h3 titles — smaller than section h2s */
  .gb-wireframe--stacked .cc-heading,
  .gb-wireframe--reverse .cc-heading {
    font-size: 20px;
  }

  /* Audit band — match .cc-main side padding, tighten section break */
  .gb-audit-inner { padding: 0 24px; }
  .gb-audit-section { margin-top: 40px; padding: 32px 0; }

  /* Drop the product-detail inset on mobile so the mockup stays legible */
  .gb-screenshots--inset { padding: 0; }

  /* Tighten centered-section gaps on mobile: 64px -> 40px (match Cosy rhythm) */
  .gb-section-centered { padding-top: 40px; }
}

/* ── Body text — mobile ── */
@media (max-width: 768px) {
  .cc-body,
  .persona-meta span {
    font-size: 16px;
  }
}
