/* ==========================================================================
   Lee Curac-Dahl — Executive Partner & Personal Assistant
   Base styles
   ========================================================================== */

:root {
  --ivory: #f5f0e6;
  --ivory-deep: #e8e1d5;
  --near-black: #161616;
  --taupe: #afa89e;
  --taupe-deep: #8c8478;
  --dusty-blue: #6b728e;
  --olive: #343a20;

  --serif: "EB Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max-width: 1080px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--near-black);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--near-black);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0.25rem;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---- Type helpers ---- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--near-black);
}

h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
}

h3 {
  font-size: 1.375rem;
}

p {
  margin: 0 0 1.2em;
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.2rem;
  color: #3a3a3a;
  max-width: 52ch;
}

.italic {
  font-style: italic;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--olive);
  color: var(--ivory);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #262b16;
}

.btn-secondary {
  background: transparent;
  color: var(--near-black);
  border-color: var(--near-black);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--near-black);
  color: var(--ivory);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--dusty-blue);
  outline-offset: 3px;
}

/* ---- Header / Nav ---- */

.site-header {
  border-bottom: 1px solid var(--ivory-deep);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--near-black);
  letter-spacing: 0.01em;
}

.wordmark em {
  font-style: italic;
  color: var(--dusty-blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
  .site-nav .btn {
    white-space: nowrap;
    padding: 0.75rem 1.1rem;
    font-size: 0.85rem;
  }
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a.nav-link {
  color: var(--near-black);
  border-bottom: 1px solid transparent;
}
.site-nav a.nav-link:hover {
  border-bottom-color: var(--taupe-deep);
}

.site-nav a[aria-current="page"] {
  color: var(--dusty-blue);
}

/* ---- Sections ---- */

section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

section + section {
  border-top: 1px solid var(--ivory-deep);
}

.section-head {
  max-width: 44rem;
  margin: 0 0 2.5rem;
}

/* ---- Hero ---- */

.hero {
  padding-top: clamp(3.5rem, 10vw, 7rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.hero .cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero .cta-note {
  font-size: 0.85rem;
  color: var(--taupe-deep);
}

/* ---- Panel (tinted section) ---- */

.panel {
  background: var(--ivory-deep);
}

.panel-dark {
  background: var(--olive);
  color: var(--ivory);
}
.panel-dark h2,
.panel-dark h3 {
  color: var(--ivory);
}
.panel-dark p {
  color: #d8d5c8;
}

/* ---- Grid of ownership cards ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--ivory-deep);
  border: 1px solid var(--ivory-deep);
}

.card {
  background: var(--ivory);
  padding: 2rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0;
  color: #4a4a4a;
  font-size: 0.98rem;
}

/* ---- Outcomes list ---- */

.outcomes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
}

.outcomes-list li {
  font-family: var(--serif);
  font-size: 1.4rem;
  padding-left: 1.5rem;
  position: relative;
  border-left: 2px solid var(--dusty-blue);
}

/* ---- Steps ---- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dusty-blue);
  display: block;
  margin-bottom: 0.75rem;
}

.steps h3 {
  margin-bottom: 0.4rem;
}

.steps p {
  color: #4a4a4a;
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* ---- About preview ---- */

.about-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (min-width: 720px) {
  .about-preview {
    grid-template-columns: 1fr 1fr;
  }
}

.about-preview img {
  border-radius: 2px;
  filter: grayscale(100%);
}

/* ---- Final CTA ---- */

.final-cta {
  text-align: center;
}

.final-cta .section-head {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-row {
  justify-content: center;
}

.calendly-wrap {
  margin-top: 2.5rem;
  border: 1px solid var(--ivory-deep);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.calendly-inline {
  min-width: 280px;
  height: 700px;
  width: 100%;
}

.calendly-fallback {
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--taupe-deep);
}

/* ---- About page specifics ---- */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 720px) {
  .about-hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.headshot {
  border-radius: 2px;
  filter: grayscale(100%);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.about-block {
  max-width: 62ch;
  margin: 0 auto 3.5rem;
}

.about-block:last-child {
  margin-bottom: 0;
}

.placeholder-copy {
  color: var(--taupe-deep);
  font-style: italic;
}

.image-placeholder {
  background: var(--ivory-deep);
  border: 1px dashed var(--taupe);
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--taupe-deep);
  font-size: 0.85rem;
  padding: 1.5rem;
  border-radius: 2px;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--ivory-deep);
  padding: 2.5rem 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--taupe-deep);
}

.site-footer a {
  color: var(--taupe-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Utility ---- */

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
