/* Jennifer Dane — personal persona hub (speaking + consulting)
   Shares brand tokens with buycharlestonsc; separate nav & composition. */

:root {
  --navy: #233746;
  --navy2: #2e4453;
  --ink: #1a2832;
  --harbor: #2e6f8e;
  --harbor2: #255a74;
  --mist: #5e8fa3;
  --mist-text: #3f6b7d;
  --marsh: #b7c49a;
  --cream: #f8f5f0;
  --white: #ffffff;
  --muted: #5a6478;
  --border: #e6dfd4;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.skip:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 9999;
  background: var(--harbor);
  color: #fff;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
}

:focus-visible {
  outline: 2px solid var(--mist);
  outline-offset: 3px;
}

/* —— Nav —— */
.p-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 22px clamp(20px, 4vw, 56px);
}

.p-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.p-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
}

.p-brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

.p-brand-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.p-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.p-nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease);
}

.p-nav-links a:hover,
.p-nav-links a[aria-current="page"] {
  color: #fff;
}

.p-nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--harbor);
  color: #fff !important;
  padding: 11px 18px;
  font-size: 10.5px !important;
  letter-spacing: 0.12em !important;
  transition: background 0.2s var(--ease);
}

.p-nav-cta:hover {
  background: var(--harbor2);
}

.p-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.p-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
}

@media (max-width: 820px) {
  .p-hamburger {
    display: flex;
  }

  .p-nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: 96px 28px 36px;
    background: rgba(35, 55, 70, 0.97);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
  }

  .p-nav-links.is-open {
    transform: translateY(0);
  }
}

/* —— Hero —— */
.p-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px clamp(20px, 4vw, 56px) 72px;
  overflow: hidden;
  background: var(--navy);
}

.p-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.04);
  animation: p-hero-settle 1.4s var(--ease) both;
}

.p-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 26, 33, 0.82) 0%, rgba(15, 26, 33, 0.55) 42%, rgba(15, 26, 33, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 26, 33, 0.72) 0%, transparent 48%);
}

.p-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.p-hero-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 28px;
  animation: p-rise 0.9s var(--ease) both;
}

.p-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  max-width: 18ch;
  line-height: 1.2;
  margin-bottom: 18px;
  animation: p-rise 0.9s 0.08s var(--ease) both;
}

.p-hero-lead {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 38ch;
  line-height: 1.8;
  margin-bottom: 36px;
  animation: p-rise 0.9s 0.16s var(--ease) both;
}

.p-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  animation: p-rise 0.9s 0.24s var(--ease) both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--harbor);
  color: #fff;
  padding: 15px 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary:hover {
  background: var(--harbor2);
  transform: translateY(-1px);
}

.btn-ghost {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.btn-primary.on-light,
.btn-primary.on-cream {
  background: var(--harbor);
  color: #fff;
}

.btn-ghost.on-light {
  color: var(--navy);
  border-bottom-color: rgba(35, 55, 70, 0.25);
}

.btn-ghost.on-light:hover {
  border-bottom-color: var(--harbor);
}

/* —— Page hero (inner pages) —— */
.p-page-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  padding: 140px clamp(20px, 4vw, 56px) 64px;
  background: var(--navy);
  overflow: hidden;
}

.p-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 35%, rgba(46, 111, 142, 0.18), transparent 70%),
    linear-gradient(165deg, #233746 0%, #1a2c38 100%);
}

.p-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.p-page-hero .p-hero-brand {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 18px;
}

.p-page-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.86);
  max-width: 22ch;
  line-height: 1.25;
  margin-bottom: 16px;
}

.p-page-hero .p-hero-lead {
  margin-bottom: 0;
}

/* —— Sections —— */
.p-section {
  padding: 88px clamp(20px, 4vw, 56px);
}

.p-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.p-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist-text);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.p-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--mist);
  flex-shrink: 0;
}

.p-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 18px;
}

.p-section h2 em {
  font-style: italic;
  color: var(--mist-text);
}

.p-section-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  max-width: 54ch;
  margin-bottom: 48px;
}

.p-section.on-navy {
  background: var(--navy);
  color: #fff;
}

.p-section.on-navy h2 {
  color: #fff;
}

.p-section.on-navy h2 em {
  color: #7ea7b8;
}

.p-section.on-navy .p-kicker {
  color: #7ea7b8;
}

.p-section.on-navy .p-kicker::before {
  background: #7ea7b8;
}

.p-section.on-navy .p-section-lead {
  color: rgba(255, 255, 255, 0.65);
}

.p-section.on-white {
  background: var(--white);
}

/* —— Lanes (home) —— */
.p-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.p-lane {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s var(--ease);
}

.p-lane:hover {
  background: #fbfaf7;
}

.p-lane-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist-text);
}

.p-lane h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
}

.p-lane p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.p-lane-go {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--mist);
  align-self: flex-start;
  padding-bottom: 3px;
}

@media (max-width: 860px) {
  .p-lanes {
    grid-template-columns: 1fr;
  }
}

/* —— Proof strip —— */
.p-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 56px;
}

.p-proof span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.p-proof i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(35, 55, 70, 0.25);
  display: inline-block;
}

/* —— About split —— */
.p-about {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.p-about-photo {
  border: 4px solid var(--mist);
}

.p-about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.p-about p {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 18px;
}

@media (max-width: 800px) {
  .p-about {
    grid-template-columns: 1fr;
  }

  .p-about-photo {
    max-width: 360px;
  }
}

/* —— Topic / offer lists —— */
.p-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}

.p-topic h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

.p-topic p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 700px) {
  .p-topics {
    grid-template-columns: 1fr;
  }
}

.p-list {
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 62ch;
}

.p-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.p-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--mist);
}

/* —— Form —— */
.p-inquire {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.p-inquire-copy h2 {
  max-width: 12ch;
}

.p-inquire-meta {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.p-inquire-meta a,
.p-inquire-meta span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-inquire-meta .lbl {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7ea7b8;
}

.p-inquire-meta .val {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
}

.p-form {
  display: grid;
  gap: 22px;
}

.p-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.p-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-field label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.p-field input,
.p-field select,
.p-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 0;
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.2s;
}

.p-field select option {
  background: var(--navy);
  color: #fff;
}

.p-field input:focus,
.p-field select:focus,
.p-field textarea:focus {
  outline: none;
  border-bottom-color: var(--mist);
}

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

.p-field .err {
  font-size: 12px;
  color: #f0c9c0;
  min-height: 0;
}

.p-form-note {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.p-form-status {
  display: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.p-form-status.is-success,
.p-form-status.is-error {
  display: block;
}

.p-form-status.is-error {
  color: #f0c9c0;
}

.p-form .btn-primary {
  justify-self: start;
  border: none;
  cursor: pointer;
}

.p-form .btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 800px) {
  .p-inquire {
    grid-template-columns: 1fr;
  }

  .p-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .p-field input,
  .p-field select,
  .p-field textarea {
    font-size: 16px;
  }
}

/* —— Footer —— */
.p-footer {
  background: var(--navy);
  padding: 48px clamp(20px, 4vw, 56px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.p-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.p-footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 8px;
}

.p-footer p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 36ch;
}

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

.p-footer-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.p-footer-nav a:hover {
  color: #7ea7b8;
}

.p-footer-legal {
  max-width: 1180px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

/* —— Motion —— */
@keyframes p-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes p-hero-settle {
  from {
    transform: scale(1.08);
    opacity: 0.85;
  }
  to {
    transform: scale(1.04);
    opacity: 1;
  }
}

.p-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.p-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .p-hero-media img,
  .p-hero-brand,
  .p-hero h1,
  .p-hero-lead,
  .p-hero-actions,
  .p-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
