/*
 * Plastic surgery: the file.
 * Every class is prefixed ps-. Quiet ivory paper for reading, ink for the
 * headers, the dark of a private consult room for the chapter on what the phone
 * never says, champagne for the folder tabs and highlights, and a soft sage
 * for what is handled.
 */
.ps-page {
  --ps-paper: #f7f4ee;
  --ps-sheet: #fffdf9;
  --ps-ink: #1a1d29;
  --ps-soft: #3d4252;
  --ps-muted: #636878;
  --ps-rule: #ddd7ca;
  --ps-graphite: #181b26;
  --ps-graphite-2: #232736;
  --ps-steel: #3a4157;
  --ps-kraft: #c8a96a;
  --ps-kraft-deep: #7b6228;
  --ps-kraft-wash: #f3ead2;
  --ps-orange: #c8a96a;
  --ps-forest: #4d6e68;
  --ps-forest-deep: #2f4c47;
  --ps-wire: #c8a96a;
  --ps-wire-deep: #7b6228;
  --ps-wire-wash: #f3ead2;
  --ps-live: #4d7a6e;
  --ps-live-deep: #2f5148;
  --ps-live-wash: #dfeae6;
  --ps-hot: #b5483a;
  --ps-hot-deep: #8a3428;
  --ps-hot-wash: #f4ddd7;
  --ps-on-dark: #eceef3;
  --ps-on-dark-soft: #aeb3c4;
  --ps-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Courier New", monospace;
  --ps-hand: "Bradley Hand", "Segoe Print", "Marker Felt", "Comic Sans MS", cursive;
  background: var(--ps-paper);
  color: var(--ps-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
.ps-page *, .ps-page *::before, .ps-page *::after { box-sizing: border-box; }
.ps-page ::selection { background: var(--ps-wire); color: var(--ps-ink); }
.ps-page a:focus-visible,
.ps-page summary:focus-visible,
.ps-page [tabindex]:focus-visible { outline: 2px solid var(--ps-live); outline-offset: 4px; }
.ps-close a:focus-visible { outline-color: var(--ps-wire); }
.ps-page section[id] { scroll-margin-top: 130px; }
.ps-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }

/* A procedure-page reading path, followed by the coordinator's launch review. */
.ps-website { background: var(--ps-sheet); }
.ps-website-head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; }
.ps-page-plan { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; margin-top: 36px !important; counter-reset: procedure-page; }
.ps-page-plan > li { border-top: 2px solid var(--ps-kraft); padding-top: 20px; counter-increment: procedure-page; }
.ps-page-plan h3::before { content: "0" counter(procedure-page); display: block; font-size: 13px; color: var(--ps-kraft-deep); letter-spacing: 0.08em; margin-bottom: 14px; }
.ps-page-plan p { margin-top: 12px; }
.ps-website-delivery { margin-top: 34px; padding: 28px 32px; border-left: 3px solid var(--ps-forest); background: var(--ps-paper); max-width: 88ch; }
.ps-website-delivery p { margin-top: 14px; }
@media (max-width: 760px) {
  .ps-website-head, .ps-page-plan { grid-template-columns: 1fr; }
  .ps-page-plan { gap: 24px; }
  .ps-website-delivery { padding: 24px 20px; }
}

.ps-page h1, .ps-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.ps-page h2 { font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; }
.ps-page h1 em, .ps-page h2 em { font-style: italic; }
.ps-page h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
.ps-section { padding: clamp(64px, 8vw, 108px) 0; }
.ps-section p { max-width: 68ch; }
.ps-section h2 + p { margin-top: 18px; }
.ps-page p a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ps-page p a:hover { color: var(--ps-live-deep); }
.ps-tie { margin-top: 24px; font-weight: 500; }
.ps-table-scroll { overflow-x: auto; margin-top: 30px; }

/* Chapter tag, like a flag tied to a branch */
.ps-tag {
  display: inline-block; margin: 0 0 18px; padding: 5px 14px; background: var(--ps-orange); color: #fff;
  border-radius: 3px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ps-wire-wash);
}

/* Buttons and quiet links */
.ps-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.ps-button {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--ps-graphite); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(35, 40, 44, 0.85); transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.ps-button:hover { background: var(--ps-live-deep); transform: translateY(-1px); }
.ps-quiet-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: inherit; font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-color: rgba(31, 35, 38, 0.4); text-underline-offset: 5px;
}
.ps-quiet-link:hover { text-decoration-color: currentColor; }
.ps-close .ps-button { background: var(--ps-wire); color: var(--ps-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.7); }
.ps-close .ps-button:hover { background: #f6c64d; }
.ps-close .ps-quiet-link { text-decoration-color: rgba(236, 239, 240, 0.45); }

/* Hero */
.ps-hero-shell {
  padding-top: 101px;
  background-color: var(--ps-paper);
  background-image: radial-gradient(ellipse 55% 60% at 80% 44%, #fff4d6 0, rgba(255, 244, 214, 0) 72%);
  border-bottom: 4px solid var(--ps-wire);
}
.ps-hero {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 60px);
  align-items: start; padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 6vw, 84px);
}
.ps-hero-copy { padding: 6px 0; }
.ps-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 1.03; color: var(--ps-ink); }
.ps-hero h1 .h1-kicker {
  display: block; margin-bottom: 20px; font-family: var(--font-sans); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ps-wire-deep);
}
.ps-h1-line { display: inline; }
.ps-lede { margin-top: 22px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ps-soft); max-width: 52ch; }
.ps-price { display: grid; gap: 6px; margin-top: 22px; font-size: 15.5px; color: var(--ps-soft); }
.ps-price strong { color: var(--ps-ink); font-weight: 800; margin-right: 6px; }

/* The signature: one patient's file as a folder with five tabs */
.ps-filefig { margin: 0; }
.ps-tabradio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ps-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.ps-tabs label {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px 10px 0 0; background: #ebe4d3;
  border: 1px solid var(--ps-rule); border-bottom: 0; font-size: 12.5px; font-weight: 700; color: var(--ps-soft); cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.ps-tabs label:hover { background: var(--ps-kraft-wash); }
#ps-tab-first:checked ~ .ps-tabs label[for="ps-tab-first"],
#ps-tab-reply:checked ~ .ps-tabs label[for="ps-tab-reply"],
#ps-tab-consult:checked ~ .ps-tabs label[for="ps-tab-consult"],
#ps-tab-week:checked ~ .ps-tabs label[for="ps-tab-week"],
#ps-tab-after:checked ~ .ps-tabs label[for="ps-tab-after"] { background: var(--ps-sheet); color: var(--ps-ink); box-shadow: inset 0 3px 0 var(--ps-kraft); }
.ps-tabradio:focus-visible ~ .ps-tabs { outline: 2px solid var(--ps-kraft); outline-offset: 3px; border-radius: 6px; }
.ps-folder { background: var(--ps-sheet); border: 1px solid var(--ps-rule); border-radius: 0 10px 10px 10px; box-shadow: 0 26px 52px -30px rgba(26, 29, 41, 0.5); }
.ps-card { display: none; padding: 20px 22px 22px; }
#ps-tab-first:checked ~ .ps-folder .ps-card-first,
#ps-tab-reply:checked ~ .ps-folder .ps-card-reply,
#ps-tab-consult:checked ~ .ps-folder .ps-card-consult,
#ps-tab-week:checked ~ .ps-folder .ps-card-week,
#ps-tab-after:checked ~ .ps-folder .ps-card-after { display: block; }
.ps-card-when { margin: 0; font-family: var(--ps-mono); font-size: 12.5px; font-weight: 700; color: var(--ps-kraft-deep); }
.ps-card-title { margin: 4px 0 0; font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.15; letter-spacing: -0.02em; }
.ps-card dl { margin: 14px 0 0; }
.ps-card dl > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px dashed var(--ps-rule); font-size: 14.5px; }
.ps-card dt { font-weight: 800; color: var(--ps-live-deep); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.ps-card dd { margin: 0; }
.ps-card-note { margin: 12px 0 0; padding: 12px 14px; background: var(--ps-kraft-wash); border-radius: 6px; font-size: 14px; color: var(--ps-soft); max-width: none; }
.ps-filefig figcaption { margin-top: 12px; font-size: 13px; color: var(--ps-muted); max-width: 60ch; }
.ps-models { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; font-size: 13px; color: var(--ps-muted); }
.ps-model { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ps-ink); }
.ps-model-maker { font-weight: 500; color: var(--ps-muted); }

/* Jump nav */
.ps-jump { position: sticky; top: 70px; z-index: 5; background: rgba(244, 241, 233, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ps-rule); }
.ps-jump .ps-wrap { display: flex; gap: 6px 22px; overflow-x: auto; scrollbar-width: none; }
.ps-jump a { flex: none; display: inline-flex; align-items: center; min-height: 48px; font-size: 13.5px; font-weight: 700; color: var(--ps-soft); text-decoration: none; white-space: nowrap; }
.ps-jump a:hover { color: var(--ps-live-deep); }

/* Intro */
.ps-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ps-two p + p { margin-top: 16px; }
.ps-aside { padding: 26px; background: var(--ps-sheet); border: 1px solid var(--ps-rule); border-top: 4px solid var(--ps-wire); border-radius: 8px; }
.ps-aside ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--ps-soft); }

/* Chapters */
.ps-chapter { border-top: 1px solid var(--ps-rule); }
.ps-chapter-head { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.ps-chapter-head p + p { margin-top: 16px; }
.ps-chapter-head .ps-tag { justify-self: start; margin-top: 6px; }

/* Tables */
.ps-contact-table, .ps-compare-table {
  width: 100%; border-collapse: collapse; background: var(--ps-sheet); border: 1px solid var(--ps-rule); font-size: 14.5px;
}
.ps-contact-table, .ps-compare-table { min-width: 680px; }
.ps-contact-table th, .ps-contact-table td, .ps-compare-table th, .ps-compare-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ps-rule); }
.ps-contact-table thead th, .ps-compare-table thead th {
  background: var(--ps-graphite); color: #fff; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
}
.ps-contact-table tbody th, .ps-compare-table tbody th { font-weight: 700; width: 26%; }
.ps-compare-table tbody td:last-child { background: var(--ps-live-wash); font-weight: 600; }
.ps-routing-check { max-width: 78ch; margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--ps-rule); scroll-margin-top: 160px; }
.ps-routing-check h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; line-height: 1.2; }
.ps-routing-check p { margin-top: 16px; }
.ps-routing-check a { text-decoration: underline; text-underline-offset: 3px; }

/* Search */
.ps-search p + p { margin-top: 16px; }
.ps-pins { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.ps-pins li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: start; padding: 18px; background: var(--ps-sheet); border: 1px solid var(--ps-rule); border-radius: 8px; }
.ps-pin-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ps-orange); color: #fff; font-weight: 800; font-size: 13px; }
.ps-pins div { display: grid; gap: 2px; font-size: 14.5px; color: var(--ps-soft); }
.ps-pins strong { color: var(--ps-ink); }
.ps-pins p { margin: 0; }

/* The quiet weeks */

/* What it never says: the dark chapter */

/* HIPAA note */

/* Repeat accounts */

/* Answering, kinds */
.ps-answering { border-top: 1px solid var(--ps-rule); }

/* How */
.ps-steps { list-style: none; counter-reset: step; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.ps-steps li { counter-increment: step; position: relative; padding: 0 0 0 54px; }
.ps-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ps-graphite); color: var(--ps-wire); font-weight: 800; }
.ps-steps p { margin-top: 4px; color: var(--ps-soft); }

/* FAQ */
.ps-faq { border-top: 1px solid var(--ps-rule); }
.ps-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ps-faq-list { display: grid; gap: 0; border-top: 1px solid var(--ps-rule); }
.ps-faq-list details { border-bottom: 1px solid var(--ps-rule); }
.ps-faq-list summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.ps-faq-list summary::-webkit-details-marker { display: none; }
.ps-faq-list summary span { flex: none; font-size: 22px; color: var(--ps-live); transition: transform 160ms; }
.ps-faq-list details[open] summary span { transform: rotate(45deg); }
.ps-faq-list details p { padding: 0 0 22px; color: var(--ps-soft); max-width: 70ch; }

/* Breadcrumb, close */
.ps-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 22px 0 8px; font-size: 12.5px; color: var(--ps-muted); }
.ps-breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ps-breadcrumb a:hover { color: var(--ps-ink); text-decoration: underline; }
.ps-close { background: var(--ps-graphite); color: var(--ps-on-dark); padding: clamp(64px, 8vw, 100px) 0; }
.ps-close-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ps-close h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.ps-close p { margin-top: 18px; max-width: 58ch; color: var(--ps-on-dark-soft); }
.ps-close aside { display: grid; gap: 4px; align-content: start; }
.ps-close aside strong { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ps-on-dark-soft); margin-bottom: 8px; }
.ps-close aside a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); color: #fff; text-decoration: none; font-weight: 600; }
.ps-close aside a:hover { color: var(--ps-wire); }

/* Responsive */
/* Six systems: the file index */

@media (max-width: 1000px) {
  .ps-hero, .ps-two, .ps-faq-grid, .ps-close-grid { grid-template-columns: 1fr; }
  .ps-chapter-head { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .ps-wrap { width: min(100% - 32px, 1280px); }
  .ps-hero-shell { padding-top: 88px; }
  .ps-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ps-card dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-button, .ps-faq-list summary span, .ps-tabs label { transition: none; }
}

/* Carry approved practice content into the replacement site. */
.ps-site-changeover { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--ps-kraft); scroll-margin-top: 145px; }
.ps-site-changeover > p { margin-top: 16px; max-width: 84ch; }
.ps-site-changeover dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 26px; }
.ps-site-changeover a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.ps-site-changeover dt { color: var(--ps-forest); font-weight: 700; margin-bottom: 10px; }
.ps-site-changeover dd { margin: 0; }
@media (max-width: 760px) { .ps-site-changeover dl { grid-template-columns: 1fr; gap: 22px; } }
