/* ---- Placeholder Page Styles ---- */
.subpage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 80px 32px 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.subpage-heading {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 24px;
}

.subpage-divider {
  width: 60px;
  height: 1px;
  background: var(--cream-80);
  margin-bottom: 32px;
}

.subpage-body {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-80);
}

/* ---- Contact Form ---- */
.contact-form {
  width: 100%;
  max-width: 480px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.form-label {
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
}

.form-input,
.form-textarea {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--cream);
  background: rgba(255, 238, 215, 0.1);
  border: none;
  border-radius: 0;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  font-family: "Inter", sans-serif;
  color: rgba(255, 238, 215, 0.35);
}

.form-input:focus,
.form-textarea:focus {
  background: rgba(255, 238, 215, 0.14);
}

.form-textarea {
  resize: vertical;
  min-height: 180px;
}

.form-submit {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
  background: #000000;
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  align-self: flex-start;
}

.form-submit:hover {
  opacity: 0.7;
}

/* ---- Thank You State ---- */
.thank-you {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.thank-you.visible {
  display: flex;
}

.thank-you-text {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}

.thank-you-sub {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cream-80);
}

/* ================================================
   CASE STUDY LISTING PAGE
   ================================================ */

.cs-listing {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 32px 80px;
  min-height: 100dvh;
}

.cs-listing-header {
  margin-bottom: 56px;
}

.cs-listing-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 24px;
}

.cs-listing-rule {
  width: 60px;
  height: 1px;
  background: var(--cream-80);
}

/* ---- Entry (each case study in the list) ---- */
.cs-entry {
  display: block;
  text-decoration: none;
  padding: 32px 0;
  transition: opacity 0.2s ease;
}

.cs-entry:hover {
  opacity: 0.7;
}

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

.cs-entry-date,
.cs-entry-read {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-80);
}

.cs-entry-dot {
  color: var(--cream-80);
  font-size: 12px;
}

.cs-entry-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 10px;
}

.cs-entry-summary {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--cream-80);
  margin-bottom: 16px;
}

.cs-entry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-chip {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-80);
  border: 1px solid rgba(255, 238, 215, 0.18);
  padding: 5px 12px;
  border-radius: 0;
}

.cs-entry-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 238, 215, 0.1);
  margin-top: 32px;
}

/* ================================================
   CASE STUDY ARTICLE PAGE
   ================================================ */

.cs-article {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 80px;
}

.cs-back {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-80);
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: inline-block;
}

.cs-back:hover {
  opacity: 0.6;
}

/* ---- Article Header ---- */
.cs-article-header {
  margin-top: 48px;
  margin-bottom: 8px;
}

.cs-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.cs-article-title {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-bottom: 20px;
}

.cs-article-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- Section Dividers ---- */
.cs-article-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 238, 215, 0.12);
  margin: 40px 0;
}

/* ---- Section Content ---- */
.cs-section {
  /* no extra spacing needed, rule handles it */
}

.cs-section-heading {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 24px;
}

.cs-subheading {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-top: 32px;
  margin-bottom: 12px;
}

.cs-section p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin-bottom: 20px;
}

.cs-section p:last-child {
  margin-bottom: 0;
}

.cs-section strong {
  font-weight: 600;
  color: var(--cream);
}

.cs-section em {
  font-style: italic;
}

/* ---- Tables ---- */
.cs-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
}

.cs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.cs-table th {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-80);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 238, 215, 0.2);
  white-space: nowrap;
}

.cs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 238, 215, 0.07);
  vertical-align: top;
}

.cs-table tbody tr:last-child td {
  border-bottom: none;
}

.cs-table td:first-child {
  font-weight: 400;
  color: var(--cream);
  min-width: 160px;
}

/* ---- Article Footer ---- */
.cs-article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 238, 215, 0.12);
}

/* ================================================
   MOBILE ADJUSTMENTS
   ================================================ */

@media (max-width: 600px) {
  .cs-listing {
    padding: 80px 20px 60px;
  }

  .cs-listing-title {
    font-size: 28px;
  }

  .cs-entry-title {
    font-size: 18px;
  }

  .cs-entry-summary {
    font-size: 12px;
  }

  .cs-article {
    padding: 60px 20px 60px;
  }

  .cs-article-title {
    font-size: 24px;
  }

  .cs-section-heading {
    font-size: 19px;
  }

  .cs-section p {
    font-size: 14px;
    line-height: 1.75;
  }

  .cs-table {
    font-size: 11px;
  }

  .cs-table th,
  .cs-table td {
    padding: 8px 10px;
  }

  .cs-table td:first-child {
    min-width: 120px;
  }

  .cs-article-rule {
    margin: 32px 0;
  }
}
