
:root{--forest:#33483d;--sage:#aab9ad;--ivory:#f7f4ec;--charcoal:#252a27;--clay:#b9785e;--pale:#e9eee9;--line:#d8ddd8;--muted:#6a716c;--paper:#fffdf8;--serif:"Source Serif 4",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;--max:1440px;--pad:clamp(1.25rem,3.5vw,4rem)}
*{box-sizing:border-box}body{margin:0;background:var(--ivory);color:var(--charcoal);font-family:var(--sans);line-height:1.55}a{color:inherit}.page{max-width:var(--max);margin:auto;padding:0 var(--pad)}
.site-header{height:76px;padding:0 var(--pad);max-width:var(--max);margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--forest);font-weight:700}.site-nav{display:flex;gap:2rem}.site-nav a{text-decoration:none;color:var(--muted)}.site-nav a:hover{color:var(--forest)}
.eyebrow{margin:0 0 .9rem;color:var(--forest);text-transform:uppercase;letter-spacing:.13em;font-size:.75rem;font-weight:700}.eyebrow:before{content:"";display:block;width:48px;height:3px;background:var(--clay);margin-bottom:.85rem}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.02;margin:0}h1{font-size:clamp(3rem,7vw,6.4rem);letter-spacing:-.04em}h1 span{display:block;color:var(--forest)}h2{font-size:clamp(2rem,4vw,3.4rem)}
.lead{font-size:clamp(1.05rem,1.55vw,1.3rem);max-width:42rem}.hero-actions{margin:1.35rem 0 .6rem;color:var(--forest);font-size:clamp(1rem,1.3vw,1.18rem);font-weight:600}
.text-link{border:0;background:none;padding:0;color:var(--forest);text-decoration:none;text-transform:uppercase;letter-spacing:.06em;font-size:.78rem;font-weight:700;cursor:pointer}.text-link:hover{text-decoration:underline;text-underline-offset:.3em}
.home-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);min-height:calc(100vh - 76px - 96px)}.home-left{padding:clamp(3.5rem,7vw,7rem) clamp(2rem,6vw,7rem) 3.5rem 0;border-right:1px solid var(--line)}.home-left .lead{margin:.2rem 0 3rem}.insights-preview{margin-top:2rem}.preview-heading{display:flex;gap:1rem;align-items:baseline}.preview-heading .eyebrow:before{display:none}.preview-heading span{color:var(--muted);font-size:.82rem}.preview-item{display:grid;grid-template-columns:36px 1fr auto;gap:1rem;padding:1rem 0;border-top:1px solid var(--line);text-decoration:none}.preview-number{color:var(--clay);font-size:.77rem;font-weight:700}.preview-title{font-family:var(--serif);font-size:clamp(1.15rem,1.6vw,1.48rem);line-height:1.15}
.home-right{padding:clamp(3rem,5vw,5.5rem) 0 3rem clamp(2rem,5vw,4.5rem);display:flex;flex-direction:column}.portrait-placeholder{width:100%;aspect-ratio:4/3;background:#e8e1d7;display:grid;place-items:center;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.76rem}.home-bio{margin-top:1.5rem}.home-bio h2{font-family:var(--sans);text-transform:uppercase;letter-spacing:.1em;font-size:.8rem;color:var(--forest);margin-bottom:.8rem}.home-bio p{margin:0 0 1rem}.home-reflection{margin-top:auto;background:var(--pale);padding:1.4rem}.home-reflection .eyebrow:before{display:none}.testimonial-rotator{position:relative;min-height:185px}.testimonial-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;pointer-events:none}.testimonial-slide.is-active{opacity:1;pointer-events:auto}.testimonial-slide blockquote{font-family:var(--serif);font-style:italic;font-size:1.02rem;margin:.6rem 0 1rem}.testimonial-slide p{display:flex;flex-direction:column;color:var(--muted);font-size:.8rem;margin:0}.testimonial-slide strong{color:var(--forest)}
.about-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.55fr);gap:clamp(3rem,8vw,8rem);padding-top:clamp(3rem,6vw,6rem);padding-bottom:4rem}.circle-portrait{width:min(100%,360px);aspect-ratio:1;border-radius:50%;background:#e8e1d7;display:grid;place-items:center;color:var(--muted);text-align:center}.bio-copy{padding-top:2rem;font-size:clamp(1rem,1.2vw,1.13rem);max-width:54rem}.bio-copy p{margin:0 0 1.7rem}.bio-link-row{border-top:1px solid var(--line);padding-top:1rem;margin-top:2rem}
.insights-page{padding-top:clamp(3rem,6vw,5.5rem);padding-bottom:5rem}.insights-title{max-width:50rem}.insights-title h1{font-size:clamp(3rem,5vw,5rem)}.insights-title h1 span{display:block;color:var(--forest);font-style:italic;font-size:.72em;margin-top:.2em;font-weight:400}.insights-editorial{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(2.5rem,5vw,5rem);margin-top:clamp(3rem,6vw,6rem)}.featured-insight{background:#eeeae0;padding:clamp(1.8rem,4vw,3.4rem);min-height:330px;display:flex;flex-direction:column;text-decoration:none}.featured-insight h2{font-size:clamp(2rem,3.2vw,3.4rem);margin-top:1.4rem}.featured-insight .text-link{margin-top:auto}.insight-index{border-top:1px solid var(--line)}.insight-row{display:grid;grid-template-columns:48px 1fr 28px;gap:1rem;padding:1.4rem 0 1.6rem;border-bottom:1px solid var(--line);text-decoration:none}.insight-row .num{color:var(--clay);font-size:.8rem;font-weight:700}.insight-row .title{font-family:var(--serif);font-size:clamp(1.25rem,2vw,1.85rem);line-height:1.15}
.article-page{max-width:980px;margin:auto;padding:5rem var(--pad) 7rem}.article-page h1{font-size:clamp(3rem,6vw,5.4rem)}.article-meta{color:var(--muted);margin-top:1rem}.article-placeholder{margin-top:4rem;border-top:1px solid var(--line);padding-top:2rem;font-family:var(--serif);font-style:italic;color:var(--muted)}
.contact-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:clamp(3rem,8vw,8rem);min-height:calc(100vh - 76px - 96px);align-items:center;padding-top:3rem;padding-bottom:3rem}.contact-copy h1{font-size:clamp(3.2rem,6vw,5.8rem)}.contact-copy .lead{margin:1.5rem 0}.contact-panel{background:var(--pale);padding:clamp(1.8rem,4vw,3rem)}.contact-item{padding:1.25rem 0;border-bottom:1px solid var(--line)}.contact-item:last-child{border-bottom:0}.contact-item>span{display:block;color:var(--forest);text-transform:uppercase;letter-spacing:.1em;font-weight:700;font-size:.72rem;margin-bottom:.5rem}.contact-item a,.contact-item em{font-family:var(--serif);font-size:clamp(1.2rem,2vw,1.65rem);text-decoration:none;font-style:normal}
.site-footer{min-height:96px;background:var(--sage);display:flex;align-items:center;justify-content:center;padding:1.25rem var(--pad)}.footer-rotator{position:relative;width:min(100%,var(--max));min-height:2em;display:grid;place-items:center}.footer-phrase{position:absolute;opacity:0;transform:translateY(4px);transition:opacity .8s ease,transform .8s ease;text-transform:uppercase;letter-spacing:.16em;font-size:clamp(1rem,1.7vw,1.3rem);font-weight:700;color:var(--forest)}.footer-phrase.is-active{opacity:1;transform:none}
.reflections-modal{width:min(980px,calc(100% - 2rem));max-height:82vh;border:1px solid var(--line);padding:0;background:var(--paper);color:var(--charcoal);box-shadow:0 22px 80px rgba(25,35,29,.22)}.reflections-modal::backdrop{background:rgba(30,35,32,.55);backdrop-filter:blur(3px)}.modal-shell{padding:clamp(1.5rem,4vw,3rem)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:1.2rem;position:sticky;top:0;background:var(--paper);z-index:2}.modal-header .eyebrow:before{display:none}.modal-close{border:0;background:none;color:var(--forest);font-size:2.4rem;cursor:pointer}.reflection-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 2rem}.reflection-card{padding:1.6rem 0;border-bottom:1px solid var(--line)}.reflection-card blockquote{margin:0;font-family:var(--serif);font-size:1.04rem;line-height:1.48}.reflection-card p{display:flex;flex-direction:column;color:var(--muted);font-size:.8rem}.reflection-card strong{color:var(--forest)}
@media(max-width:900px){.site-header{height:auto;padding-top:1rem;padding-bottom:1rem;gap:1rem}.site-nav{flex-wrap:wrap}.home-grid,.about-layout,.insights-editorial,.contact-layout{grid-template-columns:1fr}.home-left{border-right:0;border-bottom:1px solid var(--line);padding-right:0}.home-right{padding-left:0}.reflection-grid{grid-template-columns:1fr}.circle-portrait{width:min(74vw,340px)}}@media(max-width:600px){.site-header{display:block}.site-nav{margin-top:.8rem;gap:1rem;font-size:.85rem}.testimonial-rotator{min-height:235px}.site-footer{min-height:88px}.footer-phrase{font-size:.88rem;text-align:center}}@media(prefers-reduced-motion:reduce){.testimonial-slide,.footer-phrase{transition:none}}

/* Professional portrait */
.portrait-photo{overflow:hidden;padding:0}
.portrait-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 24%}
.circle-portrait.portrait-photo img{border-radius:50%;object-position:50% 24%}
/* Homepage footer intentionally clean */
.home-clean-footer{min-height:96px;background:var(--sage)}

/* Progressive one-line footer: phrases appear one by one and remain visible */
.progressive-footer{min-height:96px;background:var(--sage);display:flex;align-items:center;justify-content:center;padding:1.25rem var(--pad)}
.footer-progressive{
  width:min(100%,var(--max));
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(1.1rem,2.8vw,3.2rem);
  white-space:nowrap;
  color:var(--forest);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:clamp(.88rem,1.25vw,1.08rem);
  font-weight:700;
}
.progressive-item{
  opacity:0;
  transform:translateY(3px);
  transition:opacity .75s ease,transform .75s ease;
}
.progressive-item.is-visible{opacity:1;transform:none}
.progressive-item b{font-weight:700;margin-right:clamp(.45rem,.8vw,.8rem)}
@media(max-width:760px){
  .footer-progressive{gap:.55rem;white-space:normal;flex-wrap:wrap;line-height:1.8;text-align:center;font-size:.82rem}
  .progressive-item b{margin-right:.35rem}
}
@media(prefers-reduced-motion:reduce){
  .progressive-item{opacity:1;transform:none;transition:none}
}

/* Language switch */
.lang-switch{display:inline-flex;align-items:center;gap:.35rem;margin-left:.55rem;padding-left:.85rem;border-left:1px solid var(--line);white-space:nowrap}
.lang-link{font-size:.74rem!important;letter-spacing:.08em;font-weight:600;color:var(--muted)!important}
.lang-link.active{color:var(--forest)!important;font-weight:700;text-decoration:underline;text-underline-offset:.28em}
@media(max-width:760px){.lang-switch{width:100%;margin:.35rem 0 0;padding:.5rem 0 0;border-left:0;border-top:1px solid var(--line)}}


/* Homepage typography refinements — Aug 2026 */
.home-hero h1,
.home-hero h1 *,
.hero h1,
.hero h1 *,
body.home h1,
body.home h1 * {
  color: #171a18 !important;
}

.home-hero .eyebrow,
.home-hero .tagline,
.hero .eyebrow,
.hero .tagline,
body.home .eyebrow,
body.home .tagline {
  font-size: 1.08em;
}

.home-hero .intro,
.home-hero .hero-copy,
.home-hero .hero-description,
.hero .intro,
.hero .hero-copy,
.hero .hero-description,
body.home .intro,
body.home .hero-copy,
body.home .hero-description {
  font-style: italic;
}


/* Site color refinement — green header band, clean homepage footer */
:root {
  --td-header-green: #aabbb0;
  --td-header-ink: #20382f;
  --td-header-muted: #40564d;
}

/* Green top/header area across all pages */
header,
.site-header,
.topbar,
.navbar {
  background-color: var(--td-header-green) !important;
}

/* Make branding and navigation readable on green */
header a,
header .brand,
header .logo,
header nav a,
.site-header a,
.site-header .brand,
.site-header .logo,
.site-header nav a,
.topbar a,
.navbar a {
  color: var(--td-header-ink) !important;
}

/* Softer secondary header text, if present */
header .muted,
.site-header .muted {
  color: var(--td-header-muted) !important;
}

/* Homepage bottom should be clean, not green */
body.home footer,
body.home .site-footer,
body.home .bottom-band,
body.home .footer-band {
  background: #f7f3ea !important;
}

/* Preserve strong contrast for homepage hero title */
body.home h1,
body.home h1 * {
  color: #171a18 !important;
}


/* More breathing room between the homepage bio link and testimonial box */
.home-right .home-reflection {
  margin-top: 3.25rem !important;
}
@media (max-width: 760px) {
  .home-right .home-reflection {
    margin-top: 2.5rem !important;
  }
}

/* Audited homepage corrections */
.home-left h1,
.home-left h1 span {
  color: #171a18 !important;
}

.home-left .hero-actions {
  font-size: clamp(1.12rem, 1.5vw, 1.30rem) !important;
  line-height: 1.45;
}

.home-left > .lead {
  font-family: var(--serif);
  font-style: italic;
}

/* Homepage bottom is intentionally clean/light, not green */
.home-clean-footer {
  background: var(--ivory) !important;
  min-height: 72px;
}

/* Keep the green header readable */
.site-header {
  background: var(--td-header-green, #aabbb0) !important;
}
.site-header .brand,
.site-header nav a {
  color: var(--td-header-ink, #20382f) !important;
}


/* TD Insights title area: clean light background, no green block */
.insights-page .insights-title,
.insights-title {
  background: transparent !important;
  background-color: transparent !important;
}

/* Progressive footer — continuous cycle + responsive sizing across EN/DE/FR */
.progressive-footer {
  min-height: clamp(78px, 9vw, 100px);
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.9rem, 2vw, 1.35rem) var(--pad);
}

.footer-progressive {
  width: min(100%, var(--max));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(.55rem, 1.7vw, 1.7rem);
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: clamp(.055em, .11vw, .11em);
  font-size: clamp(.72rem, 1.05vw, 1rem);
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.progressive-item {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .72s ease, transform .72s ease;
  white-space: nowrap;
}

.progressive-item.is-visible {
  opacity: 1;
  transform: none;
}

.progressive-item b {
  font-weight: 700;
  margin-right: clamp(.28rem, .55vw, .55rem);
}

/* Tablet / portrait screens: allow a balanced two-line wrap if needed */
@media (max-width: 980px) {
  .footer-progressive {
    flex-wrap: wrap;
    row-gap: .45rem;
    column-gap: clamp(.65rem, 2vw, 1.25rem);
    font-size: clamp(.70rem, 1.55vw, .90rem);
    letter-spacing: .065em;
  }
  .progressive-item {
    white-space: nowrap;
  }
}

/* Phones / narrow portrait: smaller but still legible */
@media (max-width: 640px) {
  .progressive-footer {
    min-height: 92px;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .footer-progressive {
    font-size: clamp(.66rem, 2.9vw, .82rem);
    line-height: 1.5;
    row-gap: .35rem;
    column-gap: .7rem;
    max-width: 95vw;
  }
  .progressive-item b {
    margin-right: .22rem;
  }
}

/* Very narrow screens: let each phrase breathe rather than squeeze */
@media (max-width: 390px) {
  .footer-progressive {
    font-size: .68rem;
    gap: .28rem .55rem;
  }
}

/* Wide landscape: a single elegant line */
@media (min-width: 1200px) {
  .footer-progressive {
    flex-wrap: nowrap;
    font-size: clamp(.86rem, .92vw, 1.02rem);
    gap: clamp(1rem, 2.2vw, 2.25rem);
    letter-spacing: .105em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progressive-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Footer separators intentionally removed; spacing alone separates phrases */
.footer-progressive .progressive-item b { display: none !important; }


/* Original portrait: preserve photo exactly; center face in all website photo frames */
img[src*="ekaterina-original"] {
  object-fit: cover !important;
  object-position: 50% 31% !important;
}

/* Rectangular portrait locations */
.hero img[src*="ekaterina-original"],
.portrait img[src*="ekaterina-original"],
.profile-photo img[src*="ekaterina-original"],
.bio-photo img[src*="ekaterina-original"],
.about-photo img[src*="ekaterina-original"] {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 31% !important;
}

/* Circular portrait locations */
.avatar img[src*="ekaterina-original"],
.circle img[src*="ekaterina-original"],
.profile-circle img[src*="ekaterina-original"],
img.rounded[src*="ekaterina-original"],
img[src*="ekaterina-original"].avatar {
  object-fit: cover !important;
  object-position: 50% 29% !important;
}

/* Photo framing correction:
   keep the ORIGINAL portrait untouched, but force a true crop inside each frame
   so the face sits centrally and excess background does not dominate. */
.portrait-placeholder.portrait-photo {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  overflow: hidden !important;
  display: block !important;
}

.portrait-placeholder.portrait-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 34% !important;
  display: block !important;
}

/* About-page circle: center the face in the circle and clip cleanly. */
.circle-portrait.portrait-photo {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  display: block !important;
}

.circle-portrait.portrait-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 34% !important;
  border-radius: 50% !important;
  display: block !important;
}

/* Slightly tighter portrait crop on narrow/vertical screens. */
@media (max-width: 760px) {
  .portrait-placeholder.portrait-photo img {
    object-position: 50% 31% !important;
  }
  .circle-portrait.portrait-photo img {
    object-position: 50% 32% !important;
  }
}

/* Footer spacing refinement — wider, proportional spacing across EN / DE / FR */
.footer-progressive {
  width: min(100%, var(--max));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-inline: clamp(.5rem, 1.4vw, 1.4rem);
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: clamp(.05em, .09vw, .10em);
  font-size: clamp(.72rem, 1.0vw, .98rem);
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.footer-progressive .progressive-item {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: clamp(.45rem, 1.2vw, 1.1rem);
  white-space: nowrap;
}

/* Medium screens: preserve visual spread but permit graceful wrapping */
@media (max-width: 980px) {
  .footer-progressive {
    justify-content: center;
    gap: clamp(.8rem, 2.4vw, 1.5rem);
    flex-wrap: wrap;
    padding-inline: 0;
    font-size: clamp(.70rem, 1.45vw, .88rem);
    letter-spacing: .06em;
  }

  .footer-progressive .progressive-item {
    flex: 0 1 auto;
    padding-inline: .35rem;
  }
}

/* Portrait tablets and phones: two balanced rows when needed */
@media (max-width: 700px) {
  .progressive-footer {
    min-height: 98px;
  }

  .footer-progressive {
    max-width: 94vw;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 1rem;
    font-size: clamp(.68rem, 2.5vw, .82rem);
    line-height: 1.45;
  }

  .footer-progressive .progressive-item {
    white-space: normal;
    padding-inline: .15rem;
  }
}

/* Very narrow portrait screens: stack cleanly if translations become too long */
@media (max-width: 430px) {
  .footer-progressive {
    grid-template-columns: 1fr;
    gap: .32rem;
    font-size: clamp(.66rem, 3.5vw, .78rem);
  }
}

/* Wide landscape screens: maximize elegant horizontal spread */
@media (min-width: 1200px) {
  .footer-progressive {
    padding-inline: clamp(1.5rem, 3vw, 3.5rem);
    font-size: clamp(.84rem, .9vw, 1rem);
  }

  .footer-progressive .progressive-item {
    padding-inline: clamp(.75rem, 1.5vw, 1.5rem);
  }
}

/* German homepage title: fit comfortably within the left half */
html[lang="de"] .home-left h1 {
  font-size: clamp(2.65rem, 5.4vw, 5.25rem) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
  max-width: 100% !important;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
html[lang="de"] .home-left h1 span {
  display: block;
}

/* Slightly tighter on medium landscape/tablet widths */
@media (max-width: 1180px) and (min-width: 901px) {
  html[lang="de"] .home-left h1 {
    font-size: clamp(2.45rem, 4.9vw, 4.4rem) !important;
  }
}

/* On stacked/mobile layout allow normal responsive scaling */
@media (max-width: 900px) {
  html[lang="de"] .home-left h1 {
    font-size: clamp(2.65rem, 10.5vw, 4.8rem) !important;
  }
}

/* Keep testimonial link clearly separated from rotating attribution */
html[lang="de"] .home-reflection {
  padding-bottom: 1.5rem;
}
html[lang="de"] .testimonial-rotator {
  margin-bottom: 1.5rem !important;
}
html[lang="de"] .reflection-link {
  display: inline-flex !important;
  position: relative !important;
  z-index: 3;
  margin-top: .8rem !important;
  clear: both;
}

/* German rotating testimonials need a little more vertical room */
html[lang="de"] .german-testimonial-rotator {
  min-height: 235px !important;
}
@media (max-width: 760px) {
  html[lang="de"] .german-testimonial-rotator {
    min-height: 285px !important;
  }
}

/* Portrait refinement: show the person slightly smaller with more breathing room.
   Original image file is unchanged. */

/* Homepage rectangular portrait */
.portrait-placeholder.portrait-photo {
  background: #e8e2d9 !important;
  overflow: hidden !important;
}
.portrait-placeholder.portrait-photo img {
  width: 88% !important;
  height: 88% !important;
  inset: 6% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
}

/* Bio/About circular portrait */
.circle-portrait.portrait-photo {
  background: #e8e2d9 !important;
  overflow: hidden !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.circle-portrait.portrait-photo img {
  width: 86% !important;
  height: 86% !important;
  inset: 7% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
}

/* Vertical/tablet/mobile: keep Bio portrait centered in its column */
@media (max-width: 900px) {
  .circle-portrait.portrait-photo {
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
    justify-self: center !important;
  }

  .about-photo,
  .bio-photo,
  .about-portrait,
  .bio-portrait {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    align-self: center !important;
    text-align: center !important;
  }

  .portrait-placeholder.portrait-photo img {
    width: 90% !important;
    height: 90% !important;
    inset: 5% !important;
  }

  .circle-portrait.portrait-photo img {
    width: 84% !important;
    height: 84% !important;
    inset: 8% !important;
  }
}

/* Portrait sizing midpoint: halfway between the previous tight crop and the latest smaller portrait. */
.portrait-placeholder.portrait-photo img {
  width: 94% !important;
  height: 94% !important;
  inset: 3% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
}

.circle-portrait.portrait-photo img {
  width: 93% !important;
  height: 93% !important;
  inset: 3.5% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
}

/* Keep the Bio portrait centered on vertical/tablet/mobile layouts. */
@media (max-width: 900px) {
  .portrait-placeholder.portrait-photo img {
    width: 95% !important;
    height: 95% !important;
    inset: 2.5% !important;
  }

  .circle-portrait.portrait-photo {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    align-self: center !important;
  }

  .circle-portrait.portrait-photo img {
    width: 92% !important;
    height: 92% !important;
    inset: 4% !important;
  }
}

/* Final portrait framing:
   Fill each website frame completely with the original photo.
   Breathing room comes from the original background around the person,
   NOT from visible edges/borders of the source image. */

/* Homepage rectangle */
.portrait-placeholder.portrait-photo {
  overflow: hidden !important;
}
.portrait-placeholder.portrait-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 35% !important;
}

/* Bio/About circle */
.circle-portrait.portrait-photo {
  overflow: hidden !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.circle-portrait.portrait-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 35% !important;
}

/* Vertical/mobile: preserve centered circle and balanced crop */
@media (max-width: 900px) {
  .circle-portrait.portrait-photo {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    align-self: center !important;
  }
  .portrait-placeholder.portrait-photo img {
    object-position: 50% 34% !important;
  }
  .circle-portrait.portrait-photo img {
    object-position: 50% 34% !important;
  }
}

/* New portrait image framing */
.portrait-placeholder.portrait-photo,
.circle-portrait.portrait-photo {
  overflow: hidden !important;
}
.portrait-placeholder.portrait-photo img,
.circle-portrait.portrait-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 42% !important;
}
@media (max-width: 900px) {
  .circle-portrait.portrait-photo {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
  }
  .portrait-placeholder.portrait-photo img,
  .circle-portrait.portrait-photo img {
    object-position: 50% 40% !important;
  }
}

/* Latest supplied portrait — centered, full-frame crop, no source-image borders */
.portrait-placeholder.portrait-photo,
.circle-portrait.portrait-photo {
  overflow: hidden !important;
}
.portrait-placeholder.portrait-photo img,
.circle-portrait.portrait-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: 50% 44% !important;
}
@media (max-width: 900px) {
  .circle-portrait.portrait-photo {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    align-self: center !important;
  }
  .portrait-placeholder.portrait-photo img,
  .circle-portrait.portrait-photo img {
    object-position: 50% 43% !important;
  }
}

/* Typography for published TD Insights articles */
.article-content{max-width:760px;margin-top:3.25rem;font-family:var(--serif);font-size:clamp(1.1rem,1.55vw,1.28rem);line-height:1.8;}
.article-content p{margin:0 0 1.45em;}
.article-content ul{margin:0 0 1.65em;padding-left:1.55em;}
.article-content li{padding-left:.15em;margin-bottom:.8em;}
.article-content li::marker{color:var(--muted);}

/* Subtle copyright line across TD.education pages */
.td-copyright{display:block;text-align:center;font-family:var(--sans, sans-serif);font-size:.72rem;letter-spacing:.035em;opacity:.65;padding:.65rem 1rem 1rem;}

/* Compact homepage portrait on vertically oriented mobile/tablet screens only.
   The original photo, crop and desktop layout are unchanged. */
@media (max-width: 900px) and (orientation: portrait) {
  .home-right .portrait-placeholder.portrait-photo {
    width: min(78vw, 330px) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Phone-only refinements, October 2026. Tablet and desktop unaffected. */
@media (max-width: 600px) {
  /* Keep the four footer statements stacked, but centered. */
  .footer-progressive {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
    max-width: 100%;
  }
  .footer-progressive .progressive-item {
    display: block;
    width: 100%;
    text-align: center !important;
    margin-inline: auto;
  }

  /* TD Insights: compact the introductory headline and featured card. */
  .insights-page { padding-top: 2.5rem; }
  .insights-title h1 { font-size: clamp(2.45rem, 10.2vw, 3.25rem); }
  .insights-editorial { margin-top: 2.1rem; }
  .featured-insight { min-height: 0; }
  .featured-insight h2 { font-size: clamp(1.85rem, 7.6vw, 2.45rem); }

  /* About: preserve copy and paragraphs; improve phone reading rhythm. */
  .about-layout { padding-top: 2.5rem; padding-bottom: 3rem; gap: 2rem; }
  .bio-copy { padding-top: .5rem; font-size: 1rem; line-height: 1.65; }
  .bio-copy p { margin-bottom: 1.25rem; }
  .bio-link-row { margin-top: 1.5rem; }
}
