:root{--plum:#714568;--ink:#292329;--muted:#625a61;--paper:#fffdfb;--blush:#f3ecef;--line:#ded3d9;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:var(--plum);text-underline-offset:5px}a:hover{text-decoration-thickness:2px}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}:focus-visible{outline:3px solid #9a5b88;outline-offset:5px}[hidden]{display:none!important}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.14;letter-spacing:-.025em}h1{font-size:clamp(2.6rem,5.4vw,5rem);margin-bottom:24px}h2{font-size:clamp(2rem,3.2vw,3rem);margin-bottom:24px}h3{font-size:1.5rem;line-height:1.25}p{margin-bottom:20px}strong{font-weight:600}.lead{font-size:1.15rem;max-width:55ch;color:var(--muted)}.small{font-size:.86rem;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.17em;color:var(--plum);font-size:.75rem;font-weight:650;margin-bottom:18px}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,253,251,.98);border-bottom:1px solid var(--line);padding:20px max(24px,calc((100vw - 1240px)/2));display:flex;gap:28px;align-items:center;justify-content:space-between}.brand{font-size:1.75rem;letter-spacing:.1em;font-weight:300;line-height:1.1;text-decoration:none;display:inline-block;color:var(--plum)}.brand span{display:block;text-align:center;font-size:.6rem;letter-spacing:.45em;margin-top:8px}nav{display:flex;gap:22px;flex-wrap:wrap}nav a{font-size:.85rem;color:var(--ink);text-decoration:none;padding:7px 0}nav a[aria-current]{color:var(--plum);box-shadow:0 2px var(--plum)}.menu-button{display:none;border:1px solid var(--line);background:white;color:var(--plum);padding:9px 14px}.skip{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}main{max-width:1240px;margin:auto;padding:0 28px}section{padding:70px 0}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding-top:35px;gap:50px}.hero-copy{padding:30px 0}.hero-image{overflow:hidden;background:var(--blush);border-radius:160px 160px 4px 4px}.hero-image img{width:100%;height:620px;object-fit:cover;object-position:center 30%}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;border:1px solid var(--plum);background:var(--plum);color:white;text-decoration:none;border-radius:3px;font-size:.94rem;line-height:1.4;transition:background .2s}.button:hover{background:#583450;color:white}.button.secondary{background:transparent;color:var(--plum)}.button.secondary:hover{background:var(--blush)}button:disabled{opacity:.65;cursor:wait}.section-head{max-width:660px;margin-bottom:35px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.cards article,.program{padding:32px;border:1px solid var(--line);border-radius:4px}.cards article{display:flex;flex-direction:column}.cards article a{margin-top:auto}.number{font:italic 1.6rem var(--serif);color:var(--plum);margin-bottom:28px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.gallery-item{display:block;text-decoration:none;color:var(--muted);border-radius:3px;overflow:hidden}.gallery-item img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 32%;background:var(--blush)}.image-caption{display:block;font-size:.8rem;padding:10px 0}.gallery-item:hover img{filter:brightness(1.04)}.center{text-align:center;margin-top:32px}.more{margin:32px auto 0;display:flex}.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.split>div{min-width:0}.split img{width:100%;max-height:670px;object-fit:contain;border-radius:4px}.about-preview img{border-radius:130px 130px 4px 4px}.reading{max-width:760px;margin-left:auto;margin-right:auto}.reading p,.reading li{max-width:70ch}.reading li{margin-bottom:12px}.cta{background:var(--blush);padding:48px;margin:40px 0 70px;display:flex;gap:40px;align-items:center;justify-content:space-between;border-radius:5px}.cta div{max-width:720px}.cta .button{flex-shrink:0}.cta p:last-child{margin-bottom:0}.page-intro{padding-bottom:30px;max-width:920px}.programs{display:grid;grid-template-columns:1fr 1fr;gap:28px}.featured{background:var(--blush)}.duration{font-size:1.5rem;color:var(--plum)}dl{margin:24px 0}dt{font-weight:600;font-size:.85rem}dd{margin:0 0 16px;color:var(--muted)}.note{background:var(--blush);padding:24px;margin:24px 0;border-left:3px solid var(--plum)}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;border-block:1px solid var(--line);padding:28px 0}.facts strong,.facts span{display:block}.facts strong{font:1.5rem var(--serif);margin-bottom:10px}.facts span{font-size:.9rem;color:var(--muted)}details{border-bottom:1px solid var(--line);padding:18px 0}summary{font-weight:600}details p{margin-top:18px}.contact-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:60px}.contact-layout aside a{overflow-wrap:anywhere}.map-card{display:block;padding:28px;border:1px solid var(--line);background:var(--blush);text-decoration:none}.map-card span{display:block;color:var(--muted);font-size:.9rem}form{padding:32px;background:white;border:1px solid var(--line)}label{display:block;margin:16px 0 7px;font-size:.9rem;font-weight:600}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #a697a2;border-radius:3px;color:var(--ink);background:white;min-width:0}textarea{resize:vertical}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#form-status{margin:18px 0 0;min-height:1.7em}#form-status.error{color:#a12626}#form-status.success{color:#276339}footer{background:#2e2930;color:#f5eff3;padding:50px max(28px,calc((100vw - 1184px)/2)) 25px}footer a,footer .brand{color:#f5eff3}footer p{color:#dfd4dc;font-size:.9rem}.footer-top{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:35px}.footer-bottom{border-top:1px solid #60545e;padding-top:25px;display:flex;gap:24px;flex-wrap:wrap;font-size:.75rem}.footer-bottom details{padding:0;border:0;max-width:440px}.footer-bottom button{padding:7px 12px;background:#fff;color:var(--ink);border:0;margin-bottom:8px}.footer-top a{overflow-wrap:anywhere}dialog{border:0;padding:60px 20px 16px;max-width:95vw;max-height:95vh;background:var(--paper);border-radius:5px}dialog::backdrop{background:rgba(20,13,20,.88)}dialog img{max-height:72vh;max-width:85vw;margin:auto;object-fit:contain}dialog p{font-size:.85rem;text-align:center;margin:12px 0 0}.close{position:absolute;right:16px;top:12px;border:1px solid var(--line);background:white;padding:8px 12px}.menu-button{white-space:nowrap}@media(max-width:1050px){.site-header{flex-wrap:wrap;gap:16px}nav{gap:18px}.hero{gap:30px}.hero-image img{height:550px}.cta{display:block}.cta .button{margin-top:24px}.cards article{padding:24px}}@media(max-width:760px){main{padding:0 20px}.site-header{padding:16px 20px}.brand{font-size:1.45rem}nav{width:100%;gap:0}nav a{padding:12px 14px}.js nav{display:none;flex-direction:column}.js nav.open{display:flex}.js .menu-button{display:block}section{padding:42px 0}.hero,.split,.programs,.contact-layout{grid-template-columns:1fr;gap:30px}.hero{padding-top:22px}.hero-copy{padding:0}.hero-image{border-radius:100px 100px 4px 4px}.hero-image img{height:auto;max-height:520px;object-fit:cover}.cards{grid-template-columns:1fr;gap:16px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cta{padding:30px 22px;margin:20px 0 45px}.facts{grid-template-columns:1fr;gap:22px}.footer-top{grid-template-columns:1fr;gap:25px}form{padding:22px}.page-intro{padding-bottom:12px}h1 br{display:none}.about-preview img{max-height:500px}.actions .button{flex-grow:1}.image-caption{font-size:.73rem}.contact-layout{padding-top:25px}}@media(max-width:420px){.gallery-grid{grid-template-columns:1fr}.gallery-item img{aspect-ratio:3/4}.hero-image img{max-height:450px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Zaglavlje: veci natpis i navigacija kao na postojecem IvanaVit sajtu. */
.site-header .brand {
    flex-shrink: 0;
    font-size: 41px;
    font-weight: 300;
    letter-spacing: .08em;
    line-height: 1.05;
}
.site-header .brand span {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1;
    margin-top: 9px;
}
.site-header nav {
    gap: 22px;
    flex-wrap: nowrap;
}
.site-header nav a {
    font-size: 18px;
    font-weight: 400;
    white-space: nowrap;
}
@media (max-width: 1050px) {
    .site-header {
        flex-wrap: wrap;
        gap: 16px;
        padding: 18px 24px;
    }
    .site-header .brand { font-size: 35px; }
    .site-header .brand span { font-size: 12px; letter-spacing: 3px; }
    .site-header nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 0;
    }
    .site-header nav a { padding: 12px 14px; }
    .js .site-header nav { display: none; flex-direction: column; }
    .js .site-header nav.open { display: flex; }
    .js .site-header .menu-button { display: block; }
}
@media (max-width: 360px) {
    .site-header { padding: 16px; gap: 12px; }
    .site-header .brand { font-size: 30px; }
    .site-header .brand span { font-size: 10px; letter-spacing: 3px; }
    .site-header .menu-button { padding: 9px 11px; }
}

/* Fotografije bez vidljivih naziva ispod slike. */
.image-caption { display: none; }

/* Navigacija kroz uvecane fotografije. */
.lightbox-counter { position: absolute; top: 20px; left: 20px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.5; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 0 3px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,253,251,.94); color: var(--plum); font-size: 32px; line-height: 1; }
.lightbox-arrow:hover { background: var(--plum); color: white; }
.lightbox-previous { left: 8px; }
.lightbox-next { right: 8px; }


/* Miran footer: drustvene ikone, centralni logo i autorska prava. */
.footer-minimal { background: #302730; padding-top: 60px; padding-bottom: 26px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 28px; }
.footer-social { display: flex; gap: 12px; justify-content: flex-start; }
.footer-social a { width: 44px; height: 44px; border: 1px solid #655761; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.footer-social a:hover { background: var(--plum); border-color: var(--plum); }
.footer-social svg { display: block; flex-shrink: 0; }
.footer-minimal .brand { justify-self: center; font-size: 41px; letter-spacing: .08em; font-weight: 300; text-align: center; white-space: nowrap; }
.footer-minimal .brand span { font-size: 12px; letter-spacing: 4px; font-weight: 400; margin-top: 9px; }
.footer-copyright { margin: 0; text-align: right; font-size: 14px; color: #f5eff3; }
.footer-minimal .footer-bottom { justify-content: center; align-items: baseline; border: 0; padding-top: 0; margin-top: 34px; gap: 22px; font-size: 11px; color: #ded3db; }
.footer-minimal .footer-bottom summary { font-weight: 400; }
.footer-minimal .footer-bottom details { max-width: 440px; }
.footer-minimal .footer-bottom details p { font-size: 12px; }
.footer-minimal :focus-visible { outline-color: #f5eff3; }
@media(max-width:760px) {
 .footer-minimal { padding-top: 42px; padding-bottom: 23px; }
 .footer-main { grid-template-columns: 1fr; gap: 25px; text-align: center; }
 .footer-social { justify-content: center; }
 .footer-minimal .brand { grid-row: 1; font-size: 35px; }
 .footer-copyright { text-align: center; font-size: 13px; }
 .footer-minimal .footer-bottom { margin-top: 25px; }
}

/* Uvecane fotografije bez vidljivih naziva; alt opisi ostaju sacuvani. */
#lightbox > p { display: none; }

/* Kontakt: ravnomerni kontakt linkovi i dugmad jednake sirine. */
.contact-direct-links a { display: block; width: fit-content; max-width: 100%; }
.contact-direct-links a + a { margin-top: 10px; }
.contact-layout aside .actions .button { width: 145px; }


/* =======================================================================
   IVANAVIT V4 / Editorial refinement
   V3 remains unchanged. Logo, navigation, core colors and footer are kept.
   ======================================================================= */

/* Editorial type hierarchy with existing system fonts: no third-party swap. */
.v4-site { font-size: 17px; }
.v4-site main { max-width: 1296px; }
.v4-site main > section { padding-block: clamp(54px, 6.5vw, 94px); }
.v4-site h1, .v4-site h2, .v4-site h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.v4-site h1 { font-size: clamp(3.5rem, 6.5vw, 6rem); line-height: 1.04; }
.v4-site h2 { font-size: clamp(2.1rem, 3.8vw, 3.65rem); line-height: 1.12; }
.v4-site h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); letter-spacing: -.025em; }
.v4-site .eyebrow { font-family: system-ui,-apple-system,'Segoe UI',sans-serif; font-size: .69rem; font-weight: 650; letter-spacing: .22em; line-height: 1.5; }
.v4-site .section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.v4-site .section-head h2 { margin-bottom: 0; }
.v4-site .lead { font-size: clamp(1.03rem, 1.38vw, 1.22rem); line-height: 1.85; }
.v4-site .reading { max-width: 800px; }
.v4-site .reading p, .v4-site .reading li { max-width: 68ch; }
.v4-site .page-intro { padding-top: clamp(68px, 7vw, 110px); padding-bottom: clamp(24px, 3vw, 42px); max-width: 860px; }
.v4-site .page-intro .lead { max-width: 56ch; }
.v4-site .page-intro h1 { margin-bottom: 30px; }
.v4-site .button { min-height: 50px; padding: 13px 26px; border-radius: 2px; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.v4-site .button:hover { transform: translateY(-2px); }
.v4-site .button:focus-visible { transform: none; }
.v4-site .cta { border-radius: 2px; padding: clamp(32px, 5vw, 64px); margin-top: 28px; margin-bottom: 74px; gap: 44px; }
.v4-site .cta h2 { max-width: 19ch; }

/* Homepage: calmer photo-led editorial first fold and one dominant CTA. */
.v4-index main > .hero { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(44px, 6vw, 100px); padding-top: clamp(40px, 5vw, 78px); padding-bottom: clamp(70px, 7vw, 100px); }
.v4-index .hero-copy { padding: 32px 0 36px; max-width: 535px; }
.v4-index .hero-copy .eyebrow { margin-bottom: 29px; }
.v4-index .hero-copy h1 { font-size: clamp(3.65rem, 6vw, 6.05rem); line-height: 1.035; margin-bottom: 29px; }
.v4-index .hero-copy .lead { margin-bottom: 32px; max-width: 45ch; }
.v4-index .hero-copy .actions { align-items: center; gap: 28px; margin-block: 0; }
.v4-index .hero-copy .actions .button { min-width: 172px; }
.v4-index .hero-text-link { font-size: .88rem; letter-spacing: .025em; color: var(--plum); font-weight: 550; text-decoration: none; border-bottom: 1px solid currentColor; padding: 9px 0 5px; }
.v4-index .hero-text-link:hover { color: var(--ink); }
.v4-index .hero-image { border-radius: 2px; background: var(--blush); align-self: stretch; min-height: 625px; max-height: 710px; }
.v4-index .hero-image img { width: 100%; height: 100%; min-height: 625px; max-height: 710px; object-fit: cover; object-position: 50% 26%; }
.v4-index .hero-image { position: relative; }
.v4-index .hero-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(41,35,41,.025); }

/* Services: finer separators and more breathing space instead of heavy boxes. */
.v4-index .home-services .cards { gap: 28px; }
.v4-index .home-services .cards article { padding: 30px 28px 32px; border: 1px solid var(--line); border-top: 2px solid var(--plum); border-radius: 0; background: #fffdfb; min-height: 350px; }
.v4-index .home-services .number { color: #947589; font-size: 1.13rem; margin-bottom: 41px; }
.v4-index .home-services h3 { margin-bottom: 17px; }
.v4-index .home-services article p { color: var(--muted); line-height: 1.77; }
.v4-index .home-services article a { text-decoration: none; border-bottom: 1px solid var(--plum); width: fit-content; padding-bottom: 3px; font-size: .92rem; }
.v4-index .home-services article:hover { border-top-color: #583450; }

/* Portfolio images: curated formats, consistent face framing and subtle motion. */
.v4-site .gallery-grid { gap: clamp(12px, 1.9vw, 25px); }
.v4-site .gallery-item { border-radius: 0; position: relative; }
.v4-site .gallery-item img { object-position: 50% 25%; transition: transform .35s ease, filter .35s ease; }
.v4-site .gallery-item:hover img { transform: scale(1.025); filter: brightness(1.018); }
.v4-index .home-portfolio .gallery-grid { grid-template-columns: repeat(12, minmax(0,1fr)); }
.v4-index .home-portfolio .gallery-item { grid-column: span 4; }
.v4-index .home-portfolio .gallery-item img { aspect-ratio: 4 / 5; }
.v4-index .home-portfolio .gallery-item:first-child { grid-column: span 7; }
.v4-index .home-portfolio .gallery-item:nth-child(2) { grid-column: span 5; }
.v4-index .home-portfolio .gallery-item:nth-child(-n+2) img { aspect-ratio: 5 / 4; }
.v4-index .home-portfolio .center { margin-top: 38px; }
.v4-gallery .portfolio-intro { max-width: 770px; }
.v4-gallery main > section:nth-of-type(2) { padding-top: 6px; }
.v4-gallery .gallery-editorial { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-flow: row dense; gap: clamp(12px, 1.9vw, 25px); }
.v4-gallery .gallery-editorial .gallery-item { grid-column: span 4; }
.v4-gallery .gallery-editorial .gallery-item img { aspect-ratio: 4 / 5; width: 100%; }
.v4-gallery .gallery-editorial .gallery-item:nth-child(1) { grid-column: span 7; }
.v4-gallery .gallery-editorial .gallery-item:nth-child(2) { grid-column: span 5; }
.v4-gallery .gallery-editorial .gallery-item:nth-child(-n+2) img { aspect-ratio: 5 / 4; object-position: center 24%; }
.v4-gallery .gallery-editorial .gallery-item:nth-child(8),
.v4-gallery .gallery-editorial .gallery-item:nth-child(9) { grid-column: span 6; }
.v4-gallery .gallery-editorial .gallery-item:nth-child(8) img,
.v4-gallery .gallery-editorial .gallery-item:nth-child(9) img { aspect-ratio: 5 / 4; }
.v4-gallery .gallery-editorial .gallery-item:nth-child(n+21) { grid-column: span 3; }
.v4-gallery .gallery-editorial .gallery-item:nth-child(n+21) img { aspect-ratio: 3 / 4; }
.v4-gallery .more { margin-top: 42px; }

/* Service detail pages: editorial rhythm, less boxiness. */
.v4-site .editorial-split { gap: clamp(42px, 6vw, 92px); }
.v4-site .editorial-split img { border-radius: 2px; }
.v4-site .editorial-split h2 { max-width: 18ch; }
.v4-site .editorial-split h3 { margin-top: 30px; }
.v4-site .programs { gap: clamp(20px, 2.6vw, 34px); }
.v4-site .program { padding: clamp(27px, 3.3vw, 48px); border-radius: 1px; border-color: var(--line); }
.v4-site .program.featured { background: #f7f1f4; border-color: #dacbd4; }
.v4-site .program .duration { font-family: Georgia,'Times New Roman',serif; font-size: 1.6rem; margin-bottom: 24px; }
.v4-site .program dt { font-size: .77rem; letter-spacing: .07em; text-transform: uppercase; }
.v4-site .program dd { line-height: 1.65; }
.v4-site .note { background: #f8f4f6; border-left: 2px solid var(--plum); padding: 24px 28px; }
.v4-site .facts { gap: 28px; border-color: var(--line); padding-block: 36px; }
.v4-site .facts strong { font-size: 1.7rem; }
.v4-site .facts span { line-height: 1.7; }
.v4-site .reading h2 { margin-bottom: 30px; }
.v4-site .reading h3 { margin-top: 36px; }
.v4-site .reading li { padding-left: 3px; }

@media (max-width: 1050px) {
  .v4-index main > .hero { gap: 35px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .v4-index .hero-copy h1 { font-size: clamp(3.05rem, 5.5vw, 4.7rem); }
  .v4-index .hero-image, .v4-index .hero-image img { min-height: 500px; }
  .v4-index .home-services .cards { gap: 16px; }
  .v4-index .home-services .cards article { padding: 26px 22px; }
}
@media (max-width: 760px) {
  .v4-site main { padding-inline: 20px; }
  .v4-site main > section { padding-block: 47px; }
  .v4-site h1 { font-size: clamp(2.9rem, 10vw, 4.1rem); }
  .v4-site h2 { font-size: clamp(2.05rem, 7.5vw, 3rem); }
  .v4-site .page-intro { padding-top: 54px; }
  .v4-index main > .hero { display: flex; flex-direction: column; gap: 26px; padding-top: 30px; padding-bottom: 56px; align-items: stretch; }
  .v4-index .hero-copy { padding: 18px 0 0; max-width: 100%; }
  .v4-index .hero-copy .eyebrow { margin-bottom: 22px; }
  .v4-index .hero-copy h1 { font-size: clamp(3.1rem, 10.5vw, 4.5rem); margin-bottom: 23px; }
  .v4-index .hero-copy .lead { margin-bottom: 23px; }
  .v4-index .hero-copy .actions { flex-wrap: wrap; gap: 18px; }
  .v4-index .hero-image, .v4-index .hero-image img { min-height: 0; max-height: none; height: auto; }
  .v4-index .hero-image img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 23%; }
  .v4-index .home-services .cards article { min-height: 0; }
  .v4-index .home-services .number { margin-bottom: 19px; }
  .v4-index .home-portfolio .gallery-item { grid-column: span 6; }
  .v4-index .home-portfolio .gallery-item:first-child,
  .v4-index .home-portfolio .gallery-item:nth-child(2) { grid-column: span 6; }
  .v4-index .home-portfolio .gallery-item:nth-child(-n+2) img { aspect-ratio: 4 / 5; }
  .v4-gallery .gallery-editorial .gallery-item,
  .v4-gallery .gallery-editorial .gallery-item:nth-child(1),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(2),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(8),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(9),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(n+21) { grid-column: span 6; }
  .v4-gallery .gallery-editorial .gallery-item img,
  .v4-gallery .gallery-editorial .gallery-item:nth-child(-n+2) img,
  .v4-gallery .gallery-editorial .gallery-item:nth-child(8) img,
  .v4-gallery .gallery-editorial .gallery-item:nth-child(9) img,
  .v4-gallery .gallery-editorial .gallery-item:nth-child(n+21) img { aspect-ratio: 4 / 5; }
  .v4-site .editorial-split { gap: 30px; }
  .v4-site .cta { padding: 29px 24px; margin-bottom: 50px; }
  .v4-site .reading h3 { margin-top: 25px; }
}
@media (max-width: 420px) {
  .v4-index .hero-copy .actions { align-items: flex-start; }
  .v4-index .hero-copy .actions .button { flex-grow: 0; min-width: 165px; }
  .v4-index .home-portfolio .gallery-item,
  .v4-index .home-portfolio .gallery-item:first-child,
  .v4-index .home-portfolio .gallery-item:nth-child(2) { grid-column: span 12; }
  .v4-gallery .gallery-editorial .gallery-item,
  .v4-gallery .gallery-editorial .gallery-item:nth-child(1),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(2),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(8),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(9),
  .v4-gallery .gallery-editorial .gallery-item:nth-child(n+21) { grid-column: span 12; }
}
@media (prefers-reduced-motion: reduce) {
  .v4-site .gallery-item img, .v4-site .button { transition: none; }
  .v4-site .button:hover, .v4-site .gallery-item:hover img { transform: none; }
}

/* V4: uniform portrait thumbnails throughout every portfolio gallery. */
.v4-site .gallery-grid,
.v4-index .home-portfolio .gallery-grid,
.v4-gallery .gallery-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: clamp(12px, 1.9vw, 25px);
}
.v4-site .gallery-grid > .gallery-item,
.v4-index .home-portfolio .gallery-grid > .gallery-item,
.v4-gallery .gallery-editorial > .gallery-item {
  grid-column: auto !important;
  grid-row: auto !important;
  min-width: 0;
}
.v4-site .gallery-grid > .gallery-item img,
.v4-index .home-portfolio .gallery-item img,
.v4-gallery .gallery-editorial .gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  height: auto;
  object-fit: cover;
  object-position: 50% 25%;
}
/* The main portrait echoes the rounded upper corners on the About page. */
.v4-index .hero-image {
  border-radius: 130px 130px 2px 2px;
}
@media (max-width: 760px) {
  .v4-site .gallery-grid,
  .v4-index .home-portfolio .gallery-grid,
  .v4-gallery .gallery-editorial { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 420px) {
  .v4-site .gallery-grid,
  .v4-index .home-portfolio .gallery-grid,
  .v4-gallery .gallery-editorial { grid-template-columns: minmax(0,1fr); }
  .v4-index .hero-image { border-radius: 90px 90px 2px 2px; }
}

/* V4: same image geometry for the homepage hero and About portrait.
   Both portraits use a 4:5 frame and a proportionate upper arch. */
.v4-index .hero-image,
.v4-index .hero-image > img,
.v4-site .about-preview img {
  border-radius: 25% 25% 4px 4px / 20% 20% 4px 4px;
}
.v4-index .hero-image {
  aspect-ratio: 4 / 5;
  min-height: 0;
  max-height: none;
  align-self: center;
  width: 100%;
  overflow: hidden;
}
.v4-index .hero-image > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: 50% 26%;
}
.v4-site .about-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}


/* V4 homepage: understated continuously scrolling beauty-brand wordmarks.
   Text-only visual placeholders; no brand partnership is represented. */
.v4-index main > .v4-brand-section {
  padding-block: clamp(24px, 3.5vw, 44px) clamp(45px, 5vw, 66px);
}
.v4-brand-section > .eyebrow {
  text-align: center;
  margin-bottom: 18px;
}
.v4-brand-marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding-block: 29px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.v4-brand-track {
  display: flex;
  width: max-content;
  animation: v4-brand-scroll 26s linear infinite;
}
.v4-brand-set {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 0 0 auto;
  width: max(100vw, 1080px);
}
.v4-brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  min-width: 195px;
  color: #292529;
  font-size: 23px;
  line-height: 1;
  letter-spacing: .02em;
}
.v4-brand-wordmark small {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .25em;
  margin-top: 3px;
}
.v4-brand-wordmark.loreal { font-family: Arial, sans-serif; font-weight: 400; letter-spacing: -.05em; }
.v4-brand-wordmark.goldwell { display: inline-flex; flex-direction: row; font-family: Arial, sans-serif; font-size: 19px; font-weight: 850; letter-spacing: -.07em; }
.v4-brand-wordmark.goldwell i { width: 12px; height: 12px; margin-left: 2px; background: #b82e3c; }
.v4-brand-wordmark.kerastase { font-family: Georgia, serif; font-size: 23px; font-weight: 400; letter-spacing: -.06em; }
.v4-brand-wordmark.chanel { font-family: Arial, sans-serif; font-size: 22px; font-weight: 650; letter-spacing: .11em; }
.v4-brand-marquee:hover .v4-brand-track,
.v4-brand-marquee:focus-within .v4-brand-track { animation-play-state: paused; }
@keyframes v4-brand-scroll { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .v4-index main > .v4-brand-section { padding-block: 24px 44px; }
  .v4-brand-marquee { padding-block: 23px; }
  .v4-brand-set { width: 960px; }
  .v4-brand-wordmark { min-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .v4-brand-track { animation: none; }
  .v4-brand-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .v4-brand-set[aria-hidden="true"] { display: none; }
}

/* V4 Obuke: poravnanje CTA dugmadi na dnu obe kartice. */
.v4-training .editorial-programs > .program {
  display: flex;
  flex-direction: column;
}
.v4-training .editorial-programs > .program > .button {
  align-self: flex-start;
  margin-top: auto;
}


/* V4 homepage: one-time cinematic reveal, only inside the fixed rounded hero frame. */
@keyframes v4-hero-cinematic-reveal {
  from { transform: scale(1.05); opacity: .72; }
  to { transform: scale(1); opacity: 1; }
}
.v4-index .hero-image > img {
  animation: v4-hero-cinematic-reveal 1.75s cubic-bezier(.2,.7,.2,1) both;
  transform-origin: 50% 40%;
}
@media (prefers-reduced-motion: reduce) {
  .v4-index .hero-image > img { animation: none; opacity: 1; transform: none; }
}


/* V4: 11 confirmed cosmetics brands. Wordmark imagery only where verified;
   other brand names use neutral CSS typography (no proprietary font claims). */
.v4-index .v4-brand-section .v4-brand-marquee { padding-block: 27px; }
.v4-index .v4-brand-section .v4-brand-set { width: max-content; gap: 0; justify-content: flex-start; }
.v4-index .v4-brand-section .v4-brand-track { animation-duration: 56s; }
.v4-index .v4-brand-section .v4-brand-unit {
  flex: 0 0 220px; height: 56px; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  color: #292529; white-space: nowrap; font-weight: 500;
  font-family: Arial, Helvetica, sans-serif; letter-spacing: .04em; font-size: 20px;
}
.v4-index .v4-brand-section .v4-brand-unit img {
  display: block; max-width: 100%; width: auto; height: auto; max-height: 48px;
  object-fit: contain;
}
.v4-index .v4-brand-chanel { font-size: 22px; font-weight: 600; letter-spacing: .15em; }
.v4-index .v4-brand-ysl { font-family: Georgia,serif; font-size: 23px; letter-spacing: -.03em; }
.v4-index .v4-brand-huda { font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.v4-index .v4-brand-rare { font-family: Georgia,serif; font-size: 24px; letter-spacing: -.055em; font-weight: 400; }
.v4-index .v4-brand-guerlain { font-family: Georgia,'Times New Roman',serif; font-size: 24px; letter-spacing: .11em; font-weight: 400; }
.v4-index .v4-brand-mario { font-size: 16px; font-weight: 650; letter-spacing: .035em; }
.v4-index .v4-brand-hourglass { font-size: 20px; font-weight: 500; letter-spacing: .1em; }
@media (max-width: 760px) {
  .v4-index .v4-brand-section .v4-brand-unit { flex-basis: 175px; padding-inline: 14px; height: 48px; font-size: 16px; }
  .v4-index .v4-brand-section .v4-brand-unit img { max-height: 39px; }
  .v4-index .v4-brand-chanel,.v4-index .v4-brand-guerlain { font-size: 19px; }
  .v4-index .v4-brand-mario { font-size: 13px; }
}


/* V4: faithful wordmark silhouettes isolated from the supplied brand reference screenshots. */
.v4-index .v4-brand-section .v4-brand-chanel img { max-height: 32px; }
.v4-index .v4-brand-section .v4-brand-rare img { max-height: 37px; }
.v4-index .v4-brand-section .v4-brand-guerlain img { max-height: 33px; }
.v4-index .v4-brand-section .v4-brand-ysl img { max-height: 39px; }
.v4-index .v4-brand-section .v4-brand-huda img { max-height: 38px; }

/* V4: reference-aligned logo heights (wordmark-only PNGs). */
.v4-index .v4-brand-section .v4-brand-haus img { max-height: 32px; }
.v4-index .v4-brand-section .v4-brand-hourglass img { max-height: 29px; }
.v4-index .v4-brand-section .v4-brand-mario img { max-height: 38px; }
.v4-index .v4-brand-section .v4-brand-huda img { max-height: 34px; }
.v4-index .v4-brand-section .v4-brand-guerlain img { max-height: 32px; }

/* Footer contact links, preserving the original brand/social/copyright layout. */
.footer-minimal .footer-contact { border-top: 1px solid #60545e; padding-top: 25px; margin-top: 32px; display: flex; flex-direction: column; gap: 7px; align-items: center; text-align: center; }
.footer-minimal .footer-contact-link { display: inline-block; color: #f5eff3; text-decoration: none; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.footer-minimal .footer-contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-minimal .footer-messaging { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 13px; }
.footer-minimal .footer-messaging-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 146px; min-height: 42px; padding: 9px 16px; border: 1px solid #786c76; border-radius: 30px; font-size: 13px; line-height: 1.4; color: #f5eff3; text-decoration: none; transition: background-color .2s, border-color .2s; }
.footer-minimal .footer-messaging-button:hover { background: #514252; border-color: #a0919e; }
.footer-minimal .footer-bottom { margin-top: 23px; }
@media (max-width: 420px) { .footer-minimal .footer-contact { margin-top: 26px; } .footer-minimal .footer-messaging { gap: 9px; } .footer-minimal .footer-messaging-button { width: 128px; } }

