/* ==========================================================
   Michael E. Nissan, M.D. — Plastic Surgery
   Shared stylesheet used by the homepage and all procedure pages.
   Any styling change here propagates everywhere at once.
   ========================================================== */

:root {
  --paper: #fafaf7;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #7a7a7a;
  --rule: #c8c4ba;
  --rule-soft: #e4e0d6;
  --max: 1080px;
  --gutter: 2rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Cormorant Garamond', 'EB Garamond', Garamond, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink-soft); }

/* ---- Navigation ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: 'Cormorant SC', 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 2.25rem;
  font-family: 'Cormorant SC', 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---- Section primitives ---- */
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem var(--gutter);
}
@media (max-width: 720px) {
  section { padding: 4rem var(--gutter); }
}

.eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin: 0 0 2.25rem 0;
  text-align: center;
}

h1, h2, h3 {
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  font-style: italic;
  font-weight: 300;
}

.rule {
  width: 64px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 2.5rem auto;
  border: 0;
}

.lede {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.75;
}

/* ---- Homepage Hero (editorial split: portrait + frontispiece) ---- */
header.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--gutter) 5rem;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4.5rem;
  align-items: center;
}
@media (max-width: 820px) {
  header.hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem var(--gutter);
    text-align: center;
  }
}
.hero-portrait {
  margin: 0;
  width: 100%;
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}
@media (max-width: 820px) {
  .hero-portrait {
    max-width: 320px;
    margin: 0 auto;
  }
}
.hero-text {
  text-align: left;
}
@media (max-width: 820px) {
  .hero-text { text-align: center; }
}
.hero-name {
  font-family: 'Cormorant SC', serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0;
}
.hero-subtitle {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  letter-spacing: 0.26em;
  color: var(--ink-soft);
  margin-top: 0.85rem;
}
.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--rule);
  margin: 2rem 0 1.85rem;
  border: 0;
}
@media (max-width: 820px) {
  .hero-rule { margin-left: auto; margin-right: auto; }
}
.hero-tagline {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .hero-tagline { margin: 0 auto; }
}
.hero-meta {
  margin-top: 2.25rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  color: var(--ink-muted);
}

/* ---- Section dividers ---- */
.divider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.divider hr {
  border: 0;
  height: 1px;
  background: var(--rule-soft);
  margin: 0;
}

/* ---- About ---- */
.about-body {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.85;
}
.about-body p + p { margin-top: 1.4rem; }
.about-body p {
  text-align: left;
  text-indent: 0;
}

/* ---- Procedures (homepage grid) ---- */
.procedure-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 4rem;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .procedure-groups { grid-template-columns: 1fr; gap: 2.75rem; }
}
.proc-group { text-align: left; }
.proc-group h3 {
  font-family: 'Cormorant SC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  margin-bottom: 1rem;
}
.proc-group h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--rule);
  margin-top: 0.85rem;
}
.proc-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 2;
}
.proc-group li {
  border-bottom: 1px dotted var(--rule-soft);
  padding: 0.15rem 0;
}
.proc-group li:last-child { border-bottom: 0; }
.proc-group li a {
  display: block;
  transition: color 0.15s;
}
.proc-group li a:hover { color: var(--ink-soft); }
.proc-group .alt {
  color: var(--ink-muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-left: 0.5em;
}
.proc-lede {
  max-width: 620px;
  margin: 0 auto 3rem auto;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-style: italic;
}

/* ---- Training ---- */
.training {
  max-width: 720px;
  margin: 0 auto;
}
.credential {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.credential:last-child { border-bottom: 0; }
.credential-school {
  font-family: 'Cormorant SC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.credential-detail {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1.05rem;
  margin-top: 0.25rem;
}

.honors {
  margin-top: 3rem;
  text-align: center;
}
.honors-title {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.honors ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 2;
}
.honors li { font-style: italic; }

/* ---- Scholarship ---- */
.scholarship-intro {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.pubs {
  max-width: 760px;
  margin: 0 auto;
}
.pub {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}
.pub:last-child { border-bottom: 0; }
.pub em { color: var(--ink); }

/* ---- Contact form ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 4rem;
  max-width: 940px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-divider { display: none; }
}
.contact-divider {
  background: var(--rule-soft);
  width: 1px;
  align-self: stretch;
}
.contact-col { text-align: left; }
.contact-col-title {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}
.form-row { margin-bottom: 1.25rem; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.form-row-split .form-row { margin-bottom: 0; }
@media (max-width: 480px) {
  .form-row-split { grid-template-columns: 1fr; gap: 1.25rem; }
}
.form-row label {
  display: block;
  font-family: 'Cormorant SC', serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.55rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.form-row textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--ink);
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
                    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 24px;
}
.form-submit {
  margin-top: 1.5rem;
  width: 100%;
  background: transparent;
  cursor: pointer;
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--ink);
  padding: 1rem 2rem;
  border: 1px solid var(--ink);
  transition: all 0.25s ease;
}
.form-submit:hover {
  background: var(--ink);
  color: var(--paper);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-muted);
  text-align: center;
}
.form-privacy {
  margin: 0 0 2rem 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: center;
}
.form-thank-you {
  text-align: center;
  padding: 2rem 0;
  color: var(--ink);
}
.form-thank-you p:first-child {
  font-family: 'Cormorant SC', serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
}
.form-thank-you p:last-child {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.info-block {
  text-align: center;
  margin-bottom: 2rem;
}
.info-block:last-child { margin-bottom: 0; }
.info-label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  margin-bottom: 0.55rem;
}
.info-value {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.55;
}
.info-italic {
  color: var(--ink-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* ==========================================================
   PROCEDURE PAGES
   Used by /facelift/, /rhinoplasty/, /breast-augmentation/, etc.
   ========================================================== */

/* Procedure page hero — simpler than the homepage hero */
.page-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 5.5rem var(--gutter) 3.5rem;
  text-align: center;
}
@media (max-width: 720px) {
  .page-hero { padding: 4rem var(--gutter) 2.5rem; }
}
.page-eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  margin: 0 0 1.5rem 0;
}
.page-title {
  font-family: 'Cormorant SC', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin: 0;
}
.page-title-alt {
  display: inline-block;
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.04em;
  margin-left: 0.5em;
  vertical-align: middle;
}
.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--ink-soft);
  margin: 1.5rem auto 0;
  max-width: 600px;
  line-height: 1.55;
}
.page-hero-rule {
  width: 64px;
  height: 1px;
  background: var(--rule);
  margin: 2rem auto 0;
  border: 0;
}

/* Prose sections */
.prose-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem var(--gutter);
}
@media (max-width: 720px) {
  .prose-section { padding: 3rem var(--gutter); }
}
.prose-section h2 {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: 0.24em;
  font-weight: 500;
  font-style: normal;
  text-align: left;
  color: var(--ink);
  margin: 0 0 1.5rem 0;
}
.prose-section h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--rule);
  margin-top: 0.85rem;
}
.prose-section p {
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.85;
  margin: 0 0 1.4rem 0;
}
.prose-section p:last-child { margin-bottom: 0; }
.prose-section p em { font-style: italic; }
.prose-section ul {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.85;
  padding-left: 1.5rem;
  margin: 0 0 1.4rem 0;
}
.prose-section ul li { margin-bottom: 0.5rem; }
.prose-section ul li:last-child { margin-bottom: 0; }

/* FAQ list */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
  padding: 1.75rem 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}
.faq-answer {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

/* End-of-page CTA */
.page-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem var(--gutter);
  text-align: center;
  border-top: 1px solid var(--rule-soft);
}
.page-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  color: var(--ink);
  margin: 0 0 2rem 0;
  line-height: 1.5;
}
.page-cta-button {
  display: inline-block;
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--ink);
  padding: 1rem 2.5rem;
  border: 1px solid var(--ink);
  transition: all 0.25s ease;
}
.page-cta-button:hover {
  background: var(--ink);
  color: var(--paper);
}
.page-cta-alt {
  margin-top: 2rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
}
.page-cta-alt a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

/* Related procedures navigation at bottom of procedure pages */
.related-procedures {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem var(--gutter) 4rem;
  text-align: center;
}
.related-title {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.related-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Cormorant SC', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}
.related-list a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  padding-bottom: 2px;
}
.related-list a:hover { border-bottom-color: var(--rule); }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--rule-soft);
  padding: 2.5rem var(--gutter);
  text-align: center;
  color: var(--ink-muted);
  font-family: 'Cormorant SC', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}
footer .foot-line + .foot-line { margin-top: 0.5rem; }
