.profile-page { --container: 1440px; }
.profile-site-nav { margin-left:auto; display:flex; flex-wrap:wrap; gap:24px; font:800 16px var(--font-ui); text-transform:uppercase; }
.profile-site-nav [aria-current] { text-decoration:underline; text-underline-offset:7px; }
.profile-page a:hover { text-decoration:underline; text-underline-offset:4px; }
.profile-page :is(h1,h2,h3,p,dd,a) { overflow-wrap:break-word; }
.profile-hero { grid-template-columns:minmax(0,6fr) minmax(0,5fr); gap:clamp(24px,4vw,64px); padding-bottom:32px; }
.profile-hero .u-hero-copy { padding:20px 0; gap:20px; }
.profile-hero h1 { max-width:740px; text-wrap:balance; hyphens:none !important; }
.profile-role { font:700 clamp(18px,1.8vw,25px)/1.3 var(--font-ui); max-width:540px; }
.profile-hero p.u-lead { font-size:clamp(17px,1.4vw,21px); line-height:1.55; max-width:640px; }
.profile-byline { display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:auto; padding-top:18px; font-size:12px; line-height:1.6; }
.profile-byline time { color:#4d4d4d; }
.profile-hero .profile-media { display:flex; flex-direction:column; align-self:start; }
.profile-hero .profile-media picture { height:auto; aspect-ratio:1/1; overflow:hidden; background:#f2f2f2; }
.profile-hero .profile-media img { min-height:0; max-height:none; height:100%; aspect-ratio:auto; object-fit:cover; }
.profile-page--company .profile-media picture { aspect-ratio:4/5; background:#f2f2f2; }
.profile-page--company .profile-media img { object-fit:contain; }
.profile-page--company .profile-media img[src*="ostrov-rechi"],
.profile-page--company .profile-media img[src*="remarka"] { width:72%; height:72%; margin:14% auto; }
.profile-hero .profile-media figcaption { position:static; border:0; border-bottom:1px solid #999; margin:0; padding:12px 0; max-width:none; font-size:12px; background:white; }
.profile-typographic { position:relative; display:flex; flex-direction:column; justify-content:space-between; width:100%; aspect-ratio:1/1; background:#eeeae3; padding:32px; overflow:hidden; }
.profile-typographic::before { content:""; position:absolute; width:85%; height:85%; border:1px solid #bdb7aa; border-radius:50%; right:-25%; bottom:-25%; pointer-events:none; }
.profile-typographic-label { font:700 12px var(--font-ui); letter-spacing:.15em; }
.profile-monogram { z-index:1; font:500 clamp(90px,14vw,210px)/1 var(--font-display); letter-spacing:-.07em; }
.profile-monogram--company { font:900 clamp(35px,5.8vw,78px)/1 var(--font-ui); letter-spacing:-.04em; }
.profile-typographic-topic { font:700 14px var(--font-ui); text-transform:uppercase; }
.profile-page--company .profile-typographic { background:#20201f; color:#fff; }
.profile-local-nav { display:flex; flex-wrap:wrap; gap:12px 30px; padding:20px 0; border-top:4px solid; border-bottom:1px solid #999; font:800 15px var(--font-ui); text-transform:uppercase; }
.profile-local-nav a { padding:5px 0; }
.profile-about { display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(24px,4vw,64px); padding-top:32px; border-top:0; }
.profile-about .u-prose { max-width:720px; }
.profile-passport { border-left:1px solid #999; padding-left:28px; min-width:0; }
.profile-passport h2 { font-size:24px; }
.profile-passport .u-passport > div { grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); }
.profile-directions .u-directions { border-top:0; grid-template-columns:repeat(var(--direction-count),minmax(0,1fr)); }
.profile-directions .u-direction { min-width:0; }
.profile-directions .u-direction > div { min-width:0; overflow-wrap:anywhere; }
.profile-directions .u-number { font-size:50px; }
.profile-directions .u-direction h3 { font-size:25px; }
.profile-history { list-style:none; padding:0; margin:24px 0 0; }
.profile-history li { display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,5fr); gap:24px; border-top:1px solid #999; padding:22px 0; }
.profile-history li > span { font:800 22px var(--font-ui); }
.profile-history h3 { font:700 26px/1.2 var(--font-display); margin-bottom:8px; }
.profile-history p { font-size:15px; line-height:1.65; max-width:700px; }
.profile-topics { list-style:none; padding:0; margin:24px 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 40px; }
.profile-topics li { border-top:1px solid #999; padding:18px 0; font:600 23px/1.35 var(--font-display); }
.profile-links { list-style:none; padding:0; display:flex; gap:20px; flex-wrap:wrap; margin:24px 0 0; }
.profile-links li { min-width:min(250px,100%); }
.profile-links a { display:flex; justify-content:space-between; gap:30px; border:1px solid; padding:16px 20px; font-weight:600; }
.profile-source { display:grid; grid-template-columns:1fr 1fr; gap:28px; color:#4d4d4d; }
.profile-source h2 { font:800 17px var(--font-ui); margin-bottom:12px; color:#000; }
.profile-source p { font-size:13px; line-height:1.7; max-width:650px; }
.profile-source a { text-decoration:underline; }
.profile-related { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; }
.profile-related article { min-width:0; border-bottom:1px solid #999; padding-bottom:22px; }
.profile-related h3 { font:700 29px/1.2 var(--font-display); margin:14px 0; }
.profile-related article > p:last-child { font-size:14px; line-height:1.6; }
.profile-footer { grid-template-columns:1fr 2fr 1fr; }
.profile-footer > p:last-child { text-align:right; }
@media (max-width:1100px) { .profile-site-nav { gap:20px; } .profile-hero h1 { font-size:clamp(40px,5vw,60px) !important; } .profile-directions .u-direction { padding:0 12px; gap:12px; } .profile-directions .u-direction:first-child { padding-left:0; } }
@media (max-width:767px) {
  .profile-page .u-header { flex-wrap:wrap; align-items:flex-end; }
  .profile-site-nav { width:100%; margin:8px 0 0; justify-content:space-between; gap:10px; font-size:14px; }
  .profile-site-nav a { padding:8px 0; }
  .profile-hero { grid-template-columns:1fr; gap:22px; }
  .profile-hero .u-hero-copy { padding:8px 0 0; gap:18px; }
  .profile-hero h1 { font-size:clamp(38px,9vw,60px) !important; }
  .profile-hero .profile-media { width:100%; max-width:560px; justify-self:center; }
  .profile-hero .profile-media picture { aspect-ratio:5/4; }
  .profile-typographic { aspect-ratio:5/4; padding:24px; }
  .profile-monogram { font-size:150px; }
  .profile-monogram--company { font-size:clamp(42px,12vw,78px); }
  .profile-about { grid-template-columns:1fr; gap:28px; }
  .profile-passport { border-left:0; padding:24px 0 0; border-top:1px solid #999; }
  .profile-directions .u-directions { grid-template-columns:1fr; }
  .profile-directions .u-direction { padding:0; }
  .profile-source, .profile-topics { grid-template-columns:1fr; }
  .profile-related { grid-template-columns:1fr 1fr; gap:24px; }
  .profile-footer { grid-template-columns:1fr 2fr; }
  .profile-footer > p:last-child { grid-column:1/-1; text-align:left; }
}
@media (max-width:480px) { .profile-passport .u-passport > div { grid-template-columns:1fr; gap:7px; } .profile-related { grid-template-columns:1fr; } .profile-history li { grid-template-columns:1fr; gap:10px; } .profile-hero .profile-media picture { aspect-ratio:1/1; } .profile-typographic { aspect-ratio:1/1; } }
@media (max-width:360px) { .profile-page--company .profile-hero h1 { font-size:32px !important; } }
.profile-hero .profile-media--portrait picture { aspect-ratio:4/5; }
@media print { .profile-site-nav,.profile-local-nav,.profile-related,.u-breadcrumb { display:none; } .profile-hero { grid-template-columns:3fr 2fr; } .profile-hero h1 { font-size:38px !important; } .profile-about { grid-template-columns:1fr; } .profile-page { width:100%; } a { text-decoration:none; } }
