/*
Theme Name: Advisory Clarity
Theme URI: https://example.com
Author: Advisory Clarity
Description: Minimal advisory theme focused on structural clarity and executive tone.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: advisory-clarity
*/

:root {
  --navy: #0E1A2B;
  --charcoal: #1F2732;
  --offwhite: #F7F6F3;
  --slate: #5E6B7A;
  --text: #2A3340;
  --line: #D9DDE2;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--offwhite);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.copy {
  max-width: 760px;
}

.site-header {
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  font-family: var(--font-head);
  color: var(--charcoal);
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: none;
  letter-spacing: 0.2px;
}

.brand:hover {
  border-bottom: none;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--slate);
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(94, 107, 122, 0.35);
  padding-bottom: 2px;
}

.nav a:hover,
.nav a.active,
.nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.hero {
  background: var(--navy);
  color: #fff;
  padding: 120px 0 96px;
}

.hero h1 {
  margin: 0 auto 18px;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.15;
  max-width: none;
  width: fit-content;
  color: #fff;
  text-align: center;
}

.hero-title-line {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero p {
  margin: 0 auto 16px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.3;
  letter-spacing: 0.1px;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
}

p {
  margin: 0 0 16px;
  font-size: 1.04rem;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 10px;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 26, 43, 0.35);
}

a:hover {
  border-bottom-color: var(--navy);
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  padding: 12px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  margin-top: 8px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.section .btn-secondary {
  color: var(--navy);
  border-color: var(--navy);
}

.hero .btn-secondary:hover {
  border-color: #fff;
}

.section .btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn:hover {
  background: transparent;
  color: var(--navy);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.snapshot-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
}

.private-form {
  margin: 12px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.private-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.private-form label {
  display: block;
  font-weight: 600;
  margin: 0;
}

.private-form input,
.private-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

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

.hp-field {
  display: none !important;
}

.notice {
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 18px;
}

.notice-success {
  border-color: #4a7d5c;
  background: #eff8f1;
}

.notice-error {
  border-color: #8a4343;
  background: #fff3f3;
}

.private-layout {
  max-width: 980px;
}

.private-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.private-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.private-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  width: 100%;
}

.private-card h2 {
  margin-bottom: 10px;
}

.private-card h3 {
  margin-top: 18px;
}

.private-card-form {
  padding: 28px;
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  font-size: 0.92rem;
  color: var(--slate);
}

.site-footer p,
.site-footer a {
  font-size: 0.86rem;
}

.site-footer a {
  color: var(--slate);
  border-bottom-color: rgba(94, 107, 122, 0.45);
}

.wp-content {
  padding: 88px 0;
}

@media (max-width: 900px) {
  .hero {
    padding: 96px 0 72px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .private-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    width: 100%;
    gap: 10px 14px;
  }

  .nav a {
    font-size: 0.9rem;
    padding-bottom: 1px;
  }

  .hero {
    padding: 84px 0 60px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7.8vw, 2.2rem);
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .section,
  .wp-content {
    padding: 64px 0;
  }

  h2 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  h3 {
    font-size: clamp(1.1rem, 5.5vw, 1.3rem);
  }

  p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cta-row {
    flex-direction: column;
  }

  .private-card,
  .private-card-form {
    padding: 18px;
  }
}

