/* ============================================
   Dr. Caelainn Coffman Rhoane — Physician Profile
   Standalone stylesheet. Shares the Concierge Care LA
   visual identity (palette + typography) but is fully
   self-contained; edits here never affect the practice site.
   ============================================ */

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

:root {
  --ivory: #FAF9F6;
  --white: #FFFFFF;
  --charcoal: #2E2E2E;
  --charcoal-light: #5A5A5A;
  --taupe: #C4B5A4;
  --taupe-light: #E8E0D6;
  --taupe-dark: #A89882;
  --sand: #F3EDE6;
  --olive: #7A7A5E;
  --bronze: #8C7A62;
  --border: #E5E0D8;
  --radius: 4px;
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body:has(.nav-toggle:checked) {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a, button, summary, label, input {
  touch-action: manipulation;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 max(40px, env(safe-area-inset-right)) 0 max(40px, env(safe-area-inset-left));
}

.content-narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* Inline contextual links inside body copy */
.text-link {
  color: var(--bronze);
  border-bottom: 1px solid var(--taupe);
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--charcoal);
  border-color: var(--taupe-dark);
}

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

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--bronze);
  box-shadow: 0 2px 20px rgba(140, 122, 98, 0.2);
}

.btn-secondary {
  background: var(--sand);
  color: var(--charcoal);
  border: 1px solid var(--taupe-dark);
}

.btn-secondary:hover {
  background: var(--taupe-light);
  border-color: var(--bronze);
  color: var(--charcoal);
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: none;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: var(--taupe-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--charcoal-light);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-home {
  display: none;
}

.nav a:hover {
  color: var(--charcoal);
}

.nav-cta {
  background: var(--charcoal);
  color: var(--ivory) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  transition: background 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--bronze) !important;
  color: var(--ivory) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 102;
}

.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-backdrop {
  display: none;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 152px 0 120px;
  background: var(--ivory);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.hero-role {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3 / 4;
}

/* ============================================
   Sections — Shared
   ============================================ */

.section {
  padding: 120px 0;
}

.section h2 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 32px;
  color: var(--charcoal);
}

.section p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal-light);
  margin-bottom: 24px;
}

.section p:last-child {
  margin-bottom: 0;
}

.list-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.styled-list {
  list-style: none;
  margin-bottom: 36px;
  padding-left: 0;
}

.styled-list:last-child {
  margin-bottom: 0;
}

.styled-list li {
  position: relative;
  padding-left: 24px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal-light);
  margin-bottom: 12px;
}

.styled-list li:last-child {
  margin-bottom: 0;
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1.5px;
  background: var(--taupe-dark);
}

.small-text {
  font-size: 0.875rem !important;
  color: var(--taupe-dark) !important;
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 0 !important;
}

/* Two-column list for clinical focus */
.list-columns {
  columns: 2;
  column-gap: 56px;
}

.list-columns li {
  break-inside: avoid;
}

/* ============================================
   Section backgrounds
   ============================================ */

.section-about {
  background: var(--sand);
}

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

.section-education {
  background: var(--ivory);
}

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

.section-research {
  background: var(--ivory);
}

/* ============================================
   About — image + copy
   ============================================ */

.about-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 20px;
}

/* ============================================
   Card grid (education + roles)
   ============================================ */

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

.card {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.section-roles .card {
  background: var(--sand);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.card-meta {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

.card-meta a {
  color: var(--bronze);
  border-bottom: 1px solid var(--taupe);
  transition: color 0.2s, border-color 0.2s;
}

.card-meta a:hover {
  color: var(--charcoal);
  border-color: var(--taupe-dark);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.tag {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.section-roles .tag {
  background: var(--white);
}

/* ============================================
   Research citation
   ============================================ */

.citation {
  padding: 32px 36px;
  border-left: 2px solid var(--taupe-dark);
  background: var(--white);
  border-radius: var(--radius);
}

.citation p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.citation p:last-child {
  margin-bottom: 0;
}

.citation cite {
  font-style: italic;
}

/* ============================================
   Practice CTA block
   ============================================ */

.section-practice {
  background: var(--charcoal);
  text-align: center;
}

.section-practice h2 {
  color: var(--ivory);
}

.section-practice p {
  color: rgba(250, 249, 246, 0.72);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-practice .btn-primary {
  background: var(--ivory);
  color: var(--charcoal);
  margin-top: 12px;
}

.section-practice .btn-primary:hover {
  background: var(--taupe-light);
  color: var(--charcoal);
}

/* LinkedIn / Doximity buttons on the dark practice background */
.section-practice .btn-secondary {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(250, 249, 246, 0.55);
}

.section-practice .btn-secondary:hover {
  background: rgba(250, 249, 246, 0.12);
  border-color: var(--ivory);
  color: var(--ivory);
}

.practice-contact {
  margin-top: 28px !important;
  font-size: 0.9375rem !important;
  color: rgba(250, 249, 246, 0.6) !important;
}

.practice-contact a {
  color: var(--taupe-light);
  transition: color 0.2s;
}

.practice-contact a:hover {
  color: var(--ivory);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 64px 0 max(40px, env(safe-area-inset-bottom));
  background: var(--charcoal);
  color: rgba(250, 249, 246, 0.5);
  border-top: 1px solid rgba(250, 249, 246, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ivory);
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--taupe);
}

.footer-physician {
  font-size: 0.8125rem;
  color: var(--ivory);
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact-line {
  font-size: 0.8125rem;
}

.footer-contact-line a {
  color: rgba(250, 249, 246, 0.6);
  transition: color 0.2s;
}

.footer-contact-line a:hover {
  color: var(--ivory);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(250, 249, 246, 0.5);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ivory);
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 40px;
  border-top: 1px solid rgba(250, 249, 246, 0.08);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(250, 249, 246, 0.35);
}

.footer-bottom .footer-note {
  margin-bottom: 8px;
  color: rgba(250, 249, 246, 0.45);
}

/* ============================================
   Desktop — comfortable spacing
   ============================================ */

@media (min-width: 901px) {
  .section {
    padding: 96px 0;
  }

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

  .section p {
    margin-bottom: 26px;
    line-height: 1.9;
  }

  .content-narrow .section p {
    max-width: 65ch;
  }

  .list-heading {
    margin-top: 48px;
    margin-bottom: 20px;
  }

  .styled-list li {
    margin-bottom: 14px;
    line-height: 1.85;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================
   Responsive — Tablet (max-width: 900px)
   ============================================ */

@media (max-width: 900px) {
  .container {
    padding: 0 max(32px, env(safe-area-inset-right)) 0 max(32px, env(safe-area-inset-left));
  }

  .hero {
    padding: 128px 0 80px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    justify-content: center;
  }

  .hero-image img {
    max-width: 360px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 1.875rem;
  }

  .card-grid {
    gap: 24px;
  }

  .card {
    padding: 32px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about-image {
    display: flex;
    justify-content: center;
  }

  .about-image img {
    max-width: 320px;
  }

  .list-columns {
    columns: 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    text-align: left;
  }
}

/* ============================================
   Responsive — Mobile (max-width: 640px)
   ============================================ */

@media (max-width: 640px) {
  .container {
    padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px max(16px, env(safe-area-inset-bottom));
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 99;
  }

  .nav a {
    font-size: 0.9375rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    color: var(--charcoal);
  }

  .nav-home {
    display: block;
  }

  .nav-cta {
    margin-top: 12px;
    margin-bottom: 4px;
    text-align: center;
    border-bottom: none !important;
    border-radius: var(--radius);
    display: block;
    padding: 14px 24px !important;
    width: 100%;
  }

  .nav-backdrop {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    cursor: default;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle:checked ~ .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 128px 0 64px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h1 br {
    display: none;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 280px;
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: 1.625rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 28px 24px;
  }

  .citation {
    padding: 24px 22px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 14px;
    text-align: left;
  }

  .footer-bottom {
    padding-top: 32px;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.8125rem;
    width: 100%;
    text-align: center;
  }

  .hero-actions,
  .cta-links {
    width: 100%;
  }
}
