/* /led and /mokryj-effekt: service pages on top of styles.css + kurs.css (same tokens, type, buttons and FAQ) */

/* first screen: a studio photo in the same arch frame as the /kurs lesson video */
.uhero__ph{background:var(--ink2)}
.uhero__ph img{width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.usl-page .khero .offer__who{max-width:30em}
@media (max-width:640px){.usl-page .offer__btns .btn{grid-column:1/-1}}

/* section headings: these pages carry longer headings than /kurs */
.usl-page .ksec .h2{font-size:clamp(1.9rem,3vw,3rem)}

/* heading on the left, text on the right (the /kurs program pattern) */
.usplit{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(20px,3vw,48px);align-items:start}
.usplit__head{position:sticky;top:clamp(84px,12vh,120px)}
@media (max-width:1000px){.usplit{grid-template-columns:1fr;gap:clamp(20px,3vw,32px)}.usplit__head{position:static}}

/* running text */
.utext{min-width:0}
.utext>*+*{margin-top:clamp(18px,1.8vw,26px)}
.utext p{color:var(--mute);max-width:40em;font-size:clamp(1rem,1.15vw,1.1rem)}
.utext .ulead{font-family:var(--serif);font-size:clamp(1.3rem,1.9vw,1.9rem);line-height:1.28;color:var(--text);max-width:30em}
.utext b{color:var(--text);font-weight:600}
.utext a:not(.btn),.uworks figcaption a{color:var(--text);border-bottom:1px solid var(--accent);transition:color .3s}
@media (hover:hover){.utext a:not(.btn):hover,.uworks figcaption a:hover{color:var(--accent)}}
.utext a[href^="http"]{overflow-wrap:anywhere}
.utext a[href^="tel:"]{white-space:nowrap}
.utext .honest{margin-top:clamp(26px,3vw,40px)}
.utext .honest p{max-width:44em}
.utext .kzap__btns{margin-top:clamp(26px,3vw,40px)}

/* rows: differences, "who it suits" */
.ulist li{padding:clamp(16px,1.8vw,24px) 0;border-top:1px solid var(--line);color:var(--mute)}
.ulist li:last-child{border-bottom:1px solid var(--line)}
.ulist li b{display:block;font-family:var(--serif);font-weight:500;font-size:clamp(1.5rem,2.1vw,2.1rem);line-height:1.08;color:var(--text);margin-bottom:.4rem}
.ulist--big li{font-family:var(--serif);font-size:clamp(1.3rem,1.8vw,1.8rem);line-height:1.22;color:var(--text)}

/* volumes 2D / 3D / 4D */
.uvol li{display:grid;grid-template-columns:clamp(64px,6.4vw,110px) minmax(0,1fr);gap:14px;align-items:baseline;padding:clamp(14px,1.6vw,22px) 0;border-top:1px solid var(--line);font-family:var(--serif);font-size:clamp(1.3rem,1.8vw,1.8rem);line-height:1.22}
.uvol li:last-child{border-bottom:1px solid var(--line)}
.uvol b{font-weight:500;font-style:italic;font-size:clamp(2rem,3.2vw,3.2rem);line-height:.9;color:var(--accent)}

/* wet vs semi-wet: two cards on the light section (the .card--ivory surface) */
.ucards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,1.4vw,20px)}
.utext .ucards p{max-width:none;border:1px solid rgba(28,13,25,.1);border-radius:24px;padding:clamp(20px,2.2vw,32px);background:#fffaf2;font-family:var(--serif);font-size:clamp(1.2rem,1.45vw,1.45rem);line-height:1.28;color:var(--text)}
.ucards p:nth-child(2){--d:.06s}
.ucards b{font-weight:600;color:var(--accent)}
@media (max-width:640px){.ucards{grid-template-columns:1fr}}

/* price table */
.uprice-wrap{overflow-x:auto;margin-top:clamp(30px,4vw,56px)}
.uprice{width:100%;border-collapse:collapse;font-variant-numeric:lining-nums tabular-nums}
.uprice thead th{padding:0 0 clamp(12px,1.4vw,18px);font-size:.88rem;font-weight:700;line-height:1.35;color:var(--mute);text-align:right;vertical-align:bottom}
.uprice thead th:first-child{text-align:left}
.uprice thead th.is-hi{color:var(--gold)}
.uprice tbody tr{border-top:1px solid var(--line)}
.uprice tbody tr:last-child{border-bottom:1px solid var(--line)}
.uprice tbody th{padding:clamp(16px,1.9vw,26px) 16px clamp(16px,1.9vw,26px) 0;text-align:left;font-family:var(--serif);font-weight:500;font-size:clamp(1.35rem,2.5vw,2.5rem);line-height:1.05;letter-spacing:-.01em}
.uprice td{padding:clamp(16px,1.9vw,26px) 0 clamp(16px,1.9vw,26px) clamp(12px,3vw,56px);text-align:right;white-space:nowrap;font-family:var(--serif);font-size:clamp(1.35rem,2.3vw,2.4rem);line-height:1;color:var(--mute)}
.uprice td.is-hi{color:var(--ivory)}
.uprice td.is-na{white-space:normal;font-family:var(--sans);font-size:.84rem;line-height:1.35}
.uprice th:nth-child(2),.uprice td:nth-child(2){width:22%}
.uprice th:nth-child(3),.uprice td:nth-child(3){width:26%}
.unotes{display:grid;gap:.6rem;margin-top:clamp(24px,3vw,40px);max-width:52em}
.unotes p{color:var(--mute);font-size:.98rem}
.unotes p:first-child{color:var(--text)}
.uprice thead th+th{padding-left:clamp(12px,3vw,56px)}
@media (max-width:760px){
  .uprice thead th{font-size:.76rem}
  .uprice thead th+th{padding-left:10px}
  .uprice tbody th{font-size:1.2rem;padding-right:8px}
  .uprice td{font-size:1.2rem}
  .uprice td{padding-left:10px}
  .uprice th:nth-child(2),.uprice td:nth-child(2){width:26%}
  .uprice th:nth-child(3),.uprice td:nth-child(3){width:28%}
}

/* works: real photos with a caption under each */
.uworks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.8vw,28px);align-items:start;margin-top:clamp(44px,6vw,96px)}
.uworks--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.uworks figure{min-width:0}
.uworks figure:nth-child(2){--d:.05s}.uworks figure:nth-child(3){--d:.1s}.uworks figure:nth-child(4){--d:.15s}
.uworks__ph{aspect-ratio:3/4;border-radius:22px;overflow:hidden;background:var(--cream)}
.uworks figure:first-child .uworks__ph{border-radius:999px 999px 22px 22px}
.uworks img{width:100%;height:100%;object-fit:cover}
.uworks figcaption{margin-top:14px;font-size:.92rem;line-height:1.45;color:var(--mute);max-width:24em}
.uquote{margin-top:clamp(40px,5vw,80px);max-width:52em}
.uquote blockquote{max-width:none;font-size:clamp(1.5rem,2.4vw,2.4rem);line-height:1.2}
@media (max-width:760px){
  .uworks,.uworks--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .uworks--3 figure:first-child{grid-column:1/-1}
  .uworks--3 figure:first-child .uworks__ph{aspect-ratio:4/5}
  .uworks figcaption{font-size:.84rem}
}

/* footer: contacts only, the call to book sits in the section above */
.kfoot.ufoot{padding-top:calc(var(--section-space) - 8px)}
.ufoot .clist{margin-top:0}

/* Related service details share one panel; anchors and reveal hooks are retained. */
.density-subblock{margin-top:clamp(24px,3vw,40px);scroll-margin-top:100px}
.density-subblock .h2{margin-bottom:16px}
.density-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,48px)}
.density-pair .usplit{grid-template-columns:1fr}
.density-pair .usplit__head{position:static}
@media(max-width:1000px){.density-pair{grid-template-columns:1fr}}

.ufoot .clist{padding-top:clamp(12px,1.2vw,18px)}
.usl-page .flow>#komu:has(.honest){padding-bottom:calc(var(--section-space) + var(--r) - 28px)}
.usl-page .flow>#chto-takoe:has(.ucards){padding-bottom:calc(var(--section-space) + var(--r) - 20px)}

.service-links{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:baseline}
