/* Relations Partners LLC — shared styles */

:root {
  --bg: #08071a;
  --bg-alt: #0f0e26;
  --panel: #131233;
  --panel-border: #262456;
  --indigo: #2e2a6b;
  --indigo-light: #4a3f8f;
  --text: #f2f1f9;
  --text-muted: #b3aecb;
  --accent: #c9a869;
  --accent-hover: #ddbf87;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body, input, textarea, button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

h1, h2, h3 {
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  margin: 0 0 0.5em 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

p {
  color: var(--text-muted);
  margin: 0 0 1em 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 7, 26, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--panel-border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand img {
  height: 38px;
  width: 38px;
  display: block;
}

.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .brand-name {
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
}

.brand .brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

nav.main-nav {
  display: flex;
  gap: 28px;
}

nav.main-nav a {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
}

/* Hero */

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--panel-border);
  background:
    radial-gradient(ellipse at 50% -10%, rgba(74, 63, 143, 0.35), transparent 60%),
    var(--bg);
}

.hero .wrap {
  text-align: center;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  display: block;
}

.hero h1 {
  font-size: 38px;
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero .lede {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--accent);
  color: #0a0920;
}

.btn.btn-solid {
  background: var(--accent);
  color: #0a0920;
}

.btn.btn-solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Sections */

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--panel-border);
}

section:last-of-type {
  border-bottom: none;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 28px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.service-card {
  cursor: pointer;
}

.service-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card summary h3 {
  margin: 0;
}

.service-card .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.service-card[open] .chevron {
  transform: rotate(180deg);
}

.service-card .teaser {
  margin-top: 10px;
  margin-bottom: 0;
}

.service-card .detail {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
}

.service-card .detail h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 8px 0;
}

.service-card .detail p {
  margin-bottom: 18px;
}

.service-card .detail p:last-child {
  margin-bottom: 0;
}

.service-card .pricing {
  font-size: 15px;
  color: var(--text);
  font-style: italic;
}

.note-box {
  background: var(--panel);
  border: 1px dashed var(--panel-border);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */

footer.site-footer {
  padding: 40px 0;
  text-align: center;
}

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

footer.site-footer p.disclosure {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.75;
  max-width: 640px;
  margin: 10px auto 0;
  line-height: 1.5;
}

/* Contact form */

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}

.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
}

.field input[type="file"]::file-selector-button {
  background: var(--indigo-light);
  color: var(--text);
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
  font-size: 13px;
}

.field input[type="file"]::file-selector-button:hover {
  background: var(--accent);
  color: #0a0920;
}

.contact-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.direct-contact a {
  display: inline-block;
  margin-top: 6px;
  font-size: 16px;
}

@media (max-width: 780px) {
  nav.main-nav {
    gap: 16px;
  }
  .grid-2,
  .grid-3,
  .contact-columns {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 30px;
  }
}
