/* Reference coordinate systems: desktop hero 1280x720, mobile hero 777x1280. */
.hero__person, .hero__luggage {
  -webkit-mask-image: url('../assets/training/yulia-hero-matte.png?v=2');
  mask-image: url('../assets/training/yulia-hero-matte.png?v=2');
}
@media (min-width:768px) {
  /* The header belongs inside the first reference canvas, without added height. */
  .site-header { position:absolute; inset:0 0 auto; height:0; background:none; border:0; container-type:normal; }
  .site-header .hero__header { position:absolute; top:calc(var(--canvas-width)*.010125); left:calc((100% - var(--canvas-width))*.5 + var(--canvas-width)*.0565); right:auto; width:calc(var(--canvas-width)*.8755); height:auto; min-height:0; padding:0; margin:0; align-items:flex-start; gap:0; }
  .site-header .brand--training { gap:calc(var(--canvas-width)*.0145); }
  .site-header .brand--training .brand__mark { width:calc(var(--canvas-width)*.0655); height:calc(var(--canvas-width)*.0655); }
  .site-header .brand__rule { width:calc(var(--canvas-width)*.0012); height:calc(var(--canvas-width)*.044); margin-left:calc(var(--canvas-width)*.0005); }
  .site-header .brand__training { font-size:calc(var(--canvas-width)*.0212); line-height:.98; letter-spacing:calc(var(--canvas-width)*-.0008); }
  .site-header .hero__nav { gap:calc(var(--canvas-width)*.0255); padding-top:calc(var(--canvas-width)*.0028); font-size:calc(var(--canvas-width)*.014); line-height:1.35; }
  .site-header .hero__nav a { padding-block:calc(var(--canvas-width)*.0075); }
  .hero__person { left:4.8%; top:5.5%; width:64%; }
  .hero__title { color:#b9633a; }
  .hero__eyebrow { color:#8e3e25; }
}

.contact__body { display: none; }
@media (min-width:768px) {
  .contact__body { display:block; position:absolute; z-index:2; left:0; top:0; width:100%; height:auto; max-width:none; pointer-events:none; }
  .contact__portrait { left:5.2%; top:36.9%; width:32.15%; height:auto; bottom:auto; z-index:3; -webkit-mask-image:url('../assets/training/yulia-contact-head-mask.svg?v=2'); mask-image:url('../assets/training/yulia-contact-head-mask.svg?v=2'); }
  .contact__terracotta { background: radial-gradient(ellipse at 22% 30%,#bd6241,#b55636 67%,#a64b30); }
}
@font-face { font-family: 'Anton Cyrillic'; src:url('../assets/fonts/anton-cyrillic.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
.hero__title, .hero__eyebrow, .hero__cta > span, .site-header .brand__training { font-family:'Anton Cyrillic',Impact,Oswald,sans-serif; font-weight:400; }
.site-header .brand--training { align-items:flex-start; }
@media (min-width:768px) {
  .hero__title { top:17.4%; font-size:25.9cqw; line-height:1.02; color:#bd663a; }
  .hero__eyebrow { left:45.55%; top:11.9%; width:46.6%; font-size:3.55cqw; line-height:1.1; }
  .hero__cta > span { font-size:3.85cqw; }
  .site-header .brand__training { font-size:calc(var(--canvas-width)*.0225); padding-top:calc(var(--canvas-width)*.0031); }
  .site-header .brand__rule { margin-top:calc(var(--canvas-width)*.0031); }
}
@media (max-width:767px) {
  .hero__title { top:20.8%; font-size:29.7cqw; line-height:1; color:#b95d2f; }
  .hero__eyebrow { top:12.55%; font-size:6.4cqw; line-height:.99; }
  .hero__cta > span { font-size:8.4cqw; }
  .site-header .brand__training { padding-top:.5cqw; }
  .site-header .brand__rule { margin-top:.6cqw; }
}
@media (min-width:768px) {
  .contact__terracotta { background:radial-gradient(ellipse at 22% 30%,#b85b3d,#b35435 68%,#aa4b30); }
}
@media (max-width:767px) {
  .hero__luggage { top:calc(22% - 22.5cqw); clip-path:polygon(15% 65.5%,39% 65.5%,39% 78.3%,15% 78.3%); }
}

.contact__plant > img { width:100%; height:100%; object-fit:contain; }
@media (min-width:768px) {
  .contact__plant { left:0; top:0; width:100%; height:auto; transform:none; z-index:1; }
  .contact__plant > img { height:auto; }
}

/* Original photograph with a registered alpha channel; no resampled CSS matte. */
.hero__person, .hero__luggage { -webkit-mask-image:none; mask-image:none; }
