/* Public-site layout; font definitions are shared with the admin panel. */

:root {
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --paper: #faf9f6;
  --muted: #56616b;
  --line: rgba(13,41,69,.17);
  --shell: min(1180px, calc(100% - 64px));
  --header-height: 88px;
}
body { font-size: 18px; line-height: 1.65; font-optical-sizing: auto; }
h1, h2, h3 { overflow-wrap: break-word; }
:focus-visible { outline: 2px solid #96703a; outline-offset: 5px; }
.eyebrow { font-size: .88rem; font-weight: 600; letter-spacing: .045em; text-transform: none; color: #876128; }
.eyebrow::before { width: 22px; }
.site-header { background: rgba(255,255,255,.97); border-color: var(--line); backdrop-filter: none; }
.site-header.is-scrolled { height: var(--header-height); box-shadow: 0 3px 12px rgba(13,41,69,.04); }
.brand-copy strong { font-size: 1.2rem; font-weight: 500; }
.site-nav a { font-size: .98rem; font-weight: 500; }
.header-inner { gap: 26px; }
.site-nav { gap: 26px; }
.contact-launcher { box-shadow: none; gap: 12px; min-height: 54px; }
.contact-launcher-label, .contact-launcher-header .contact-launcher-label { font-size: .92rem; font-weight: 600; letter-spacing: 0; }
.contact-launcher:hover { transform: none; box-shadow: 0 5px 14px rgba(13,41,69,.1); }
.contact-launcher-header { min-height: 48px; }
.button, .text-link { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.text-link { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; border: 0; }
.button { border-radius: 3px; }
.button:hover { transform: none; }

/* A compact introduction: a personal portrait, clear text and a single baseline. */
.home-hero { background: #f4f3ee; border-bottom: 1px solid var(--line); }
.home-hero::before { display: none; }
.home-hero-grid { --hero-pad: 0px; grid-template-columns: 1.2fr .85fr; gap: 65px; min-height: 660px; padding-block: 0; align-items: center; }
.home-hero-copy { padding: 65px 0 48px; }
.home-hero-copy h1 { max-width: 680px; margin: 22px 0 24px; font-size: clamp(2.8rem,4.35vw,4.1rem); line-height: 1.12; font-weight: 500; letter-spacing: -.025em; text-wrap: pretty; }
.home-hero .hero-lead { max-width: 580px; font-size: 1.12rem; line-height: 1.75; }
.home-hero .hero-actions { gap: 24px; margin-top: 28px; }
.hero-facts { grid-template-columns: .6fr 1.4fr 1fr; margin-top: 38px; }
.hero-facts > div { padding-top: 16px; }
.hero-facts dt { font-size: .79rem; letter-spacing: .015em; text-transform: none; font-weight: 500; color: var(--muted); }
.hero-facts dd { font-family: var(--sans); font-size: .9rem; line-height: 1.5; margin-top: 5px; }
.portrait-stage { top: auto; min-height: 0; width: 100%; height: auto; aspect-ratio: 1122 / 1402; align-self: end; }
.portrait-stage img { position: static; width: 100%; max-width: 100%; transform: none; filter: none; }

.section { padding-block: 86px; }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .home-about-copy h2, .istanbul-guide h2, .approach-statement h2, .contact-band h2 {
  font-size: clamp(2rem,3.1vw,2.9rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; margin-top: 14px;
}
.split-heading { grid-template-columns: 1fr .8fr; gap: 80px; }
.split-heading > p { font-size: 1.05rem; line-height: 1.7; }
.service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 60px; border-left: 0; }
.service-card { display: grid; grid-template-columns: 40px 1fr; align-content: start; gap: 10px 22px; min-height: 0; padding: 30px 0; overflow: visible; border-right: 0; background: transparent; }
.service-card::after { display: none; }
.service-card:hover { background: transparent; }
.service-icon { grid-column: 1; grid-row: 1 / span 3; width: 40px; height: 40px; border: 0; border-radius: 0; background: none; }
.service-icon .icon { width: 30px; height: 30px; }
.service-card:hover .service-icon { transform: none; background: none; color: var(--navy); }
.service-card h3 { max-width: none; margin: 0; font-size: 1.45rem; font-weight: 500; line-height: 1.3; }
.service-card p { grid-column: 2; font-size: 1rem; line-height: 1.65; }
.service-link { grid-column: 2; padding-top: 7px; font-size: .88rem; font-weight: 600; }
.service-card:hover h3 { color: #8a642c; }

.home-about { background: var(--paper); }
.home-about-grid { grid-template-columns: .65fr 1.15fr; gap: 100px; }
.home-about-mark { min-height: 360px; }
.home-about-mark::before { inset: 0; border-color: rgba(201,154,80,.4); background: #fff; }
.home-about-mark img { width: 70%; max-height: 310px; filter: none; }
.home-about-copy h2 { margin-bottom: 22px; }
.home-about-copy .about-lead { font-size: 1.4rem; line-height: 1.55; }
.home-about-copy > p { font-size: 1.05rem; }
.about-credentials { margin: 28px 0; }
.about-credentials > span { min-height: 90px; padding-top: 18px; }
.about-credentials small { font-size: .8rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.about-credentials strong { font-family: var(--sans); font-size: 1rem; line-height: 1.4; }

.istanbul-guide { background: #fff; padding-bottom: 0; }
.istanbul-guide-grid { grid-template-columns: 1fr 1.05fr; gap: 70px; padding: 45px; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.istanbul-guide h2 { font-size: clamp(1.9rem,2.8vw,2.6rem); }
.istanbul-guide-copy { padding: 0; border: 0; font-size: 1.05rem; }
.istanbul-guide-copy p:last-of-type { margin-bottom: 14px; }
.istanbul-guide-copy .text-link { line-height: 1.55; }
.approach-section { background: #fff; }
.approach-grid { grid-template-columns: 1fr; gap: 32px; }
.approach-statement h2 { max-width: 780px; }
.approach-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; }
.approach-steps > div { grid-template-columns: 30px 1fr; gap: 10px 15px; border-bottom: 0; padding: 26px 0 0; }
.approach-steps > div > span { padding-top: 3px; }
.approach-steps h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.4; }
.approach-steps p { grid-column: 2; font-size: 1rem; }

.publications-preview { border-top: 1px solid var(--line); }
.article-grid { grid-template-columns: 1.15fr 1fr 1fr; gap: 35px; }
.article-card { min-height: 0; padding: 24px 0 0; border: 0; border-top: 2px solid var(--gold); background: transparent; }
.article-card:hover { transform: none; box-shadow: none; border-color: var(--navy); }
.article-meta { color: #876128; font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.article-card h3 { margin: 18px 0 14px; font-size: 1.6rem; font-weight: 500; line-height: 1.3; }
.article-card p { margin-bottom: 25px; font-size: 1rem; }
.article-footer { padding-top: 18px; font-size: .85rem; gap: 12px; }
.publications-preview .article-card:first-child { padding: 28px; background: var(--navy); color: white; }
.publications-preview .article-card:first-child .article-meta { color: var(--gold-light); }
.publications-preview .article-card:first-child p, .publications-preview .article-card:first-child .article-footer { color: #d3dce4; }
.publications-preview .article-card:first-child .article-footer { border-color: rgba(255,255,255,.24); }
.publications-preview .article-card:first-child .article-footer a { color: white; }
.contact-band { padding-block: 65px; }
.contact-band .eyebrow { color: var(--gold-light); }
.contact-band-inner { gap: 65px; }
.contact-band p { color: #d3dce4; font-size: 1.05rem; }

/* Inside pages share the same restrained heading and reading scale. */
.page-hero { padding-block: 64px; background: #f0f2f2; color: var(--navy); border-bottom: 1px solid var(--line); }
.page-hero::after { display: none; }
.page-hero-grid { grid-template-columns: 1.2fr .85fr; gap: 70px; align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem,4vw,3.5rem); line-height: 1.16; letter-spacing: -.02em; font-weight: 500; margin-top: 18px; text-wrap: pretty; }
.page-hero p { color: var(--muted); font-size: 1.08rem; }
.about-grid { grid-template-columns: .7fr 1.3fr; gap: 85px; }
.prose-large > p { font-family: var(--sans); font-size: 1.15rem; line-height: 1.8; }
.prose-large > p:first-child { font-family: var(--serif); font-size: 1.5rem; line-height: 1.6; color: var(--navy); }
.prose-large > p:first-child::first-letter { float: none; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.about-portrait-frame { box-shadow: none; }
.linkedin-profile small { font-size: .78rem; letter-spacing: .02em; }
.linkedin-profile strong { font-family: var(--sans); font-size: 1rem; }
.credential-grid { margin-top: 36px; }
.credential-grid > div { padding: 18px; min-height: 125px; }
.credential-grid span { font-size: .78rem; letter-spacing: .01em; text-transform: none; margin-bottom: 15px; }
.credential-grid strong { font-family: var(--sans); font-size: 1rem; }
.principle-grid article { min-height: 220px; padding: 28px; }
.principle-grid h3 { font-size: 1.45rem; margin-top: 20px; font-weight: 500; }
.practice-detail { grid-template-columns: 45px .9fr 1fr; gap: 35px; padding-block: 42px; }
.practice-detail h2 { font-size: 2rem; font-weight: 500; line-height: 1.25; }
.publication-copy h2 { font-size: clamp(1.5rem,2.3vw,2rem); font-weight: 500; line-height: 1.3; }
.publication-row { grid-template-columns: minmax(0, 1fr) auto; }
.publication-read, .publication-read a { font-size: .9rem; }
.article-hero { background: #f0f2f2; color: var(--navy); padding-block: 48px 60px; border-bottom: 1px solid var(--line); }
.back-link { color: var(--muted); margin-bottom: 30px; font-size: .95rem; }
.article-hero h1 { max-width: 920px; font-size: clamp(2.25rem,3.8vw,3.5rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; text-wrap: pretty; }
.article-hero > .article-hero-inner > p { color: var(--muted); font-size: 1.12rem; }
.article-layout { grid-template-columns: 180px minmax(0,720px); gap: 65px; padding-block: 65px; }
.article-aside { font-size: .92rem; }
.article-content > h2 { font-size: clamp(1.65rem,2.5vw,2.15rem); font-weight: 500; line-height: 1.3; margin-top: 42px; }
.article-content > p, .article-content > ul li { font-family: var(--sans); font-size: 1.17rem; line-height: 1.85; }
.article-notice { background: #f1f1ec; }
.article-notice p { font-size: 1rem !important; }
.article-related small, .article-author span, .article-related > span { font-size: .8rem; letter-spacing: .02em; text-transform: none; }
.article-related strong { font-size: 1.2rem; }
.article-related em, .article-author p { font-size: .95rem; }
.contact-options strong { font-family: var(--sans); font-size: 1.35rem; }
.contact-options small { font-size: .88rem; }
.contact-options > a { border-radius: 4px; }
.privacy-reminder h2 { font-size: 1.8rem; line-height: 1.3; }
.privacy-reminder .eyebrow { color: var(--gold-light); }
.contact-card h2 { font-size: 2rem; line-height: 1.2; }
.contact-card { max-height: calc(100dvh - 48px); overflow-y: auto; }
.contact-action-copy strong { font-family: var(--sans); font-weight: 600; }
.contact-note { font-size: .9rem; }
.footer-brand p { font-family: var(--sans); font-size: 1.08rem; }
.site-footer .eyebrow { color: var(--gold-light); }
.footer-grid h2 { font-size: .85rem; letter-spacing: .025em; }
.footer-grid a, .footer-grid address { font-size: 1rem; }
.footer-bottom { font-size: .85rem; color: #a7b4c0; padding-bottom: 30px; }
.reveal { opacity: 1; transform: none; transition: none; }

@media (max-width: 1080px) {
  :root { --shell: calc(100% - 48px); }
  .site-nav { gap: 0; visibility: hidden; }
  .site-nav.is-open { visibility: visible; }
  .home-hero-grid { gap: 32px; min-height: 580px; }
  .home-hero-copy h1 { font-size: 3.1rem; }
  .hero-facts { grid-template-columns: 1fr 1.8fr; }
  .hero-facts > div:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .home-about-grid { gap: 50px; }
  .service-grid { gap: 0 32px; }
  .istanbul-guide-grid { gap: 35px; padding: 32px; }
  .about-grid { gap: 45px; }
}
@media (max-width: 780px) {
  :root { --shell: calc(100% - 40px); --header-height: 74px; }
  .brand-copy strong { font-size: 1.05rem; }
  .menu-toggle { font-size: .95rem; }
  .section { padding-block: 55px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 0; }
  .home-hero-copy { padding: 44px 0 20px; }
  .home-hero-copy h1 { font-size: clamp(2.3rem,8.8vw,3.5rem); line-height: 1.16; margin-top: 19px; }
  .home-hero .hero-lead { font-size: 1.06rem; }
  .home-hero .hero-actions { flex-direction: row; gap: 20px; align-items: center; }
  .home-hero .contact-launcher-primary { width: auto; }
  /* These details remain in the biography and contact sections on mobile. */
  .hero-facts { display: none; }
  .hero-facts > div { padding: 13px 14px 0 0; }
  .hero-facts > div + div { border-top: 0; border-left: 1px solid var(--line); padding-left: 14px; }
  .hero-facts > div:last-child { border-left: 0; padding: 12px 0; }
  .portrait-stage { width: min(90%,360px); min-height: 0; justify-self: center; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .home-about-copy h2, .istanbul-guide h2, .approach-statement h2, .contact-band h2 { font-size: 2rem; line-height: 1.25; }
  .split-heading, .contact-band-inner, .page-hero-grid, .about-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 25px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 25px 0; gap: 10px 15px; }
  .service-card h3 { margin: 0; font-size: 1.35rem; }
  .service-card p { font-size: 1rem; }
  .home-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-about-mark { width: min(100%,280px); min-height: 270px; justify-self: center; }
  .home-about-mark::before { inset: 0; }
  .home-about-mark img { max-height: 235px; }
  .home-about-copy .about-lead { font-size: 1.3rem; }
  .about-credentials { grid-template-columns: 1fr; }
  .about-credentials > span { grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 15px 0; min-height: 0; align-items: baseline; }
  .about-credentials > span + span { padding-left: 0; }
  .about-credentials strong { margin: 0; }
  .istanbul-guide { padding-bottom: 0; }
  .istanbul-guide-grid { grid-template-columns: 1fr; padding: 26px 22px; gap: 25px; }
  .istanbul-guide-copy { padding: 0; }
  .approach-grid { gap: 24px; }
  .approach-steps { grid-template-columns: 1fr; gap: 0; }
  .approach-steps > div { border-bottom: 1px solid var(--line); padding-block: 22px; }
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-card { min-height: 0; padding: 23px 0 0; }
  .article-card h3 { font-size: 1.5rem; }
  .heading-with-link { gap: 22px; }
  .page-hero { padding-block: 40px; }
  .page-hero h1 { font-size: clamp(2.1rem,8vw,3rem); line-height: 1.2; }
  .about-portrait { max-width: 330px; justify-self: center; }
  .prose-large > p:first-child { font-size: 1.35rem; }
  .credential-grid > div { min-height: 0; }
  .practice-detail { grid-template-columns: 30px 1fr; gap: 20px; }
  .practice-detail h2 { font-size: 1.65rem; }
  .publication-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .publication-copy h2 { font-size: 1.5rem; }
  .article-hero { padding-block: 35px; }
  .article-hero h1 { font-size: clamp(2rem,7.5vw,3rem); }
  .article-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .article-content > p, .article-content > ul li { font-size: 1.1rem; }
  .article-related a { grid-template-columns: 1fr; }
  .contact-options strong { font-size: 1.2rem; }
  .footer-grid { gap: 30px; padding-bottom: 40px; }
  .site-footer { padding-top: 50px; }
  .footer-bottom { padding-bottom: 85px; }
}
@media print {
  .reveal { opacity: 1; }
  .page-hero, .article-hero, .home-hero { background: white; }
}

/* Topic illustrations keep the publication list scannable without stock photography. */
.article-card-image, .publication-image { display: block; overflow: hidden; background: #e7e9e5; }
.article-card-image { margin-bottom: 22px; }
.article-card-image img, .publication-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s ease; }
@media (hover: hover) and (pointer: fine) {
  .article-card:hover .article-card-image img, .publication-row:hover .publication-image img { transform: scale(1.025); }
}
.publication-row { grid-template-columns: minmax(190px, 245px) minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.publication-read { align-self: center; }
.article-cover { margin: 36px 0 0; }
.article-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.article-outline { margin-bottom: 44px; padding: 28px 30px; border: 1px solid var(--line); background: #fff; }
.article-outline > strong { display: block; margin-bottom: 14px; color: var(--navy); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.article-outline ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 26px; margin: 0; padding-left: 20px; }
.article-outline li { padding-left: 3px; color: #8b672f; font-size: .95rem; }
.article-outline a { color: var(--navy); text-decoration: none; }
.article-outline a:hover, .article-outline a:focus-visible { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.article-content h2[id], .article-content h3[id] { scroll-margin-top: 115px; }
@media (max-width: 1080px) {
  .publication-row { grid-template-columns: 210px minmax(0, 1fr); }
  .publication-read { grid-column: 2; justify-content: space-between; }
}
@media (max-width: 780px) {
  .publication-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .publication-image { width: 100%; }
  .publication-read { grid-column: 1; }
  .article-outline ol { grid-template-columns: 1fr; }
  .article-cover { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-card-image img, .publication-image img { transition: none; }
}

/* Plain-language calculator pages. The form and method stay visibly separate. */
.site-nav { gap: 18px; }
.site-nav a { font-size: .93rem; }
.calculator-landing { background: #fff; }
.calculator-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 38px; }
.calculator-intro h2, .calculator-note-grid h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 500; line-height: 1.25; }
.calculator-intro p, .calculator-note-grid p { margin: 0; color: var(--muted); }
.calculator-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.calculator-card { display: grid; grid-template-columns: 42% 1fr; min-width: 0; border: 1px solid var(--line); background: #fff; }
.calculator-card-image { display: block; overflow: hidden; background: #e8ebe8; }
.calculator-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.calculator-card-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 25px; }
.calculator-card-copy .eyebrow { font-size: .78rem; }
.calculator-card-copy h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 1.48rem; font-weight: 500; line-height: 1.28; }
.calculator-card-copy h2 a { text-decoration: none; }
.calculator-card-copy p { margin: 0 0 auto; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.calculator-card-copy .text-link { padding-top: 6px; font-size: .9rem; }
.calculator-landing-note { background: #f0f2f2; }
.calculator-note-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 90px; }
.calculator-note-grid .eyebrow { margin-bottom: 14px; }
.calculator-note-grid p + p { margin-top: 16px; }
.calculator-note-grid .text-link { display: inline-block; margin-top: 18px; }
.calculator-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 390px); gap: 65px; align-items: center; }
.calculator-hero h1 { max-width: 740px; }
.calculator-hero-grid > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.calculator-back { display: block; width: fit-content; margin-bottom: 24px; color: var(--muted); font-size: .9rem; text-decoration: none; }
.calculator-back:hover { color: var(--navy); text-decoration: underline; }
.calculator-workspace { background: #fff; }
.calculator-workspace-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 30px; }
.calculator-form-panel, .calculator-result-panel { padding: 34px; border: 1px solid var(--line); }
.calculator-form-panel { border-top: 3px solid var(--gold); }
.calculator-result-panel { background: #f7f7f2; }
.calculator-panel-head > span { color: #876128; font-size: .85rem; font-weight: 600; }
.calculator-panel-head h2, .calculator-result-panel h2 { margin: 5px 0 5px; color: var(--navy); font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.calculator-panel-head p { margin: 0 0 23px; color: var(--muted); font-size: .95rem; }
.calculator-form-panel form { display: grid; gap: 19px; }
.calculator-form-panel label { display: grid; gap: 7px; color: var(--navy); font-size: .94rem; font-weight: 600; }
.calculator-form-panel label small { color: var(--muted); font-size: .85rem; font-weight: 400; }
.calculator-form-panel input, .calculator-form-panel select { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #bfc9cc; border-radius: 2px; background: white; color: var(--ink); font-size: 1rem; }
.calculator-form-panel input:focus, .calculator-form-panel select:focus { border-color: var(--navy); outline: 2px solid rgba(201,154,80,.35); outline-offset: 1px; }
.calculator-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calculator-submit { justify-self: start; min-width: 160px; margin-top: 4px; }
.calculator-error { margin: 0; color: #9b3030; font-size: .9rem; }
.calculator-result { min-height: 240px; margin-top: 24px; }
.calculator-result > p { color: var(--muted); }
.calculator-result-main { display: block; margin: 10px 0 22px; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; line-height: 1.2; }
.calculator-result dl { margin: 0; border-top: 1px solid var(--line); }
.calculator-result dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.calculator-result dt { color: var(--muted); }
.calculator-result dd { margin: 0; color: var(--navy); font-weight: 600; text-align: right; }
.calculator-disclaimer { margin: 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.calculator-article-layout { display: grid; grid-template-columns: 220px minmax(0, 740px); gap: 70px; justify-content: center; padding-block: 75px 90px; }
.calculator-outline { position: sticky; top: 112px; align-self: start; }
.calculator-outline strong { display: block; margin-bottom: 14px; color: var(--navy); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.calculator-outline ol { display: grid; gap: 12px; margin: 0; padding-left: 21px; color: #876128; font-size: .88rem; }
.calculator-outline a { color: var(--muted); text-decoration: none; }
.calculator-outline a:hover, .calculator-outline a:focus-visible { color: var(--navy); text-decoration: underline; }
.calculator-related { margin-top: 55px; padding-top: 30px; border-top: 1px solid var(--line); }
.calculator-related h2 { color: var(--navy); font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.calculator-related > div { display: flex; flex-wrap: wrap; gap: 9px; }
.calculator-related a { padding: 8px 12px; border: 1px solid var(--line); color: var(--navy); font-size: .88rem; text-decoration: none; }
.calculator-related a:hover { border-color: var(--gold); }
@media (max-width: 1080px) {
  .calculator-card { grid-template-columns: 1fr; }
  .calculator-card-image img { aspect-ratio: 16 / 9; }
  .calculator-hero-grid { gap: 30px; }
  .calculator-article-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 780px) {
  .calculator-intro, .calculator-note-grid, .calculator-hero-grid, .calculator-workspace-grid, .calculator-article-layout { grid-template-columns: 1fr; gap: 25px; }
  .calculator-card-grid { grid-template-columns: 1fr; }
  .calculator-card { grid-template-columns: 38% 1fr; }
  .calculator-form-panel, .calculator-result-panel { padding: 25px; }
  .calculator-article-layout { padding-block: 50px; }
  .calculator-outline { position: static; padding: 20px; border: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .calculator-card { grid-template-columns: 1fr; }
  .calculator-field-pair { gap: 10px; }
  .calculator-result dl > div { align-items: baseline; }
}

/* Biography and practice pages share the same illustration rhythm as the journals. */
.about-copy > .eyebrow { margin-bottom: 13px; }
.about-copy > h2 { margin: 0 0 20px; color: var(--navy); font-family: var(--serif); font-size: clamp(1.8rem, 2.5vw, 2.4rem); font-weight: 500; }
.about-focus { background: #f0f2f2; }
.about-focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.about-focus-grid a { display: flex; flex-direction: column; gap: 9px; min-height: 150px; padding: 24px; background: #fff; text-decoration: none; transition: background-color .25s ease; }
.about-focus-grid a:hover, .about-focus-grid a:focus-visible { background: #faf5e9; }
.about-focus-grid strong { color: var(--navy); font-family: var(--serif); font-size: 1.28rem; font-weight: 500; line-height: 1.3; }
.about-focus-grid span { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.about-next { background: #f8f7f3; }
.about-next-grid { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 75px; }
.about-next-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.about-next-grid h2 { margin: 14px 0; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; line-height: 1.25; }
.about-next-grid p { color: var(--muted); }
.practice-detail { grid-template-columns: minmax(160px, 220px) minmax(0, .9fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.practice-detail-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 1080px) {
  .about-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-detail { grid-template-columns: 190px minmax(0, 1fr); }
  .practice-detail ul { grid-column: 2; }
}
@media (max-width: 780px) {
  .about-focus-grid, .about-next-grid, .practice-detail { grid-template-columns: 1fr; }
  .practice-detail-image { max-width: 420px; }
  .practice-detail ul { grid-column: 1; }
}

.home-calculator-preview { background: #f0f2f2; }
.home-tool-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.home-tool-links a { display: grid; align-content: space-between; min-height: 150px; padding: 22px; background: #fff; color: var(--navy); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; text-decoration: none; }
.home-tool-links a:hover, .home-tool-links a:focus-visible { background: #faf5e9; }
.home-tool-links span { color: #876128; font-family: var(--sans); font-size: .85rem; font-weight: 600; }
.article-tool-links { margin: 45px 0; padding: 26px; border-left: 3px solid var(--gold); background: #f2f3f0; }
.article-tool-links strong { color: var(--navy); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.article-tool-links p { margin: 5px 0 16px; color: var(--muted); font-size: .93rem; }
.article-tool-links > div { display: flex; flex-wrap: wrap; gap: 9px; }
.article-tool-links a { padding: 8px 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: .88rem; text-decoration: none; }
.article-tool-links a:hover { border-color: var(--gold); }
@media (max-width: 780px) { .home-tool-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
