/* pnikolov.eu 2.7 - Homepage editorial refresh. Scoped to .home-v27.
   All internal navigation uses the same browser tab; no DB changes. */
.home-v27{background:#f9f8f4}
.home-v27 .site-header{background:rgba(250,249,246,.96)}
.home-v27 .brand strong{font-size:17px}
.home-v27 .brand small{font-size:10px;letter-spacing:.12em}
.home-v27 .main-nav>a{font-size:13px}
.home-v27 .hero-v27{background:#f9f8f4;isolation:isolate}
.home-v27 .hero-v27-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:clamp(26px,5vw,75px);padding-top:75px;padding-bottom:48px;min-height:660px;align-items:stretch}
.home-v27 .hero-v27-copy{padding:26px 0 20px;display:flex;flex-direction:column;align-items:flex-start}
.home-v27 .hero-v27-eyebrow{display:inline-flex;align-items:center;gap:13px;color:#0b7667;font-size:12px;font-weight:800;letter-spacing:.13em}
.home-v27 .hero-v27 h1{font-size:clamp(3.3rem,5.5vw,5.7rem);max-width:730px;line-height:1.08;letter-spacing:-.075em;margin:39px 0 16px;text-wrap:balance;overflow-wrap:normal}
.home-v27 .hero-v27-secondary{font-family:Manrope,'DM Sans',system-ui,sans-serif;font-size:clamp(1.55rem,2.8vw,2.55rem);line-height:1.25;letter-spacing:-.045em;font-weight:750;color:#087d6f;margin:0 0 24px;text-wrap:balance}
.home-v27 .hero-v27-lead{font-size:clamp(16px,1.4vw,18px);line-height:1.76;color:#586873;max-width:660px;margin:0;max-width:64ch}
.home-v27 .hero-v27-actions{display:flex;gap:30px;align-items:center;flex-wrap:wrap;margin-top:31px}
.home-v27 .hero-v27-actions .btn{padding:17px 24px;font-size:15px}
.home-v27 .hero-v27-actions .text-link{font-size:15px}
.home-v27 .hero-v27-motto{display:grid;grid-template-columns:1fr;gap:4px;padding:20px 0 0;border-top:1px solid #d7e0dc;width:100%;margin-top:auto;padding-top:24px}
.home-v27 .hero-v27-motto-label{font-size:11px;font-weight:800;letter-spacing:.15em;color:#818c8b}
.home-v27 .hero-v27-motto-quote{display:block;font:italic 500 clamp(28px,2.75vw,39px)/1.23 Georgia,'Times New Roman',serif;letter-spacing:-.02em;color:#19443f;margin-top:5px}
.home-v27 .hero-v27-motto-author{display:block;font-size:13px;color:#66757b;line-height:1.5}
.home-v27 .hero-v27-visual{position:relative;min-height:560px;background:radial-gradient(circle at 76% 72%,#cee9df 0,transparent 57%),#e8f3ed;border-radius:24px;overflow:hidden;border:1px solid #dbeae1;isolation:isolate}
.home-v27 .hero-v27-visual-pattern{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#0d695619 1px,transparent 1px),linear-gradient(90deg,#0d695619 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(180deg,#0006,#0000)}
.home-v27 .hero-v27-image-area{position:absolute;inset:27px 29px 93px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#f1eee2 0%,#e1eee3 70%,#b9e0d1 100%);overflow:hidden}
.home-v27 .hero-v27-image-area::after{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid #ffffff91;border-radius:15px}
.home-v27 .hero-v27-monogram-wrap{display:grid;place-items:center;aspect-ratio:1;width:min(72%,320px);border-radius:50%;background:radial-gradient(circle at 35% 25%,#fdfcf5,#d5e5db);box-shadow:0 14px 45px #18443714,0 0 0 22px #ffffff42}
.home-v27 .hero-v27-monogram{width:48%;height:auto;transform:rotate(-4deg);filter:drop-shadow(5px 10px 15px #102b221c)}
.home-v27 .hero-v27-portrait{width:100%;height:100%;object-fit:cover;object-position:center 32%}
.home-v27 .hero-v27-visual--photo .hero-v27-image-area{background:#d9dfd8}
.home-v27 .hero-v27-visual-caption{position:absolute;bottom:27px;left:30px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:800;letter-spacing:.11em;color:#276b5c;white-space:nowrap}
.home-v27 .hero-v27-visual-separator{height:1px;background:#8abca9;flex:1;margin:0 6px}
.home-v27 .hero-v27-sticker{position:absolute;top:56px;left:0;background:#112e34;color:#f4fbf6;padding:16px 20px;border-radius:0 12px 12px 0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;box-shadow:0 14px 28px #17443724;transform:translateX(-1px)}
.home-v27 .hero-v27-sticker span{font-size:10px;letter-spacing:.12em;font-weight:800}
.home-v27 .hero-v27-sticker strong{font-size:23px;line-height:1.1;letter-spacing:-.06em}
.home-v27 .hero-v27-bottom{display:flex;justify-content:space-between;align-items:center;gap:28px;padding-top:3px;padding-bottom:25px;font-size:12px;color:#74817d;border-bottom:1px solid #e0e9e2}
.home-v27 .hero-v27-bottom a{color:#176e5f;white-space:nowrap;font-weight:800}
.home-v27 .hero-v27-bottom a span{font-size:18px;margin-left:8px}
.home-v27 .career-v27{background:#eef4ed}
.home-v27 .career-v27 .career-fact{padding-top:31px;padding-bottom:31px}
.home-v27 .career-v27 .career-fact strong{font-size:clamp(22px,2.1vw,27px)}
.home-v27 .focus-v27{background:#fff}
.home-v27 .focus-v27-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.87fr);gap:clamp(30px,7vw,95px);align-items:center;margin-bottom:58px}
.home-v27 .focus-v27-intro h2{margin:20px 0 0;max-width:660px}
.home-v27 .focus-v27-accent-line{width:68px;height:5px;background:#157a68;border-radius:20px;margin-top:24px}
.home-v27 .focus-v27-right>p{font-size:17px;line-height:1.86;color:#596c75;margin:0 0 19px;white-space:pre-line}
.home-v27 .principles-v27{gap:18px}
.home-v27 .principles-v27 .principle{background:#f5f7f4;border-color:#e6eee6;min-height:283px;padding:30px}
.home-v27 .principles-v27 .principle:nth-child(2){background:#eff5f1}
.home-v27 .principles-v27 .principle:nth-child(3){background:#f8f5ec}
.home-v27 .principles-v27 .principle-number{font-size:12px;color:#137769}
.home-v27 .principles-v27 .principle-shape{font-size:76px;color:#6fb99a;opacity:.21}
.home-v27 .principles-v27 .principle h3{margin-top:78px;font-size:23px}
.home-v27 .principles-v27 .principle p{font-size:15px;line-height:1.76;color:#576b74}
.home-v27 .home-v27-bridge{background:#176d61;color:white;padding:48px 0}
.home-v27 .home-v27-bridge-inner{display:grid;grid-template-columns:185px minmax(0,1fr) 160px;gap:25px;align-items:center}
.home-v27 .home-v27-bridge-inner>span{font-size:11px;font-weight:800;letter-spacing:.15em;color:#bdeadd}
.home-v27 .home-v27-bridge-inner>p{font-family:Manrope,sans-serif;font-size:clamp(18px,2.1vw,27px);letter-spacing:-.04em;line-height:1.35;font-weight:750;margin:0}
.home-v27 .home-v27-bridge-inner>p em{font-style:normal;color:#c8f0df}
.home-v27 .home-v27-bridge-inner>a{font-size:13px;font-weight:750;line-height:1.5;text-align:right}
.home-v27 .projects-home{background:#132b32}
.home-v27 .projects-home .project-tile p{font-size:15px;line-height:1.7}
.home-v27 .portfolio-home .line-name{font-size:22px}
.home-v27 .portfolio-home .line-intro{font-size:14px}
@media(max-width:1050px){
 .home-v27 .hero-v27-grid{grid-template-columns:minmax(0,1.08fr) minmax(310px,.92fr);gap:30px;padding-top:45px;min-height:570px}
 .home-v27 .hero-v27 h1{font-size:clamp(3rem,5.7vw,4.9rem)}
 .home-v27 .hero-v27-visual{min-height:510px}
 .home-v27 .hero-v27-copy{padding-top:12px}
 .home-v27 .hero-v27-motto{margin-top:26px}
 .home-v27 .home-v27-bridge-inner{grid-template-columns:140px minmax(0,1fr);gap:18px}
 .home-v27 .home-v27-bridge-inner>a{grid-column:2;text-align:left}
}
@media(max-width:760px){
 .home-v27 .brand strong{font-size:15px}.home-v27 .brand small{font-size:9px}
 .home-v27 .hero-v27-grid{display:flex;flex-direction:column;gap:27px;min-height:auto;padding-top:34px;padding-bottom:24px}
 .home-v27 .hero-v27-copy{padding:8px 0 0}
 .home-v27 .hero-v27-eyebrow{font-size:11px;letter-spacing:.105em}
 .home-v27 .hero-v27 h1{font-size:clamp(2.7rem,10.6vw,4.45rem);line-height:1.08;letter-spacing:-.069em;margin:25px 0 16px}
 .home-v27 .hero-v27-secondary{font-size:clamp(1.45rem,5.5vw,2.15rem);margin-bottom:17px}
 .home-v27 .hero-v27-lead{font-size:16px;line-height:1.76}
 .home-v27 .hero-v27-actions{margin-top:25px;gap:10px 25px}
 .home-v27 .hero-v27-actions .btn{font-size:15px}
 .home-v27 .hero-v27-motto{margin-top:30px;padding-top:20px}
 .home-v27 .hero-v27-motto-quote{font-size:31px}
 .home-v27 .hero-v27-visual{min-height:315px;max-height:430px;border-radius:18px}
 .home-v27 .hero-v27-image-area{inset:18px 20px 64px;border-radius:12px}
 .home-v27 .hero-v27-monogram-wrap{width:min(58%,220px)}
 .home-v27 .hero-v27-visual-caption{bottom:22px;left:18px;right:18px;letter-spacing:.06em;font-size:9px}
 .home-v27 .hero-v27-sticker{top:35px;padding:10px 13px}.home-v27 .hero-v27-sticker strong{font-size:19px}
 .home-v27 .hero-v27-bottom{font-size:12px;line-height:1.6;align-items:flex-start}.home-v27 .hero-v27-bottom a{flex-shrink:0}
 .home-v27 .focus-v27-intro{display:flex;flex-direction:column;gap:18px;margin-bottom:36px;align-items:stretch}
 .home-v27 .focus-v27-intro h2{font-size:clamp(2.1rem,8vw,3.1rem)}
 .home-v27 .focus-v27-right>p{font-size:16px}
 .home-v27 .principles-v27 .principle{min-height:215px}.home-v27 .principles-v27 .principle h3{margin-top:55px}
 .home-v27 .home-v27-bridge{padding:35px 0}.home-v27 .home-v27-bridge-inner{display:flex;flex-direction:column;gap:14px;align-items:flex-start}.home-v27 .home-v27-bridge-inner>a{text-align:left}
}
@media(max-width:385px){
 .home-v27 .hero-v27 h1{font-size:2.65rem}
 .home-v27 .hero-v27-bottom a{display:none}
 .home-v27 .hero-v27-visual-caption{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.home-v27 .hero-v27 *{animation:none!important}}
