/* Meme Moda — Secondary / Content Pages
   Style: Adal Studio aesthetic · Font: Inter
   ========================================= */

:root {
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ink:        #000000;
  --white:      #ffffff;
  --parchment:  #fdfdf7;
  --warm-sand:  #f5f2de;
  --driftwood:  #e7e3e1;
  --ash:        #d3d3d3;
  --stone:      #999999;
  --graphite:   #555555;
  --page-max:   1280px;
  --narrow:     800px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--ink); text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.55; }

/* ── Nav ───────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-nav__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-nav__logo { display: flex; align-items: center; gap: 10px; }
.site-nav__logo img { height: 34px; width: auto; }
.site-nav__logo-text { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.site-nav__actions { display: flex; align-items: center; gap: 28px; }
.site-nav__actions a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color 0.2s ease;
}
.site-nav__actions a:hover { color: var(--ink); opacity: 1; }
.site-nav__actions a.active { color: var(--ink); }

/* ── Main ───────────────────────────────── */
.page-main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.page-main--narrow { max-width: var(--narrow); }

.page-header { margin-bottom: 64px; }
.page-title {
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 14px;
}
.page-meta {
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.02em;
}
.page-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

/* ── Legal / Prose Sections ─────────────── */
.legal-section { margin-bottom: 52px; }

.legal-section h2 {
  font-weight: 300;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ash);
}
.legal-section h3 {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 22px 0 8px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
  margin: 0 0 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--ink); font-weight: 500; }
.legal-section ul, .legal-section ol {
  margin: 0 0 14px;
  padding-left: 1.3em;
  list-style: disc;
}
.legal-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--graphite);
  margin-bottom: 7px;
}
.legal-section a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; opacity: 1; }
.legal-section a:hover { opacity: 0.55; }

/* ── Table ─────────────────────────────── */
.legal-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0;
  overflow-x: auto;
  display: block;
}
.legal-section th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--ash);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
.legal-section td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--driftwood);
  color: var(--graphite);
  line-height: 1.55;
}
.legal-section tr:last-child td { border-bottom: none; }

/* ── Info / Contact Card ────────────────── */
.info-card {
  background: var(--warm-sand);
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 48px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--graphite);
}
.info-card a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.info-card strong { color: var(--ink); }

/* ── Stat Row ───────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ash);
  margin: 32px 0;
  border: 1px solid var(--ash);
}
.stat-cell {
  background: var(--parchment);
  padding: 28px 24px;
  text-align: center;
}
.stat-num {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── Value Grid (3 col) ─────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  margin: 32px 0;
}
.value-item {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.value-item__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
  display: block;
}
.value-item__title {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.value-item__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--graphite);
}

/* ── Split Layout ───────────────────────── */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin: 32px 0;
}
.content-split--reverse { }
.ph-block {
  aspect-ratio: 4/3;
  background: var(--driftwood);
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── FAQ / Accordion ───────────────────── */
.faq-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 48px 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: block;
}
.faq-section-label:first-child { margin-top: 0; }

.faq-item { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--graphite); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: all 0.2s ease;
}
.faq-icon svg { width: 10px; height: 10px; transition: transform 0.3s ease; }
.faq-item.is-open .faq-icon { background: var(--ink); border-color: var(--ink); color: var(--white); }
.faq-item.is-open .faq-icon svg { transform: rotate(45deg); }

.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-a-inner {
  padding-bottom: 22px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--graphite);
}
.faq-item.is-open .faq-a { max-height: 600px; }

/* ── Forms ─────────────────────────────── */
.form-block { display: flex; flex-direction: column; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.07);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-hint { font-size: 12px; color: var(--stone); margin-top: 4px; }

/* Auth tabs */
.auth-tabs-row { display: flex; border-bottom: 1px solid var(--ash); margin-bottom: 36px; }
.auth-tab-btn {
  padding: 12px 0;
  margin-right: 32px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.auth-tab-btn.active { color: var(--ink); border-bottom-color: var(--ink); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.form-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}
.form-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--ash);
}
.form-divider span {
  position: relative;
  background: var(--parchment);
  padding: 0 12px;
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 0.06em;
}

/* Checkbox row */
.check-row { display: flex; align-items: flex-start; gap: 10px; }
.check-row input[type=checkbox] { margin-top: 3px; flex-shrink: 0; }
.check-row label { font-size: 12px; color: var(--graphite); line-height: 1.6; cursor: pointer; }

/* Buttons */
.btn-primary {
  display: inline-block;
  font-family: var(--font);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.75; color: var(--white); }
.btn-primary.full { width: 100%; text-align: center; }

.btn-ghost-dark {
  display: inline-block;
  font-family: var(--font);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.btn-ghost-dark:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.35); opacity: 1; }

/* Track timeline */
.track-status {
  background: var(--warm-sand);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.track-status__badge {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.track-status__line { font-size: 14px; color: var(--graphite); margin-bottom: 4px; }

.timeline { display: flex; flex-direction: column; }
.timeline-step { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5.5px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: var(--driftwood);
}
.timeline-step.done::after { background: var(--ink); }
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--ash);
  background: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}
.timeline-step.done .timeline-dot { background: var(--ink); border-color: var(--ink); }
.timeline-step.active .timeline-dot { background: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,0.08); }
.timeline-label { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.timeline-time { font-size: 12px; color: var(--stone); }
.timeline-step:not(.done):not(.active) .timeline-label { color: var(--stone); }

/* Careers / Job row */
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.job-row:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.job-title { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.job-meta { font-size: 13px; color: var(--stone); letter-spacing: 0.02em; }

/* Press asset row */
.asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.asset-row:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.asset-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.asset-desc { font-size: 12px; color: var(--stone); }

/* Quick facts table (press) */
.facts-table { width: 100%; border-collapse: collapse; }
.facts-table td { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--driftwood); line-height: 1.5; }
.facts-table td:first-child { color: var(--stone); width: 120px; }
.facts-table tr:last-child td { border-bottom: none; }

/* Contact split */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }

/* ── Footer ─────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px 24px;
}
.site-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-footer__copyright { font-size: 13px; color: rgba(255,255,255,0.28); }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 13px;
}
.site-footer__links a {
  color: rgba(255,255,255,0.45);
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease;
}
.site-footer__links a:first-child { padding-left: 0; }
.site-footer__links a:last-child { border-right: none; }
.site-footer__links a:hover { color: rgba(255,255,255,0.85); opacity: 1; }
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
  font-weight: 500;
}
.site-footer__social a { color: rgba(255,255,255,0.65); }
.site-footer__social a:hover { color: var(--white); opacity: 1; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .page-main { padding: 56px 20px 80px; }
  .page-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .site-nav__inner { padding: 14px 20px; }
  .value-grid { grid-template-columns: 1fr; gap: 0; }
  .value-item { padding: 20px 0; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: none; }
  .value-item:first-child { border-top: 2px solid var(--ink); }
  .content-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-split { grid-template-columns: 1fr; gap: 48px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row .stat-cell:last-child { grid-column: 1 / -1; }
  .form-row-2 { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 20px; }
  .site-footer__links { flex-direction: column; gap: 10px; }
  .site-footer__links a { padding: 0; border: none; }
}
@media (max-width: 480px) {
  .page-main { padding: 40px 16px 64px; }
  .legal-section h2 { font-size: 1.15rem; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row .stat-cell:last-child { grid-column: auto; }
  .job-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .asset-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-split { gap: 32px; }
}
