@import url('/v4-site.css');

/* Issue #98 Stage 4 — editorial V4 treatment for About / Contact. */
body.v4-editorial-page {
  --accent: var(--v4-accent);
  --focus: var(--v4-accent);
  --ink: var(--v4-ink);
  --muted: var(--v4-muted);
  --line: var(--v4-line);
  --line-strong: #b8b0a4;
  --surface: #fff;
  --surface-soft: #eee9df;
  background: var(--v4-cream);
}

.editorial-v4-main {
  min-height: 60vh;
  background: var(--v4-cream);
}

.editorial-v4-hero-zone {
  background: var(--v4-night);
  color: #f8f6f0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.editorial-v4-hero {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: clamp(58px,8vw,100px) 0 clamp(54px,7vw,84px);
}

.editorial-v4-hero .v4-label {
  margin-bottom: 18px;
}

.editorial-v4-hero h1 {
  max-width: 980px;
  margin: 0 0 22px;
  color: #f8f6f0;
  font-size: clamp(58px,8.4vw,104px);
  font-weight: 460;
  line-height: .92;
  letter-spacing: -.058em;
}

.editorial-v4-hero .hero-lede {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px,2vw,21px);
  line-height: 1.58;
}

.editorial-v4-section {
  border-bottom: 1px solid var(--v4-line);
  background: var(--v4-paper);
}

.editorial-v4-section.is-cream {
  background: var(--v4-cream);
}

.editorial-v4-section.is-night {
  border-color: rgba(255,255,255,.12);
  background: var(--v4-night);
  color: #f8f6f0;
}

.editorial-v4-inner {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: clamp(48px,6vw,76px) 0;
}

.editorial-v4-intro-grid,
.editorial-v4-split {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(44px,8vw,118px);
  align-items: start;
}

.editorial-v4-section-title {
  margin: 0;
  font-size: clamp(38px,5.2vw,64px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.editorial-v4-copy {
  max-width: 760px;
}

.editorial-v4-copy > :first-child { margin-top: 0; }
.editorial-v4-copy > :last-child { margin-bottom: 0; }

.editorial-v4-copy p,
.editorial-v4-copy li {
  color: var(--v4-muted);
  font-size: 15px;
  line-height: 1.7;
}

.editorial-v4-copy p { margin: 0 0 17px; }
.editorial-v4-copy strong { color: var(--v4-ink); }
.editorial-v4-copy a {
  color: var(--v4-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.editorial-v4-copy ul {
  margin: 19px 0 21px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--v4-line);
}

.editorial-v4-copy li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--v4-line);
}

.editorial-v4-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  background: var(--v4-accent);
}

.is-night .editorial-v4-section-title,
.is-night .editorial-v4-copy strong,
.is-night .editorial-v4-copy a { color: #fff; }

.is-night .editorial-v4-copy p,
.is-night .editorial-v4-copy li { color: rgba(255,255,255,.66); }

.is-night .editorial-v4-copy ul,
.is-night .editorial-v4-copy li { border-color: rgba(255,255,255,.14); }

.editorial-v4-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.editorial-v4-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--v4-line-strong, #b8b0a4);
  border-radius: 999px;
  background: transparent;
  color: var(--v4-ink);
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  transition: background-color .18s ease,border-color .18s ease,color .18s ease;
}

.editorial-v4-secondary-action:hover {
  border-color: var(--v4-ink);
  background: var(--v4-ink);
  color: #fff;
}

.editorial-v4-notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--v4-accent);
  background: #e9e4da;
  color: var(--v4-muted);
  font-size: 13px;
  line-height: 1.6;
}

.editorial-v4-notice strong { color: var(--v4-ink); }

.editorial-v4-team-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-top: 28px;
}

.editorial-v4-team-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--v4-line);
  border-radius: 16px;
  background: #fff;
}

.editorial-v4-team-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -.025em;
}

.editorial-v4-team-card p {
  margin: 0 0 14px;
  color: var(--v4-muted);
  font-size: 13px;
  line-height: 1.6;
}

.editorial-v4-team-card .inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 0;
}

.editorial-v4-team-card a,
.editorial-v4-operator a,
.editorial-v4-small-card a {
  color: var(--v4-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.editorial-v4-operator {
  display: grid;
  grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr);
  gap: clamp(40px,7vw,100px);
}

.editorial-v4-operator dl {
  margin: 0;
  border-top: 1px solid var(--v4-line);
}

.editorial-v4-operator dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--v4-line);
}

.editorial-v4-operator dt {
  color: var(--v4-muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.editorial-v4-operator dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--v4-ink);
  font-size: 12px;
  line-height: 1.55;
}

.editorial-v4-small-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.editorial-v4-small-card {
  padding: 24px;
  border: 1px solid var(--v4-line);
  border-radius: 16px;
  background: #fff;
}

.editorial-v4-small-card h2 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -.03em;
}

.editorial-v4-small-card p {
  margin: 0 0 12px;
  color: var(--v4-muted);
  font-size: 13px;
  line-height: 1.62;
}

/* Contact page */
.contact-v4-stage {
  background: var(--v4-paper);
}

.contact-v4-grid {
  display: grid;
  grid-template-columns: minmax(250px,.68fr) minmax(0,1.32fr);
  gap: clamp(42px,8vw,112px);
  align-items: start;
}

.contact-v4-aside {
  position: sticky;
  top: calc(var(--v4-header-height) + 30px);
}

.contact-v4-aside h2 {
  margin: 0 0 15px;
  font-size: clamp(32px,4vw,48px);
  font-weight: 510;
  line-height: 1;
  letter-spacing: -.04em;
}

.contact-v4-aside p {
  margin: 0 0 17px;
  color: var(--v4-muted);
  font-size: 13px;
  line-height: 1.62;
}

.contact-v4-aside .direct-email {
  display: inline-block;
  margin-top: 4px;
  color: var(--v4-ink);
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: 3px;
}

.contact-v4-form-card {
  padding: clamp(24px,4vw,42px);
  border: 1px solid var(--v4-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(22,21,18,.05);
}

.contact-v4-form-card > h2 {
  margin: 0 0 10px;
  font-size: clamp(32px,4vw,46px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -.04em;
}

.contact-v4-form-card > p {
  margin: 0;
  color: var(--v4-muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-v4-form-card .contact-safety-line {
  margin: 22px 0 0;
  border-left-color: var(--v4-accent);
  background: #eee9df;
}

body.v4-editorial-page .contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

body.v4-editorial-page .form-field {
  display: grid;
  gap: 7px;
}

body.v4-editorial-page .form-field label {
  color: var(--v4-ink);
  font-size: 12px;
  font-weight: 720;
}

body.v4-editorial-page .optional-label {
  color: var(--v4-muted);
  font-weight: 500;
}

body.v4-editorial-page .form-field input,
body.v4-editorial-page .form-field select,
body.v4-editorial-page .form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--v4-line-strong, #b8b0a4);
  border-radius: 9px;
  background: var(--v4-paper);
  color: var(--v4-ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}

body.v4-editorial-page .form-field textarea {
  min-height: 160px;
  resize: vertical;
}

body.v4-editorial-page .form-field input:focus,
body.v4-editorial-page .form-field select:focus,
body.v4-editorial-page .form-field textarea:focus {
  border-color: var(--v4-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(112,136,183,.16);
}

body.v4-editorial-page .field-note,
body.v4-editorial-page .field-error {
  min-height: 0;
  margin: 0;
  color: var(--v4-muted);
  font-size: 10px;
  line-height: 1.45;
}

body.v4-editorial-page .field-error:not(:empty) { color: #8b342e; }

body.v4-editorial-page .form-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.v4-editorial-page .primary-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--v4-accent);
  border-radius: 999px;
  background: var(--v4-accent);
  color: var(--v4-night);
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

body.v4-editorial-page .primary-button:hover {
  border-color: var(--v4-night);
  background: var(--v4-night);
  color: #fff;
}

body.v4-editorial-page .primary-button:disabled {
  opacity: .55;
  cursor: wait;
}

body.v4-editorial-page .form-status {
  margin: 0;
  color: var(--v4-muted);
  font-size: 11px;
}

body.v4-editorial-page .contact-privacy-note {
  color: var(--v4-muted);
}

body.v4-editorial-page .contact-email-fallback {
  border-top-color: var(--v4-line);
}

body.v4-editorial-page .honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 880px) {
  .editorial-v4-intro-grid,
  .editorial-v4-split,
  .editorial-v4-operator,
  .contact-v4-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-v4-aside { position: static; }
  .editorial-v4-section-title { max-width: 780px; }
  .editorial-v4-copy { max-width: 820px; }
}

@media (max-width: 600px) {
  .editorial-v4-hero,
  .editorial-v4-inner {
    width: min(100% - 28px,1180px);
  }

  .editorial-v4-hero {
    padding: 48px 0 42px;
  }

  .editorial-v4-hero h1 {
    font-size: clamp(48px,15vw,64px);
  }

  .editorial-v4-inner {
    padding: 44px 0 50px;
  }

  .editorial-v4-section-title {
    font-size: 38px;
  }

  .editorial-v4-team-grid,
  .editorial-v4-small-grid {
    grid-template-columns: 1fr;
  }

  .editorial-v4-operator dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-v4-form-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  body.v4-editorial-page .primary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-v4-secondary-action,
  body.v4-editorial-page .form-field input,
  body.v4-editorial-page .form-field select,
  body.v4-editorial-page .form-field textarea,
  body.v4-editorial-page .primary-button {
    transition: none;
  }
}
